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/35017
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35017/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35017/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35017/events
|
https://github.com/pandas-dev/pandas/issues/35017
| 646,381,813
|
MDU6SXNzdWU2NDYzODE4MTM=
| 35,017
|
ENH: Delta Lake file format support
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18624942?v=4",
"events_url": "https://api.github.com/users/jackwellsxyz/events{/privacy}",
"followers_url": "https://api.github.com/users/jackwellsxyz/followers",
"following_url": "https://api.github.com/users/jackwellsxyz/following{/other_user}",
"gists_url": "https://api.github.com/users/jackwellsxyz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jackwellsxyz",
"id": 18624942,
"login": "jackwellsxyz",
"node_id": "MDQ6VXNlcjE4NjI0OTQy",
"organizations_url": "https://api.github.com/users/jackwellsxyz/orgs",
"received_events_url": "https://api.github.com/users/jackwellsxyz/received_events",
"repos_url": "https://api.github.com/users/jackwellsxyz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jackwellsxyz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jackwellsxyz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jackwellsxyz"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 8
| 2020-06-26T16:40:07Z
| 2021-10-13T05:23:51Z
| 2020-09-04T14:43:33Z
|
NONE
| null |
#### Is your feature request related to a problem?
No
#### Describe the solution you'd like
I'd love it if Pandas could support Databricks' Delta Lake file format (https://github.com/delta-io/delta). It's a type of versioned parquet file format that supports updates/inserts/deletions.
#### API breaking implications
None that I'm aware of
#### Describe alternatives you've considered
N/A
#### Additional context
N/A
|
{
"+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/35017/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35017/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35018
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35018/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35018/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35018/events
|
https://github.com/pandas-dev/pandas/pull/35018
| 646,385,961
|
MDExOlB1bGxSZXF1ZXN0NDQwNjg1NTA2
| 35,018
|
BUG-Fix: AssertionError when slicing MultiIndex and setting value of …
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41421345?v=4",
"events_url": "https://api.github.com/users/LuckyDenis/events{/privacy}",
"followers_url": "https://api.github.com/users/LuckyDenis/followers",
"following_url": "https://api.github.com/users/LuckyDenis/following{/other_user}",
"gists_url": "https://api.github.com/users/LuckyDenis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LuckyDenis",
"id": 41421345,
"login": "LuckyDenis",
"node_id": "MDQ6VXNlcjQxNDIxMzQ1",
"organizations_url": "https://api.github.com/users/LuckyDenis/orgs",
"received_events_url": "https://api.github.com/users/LuckyDenis/received_events",
"repos_url": "https://api.github.com/users/LuckyDenis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LuckyDenis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LuckyDenis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LuckyDenis"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-06-26T16:47:45Z
| 2020-09-22T16:39:03Z
| 2020-09-22T16:39:03Z
|
CONTRIBUTOR
| null |
- [x] closes #34870
- [x] tests added / passed (1 / 1)
- [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/35018/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35018/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35018.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35018",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35018.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35018"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35019
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35019/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35019/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35019/events
|
https://github.com/pandas-dev/pandas/issues/35019
| 646,410,490
|
MDU6SXNzdWU2NDY0MTA0OTA=
| 35,019
|
BUG: to_json not allowing uploads to S3
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2353212?v=4",
"events_url": "https://api.github.com/users/rohan-gt/events{/privacy}",
"followers_url": "https://api.github.com/users/rohan-gt/followers",
"following_url": "https://api.github.com/users/rohan-gt/following{/other_user}",
"gists_url": "https://api.github.com/users/rohan-gt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rohan-gt",
"id": 2353212,
"login": "rohan-gt",
"node_id": "MDQ6VXNlcjIzNTMyMTI=",
"organizations_url": "https://api.github.com/users/rohan-gt/orgs",
"received_events_url": "https://api.github.com/users/rohan-gt/received_events",
"repos_url": "https://api.github.com/users/rohan-gt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rohan-gt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rohan-gt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rohan-gt"
}
|
[
{
"color": "e4a5f1",
"default": false,
"description": "Local or Cloud (AWS, GCS, etc.) IO Issues",
"id": 49381477,
"name": "IO Network",
"node_id": "MDU6TGFiZWw0OTM4MTQ3Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Network"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
}
] | null | 2
| 2020-06-26T17:32:30Z
| 2020-08-07T12:45:37Z
| 2020-08-07T12:45:37Z
|
NONE
| null |
This issue exists on the latest Pandas version (v1.0.5). `read_json` works perfectly with S3 paths.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35019/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35019/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35020
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35020/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35020/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35020/events
|
https://github.com/pandas-dev/pandas/issues/35020
| 646,418,982
|
MDU6SXNzdWU2NDY0MTg5ODI=
| 35,020
|
BUG: pandas.tseries.offsets.BusinessDay bug when using offset only
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18151776?v=4",
"events_url": "https://api.github.com/users/tina9253/events{/privacy}",
"followers_url": "https://api.github.com/users/tina9253/followers",
"following_url": "https://api.github.com/users/tina9253/following{/other_user}",
"gists_url": "https://api.github.com/users/tina9253/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tina9253",
"id": 18151776,
"login": "tina9253",
"node_id": "MDQ6VXNlcjE4MTUxNzc2",
"organizations_url": "https://api.github.com/users/tina9253/orgs",
"received_events_url": "https://api.github.com/users/tina9253/received_events",
"repos_url": "https://api.github.com/users/tina9253/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tina9253/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tina9253/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tina9253"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] |
open
| false
| null |
[] | null | 4
| 2020-06-26T17:49:13Z
| 2021-08-08T16:43:11Z
| null |
NONE
| null |
Here `n` is by default set to 1. This is causing bug if using offset only to calculate timedelta.
```
from pandas.tseries.offsets import BDay
td = BDay(offset=dt.timedelta(minutes=240))
> td.n
> 1
> td.apply(pd.to_datetime('2020-07-22 08:00:00'))
> Timestamp('2020-07-23 12:00:00')
```
where to increment the datetime by 240 mins, the date should NOT change.
Ref: https://github.com/pandas-dev/pandas/blob/b687cd4d9e520666a956a60849568a98dd00c672/pandas/tseries/offsets.py#L552
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35020/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35020/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35021
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35021/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35021/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35021/events
|
https://github.com/pandas-dev/pandas/pull/35021
| 646,492,006
|
MDExOlB1bGxSZXF1ZXN0NDQwNzcxMDM2
| 35,021
|
CI: add validate_unwanted_patterns to known_third_parties
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-06-26T20:22:22Z
| 2020-07-07T20:18:39Z
| 2020-07-07T19:24:25Z
|
MEMBER
| null |
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
By using `seed-isort-config`, the `known_third_party` setting is automatically populated and alphabetically sorted. This is a cleaner solution which doesn't require manually adding third parties to `setup.cfg`.
Furthermore, it catches an existing inconsistency: currently, `validate_docstrings` is set as a known third party, while `validate_unwanted_patterns` isn't. Neither should be, IMO.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35021/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35021/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35021.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35021",
"merged_at": "2020-07-07T19:24:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35021.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35021"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35022
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35022/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35022/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35022/events
|
https://github.com/pandas-dev/pandas/pull/35022
| 646,519,087
|
MDExOlB1bGxSZXF1ZXN0NDQwNzkyNzg4
| 35,022
|
TST: add test to ensure that df.groupby() returns the missing categories when grouping on 2 pd.Categoricals
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3813175?v=4",
"events_url": "https://api.github.com/users/smithto1/events{/privacy}",
"followers_url": "https://api.github.com/users/smithto1/followers",
"following_url": "https://api.github.com/users/smithto1/following{/other_user}",
"gists_url": "https://api.github.com/users/smithto1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smithto1",
"id": 3813175,
"login": "smithto1",
"node_id": "MDQ6VXNlcjM4MTMxNzU=",
"organizations_url": "https://api.github.com/users/smithto1/orgs",
"received_events_url": "https://api.github.com/users/smithto1/received_events",
"repos_url": "https://api.github.com/users/smithto1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smithto1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smithto1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smithto1"
}
|
[
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-26T21:24:55Z
| 2020-07-08T21:42:32Z
| 2020-07-08T15:35:26Z
|
MEMBER
| null |
- [x] closes #23865
- [x] closes #27075
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
1) _New Tests Addeded_
#23865 #27075 both reported that when df.groupby was called and `by` was set to more than one pd.Categorical column, that any missing categories were not returned, even when observed=False. This issue was fixed in #29690. This Pull Request adds tests to make sure that this correct behaviour is enforced by tests.
2) _New Bug Found_
Testing did reveal one further issue: DataFrameGroupBy.count() returns NaN for missing Categories, when it should return a count of 0. SeriesGroupBy.count() does return 0, which is the expected behaviour. I have raised an issue for this bug (#35028 ) and marked the test with an xfail. When the bug is fixed, the xfail will cause the tests to fail, and the xfail can be removed.
3) _Existing Test Changed as it had the Wrong Expected Result_
A similar issue was reported for .sum() in #31422: missing categories return a sum of NaN when they should return a sum of 0. There was a mistake on the existing test for SeriesGroupBy.sum(), as it said the expected output was NaN (see below) when it should have been 0.
https://github.com/pandas-dev/pandas/blob/0159cba6eb14983ab7eaf38ff138c3c397a6fe3b/pandas/tests/groupby/test_categorical.py#L1315
I have changed this so that the expected output is 0 (this is inline with the comment here: https://github.com/pandas-dev/pandas/issues/31422#issuecomment-579826193 ) and marked the tests for .sum() with xfail. When the bug is addressed, the xfail will cause the tests to fail, and the xfails can be removed.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35022/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35022/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35022.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35022",
"merged_at": "2020-07-08T15:35:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35022.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35022"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35023
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35023/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35023/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35023/events
|
https://github.com/pandas-dev/pandas/issues/35023
| 646,541,028
|
MDU6SXNzdWU2NDY1NDEwMjg=
| 35,023
|
ASV: asvs for DataFrame.values, to_numpy
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19833489?v=4",
"events_url": "https://api.github.com/users/hardikpnsp/events{/privacy}",
"followers_url": "https://api.github.com/users/hardikpnsp/followers",
"following_url": "https://api.github.com/users/hardikpnsp/following{/other_user}",
"gists_url": "https://api.github.com/users/hardikpnsp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hardikpnsp",
"id": 19833489,
"login": "hardikpnsp",
"node_id": "MDQ6VXNlcjE5ODMzNDg5",
"organizations_url": "https://api.github.com/users/hardikpnsp/orgs",
"received_events_url": "https://api.github.com/users/hardikpnsp/received_events",
"repos_url": "https://api.github.com/users/hardikpnsp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hardikpnsp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hardikpnsp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hardikpnsp"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/19833489?v=4",
"events_url": "https://api.github.com/users/hardikpnsp/events{/privacy}",
"followers_url": "https://api.github.com/users/hardikpnsp/followers",
"following_url": "https://api.github.com/users/hardikpnsp/following{/other_user}",
"gists_url": "https://api.github.com/users/hardikpnsp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hardikpnsp",
"id": 19833489,
"login": "hardikpnsp",
"node_id": "MDQ6VXNlcjE5ODMzNDg5",
"organizations_url": "https://api.github.com/users/hardikpnsp/orgs",
"received_events_url": "https://api.github.com/users/hardikpnsp/received_events",
"repos_url": "https://api.github.com/users/hardikpnsp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hardikpnsp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hardikpnsp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hardikpnsp"
}
] |
{
"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-06-26T22:23:25Z
| 2020-09-19T19:55:09Z
| 2020-09-19T19:55:01Z
|
MEMBER
| null |
xref #34999
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35023/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35023/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35024
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35024/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35024/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35024/events
|
https://github.com/pandas-dev/pandas/pull/35024
| 646,542,605
|
MDExOlB1bGxSZXF1ZXN0NDQwODExNjkw
| 35,024
|
TST: rename fixtures named 'indices' to 'index'
|
{
"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": "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": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-26T22:28:27Z
| 2020-06-27T00:16:04Z
| 2020-06-26T23:53:01Z
|
CONTRIBUTOR
| null |
The singular name makes more sense than the plural.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35024/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35024/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35024.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35024",
"merged_at": "2020-06-26T23:53:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35024.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35024"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35025
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35025/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35025/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35025/events
|
https://github.com/pandas-dev/pandas/issues/35025
| 646,583,555
|
MDU6SXNzdWU2NDY1ODM1NTU=
| 35,025
|
PERF: conversion to M8[ns]/datetime64[ns] is slow from "M8[s]" and other time resolutions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2245296?v=4",
"events_url": "https://api.github.com/users/rafiyr/events{/privacy}",
"followers_url": "https://api.github.com/users/rafiyr/followers",
"following_url": "https://api.github.com/users/rafiyr/following{/other_user}",
"gists_url": "https://api.github.com/users/rafiyr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rafiyr",
"id": 2245296,
"login": "rafiyr",
"node_id": "MDQ6VXNlcjIyNDUyOTY=",
"organizations_url": "https://api.github.com/users/rafiyr/orgs",
"received_events_url": "https://api.github.com/users/rafiyr/received_events",
"repos_url": "https://api.github.com/users/rafiyr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rafiyr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rafiyr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rafiyr"
}
|
[
{
"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": "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 | 20
| 2020-06-27T01:37:47Z
| 2021-08-08T16:44:12Z
| null |
NONE
| null |
- [x ] I have checked that this issue has not already been reported.
- [x ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
import pandas as pd, numpy as np, time
x = np.repeat(int(time.time()), 100_000_000)
"these are slow"
pd.Series(x.astype("M8[s]"))
pd.Series(x).astype("M8[s]")
"these are an order of magnitude faster"
pd.Series(x.astype("M8[s]").astype("M8[ns]"))
pd.Series((x*1e9).astype("M8[ns]")
#### Problem description
As long as there is no value translation involved converting/creating a datetime64[ns] array is fast as expected. But it is an order of magnitude slower when there is a magnitude conversion. Converting from float64 is only slightly slower than int64.
I've tested with 0.25.3, 0.25.32 and 1.0.5. And they all seem roughly consistent for those examples. The older versions have added behavior that pd.Series((x*1e9).astype("M8[ns]"), dtype="datetime64[ns]") is also slow, but fast without the dtype arguement.
In all cases the result is the same series of datetime64[ns] values.
#### Output of ``pd.show_versions()``
python : 3.8.3.final.0
python-bits : 64
OS : Linux
machine : x86_64
processor : x86_64
byteorder : little
pandas : 1.0.5
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35025/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35025/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35026
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35026/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35026/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35026/events
|
https://github.com/pandas-dev/pandas/pull/35026
| 646,589,641
|
MDExOlB1bGxSZXF1ZXN0NDQwODQ3NjMw
| 35,026
|
DOC: correction to "size" in the plotting.bootstrap_plot docstring
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4381837?v=4",
"events_url": "https://api.github.com/users/ericgrosz/events{/privacy}",
"followers_url": "https://api.github.com/users/ericgrosz/followers",
"following_url": "https://api.github.com/users/ericgrosz/following{/other_user}",
"gists_url": "https://api.github.com/users/ericgrosz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ericgrosz",
"id": 4381837,
"login": "ericgrosz",
"node_id": "MDQ6VXNlcjQzODE4Mzc=",
"organizations_url": "https://api.github.com/users/ericgrosz/orgs",
"received_events_url": "https://api.github.com/users/ericgrosz/received_events",
"repos_url": "https://api.github.com/users/ericgrosz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ericgrosz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericgrosz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ericgrosz"
}
|
[
{
"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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-27T02:20:57Z
| 2020-06-29T21:38:27Z
| 2020-06-29T21:38:21Z
|
CONTRIBUTOR
| null |
The documentation for plotting.bootstrap_plot says that the size argument must be greater than or equal to the length of the series. Bootstrapping typically uses subsamples of a size less than or equal to the size of the data set, so I corrected the docs accordingly. Note that making size greater than the length of the series throws the following ValueError: Sample larger than population or is negative
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35026/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35026/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35026.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35026",
"merged_at": "2020-06-29T21:38:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35026.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35026"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35027
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35027/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35027/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35027/events
|
https://github.com/pandas-dev/pandas/pull/35027
| 646,613,609
|
MDExOlB1bGxSZXF1ZXN0NDQwODY0Mjg4
| 35,027
|
PERF: pd.to_datetime, unit='s' much slower for float64 than for int64
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 12
| 2020-06-27T05:33:39Z
| 2020-09-19T20:27:06Z
| 2020-09-19T20:24:19Z
|
MEMBER
| null |
- [x] closes #20445
- [x] tests passed
- [x] new benchmarks added
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
As per discussion in #20445 this PR addresses performance of `to_datetime` on a uniform type array of floats. The aim is to get a speed-up by implementing `astype`-ing, and avoid looping, for floats.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35027/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35027/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35027.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35027",
"merged_at": "2020-09-19T20:24:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35027.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35027"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35028
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35028/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35028/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35028/events
|
https://github.com/pandas-dev/pandas/issues/35028
| 646,668,745
|
MDU6SXNzdWU2NDY2Njg3NDU=
| 35,028
|
BUG: df.groupby().count() returns NaN instead of Zero
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3813175?v=4",
"events_url": "https://api.github.com/users/smithto1/events{/privacy}",
"followers_url": "https://api.github.com/users/smithto1/followers",
"following_url": "https://api.github.com/users/smithto1/following{/other_user}",
"gists_url": "https://api.github.com/users/smithto1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smithto1",
"id": 3813175,
"login": "smithto1",
"node_id": "MDQ6VXNlcjM4MTMxNzU=",
"organizations_url": "https://api.github.com/users/smithto1/orgs",
"received_events_url": "https://api.github.com/users/smithto1/received_events",
"repos_url": "https://api.github.com/users/smithto1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smithto1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smithto1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smithto1"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21155410?v=4",
"events_url": "https://api.github.com/users/biddwan09/events{/privacy}",
"followers_url": "https://api.github.com/users/biddwan09/followers",
"following_url": "https://api.github.com/users/biddwan09/following{/other_user}",
"gists_url": "https://api.github.com/users/biddwan09/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/biddwan09",
"id": 21155410,
"login": "biddwan09",
"node_id": "MDQ6VXNlcjIxMTU1NDEw",
"organizations_url": "https://api.github.com/users/biddwan09/orgs",
"received_events_url": "https://api.github.com/users/biddwan09/received_events",
"repos_url": "https://api.github.com/users/biddwan09/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/biddwan09/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/biddwan09/subscriptions",
"type": "User",
"url": "https://api.github.com/users/biddwan09"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/21155410?v=4",
"events_url": "https://api.github.com/users/biddwan09/events{/privacy}",
"followers_url": "https://api.github.com/users/biddwan09/followers",
"following_url": "https://api.github.com/users/biddwan09/following{/other_user}",
"gists_url": "https://api.github.com/users/biddwan09/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/biddwan09",
"id": 21155410,
"login": "biddwan09",
"node_id": "MDQ6VXNlcjIxMTU1NDEw",
"organizations_url": "https://api.github.com/users/biddwan09/orgs",
"received_events_url": "https://api.github.com/users/biddwan09/received_events",
"repos_url": "https://api.github.com/users/biddwan09/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/biddwan09/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/biddwan09/subscriptions",
"type": "User",
"url": "https://api.github.com/users/biddwan09"
}
] |
{
"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-06-27T12:04:41Z
| 2020-08-07T15:21:12Z
| 2020-08-07T15:21:12Z
|
MEMBER
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version 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
df = pd.DataFrame(
{
"cat_1": pd.Categorical(list("AABB"), categories=list("ABC")),
"cat_2": pd.Categorical(list("1111"), categories=list("12")),
"value": [0.1, 0.1, 0.1, 0.1],
}
)
# SeriesGroupBy on one pd.Categorical: unobserved categories have a count of 0
srg_grp = df.groupby(['cat_1'], observed=False)['value']
print(srg_grp.count())
# SeriesGroupBy on two pd.Categorical: unobserved categories have a count of 0
srs_grp = df.groupby(['cat_1', 'cat_2'], observed=False)['value']
print(srs_grp.count())
# DataFrameGroupBy on one pd.Categorical: unobserved categories have a count of 0
df_grp = df.groupby(['cat_1'], observed=False)
print(df_grp.count())
# DataFrameGroupBy on two pd.Categorical: unobserved categories have a count of NaN
df_grp = df.groupby(['cat_1', 'cat_2'], observed=False)
print(df_grp.count())
```
#### Problem description
When grouping by multiple pd.Categorical columns, DataFrameGroupBy.count() returns NaN for missing categories, and the dtype is float.
A similar problem is reported for .sum() in #31422
#### Expected Output
.count() should return zero for missing categories with a dtype of int.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 248c191478aabacffec47105c3fe6caf22b0dcc1
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 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United Kingdom.1252
pandas : 1.1.0.dev0+1973.g248c19147.dirty
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.3.1.post20200616
Cython : 0.29.20
pytest : 5.4.3
hypothesis : 5.18.0
sphinx : 3.1.1
blosc : None
feather : None
xlsxwriter : 1.2.9
lxml.etree : 4.5.1
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.15.0
pandas_datareader: None
bs4 : 4.9.1
bottleneck : 1.3.2
fsspec : 0.7.4
fastparquet : 0.4.0
gcsfs : 0.6.2
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.3.2
sqlalchemy : 1.3.17
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/35028/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35028/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35029
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35029/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35029/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35029/events
|
https://github.com/pandas-dev/pandas/pull/35029
| 646,692,093
|
MDExOlB1bGxSZXF1ZXN0NDQwOTE4NTU1
| 35,029
|
DEPR: Deprecate using `xlrd` engine for read_excel
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4",
"events_url": "https://api.github.com/users/roberthdevries/events{/privacy}",
"followers_url": "https://api.github.com/users/roberthdevries/followers",
"following_url": "https://api.github.com/users/roberthdevries/following{/other_user}",
"gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roberthdevries",
"id": 10944368,
"login": "roberthdevries",
"node_id": "MDQ6VXNlcjEwOTQ0MzY4",
"organizations_url": "https://api.github.com/users/roberthdevries/orgs",
"received_events_url": "https://api.github.com/users/roberthdevries/received_events",
"repos_url": "https://api.github.com/users/roberthdevries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roberthdevries"
}
|
[
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false
|
{
"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"
}
|
[
{
"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"
}
] |
{
"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"
}
| 52
| 2020-06-27T14:26:43Z
| 2020-12-01T23:35:55Z
| 2020-12-01T23:27:29Z
|
CONTRIBUTOR
| null |
- [x] closes #28547
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This is MR #29375 but rebased to master
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35029/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35029/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35029.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35029",
"merged_at": "2020-12-01T23:27:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35029.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35029"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35030
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35030/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35030/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35030/events
|
https://github.com/pandas-dev/pandas/pull/35030
| 646,707,734
|
MDExOlB1bGxSZXF1ZXN0NDQwOTI5ODQ3
| 35,030
|
On traces of #33982
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1063219?v=4",
"events_url": "https://api.github.com/users/kuraga/events{/privacy}",
"followers_url": "https://api.github.com/users/kuraga/followers",
"following_url": "https://api.github.com/users/kuraga/following{/other_user}",
"gists_url": "https://api.github.com/users/kuraga/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kuraga",
"id": 1063219,
"login": "kuraga",
"node_id": "MDQ6VXNlcjEwNjMyMTk=",
"organizations_url": "https://api.github.com/users/kuraga/orgs",
"received_events_url": "https://api.github.com/users/kuraga/received_events",
"repos_url": "https://api.github.com/users/kuraga/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kuraga/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kuraga/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kuraga"
}
|
[] |
closed
| false
| null |
[] | null | 6
| 2020-06-27T16:01:18Z
| 2021-08-24T13:37:02Z
| 2020-09-10T19:05:02Z
|
NONE
| null |
To pay attention on https://github.com/pandas-dev/pandas/pull/33982#issuecomment-643246205. Sorry, I don't know another way now.
/cc @mproszewska , @jreback
Thanks.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35030/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35030/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35030.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35030",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35030.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35030"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35031
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35031/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35031/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35031/events
|
https://github.com/pandas-dev/pandas/issues/35031
| 646,723,357
|
MDU6SXNzdWU2NDY3MjMzNTc=
| 35,031
|
DOC: text in pandas.Series.dt.day refers to month instead of day
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7348392?v=4",
"events_url": "https://api.github.com/users/danielolsen/events{/privacy}",
"followers_url": "https://api.github.com/users/danielolsen/followers",
"following_url": "https://api.github.com/users/danielolsen/following{/other_user}",
"gists_url": "https://api.github.com/users/danielolsen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielolsen",
"id": 7348392,
"login": "danielolsen",
"node_id": "MDQ6VXNlcjczNDgzOTI=",
"organizations_url": "https://api.github.com/users/danielolsen/orgs",
"received_events_url": "https://api.github.com/users/danielolsen/received_events",
"repos_url": "https://api.github.com/users/danielolsen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielolsen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielolsen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielolsen"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-06-27T17:43:48Z
| 2020-08-21T17:05:20Z
| 2020-06-27T20:21:09Z
|
NONE
| null |
#### Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.dt.day.html
#### Documentation problem
The text here is a duplicate of https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.dt.month.html (`The month as January=1, December=12.`), when it should probably be something else.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35031/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35031/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35032
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35032/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35032/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35032/events
|
https://github.com/pandas-dev/pandas/pull/35032
| 646,746,916
|
MDExOlB1bGxSZXF1ZXN0NDQwOTUzMjk0
| 35,032
|
API: implement __array_function__ for ExtensionArray
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-06-27T19:38:40Z
| 2020-09-19T14:14:17Z
| 2020-09-19T14:10:31Z
|
MEMBER
| null |
xref #26380
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35032/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35032/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35032.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35032",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35032.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35032"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35033
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35033/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35033/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35033/events
|
https://github.com/pandas-dev/pandas/pull/35033
| 646,749,537
|
MDExOlB1bGxSZXF1ZXN0NDQwOTU0Njk5
| 35,033
|
Bug 31783
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6670621?v=4",
"events_url": "https://api.github.com/users/rjfs/events{/privacy}",
"followers_url": "https://api.github.com/users/rjfs/followers",
"following_url": "https://api.github.com/users/rjfs/following{/other_user}",
"gists_url": "https://api.github.com/users/rjfs/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rjfs",
"id": 6670621,
"login": "rjfs",
"node_id": "MDQ6VXNlcjY2NzA2MjE=",
"organizations_url": "https://api.github.com/users/rjfs/orgs",
"received_events_url": "https://api.github.com/users/rjfs/received_events",
"repos_url": "https://api.github.com/users/rjfs/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rjfs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rjfs/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rjfs"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-06-27T19:53:02Z
| 2020-06-27T20:01:56Z
| 2020-06-27T20:00:31Z
|
CONTRIBUTOR
| null |
- [ ] closes #31783
- [ ] 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/35033/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35033/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35033.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35033",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35033.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35033"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35034
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35034/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35034/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35034/events
|
https://github.com/pandas-dev/pandas/pull/35034
| 646,759,370
|
MDExOlB1bGxSZXF1ZXN0NDQwOTU5NTYz
| 35,034
|
PERF: avoid duplicate is_single_block check
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-27T20:39:31Z
| 2020-06-29T18:12:50Z
| 2020-06-29T17:52:45Z
|
MEMBER
| null |
Small bump, make up some of the ground lost in #34999.
```
In [2]: df = pd.DataFrame([1])
In [3]: %timeit df.values
3.65 µs ± 75.7 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- PR
3.84 µs ± 139 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- master
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35034/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35034/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35034.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35034",
"merged_at": "2020-06-29T17:52:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35034.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35034"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35035
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35035/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35035/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35035/events
|
https://github.com/pandas-dev/pandas/pull/35035
| 646,766,159
|
MDExOlB1bGxSZXF1ZXN0NDQwOTYyNzg3
| 35,035
|
BUG: fix read_excel error for header=None and index_col as list #31783
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6670621?v=4",
"events_url": "https://api.github.com/users/rjfs/events{/privacy}",
"followers_url": "https://api.github.com/users/rjfs/followers",
"following_url": "https://api.github.com/users/rjfs/following{/other_user}",
"gists_url": "https://api.github.com/users/rjfs/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rjfs",
"id": 6670621,
"login": "rjfs",
"node_id": "MDQ6VXNlcjY2NzA2MjE=",
"organizations_url": "https://api.github.com/users/rjfs/orgs",
"received_events_url": "https://api.github.com/users/rjfs/received_events",
"repos_url": "https://api.github.com/users/rjfs/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rjfs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rjfs/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rjfs"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-06-27T21:11:10Z
| 2020-07-10T13:54:04Z
| 2020-07-10T13:54:00Z
|
CONTRIBUTOR
| null |
- [x] closes #31783
- [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/35035/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35035/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35035.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35035",
"merged_at": "2020-07-10T13:53:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35035.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35035"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35036
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35036/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35036/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35036/events
|
https://github.com/pandas-dev/pandas/pull/35036
| 646,799,399
|
MDExOlB1bGxSZXF1ZXN0NDQwOTgwMDIw
| 35,036
|
PERF: put some Timetamp methods in _Timestamp
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-28T00:28:32Z
| 2020-06-30T13:49:40Z
| 2020-06-30T12:52:23Z
|
MEMBER
| null |
```
In [2]: ts = pd.Timestamp.now()
In [3]: %timeit ts.is_month_start
58.3 ns ± 1.5 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- PR
82.5 ns ± 2.16 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # <-- master
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35036/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35036/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35036.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35036",
"merged_at": "2020-06-30T12:52:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35036.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35036"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35037
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35037/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35037/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35037/events
|
https://github.com/pandas-dev/pandas/issues/35037
| 646,871,154
|
MDU6SXNzdWU2NDY4NzExNTQ=
| 35,037
|
ERR: could pandas suggest to use bitwise operators to filter instead of `and` and `or`, as on Kaggle?
|
{
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
open
| false
| null |
[] | null | 3
| 2020-06-28T08:30:02Z
| 2021-08-08T16:44:53Z
| null |
MEMBER
| null |
Currently, if one writes
```python
>>> import pandas as pd
>>> df = pd.DataFrame([1,2,3])
>>> df
0
0 1
1 2
2 3
>>> df[df[0].ge(0) and df[0].lt(0)]
```
then the traceback shows
```python-traceback
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/marco/pandas-dev/pandas/core/generic.py", line 1326, in __nonzero__
raise ValueError(
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
```
I've noticed that [Kaggle](https://www.kaggle.com) add their own warning when someone tries to do this:
```
To combine filtering conditions in Pandas, use bitwise operators ('&' and '|') not pure Python ones ('and' and 'or')
```
See below:

----
Is this something that could be in pandas as well? Sure, there's no way of reading users' minds - perhaps they reached this error by some other means - but would the error message be clearer if there was an extra line reading
```
If you were trying to combine filtering conditions in Pandas, use bitwise operators ('&' and '|') instead of pure Python ones ('and' and 'or')
```
?
|
{
"+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/35037/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35037/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35038
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35038/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35038/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35038/events
|
https://github.com/pandas-dev/pandas/pull/35038
| 646,894,366
|
MDExOlB1bGxSZXF1ZXN0NDQxMDM5NjQ0
| 35,038
|
BUG: DataFrame.append with empty DataFrame and Series with tz-aware datetime value allocated object column
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 7
| 2020-06-28T10:59:27Z
| 2020-09-04T13:26:59Z
| 2020-07-16T22:50:39Z
|
MEMBER
| null |
broken off #35032
This PR fixes situation where appending a series consecutively to a empty dataframe produces different result from appending the series in one step.
on master
```
>>> import pandas as pd
>>>
>>> pd.__version__
'1.1.0.dev0+1974.g0159cba6e'
>>>
>>> import dateutil
>>>
>>> date = pd.Timestamp("2018-10-24 07:30:00", tz=dateutil.tz.tzutc())
>>> date
Timestamp('2018-10-24 07:30:00+0000', tz='tzutc()')
>>>
>>> s = pd.Series({"date": date, "a": 1.0, "b": 2.0})
>>> s
date 2018-10-24 07:30:00+00:00
a 1
b 2
dtype: object
>>>
>>> df = pd.DataFrame(columns=["c", "d"])
>>> df
Empty DataFrame
Columns: [c, d]
Index: []
>>>
>>> result_a = df.append(s, ignore_index=True)
>>> result_a
c d a b date
0 NaN NaN 1.0 2.0 2018-10-24 07:30:00+00:00
>>>
>>> result_a.dtypes
c object
d object
a float64
b float64
date object
dtype: object
>>>
>>> result_b = result_a.append(s, ignore_index=True)
>>> result_b
c d a b date
0 NaN NaN 1.0 2.0 2018-10-24 07:30:00+00:00
1 NaN NaN 1.0 2.0 2018-10-24 07:30:00+00:00
>>>
>>> result_b.dtypes
c object
d object
a float64
b float64
date object
dtype: object
>>>
>>> result = df.append([s, s], ignore_index=True)
>>> result
c d date a b
0 NaN NaN 2018-10-24 07:30:00+00:00 1.0 2.0
1 NaN NaN 2018-10-24 07:30:00+00:00 1.0 2.0
>>>
>>> result.dtypes
c object
d object
date datetime64[ns, tzutc()]
a float64
b float64
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/35038/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35038/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35038.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35038",
"merged_at": "2020-07-16T22:50:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35038.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35038"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35039
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35039/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35039/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35039/events
|
https://github.com/pandas-dev/pandas/pull/35039
| 646,920,381
|
MDExOlB1bGxSZXF1ZXN0NDQxMDU2NzU4
| 35,039
|
Fix issue #29837: added test case for aggregation with isnan
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21155410?v=4",
"events_url": "https://api.github.com/users/biddwan09/events{/privacy}",
"followers_url": "https://api.github.com/users/biddwan09/followers",
"following_url": "https://api.github.com/users/biddwan09/following{/other_user}",
"gists_url": "https://api.github.com/users/biddwan09/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/biddwan09",
"id": 21155410,
"login": "biddwan09",
"node_id": "MDQ6VXNlcjIxMTU1NDEw",
"organizations_url": "https://api.github.com/users/biddwan09/orgs",
"received_events_url": "https://api.github.com/users/biddwan09/received_events",
"repos_url": "https://api.github.com/users/biddwan09/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/biddwan09/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/biddwan09/subscriptions",
"type": "User",
"url": "https://api.github.com/users/biddwan09"
}
|
[
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-06-28T13:26:37Z
| 2020-10-13T17:32:19Z
| 2020-06-29T07:26:53Z
|
CONTRIBUTOR
| null |
- [x] closes #29837
- [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/35039/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35039/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35039.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35039",
"merged_at": "2020-06-29T07:26:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35039.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35039"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35040
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35040/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35040/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35040/events
|
https://github.com/pandas-dev/pandas/pull/35040
| 646,928,144
|
MDExOlB1bGxSZXF1ZXN0NDQxMDYxMjQ5
| 35,040
|
Doc: Updated aggregate docstring
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/47276342?v=4",
"events_url": "https://api.github.com/users/gurukiran07/events{/privacy}",
"followers_url": "https://api.github.com/users/gurukiran07/followers",
"following_url": "https://api.github.com/users/gurukiran07/following{/other_user}",
"gists_url": "https://api.github.com/users/gurukiran07/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gurukiran07",
"id": 47276342,
"login": "gurukiran07",
"node_id": "MDQ6VXNlcjQ3Mjc2MzQy",
"organizations_url": "https://api.github.com/users/gurukiran07/orgs",
"received_events_url": "https://api.github.com/users/gurukiran07/received_events",
"repos_url": "https://api.github.com/users/gurukiran07/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gurukiran07/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gurukiran07/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gurukiran07"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-06-28T14:03:08Z
| 2020-06-28T14:04:00Z
| 2020-06-28T14:04:00Z
|
CONTRIBUTOR
| null |
Link to current `Series.agg`: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.agg.html
Original question asked in gitter:
Does `pd.Series.agg` with `func` parameter set to `'median'` uses `np.nanmedian`(Not only `median` including `mean`, `mode`)?
```python
s= pd.Series([np.nan, np.nan,1,1,1])
s.agg('median')
# 1
s.agg(np.median)
# 1
np.median(s.to_numpy())
# nan
np.nanmedian(s.to_numpy())
# 1
```
Whenever `NaN` is present does it fallback to using `np.nanmedian`?
---
Reply from @MarcoGorelli
if you look at `pandas/core/base.py` you'll see
```
np.median: "median",
np.nanmedian: "median",
```
in `_cython_table`. So, both resolve to the same internal cython function.
---
IMO it's better to mention this in the docs under `Note:` section.
Under note section saying:
*Some NumPy functions such as `np.mean`, `np.nanmean`, `np.median` etc. resolve to their corresponding internal cython function.*
<details>
```
################################################################################
######################## Docstring (pandas.Series.agg) ########################
################################################################################
Aggregate using one or more operations over the specified axis.
.. versionadded:: 0.20.0
Parameters
----------
func : function, str, list or dict
Function to use for aggregating the data. If a function, must either
work when passed a Series or when passed to Series.apply.
Accepted combinations are:
- function
- string function name
- list of functions and/or function names, e.g. ``[np.sum, 'mean']``
- dict of axis labels -> functions, function names or list of such.
axis : {0 or 'index'}
Parameter needed for compatibility with DataFrame.
*args
Positional arguments to pass to `func`.
**kwargs
Keyword arguments to pass to `func`.
Returns
-------
scalar, Series or DataFrame
The return can be:
* scalar : when Series.agg is called with single function
* Series : when DataFrame.agg is called with a single function
* DataFrame : when DataFrame.agg is called with several functions
Return scalar, Series or DataFrame.
See Also
--------
Series.apply : Invoke function on a Series.
Series.transform : Transform function producing a Series with like indexes.
Notes
-----
`agg` is an alias for `aggregate`. Use the alias.
Some NumPy functions such as `np.mean`, `np.nanmean`, `np.median` etc.
resolve to their corresponding internal cython function.
A passed user-defined-function will be passed a Series for evaluation.
Examples
--------
>>> s = pd.Series([1, 2, 3, 4])
>>> s
0 1
1 2
2 3
3 4
dtype: int64
>>> s.agg('min')
1
>>> s.agg(['min', 'max'])
min 1
max 4
dtype: int64
################################################################################
################################## Validation ##################################
################################################################################
Docstring for "pandas.Series.agg" correct. :)
```
</details>
[Image to updated docs of `Series.agg`](https://i.stack.imgur.com/yx7N4.png)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35040/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35040/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35040.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35040",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35040.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35040"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35041
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35041/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35041/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35041/events
|
https://github.com/pandas-dev/pandas/issues/35041
| 646,931,317
|
MDU6SXNzdWU2NDY5MzEzMTc=
| 35,041
|
CI: Linux py37_np_dev Concatenation operation is not implemented for NumPy arrays, use np.concatenate() instead.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-06-28T14:17:48Z
| 2020-06-29T00:36:32Z
| 2020-06-29T00:36:32Z
|
MEMBER
| null |
https://github.com/numpy/numpy/commit/8ac7ac94ab868473e2276902be656946745c641f
https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=38318&view=logs&j=3a03f79d-0b41-5610-1aa4-b4a014d0bc70&t=4d05ed0e-1ed3-5bff-dd63-1e957f2766a9
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35041/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35041/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35042
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35042/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35042/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35042/events
|
https://github.com/pandas-dev/pandas/pull/35042
| 646,937,182
|
MDExOlB1bGxSZXF1ZXN0NDQxMDY2NzA1
| 35,042
|
DOC: Updated aggregate docstring
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/47276342?v=4",
"events_url": "https://api.github.com/users/gurukiran07/events{/privacy}",
"followers_url": "https://api.github.com/users/gurukiran07/followers",
"following_url": "https://api.github.com/users/gurukiran07/following{/other_user}",
"gists_url": "https://api.github.com/users/gurukiran07/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gurukiran07",
"id": 47276342,
"login": "gurukiran07",
"node_id": "MDQ6VXNlcjQ3Mjc2MzQy",
"organizations_url": "https://api.github.com/users/gurukiran07/orgs",
"received_events_url": "https://api.github.com/users/gurukiran07/received_events",
"repos_url": "https://api.github.com/users/gurukiran07/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gurukiran07/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gurukiran07/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gurukiran07"
}
|
[
{
"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"
}
| 7
| 2020-06-28T14:44:20Z
| 2020-08-24T15:36:18Z
| 2020-08-24T15:36:18Z
|
CONTRIBUTOR
| null |
Link to current `Series.agg`: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.agg.html
Original question asked in gitter:
Does `pd.Series.agg` with `func` parameter set to `'median'` uses `np.nanmedian`(Not only `median` including `mean`, `mode`)?
```python
s= pd.Series([np.nan, np.nan,1,1,1])
s.agg('median')
# 1
s.agg(np.median)
# 1
np.median(s.to_numpy())
# nan
np.nanmedian(s.to_numpy())
# 1
```
Whenever `NaN` is present does it fallback to using `np.nanmedian`?
---
Reply from @MarcoGorelli
if you look at `pandas/core/base.py` you'll see
```
np.median: "median",
np.nanmedian: "median",
```
in `_cython_table`. So, both resolve to the same internal cython function.
---
IMO it's better to mention this in the docs under `Note:` section.
Under note section saying:
*Some NumPy functions such as `np.mean`, `np.nanmean`, `np.median` etc. resolve to their corresponding internal cython function.*
#### Output of `python validate_docstrings.py pandas.Series.agg`
<details>
```
################################################################################
######################## Docstring (pandas.Series.agg) ########################
################################################################################
Aggregate using one or more operations over the specified axis.
.. versionadded:: 0.20.0
Parameters
----------
func : function, str, list or dict
Function to use for aggregating the data. If a function, must either
work when passed a Series or when passed to Series.apply.
Accepted combinations are:
- function
- string function name
- list of functions and/or function names, e.g. ``[np.sum, 'mean']``
- dict of axis labels -> functions, function names or list of such.
axis : {0 or 'index'}
Parameter needed for compatibility with DataFrame.
*args
Positional arguments to pass to `func`.
**kwargs
Keyword arguments to pass to `func`.
Returns
-------
scalar, Series or DataFrame
The return can be:
* scalar : when Series.agg is called with single function
* Series : when DataFrame.agg is called with a single function
* DataFrame : when DataFrame.agg is called with several functions
Return scalar, Series or DataFrame.
See Also
--------
Series.apply : Invoke function on a Series.
Series.transform : Transform function producing a Series with like indexes.
Notes
-----
`agg` is an alias for `aggregate`. Use the alias.
Some NumPy functions such as `np.mean`, `np.nanmean`, `np.median` etc.
resolve to their corresponding internal cython function.
A passed user-defined-function will be passed a Series for evaluation.
Examples
--------
>>> s = pd.Series([1, 2, 3, 4])
>>> s
0 1
1 2
2 3
3 4
dtype: int64
>>> s.agg('min')
1
>>> s.agg(['min', 'max'])
min 1
max 4
dtype: int64
################################################################################
################################## Validation ##################################
################################################################################
Docstring for "pandas.Series.agg" correct. :)
```
</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/35042/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35042/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35042.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35042",
"merged_at": "2020-08-24T15:36:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35042.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35042"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35043
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35043/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35043/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35043/events
|
https://github.com/pandas-dev/pandas/issues/35043
| 646,941,075
|
MDU6SXNzdWU2NDY5NDEwNzU=
| 35,043
|
ENH: Add some features like R data.table's fread() function.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32410912?v=4",
"events_url": "https://api.github.com/users/b-niu/events{/privacy}",
"followers_url": "https://api.github.com/users/b-niu/followers",
"following_url": "https://api.github.com/users/b-niu/following{/other_user}",
"gists_url": "https://api.github.com/users/b-niu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/b-niu",
"id": 32410912,
"login": "b-niu",
"node_id": "MDQ6VXNlcjMyNDEwOTEy",
"organizations_url": "https://api.github.com/users/b-niu/orgs",
"received_events_url": "https://api.github.com/users/b-niu/received_events",
"repos_url": "https://api.github.com/users/b-niu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/b-niu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/b-niu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/b-niu"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-06-28T15:01:59Z
| 2021-08-08T16:47:13Z
| 2021-08-08T16:47:13Z
|
NONE
| null |
#### Is your feature request related to a problem?
The fread() function in R library data.table has many features which are very usefull.
#### Describe the solution you'd like
### 1. An argument treat tables with untidy columns
If we get a CSV file with shorter header line than table content, just like:
>A,B,C
>a,1,123,5,6
>b,123,3,3
>c,123,555,123
By using "fill = TRUE", we can easily read it into R:
```
library(data.table)
df1 <- fread("test.csv", sep = ",", header = TRUE, fill = TRUE)
print.data.frame(df1)
A B C V4 V5
1 a 1 123 5 6
2 b 123 3 3 NA
3 c 123 555 123 NA
```
### 2. An argument skip to one line with particular pattern
If we get an VCF file just like this:
>##fileformat=VCFv4.2
>##FILTER=<ID=Bias,Description="Strand Bias">
>##FILTER=<ID=Cluster0bp,Description="Two somatic variants are within 0 bp">
>##FILTER=<ID=DIFF0.05,Description="Non-somatic or LOH and allele frequency difference < 0.05">
>##FILTER=<ID=InDelLikely,Description="Likely Indels are not considered somatic">
>#CHROM POS ID REF ALT QUAL FILTER INFO
>chr2 79314684 . G C 154.0 PASS AC=3;AF=0.273;AN=11;DP=146;SOMATIC
>chr2 119750833 . G T 165.0 PASS AC=3;AF=0.273;AN=11;DP=149;SOMATIC
>chr2 203964409 . G A 89.0 PASS AC=2;AF=0.250;AN=8;DP=137
By using "skip = "#CHROM"", fread() can search the whole file, and jump to the first line with the pattern "#CHROM",
and read it into R:
```
library(data.table)
df2 <- fread("test.vcf", skip = "#CHROM")
print.data.frame(df2)
#CHROM POS ID REF ALT QUAL FILTER INFO
1 chr2 79314684 . G C 154 PASS AC=3;AF=0.273;AN=11;DP=146;SOMATIC
2 chr2 119750833 . G T 165 PASS AC=3;AF=0.273;AN=11;DP=149;SOMATIC
3 chr2 203964409 . G A 89 PASS AC=2;AF=0.250;AN=8;DP=137
```
#### API breaking implications
[this should provide a description of how this feature will affect the API]
#### Describe alternatives you've considered
[this should provide a description of any alternative solutions or features you've considered]
#### Additional context
[add any other context, code examples, or references to existing implementations about the feature request here]
```python
# Your code here, if applicable
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35043/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35043/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35044
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35044/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35044/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35044/events
|
https://github.com/pandas-dev/pandas/pull/35044
| 646,987,566
|
MDExOlB1bGxSZXF1ZXN0NDQxMTAxMDI3
| 35,044
|
CI: troubleshoot
|
{
"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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-28T19:14:08Z
| 2020-06-29T07:28:58Z
| 2020-06-29T00:36:32Z
|
MEMBER
| null |
- [ ] closes #35041
I don't think the message raised by Numpy is appropriate since AFAICT we are getting the message when using operator.add and not operator.concat
maybe better to skip tests and discuss with Numpy
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35044/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35044/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35044.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35044",
"merged_at": "2020-06-29T00:36:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35044.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35044"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35045
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35045/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35045/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35045/events
|
https://github.com/pandas-dev/pandas/pull/35045
| 647,017,173
|
MDExOlB1bGxSZXF1ZXN0NDQxMTIyOTMw
| 35,045
|
CLN: assorted tslibs cleanups, annotations
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-28T22:16:43Z
| 2020-06-29T23:21:14Z
| 2020-06-29T23:13:46Z
|
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/35045/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35045/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35045.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35045",
"merged_at": "2020-06-29T23:13:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35045.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35045"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35046
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35046/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35046/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35046/events
|
https://github.com/pandas-dev/pandas/issues/35046
| 647,040,921
|
MDU6SXNzdWU2NDcwNDA5MjE=
| 35,046
|
BUG/API Should pd.NaT < "foo" raise?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
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-06-29T00:43:57Z
| 2020-08-06T22:06:47Z
| 2020-08-06T22:06:47Z
|
MEMBER
| null |
If we treat NaT as a datetime, we would expect pd.NaT == "foo" to return False, != to return True, and for the inequalities to raise:
```
>>> np.datetime64("NaT", "ns") < "foo"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'numpy.ndarray' and 'str'
>>> np.nan < "foo"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'float' and 'str'
>>> pd.NaT < "foo"
False
```
It isn't obvious to me that the existing behavior is intentional. If we change this to raise, we can simplify `NaT.__richcmp__` a bit.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35046/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35046/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35047
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35047/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35047/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35047/events
|
https://github.com/pandas-dev/pandas/issues/35047
| 647,053,740
|
MDU6SXNzdWU2NDcwNTM3NDA=
| 35,047
|
Performance regression in frame_methods.Apply.time_apply_ref_by_name
|
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-29T01:39:29Z
| 2020-07-08T12:40:46Z
| 2020-07-08T12:40:46Z
|
CONTRIBUTOR
| null |
https://pandas.pydata.org/speed/pandas/index.html#frame_methods.Apply.time_apply_ref_by_name?commits=91802a9ae400830f9eaadd395f6a9b40cdd92ee5
https://github.com/pandas-dev/pandas/commit/91802a9ae400830f9eaadd395f6a9b40cdd92ee5 (cc @jbrockmendel)
Also affects other benchmarks that probably use apply: https://pandas.pydata.org/speed/pandas/index.html#frame_methods.Nunique.time_frame_nunique?commits=91802a9ae400830f9eaadd395f6a9b40cdd92ee5.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35047/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35047/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35048
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35048/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35048/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35048/events
|
https://github.com/pandas-dev/pandas/issues/35048
| 647,054,556
|
MDU6SXNzdWU2NDcwNTQ1NTY=
| 35,048
|
Performance regression in arithmetic.ApplyIndex.time_apply_index
|
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-29T01:42:56Z
| 2020-07-10T12:13:20Z
| 2020-07-10T12:13:20Z
|
CONTRIBUTOR
| null |
https://pandas.pydata.org/speed/pandas/index.html#arithmetic.ApplyIndex.time_apply_index?p-offset=%3CMonthBegin%3E&commits=55adcb8688582e3a3be66b1036d3604327ae5071-b05e6b1402124a062608b97ca02af0cfb13568d1, https://github.com/pandas-dev/pandas/compare/55adcb8688582e3a3be66b1036d3604327ae5071...b05e6b1402124a062608b97ca02af0cfb13568d1 (30 commits in there).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35048/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35048/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35049
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35049/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35049/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35049/events
|
https://github.com/pandas-dev/pandas/issues/35049
| 647,055,191
|
MDU6SXNzdWU2NDcwNTUxOTE=
| 35,049
|
Performance regression in frame_methods.Quantile.time_frame_quantile
|
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-29T01:45:44Z
| 2020-07-03T15:07:32Z
| 2020-07-03T15:07:32Z
|
CONTRIBUTOR
| null |
https://pandas.pydata.org/speed/pandas/index.html#frame_methods.Quantile.time_frame_quantile?p-axis=0&commits=ce292485c781ec0df0a765869848b97ac3c88a54
https://github.com/pandas-dev/pandas/commit/ce292485c781ec0df0a765869848b97ac3c88a54 (an f-string PR). Most likely the formatting is somewhat expensive.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35049/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35049/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35050
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35050/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35050/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35050/events
|
https://github.com/pandas-dev/pandas/issues/35050
| 647,057,300
|
MDU6SXNzdWU2NDcwNTczMDA=
| 35,050
|
Performance regression in stat_ops.FrameMultiIndexOps.time_op
|
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 8
| 2020-06-29T01:54:33Z
| 2020-11-25T21:37:30Z
| null |
CONTRIBUTOR
| null | ERROR: type should be string, got "https://pandas.pydata.org/speed/pandas/index.html#stat_ops.FrameMultiIndexOps.time_op?p-level=1&p-op=%27std%27&commits=c9144ca54dcc924995acae3d9dcb890a5802d7c0\r\n\r\n```python\r\nimport pandas as pd\r\nimport numpy as np\r\n\r\nlevels = [np.arange(10), np.arange(100), np.arange(100)]\r\ncodes = [\r\n np.arange(10).repeat(10000),\r\n np.tile(np.arange(100).repeat(100), 10),\r\n np.tile(np.tile(np.arange(100), 100), 10),\r\n]\r\nindex = pd.MultiIndex(levels=levels, codes=codes)\r\ndf = pd.DataFrame(np.random.randn(len(index), 4), index=index)\r\n%timeit df.std(level=1)\r\n```\r\n\r\nPoints to https://github.com/pandas-dev/pandas/pull/34372 (cc @rhshadrach), but there was an earlier slowdown.\r\n"
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35050/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35050/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35051
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35051/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35051/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35051/events
|
https://github.com/pandas-dev/pandas/issues/35051
| 647,072,905
|
MDU6SXNzdWU2NDcwNzI5MDU=
| 35,051
|
BUG: Segmentation faults in pd.read_csv for large files
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/12708480?v=4",
"events_url": "https://api.github.com/users/Krytic/events{/privacy}",
"followers_url": "https://api.github.com/users/Krytic/followers",
"following_url": "https://api.github.com/users/Krytic/following{/other_user}",
"gists_url": "https://api.github.com/users/Krytic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Krytic",
"id": 12708480,
"login": "Krytic",
"node_id": "MDQ6VXNlcjEyNzA4NDgw",
"organizations_url": "https://api.github.com/users/Krytic/orgs",
"received_events_url": "https://api.github.com/users/Krytic/received_events",
"repos_url": "https://api.github.com/users/Krytic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Krytic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Krytic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Krytic"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "36ede0",
"default": false,
"description": "Non-Recoverable Error",
"id": 1121248195,
"name": "Segfault",
"node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault"
}
] |
open
| false
| null |
[] | null | 6
| 2020-06-29T02:51:20Z
| 2021-08-08T16:49:12Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import numpy as np
import pandas as pd
def from_file(filepath):
name_hints = []
name_hints.extend(['m1','m2','a0','e0'])
name_hints.extend(['weight','evolution_age','rejuvenation_age'])
df = pd.read_csv(filepath,
nrows=None,
names=name_hints,
sep=r'\s+',
engine='python',
dtype=np.float64)
return df
df = from_file('data/big_data_set.dat.gz')
```
#### Problem description
When loading sufficiently big files (mine are >800 MB on average), `pd.read_csv` fails with a Bus Error. I am loading in `.gz` files as I believe pandas is able to decompress these automatically.
I cannot reproduce this with a smaller dataset (have tried on files with ~364,000 lines). I have run this code with `gdb` and obtain the following stack trace:
<details>
Thread 0x00002aaab53d0700 (most recent call first):
File "/opt/nesi/CS400_centos7_bdw/Python/3.8.2-gimkl-2020a/lib/python3.8/threading.py", line 306 in wait
File "/opt/nesi/CS400_centos7_bdw/Python/3.8.2-gimkl-2020a/lib/python3.8/threading.py", line 558 in wait
File "/home/sric560/.local/lib/python3.8/site-packages/tqdm/_monitor.py", line 69 in run
File "/opt/nesi/CS400_centos7_bdw/Python/3.8.2-gimkl-2020a/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/opt/nesi/CS400_centos7_bdw/Python/3.8.2-gimkl-2020a/lib/python3.8/threading.py", line 890 in _bootstrap
Current thread 0x00002aaaaaaea9c0 (most recent call first):
File "/home/sric560/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1763 in _infer_types
File "/home/sric560/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1708 in _convert_to_ndarrays
File "/home/sric560/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 2528 in _convert_data
File "/home/sric560/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 2464 in read
File "/home/sric560/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1133 in read
File "/home/sric560/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 454 in _read
File "/home/sric560/.local/lib/python3.8/site-packages/pandas/io/parsers.py", line 676 in parser_f
File "/scale_wlg_persistent/filesets/home/sric560/masters/takahe/takahe/load.py", line 14 in from_file
File "/scale_wlg_persistent/filesets/home/sric560/masters/takahe/takahe/load.py", line 35 in from_directory
/var/spool/slurm/job13442044/slurm_script: line 10: 67748 Segmentation fault (core dumped) gdb -ex r --args python BigData.py
File "BigData.py", line 11 in <module>
</details>
#### Expected Output
I would expect the data to be read successfully.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.2.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-693.2.2.el7.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_NZ.UTF-8
LOCALE : en_NZ.UTF-8
pandas : 1.0.5
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.2.3
setuptools : 45.2.0
Cython : 0.29.15
pytest : 5.3.5
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
jinja2 : 2.11.1
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : 1.3.1
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : None
tabulate : 0.8.6
xarray : 0.15.0
xlrd : 1.2.0
xlwt : None
xlsxwriter : 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/35051/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35051/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35052
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35052/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35052/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35052/events
|
https://github.com/pandas-dev/pandas/pull/35052
| 647,415,001
|
MDExOlB1bGxSZXF1ZXN0NDQxNDQ1ODYy
| 35,052
|
CLN: move categorical tests from test_aggregate to test_categorical
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "207de5",
"default": false,
"description": 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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-29T14:16:27Z
| 2020-06-30T08:13:17Z
| 2020-06-29T21:17:55Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/pull/35039#discussion_r446948974
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35052/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35052/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35052.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35052",
"merged_at": "2020-06-29T21:17:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35052.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35052"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35053
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35053/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35053/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35053/events
|
https://github.com/pandas-dev/pandas/issues/35053
| 647,431,526
|
MDU6SXNzdWU2NDc0MzE1MjY=
| 35,053
|
Performance regression in replace.Convert.time_replace
|
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-06-29T14:38:01Z
| 2020-07-07T13:37:52Z
| 2020-07-07T13:37:52Z
|
CONTRIBUTOR
| null |
https://github.com/pandas-dev/pandas/pull/34999 caused a 2x slowdown in replace.Convert.time_replace (https://pandas.pydata.org/speed/pandas/index.html#replace.Convert.time_replace?p-constructor=%27Series%27&p-replace_data=%27Timestamp%27&commits=dbfbef7eaea7f23a42d9a65344b5745fc055f5b4)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35053/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35053/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35054
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35054/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35054/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35054/events
|
https://github.com/pandas-dev/pandas/pull/35054
| 647,615,381
|
MDExOlB1bGxSZXF1ZXN0NDQxNjA5MTc1
| 35,054
|
POC: make ccalendar.pyx valid python
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] | null | 4
| 2020-06-29T19:36:39Z
| 2021-11-20T23:22:37Z
| 2020-07-01T21:49:11Z
|
MEMBER
| null |
Proof of concept for making some of our cython files into valid python\*, which would allow us to lint and maybe (cc @simonjayhawkins thoughts?) use mypy
\* strictly speaking, we need to do a find-and-replace of "cimport" -> "import" to get all the way to valid python.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35054/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35054/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35054.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35054",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35054.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35054"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35055
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35055/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35055/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35055/events
|
https://github.com/pandas-dev/pandas/pull/35055
| 647,652,714
|
MDExOlB1bGxSZXF1ZXN0NDQxNjM3ODk5
| 35,055
|
TST: Adds CategoricalIndex DataFrame from_records test (GH32805)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/46765601?v=4",
"events_url": "https://api.github.com/users/jgulian/events{/privacy}",
"followers_url": "https://api.github.com/users/jgulian/followers",
"following_url": "https://api.github.com/users/jgulian/following{/other_user}",
"gists_url": "https://api.github.com/users/jgulian/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jgulian",
"id": 46765601,
"login": "jgulian",
"node_id": "MDQ6VXNlcjQ2NzY1NjAx",
"organizations_url": "https://api.github.com/users/jgulian/orgs",
"received_events_url": "https://api.github.com/users/jgulian/received_events",
"repos_url": "https://api.github.com/users/jgulian/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jgulian/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jgulian/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jgulian"
}
|
[
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-06-29T20:40:19Z
| 2020-07-17T10:37:23Z
| 2020-07-17T10:37:15Z
|
CONTRIBUTOR
| null |
- [x] closes #32805
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
The test checks to make sure `from_records` loads a `DataFrame` with a `CategorigalIndex` as shown in #32805.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35055/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35055/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35055.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35055",
"merged_at": "2020-07-17T10:37:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35055.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35055"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35056
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35056/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35056/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35056/events
|
https://github.com/pandas-dev/pandas/pull/35056
| 647,674,155
|
MDExOlB1bGxSZXF1ZXN0NDQxNjUzMDU3
| 35,056
|
DOC: Alligned docstring for ignore_index in append
|
{
"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": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-06-29T21:13:46Z
| 2020-06-30T16:59:31Z
| 2020-06-30T16:59:24Z
|
CONTRIBUTOR
| null |
- [x] closes #xxxx
- [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/35056/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35056/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35056.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35056",
"merged_at": "2020-06-30T16:59:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35056.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35056"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35057
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35057/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35057/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35057/events
|
https://github.com/pandas-dev/pandas/pull/35057
| 647,711,740
|
MDExOlB1bGxSZXF1ZXN0NDQxNjgxMTc4
| 35,057
|
ENH: Distinguish widths argument in read_fwf
|
{
"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": "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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] | null | 9
| 2020-06-29T22:26:21Z
| 2020-09-21T16:29:59Z
| 2020-09-21T16:29:53Z
|
CONTRIBUTOR
| null |
- [x] closes #34953
- [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/35057/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35057/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35057.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35057",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35057.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35057"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35058
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35058/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35058/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35058/events
|
https://github.com/pandas-dev/pandas/issues/35058
| 647,799,653
|
MDU6SXNzdWU2NDc3OTk2NTM=
| 35,058
|
BUG: to_csv doesn't support file handles from ZipFiles
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4",
"events_url": "https://api.github.com/users/twoertwein/events{/privacy}",
"followers_url": "https://api.github.com/users/twoertwein/followers",
"following_url": "https://api.github.com/users/twoertwein/following{/other_user}",
"gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twoertwein",
"id": 6618166,
"login": "twoertwein",
"node_id": "MDQ6VXNlcjY2MTgxNjY=",
"organizations_url": "https://api.github.com/users/twoertwein/orgs",
"received_events_url": "https://api.github.com/users/twoertwein/received_events",
"repos_url": "https://api.github.com/users/twoertwein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twoertwein"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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-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-06-30T02:21:10Z
| 2020-08-07T11:53:10Z
| 2020-08-07T11:53:10Z
|
CONTRIBUTOR
| null |
- [X] I have checked that this issue has not already been reported.
- [ ] 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
from zipfile import ZipFile
import numpy as np
import pandas as pd
with ZipFile("plots.zip", mode="w") as file:
# write some matplotlib plots into the zip file
# write CSV into zip file
data = pd.DataFrame(np.random.rand(10, 3))
with file.open("data.csv", mode="w") as csv_file:
data.to_csv(csv_file)
```
Last part of the stack trace:
```
~/miniforge3/envs/panama/lib/python3.8/site-packages/pandas/io/formats/csvs.py in _save_header(self)
278 if not has_mi_columns or has_aliases:
279 encoded_labels += list(write_cols)
--> 280 writer.writerow(encoded_labels)
281 else:
282 # write out the mi
~/miniforge3/envs/panama/lib/python3.8/zipfile.py in write(self, data)
1134 nbytes = len(data)
1135 self._file_size += nbytes
-> 1136 self._crc = crc32(data, self._crc)
1137 if self._compressor:
1138 data = self._compressor.compress(data)
TypeError: a bytes-like object is required, not 'str'
```
#### Problem description
I know that `to_csv` supports compression but I want to write a DataFrame into a zip file with multiple other files. I'm not sure whether the above error is an error in pandas or a missing feature/bug in zipfiles.
#### Expected Output
`to_csv` supports writing to a ZipFile's file handle.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.3.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-693.5.2.el7.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.4
numpy : 1.18.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.1.1.post20200529
Cython : None
pytest : 5.4.3
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.15.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.4.3
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : 3.6.1
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/35058/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35058/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35059
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35059/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35059/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35059/events
|
https://github.com/pandas-dev/pandas/pull/35059
| 647,866,421
|
MDExOlB1bGxSZXF1ZXN0NDQxNzg2ODIy
| 35,059
|
REF: Rename NonFixedVariableWindowIndexer to VariableOffsetWindowIndexer
|
{
"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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-30T05:13:03Z
| 2020-06-30T16:33:31Z
| 2020-06-30T12:51:46Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/pull/34994#discussion_r447311723
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35059/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35059/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35059.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35059",
"merged_at": "2020-06-30T12:51:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35059.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35059"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35060
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35060/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35060/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35060/events
|
https://github.com/pandas-dev/pandas/pull/35060
| 647,998,414
|
MDExOlB1bGxSZXF1ZXN0NDQxODg0NjIy
| 35,060
|
Fix issue #31708 Series.astype(str, skipna=True) vanished in the 1.0 release
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23321688?v=4",
"events_url": "https://api.github.com/users/t0ma-sz/events{/privacy}",
"followers_url": "https://api.github.com/users/t0ma-sz/followers",
"following_url": "https://api.github.com/users/t0ma-sz/following{/other_user}",
"gists_url": "https://api.github.com/users/t0ma-sz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/t0ma-sz",
"id": 23321688,
"login": "t0ma-sz",
"node_id": "MDQ6VXNlcjIzMzIxNjg4",
"organizations_url": "https://api.github.com/users/t0ma-sz/orgs",
"received_events_url": "https://api.github.com/users/t0ma-sz/received_events",
"repos_url": "https://api.github.com/users/t0ma-sz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/t0ma-sz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/t0ma-sz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/t0ma-sz"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 3
| 2020-06-30T08:58:48Z
| 2020-07-17T10:35:12Z
| 2020-07-17T10:35:12Z
|
NONE
| null |
- [ ] closes #31708
- [ ] 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/35060/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35060/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35060.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35060",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35060.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35060"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35061
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35061/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35061/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35061/events
|
https://github.com/pandas-dev/pandas/pull/35061
| 648,136,009
|
MDExOlB1bGxSZXF1ZXN0NDQxOTk3Mzk1
| 35,061
|
Fixed #34859: Added support for '0' and '1' in BooleanArray._from_sequence_of_strings method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24211143?v=4",
"events_url": "https://api.github.com/users/SanthoshBala18/events{/privacy}",
"followers_url": "https://api.github.com/users/SanthoshBala18/followers",
"following_url": "https://api.github.com/users/SanthoshBala18/following{/other_user}",
"gists_url": "https://api.github.com/users/SanthoshBala18/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SanthoshBala18",
"id": 24211143,
"login": "SanthoshBala18",
"node_id": "MDQ6VXNlcjI0MjExMTQz",
"organizations_url": "https://api.github.com/users/SanthoshBala18/orgs",
"received_events_url": "https://api.github.com/users/SanthoshBala18/received_events",
"repos_url": "https://api.github.com/users/SanthoshBala18/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SanthoshBala18/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SanthoshBala18/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SanthoshBala18"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 7
| 2020-06-30T12:34:39Z
| 2020-07-03T05:38:12Z
| 2020-07-02T15:01:40Z
|
CONTRIBUTOR
| null |
- [ ] closes #34859
- [ ] 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/35061/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35061/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35061.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35061",
"merged_at": "2020-07-02T15:01:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35061.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35061"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35062
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35062/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35062/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35062/events
|
https://github.com/pandas-dev/pandas/pull/35062
| 648,215,073
|
MDExOlB1bGxSZXF1ZXN0NDQyMDYzMzMz
| 35,062
|
CLN: collect Timestamp 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": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-30T14:17:22Z
| 2020-07-01T00:57:22Z
| 2020-06-30T22:49:53Z
|
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/35062/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35062/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35062.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35062",
"merged_at": "2020-06-30T22:49:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35062.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35062"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35063
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35063/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35063/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35063/events
|
https://github.com/pandas-dev/pandas/pull/35063
| 648,388,262
|
MDExOlB1bGxSZXF1ZXN0NDQyMjA3NzY1
| 35,063
|
ENH: support index=True/False keyword for io.sql.get_schema
|
{
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
},
{
"color": "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 | 9
| 2020-06-30T18:04:42Z
| 2021-02-11T01:33:00Z
| 2021-02-11T01:33:00Z
|
MEMBER
| null |
- [x] closes #9084
- [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/35063/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35063/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35063.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35063",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35063.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35063"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35064
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35064/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35064/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35064/events
|
https://github.com/pandas-dev/pandas/pull/35064
| 648,388,450
|
MDExOlB1bGxSZXF1ZXN0NDQyMjA3OTIw
| 35,064
|
Assorted ujson Cleanups
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
}
|
[
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-30T18:05:02Z
| 2020-07-01T15:23:26Z
| 2020-07-01T15:22:49Z
|
MEMBER
| null |
I think it would be great if we could move the block iteration out of JSON as it has generic functionality that we could use down in C. This isn't it, but a small set of cleanups I noticed while looking at that
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35064/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35064/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35064.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35064",
"merged_at": "2020-07-01T15:22:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35064.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35064"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35065
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35065/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35065/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35065/events
|
https://github.com/pandas-dev/pandas/pull/35065
| 648,424,683
|
MDExOlB1bGxSZXF1ZXN0NDQyMjM3NDUy
| 35,065
|
CLN: type get_resolution tz as tzinfo
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-30T19:07:11Z
| 2020-06-30T21:23:41Z
| 2020-06-30T21:05:52Z
|
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/35065/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35065/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35065.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35065",
"merged_at": "2020-06-30T21:05:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35065.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35065"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35066
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35066/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35066/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35066/events
|
https://github.com/pandas-dev/pandas/pull/35066
| 648,425,793
|
MDExOlB1bGxSZXF1ZXN0NDQyMjM4MzY2
| 35,066
|
DOC: Remove mypy from pre commit
|
{
"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": "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"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] | null | 8
| 2020-06-30T19:08:56Z
| 2020-09-01T11:42:05Z
| 2020-09-01T11:42:05Z
|
CONTRIBUTOR
| null |
- [x] closes #34902
- [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/35066/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35066/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35066.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35066",
"merged_at": "2020-09-01T11:42:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35066.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35066"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35067
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35067/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35067/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35067/events
|
https://github.com/pandas-dev/pandas/pull/35067
| 648,464,470
|
MDExOlB1bGxSZXF1ZXN0NDQyMjY5ODg4
| 35,067
|
CLN: type tz kwarg in create_timestamp_from_ts
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-30T20:17:05Z
| 2020-06-30T22:09:05Z
| 2020-06-30T21:58:44Z
|
MEMBER
| null |
Perf is indistinguishable
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35067/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35067/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35067.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35067",
"merged_at": "2020-06-30T21:58:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35067.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35067"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35068
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35068/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35068/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35068/events
|
https://github.com/pandas-dev/pandas/pull/35068
| 648,468,585
|
MDExOlB1bGxSZXF1ZXN0NDQyMjczMjE4
| 35,068
|
PERF: Timestamp.normalize
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-30T20:24:44Z
| 2020-07-01T01:47:16Z
| 2020-07-01T01:40:42Z
|
MEMBER
| null |
The perf is actually a wash here, verging on slightly negative. The really worthwhile thing is the improved asvs.
The big perf gain is being split into a separate PR that optimizes _maybe_convert_value_to_local to the tune of 40%.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35068/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35068/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35068.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35068",
"merged_at": "2020-07-01T01:40:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35068.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35068"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35069
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35069/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35069/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35069/events
|
https://github.com/pandas-dev/pandas/issues/35069
| 648,505,998
|
MDU6SXNzdWU2NDg1MDU5OTg=
| 35,069
|
ENH: Add option to keep index in `pd.melt`
|
{
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-06-30T21:26:07Z
| 2020-06-30T22:32:41Z
| 2020-06-30T22:29:46Z
|
CONTRIBUTOR
| null |
When melting a dataframe, there's no option to keep the original index. This can be beneficial for example when users want to do different kind `ravel` than the deault `F` (Fortran style) right now. To make this more clear, see example:
```python
df = pd.DataFrame({'A': [1, 4],
'B': [2, 5],
'C': [3, 6]})
print(df)
A B C
0 1 2 3
1 4 5 6
print(df.melt())
variable value
0 A 1
1 A 4
2 B 2
3 B 5
4 C 3
5 C 6
```
But the expected output can be row wise instead:
```python
variable value
0 A 1
1 B 2
2 C 3
3 A 4
4 B 5
5 C 6
```
**Solution proposal**
This could be solved by adding an `ignore_index` argument which is `True` by default, but if it is set to `False`, the result would come out like:
```python
variable value
0 A 1
1 A 4
0 B 2
1 B 5
0 C 3
1 C 6
```
This way the user can sort the index themself and achieve the same result:
```python
print(df.sort_index())
variable value
0 A 1
0 B 2
0 C 3
1 A 4
1 B 5
1 C 6
```
Also in `pandas/core/reshape/melt` there is an `# TODO: what about the existing index?` in the `melt` function. This might solve that TODO if I'm not mistaken.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35069/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35069/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35070
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35070/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35070/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35070/events
|
https://github.com/pandas-dev/pandas/pull/35070
| 648,510,647
|
MDExOlB1bGxSZXF1ZXN0NDQyMzA4NzY3
| 35,070
|
PERF: _maybe_convert_value_to_local
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-30T21:34:39Z
| 2020-07-01T00:52:20Z
| 2020-06-30T23:26:29Z
|
MEMBER
| null |
Also fixes an incorrect asv.
```
In [2]: ts = pd.Timestamp.now("US/Pacific")
In [3]: %timeit ts.day_name()
9.13 µs ± 309 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- PR
26.4 µs ± 1.23 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35070/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35070/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35070.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35070",
"merged_at": "2020-06-30T23:26:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35070.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35070"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35071
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35071/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35071/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35071/events
|
https://github.com/pandas-dev/pandas/pull/35071
| 648,527,974
|
MDExOlB1bGxSZXF1ZXN0NDQyMzIzMDE4
| 35,071
|
CLN: remove unnecessary get_timezone calls
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-30T22:10:02Z
| 2020-07-01T00:50:32Z
| 2020-07-01T00:12:55Z
|
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/35071/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35071/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35071.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35071",
"merged_at": "2020-07-01T00:12:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35071.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35071"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35072
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35072/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35072/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35072/events
|
https://github.com/pandas-dev/pandas/pull/35072
| 648,532,106
|
MDExOlB1bGxSZXF1ZXN0NDQyMzI2NDA2
| 35,072
|
Add test apply dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/290998?v=4",
"events_url": "https://api.github.com/users/grahamwetzler/events{/privacy}",
"followers_url": "https://api.github.com/users/grahamwetzler/followers",
"following_url": "https://api.github.com/users/grahamwetzler/following{/other_user}",
"gists_url": "https://api.github.com/users/grahamwetzler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/grahamwetzler",
"id": 290998,
"login": "grahamwetzler",
"node_id": "MDQ6VXNlcjI5MDk5OA==",
"organizations_url": "https://api.github.com/users/grahamwetzler/orgs",
"received_events_url": "https://api.github.com/users/grahamwetzler/received_events",
"repos_url": "https://api.github.com/users/grahamwetzler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/grahamwetzler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grahamwetzler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/grahamwetzler"
}
|
[
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-06-30T22:19:14Z
| 2020-07-01T21:11:57Z
| 2020-07-01T16:53:35Z
|
CONTRIBUTOR
| null |
- [x] closes #31466
- [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/35072/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35072/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35072.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35072",
"merged_at": "2020-07-01T16:53:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35072.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35072"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35073
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35073/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35073/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35073/events
|
https://github.com/pandas-dev/pandas/pull/35073
| 648,535,777
|
MDExOlB1bGxSZXF1ZXN0NDQyMzI5NTE5
| 35,073
|
REF: de-duplicate month_offset in tslibs.fields
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-06-30T22:27:50Z
| 2020-07-01T00:51:43Z
| 2020-07-01T00:13:59Z
|
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/35073/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35073/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35073.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35073",
"merged_at": "2020-07-01T00:13:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35073.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35073"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35074
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35074/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35074/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35074/events
|
https://github.com/pandas-dev/pandas/pull/35074
| 648,537,441
|
MDExOlB1bGxSZXF1ZXN0NDQyMzMwOTE2
| 35,074
|
TST: Test for groupby transform on categorical column
|
{
"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": "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 |
[] | null | 1
| 2020-06-30T22:31:58Z
| 2020-07-01T18:25:49Z
| 2020-07-01T18:25:40Z
|
CONTRIBUTOR
| null |
Added test for groupby transform on categorical column
- [x] closes #29037
- [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/35074/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35074/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35074.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35074",
"merged_at": "2020-07-01T18:25:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35074.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35074"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35075
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35075/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35075/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35075/events
|
https://github.com/pandas-dev/pandas/pull/35075
| 648,538,467
|
MDExOlB1bGxSZXF1ZXN0NDQyMzMxNzg2
| 35,075
|
BENCH: implement asvs for get_resolution
|
{
"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": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-06-30T22:34:26Z
| 2020-07-02T16:22:48Z
| 2020-07-02T14:57:19Z
|
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/35075/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35075/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35075.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35075",
"merged_at": "2020-07-02T14:57:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35075.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35075"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35076
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35076/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35076/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35076/events
|
https://github.com/pandas-dev/pandas/issues/35076
| 648,594,446
|
MDU6SXNzdWU2NDg1OTQ0NDY=
| 35,076
|
BUG: Integer Capacity Higher Than Necessary in Mappings from Pandas to SQLAlchemy Types
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/22055668?v=4",
"events_url": "https://api.github.com/users/wolfc86/events{/privacy}",
"followers_url": "https://api.github.com/users/wolfc86/followers",
"following_url": "https://api.github.com/users/wolfc86/following{/other_user}",
"gists_url": "https://api.github.com/users/wolfc86/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wolfc86",
"id": 22055668,
"login": "wolfc86",
"node_id": "MDQ6VXNlcjIyMDU1NjY4",
"organizations_url": "https://api.github.com/users/wolfc86/orgs",
"received_events_url": "https://api.github.com/users/wolfc86/received_events",
"repos_url": "https://api.github.com/users/wolfc86/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wolfc86/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wolfc86/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wolfc86"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] |
closed
| false
|
{
"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"
}
|
[
{
"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"
}
] |
{
"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-07-01T00:59:55Z
| 2020-12-24T18:51:42Z
| 2020-12-24T18:51:42Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
#### Problem description
Currently, to map the Pandas data type to a SQLAlchemy type: https://github.com/pandas-dev/pandas/blob/master/pandas/io/sql.py#L1066-L1069, the code reads:
```python
elif col_type == "integer":
if col.dtype == "int32":
return Integer
else:
return BigInteger
```
This means integers of a capacity less than 32-bit are written to the database as if they were 64-bit. An example where one might get smaller integers is through the use of [pd.to_numeric](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.to_numeric.html) and `downcast=True`.
Since there is already a check for the `col_type == "integer"`, I think switching the `col.dtype` check to this could be a possible fix:
```python
elif col_type == "integer":
if col.dtype == "int64":
return BigInteger
else:
return Integer
```
But I'm not sure how to get started with an official PR or if this is a sane thing to do.
For context (this part is not an issue for Pandas, just explaining my interest in this issue), I discovered this when using the [df.to_sql](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_sql.html) method to persist datasets to a Postgres database. From there, I use [Postgraphile](https://www.graphile.org/postgraphile/) to auto-generate a GraphQL endpoint. I found that the `BigInteger` type ends up resolving as a string, because Javascript can't represent such large numbers [safely](https://github.com/brianc/node-pg-types/issues/28). This would be fine if the source data warranted the high-capacity, but for me it often doesn't.
#### Expected Output
That the column types that get written to a new table in the database more tightly match their data types in Pandas.
#### Workarounds
If using [df.to_sql](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_sql.html), one could set the `dtype` argument but this can be unruly when there are many columns in the DataFrame.
For now, I have this helper method to downcast integer columns to their lowest capacity, but then back to 32-bit to persist them to the database with the desired column type:
```python
def cast_to_int32(df):
# Downcast to the lowest possible representation.
for col in df.select_dtypes(include=['int']).columns.values:
df[col] = pd.to_numeric(df[col], downcast='integer')
# Upcast back to 32-bit (since that's what gets persisted correctly)
for col in df.select_dtypes(include=['int8', 'int16']).columns.values:
df[col] = df[col].astype('int32')
return df
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.2.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-39-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.5
numpy : 1.19.0
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 44.0.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.8.5 (dt dec pq3 ext lo64)
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : 1.3.17
tables : None
tabulate : 0.8.7
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : 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/35076/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35076/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35077
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35077/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35077/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35077/events
|
https://github.com/pandas-dev/pandas/pull/35077
| 648,619,373
|
MDExOlB1bGxSZXF1ZXN0NDQyMzk4NDk2
| 35,077
|
REF: de-duplicate DST tzconversion code
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "207de5",
"default": false,
"description": 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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 15
| 2020-07-01T02:18:50Z
| 2021-11-20T23:22:38Z
| 2020-07-08T17:36:47Z
|
MEMBER
| null |
This implements TZConvertInfo to de-duplicate a bunch of tzconversion code. This uses the new pattern on get_resolution. The other usages I intend to update in individual follow-ups in which I'll check that we have good asv coverage the affected functions.
Sits on top of #35075 (actually, that was broken off of this)
Perf-improving according to the newly implemented asvs:
```
$ asv continuous -E virtualenv -f 1.01 master HEAD -b resolution
[...]
before after ratio
[559189ad] [8114413b]
- 1.89±0.08μs 1.64±0.05μs 0.87 tslibs.resolution.TimeResolution.time_get_resolution('s', 1, None)
```
L50-L57 in libresolution is going to end up being repeated, should become a helper function. Doing that separately since it tentatively looks like that may have a perf hit if not done carefully.
xref https://github.com/pandas-dev/pandas/commit/652a3de6f4fd4e93ee84cd4b84741f3b1e713cea#r30437889
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35077/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35077/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35077.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35077",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35077.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35077"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35078
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35078/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35078/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35078/events
|
https://github.com/pandas-dev/pandas/pull/35078
| 648,630,082
|
MDExOlB1bGxSZXF1ZXN0NDQyNDA3MDky
| 35,078
|
BUG: DataFrameGroupBy.__getitem__ fails to propagate dropna
|
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 10
| 2020-07-01T02:50:08Z
| 2020-08-07T21:53:39Z
| 2020-08-07T21:33:06Z
|
MEMBER
| null |
- [x] closes #35014
- [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/35078/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35078/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35078.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35078",
"merged_at": "2020-08-07T21:33:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35078.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35078"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35079
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35079/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35079/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35079/events
|
https://github.com/pandas-dev/pandas/pull/35079
| 648,641,980
|
MDExOlB1bGxSZXF1ZXN0NDQyNDE2NzMw
| 35,079
|
TYP: stronger typing in libtimezones
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-07-01T03:26:34Z
| 2020-07-01T15:42:29Z
| 2020-07-01T15:28:46Z
|
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/35079/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35079/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35079.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35079",
"merged_at": "2020-07-01T15:28:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35079.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35079"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35080
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35080/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35080/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35080/events
|
https://github.com/pandas-dev/pandas/issues/35080
| 648,725,356
|
MDU6SXNzdWU2NDg3MjUzNTY=
| 35,080
|
BUG: Strange behavior at testing test_ts_plot_with_tz
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19879328?v=4",
"events_url": "https://api.github.com/users/StefRe/events{/privacy}",
"followers_url": "https://api.github.com/users/StefRe/followers",
"following_url": "https://api.github.com/users/StefRe/following{/other_user}",
"gists_url": "https://api.github.com/users/StefRe/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/StefRe",
"id": 19879328,
"login": "StefRe",
"node_id": "MDQ6VXNlcjE5ODc5MzI4",
"organizations_url": "https://api.github.com/users/StefRe/orgs",
"received_events_url": "https://api.github.com/users/StefRe/received_events",
"repos_url": "https://api.github.com/users/StefRe/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/StefRe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/StefRe/subscriptions",
"type": "User",
"url": "https://api.github.com/users/StefRe"
}
|
[
{
"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": "5319e7",
"default": false,
"description": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
}
] |
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-07-01T06:56:19Z
| 2020-11-12T16:23:38Z
| 2020-11-12T16:23:38Z
|
CONTRIBUTOR
| null |
I came across a rather strange and annoying behavior when running the plotting tests that leaves me completely clueless.
`TestTSPlot.test_ts_plot_with_tz['UTC']` fails when running the whole test suite but passes when run in isolation. In particular it fails when run **after all** `TestRegistration` tests and passes when run **on its own or after any** of the six test functions in `TestRegistration`:
### FAILURE:
```
(pandas-dev) C:\Daten\Python\pandas>pytest pandas\tests\plotting\ -k "TestRegistration | test_ts_plot_with_tz"
====================================================================== test session starts ======================================================================
platform win32 -- Python 3.8.2, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: C:\Daten\Python\pandas, inifile: setup.cfg
plugins: hypothesis-5.19.0, asyncio-0.14.0, cov-2.10.0, forked-1.2.0, xdist-1.32.0
collected 479 items / 460 deselected / 19 selected
pandas\tests\plotting\test_converter.py ...... [ 31%]
pandas\tests\plotting\test_datetimelike.py F............ [100%]
=========================================================================== FAILURES ============================================================================
____________________________________________________________ TestTSPlot.test_ts_plot_with_tz['UTC'] _____________________________________________________________
self = <pandas.tests.plotting.test_datetimelike.TestTSPlot object at 0x000002965C714E20>, tz_aware_fixture = 'UTC'
@pytest.mark.slow
def test_ts_plot_with_tz(self, tz_aware_fixture):
# GH2877, GH17173, GH31205, GH31580
tz = tz_aware_fixture
index = date_range("1/1/2011", periods=2, freq="H", tz=tz)
ts = Series([188.5, 328.25], index=index)
with tm.assert_produces_warning(None):
_check_plot_works(ts.plot)
ax = ts.plot()
xdata = list(ax.get_lines())[0].get_xdata()
# Check first and last points' labels are correct
> assert (xdata[0].hour, xdata[0].minute) == (0, 0)
E AttributeError: 'numpy.datetime64' object has no attribute 'hour'
pandas\tests\plotting\test_datetimelike.py:57: AttributeError
==================================================================== short test summary info ====================================================================
FAILED pandas/tests/plotting/test_datetimelike.py::TestTSPlot::test_ts_plot_with_tz['UTC'] - AttributeError: 'numpy.datetime64' object has no attribute 'hour'
========================================================= 1 failed, 18 passed, 460 deselected in 2.98s ==========================================================
```
### SUCCESS:
```
(pandas-dev) C:\Daten\Python\pandas>pytest pandas\tests\plotting\ -k test_ts_plot_with_tz
====================================================================== test session starts ======================================================================
platform win32 -- Python 3.8.2, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
rootdir: C:\Daten\Python\pandas, inifile: setup.cfg
plugins: hypothesis-5.19.0, asyncio-0.14.0, cov-2.10.0, forked-1.2.0, xdist-1.32.0
collected 479 items / 466 deselected / 13 selected
pandas\tests\plotting\test_datetimelike.py ............. [100%]
============================================================== 13 passed, 466 deselected in 2.43s ===============================================================
```
As I said it passes when run after any of the individual functions in `TestRegistration`, i.e. with `-k "test_register_by_default | test_ts_plot_with_tz"`, `"test_registering_no_warning | test_ts_plot_with_tz"` etc.
Tests are run in an environment set up as described [here](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#creating-a-python-environment-pip). Pytest and plugin versions see above. Pandas fresh snapshot as of yesterday `1.1.0.dev0+1977.g1706d830d`.
I'm pretty sure it's a question of my setup, so sorry for bothering you with it, but maybe someone has any idea or pointers of where to look for the reason of this behavior.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35080/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35080/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35081
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35081/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35081/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35081/events
|
https://github.com/pandas-dev/pandas/issues/35081
| 648,993,851
|
MDU6SXNzdWU2NDg5OTM4NTE=
| 35,081
|
BUG: idxmax returns erroneous index from grouped DataFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4427482?v=4",
"events_url": "https://api.github.com/users/spluque/events{/privacy}",
"followers_url": "https://api.github.com/users/spluque/followers",
"following_url": "https://api.github.com/users/spluque/following{/other_user}",
"gists_url": "https://api.github.com/users/spluque/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/spluque",
"id": 4427482,
"login": "spluque",
"node_id": "MDQ6VXNlcjQ0Mjc0ODI=",
"organizations_url": "https://api.github.com/users/spluque/orgs",
"received_events_url": "https://api.github.com/users/spluque/received_events",
"repos_url": "https://api.github.com/users/spluque/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/spluque/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/spluque/subscriptions",
"type": "User",
"url": "https://api.github.com/users/spluque"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
] |
closed
| false
| null |
[] | null | 8
| 2020-07-01T13:43:27Z
| 2020-07-02T14:20:01Z
| 2020-07-02T14:20:01Z
|
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.
---
The following code demonstrates the erroneous output:
```python
import numpy as np
import pandas as pd
N = 12
np.random.seed(1234)
price = np.random.uniform(0, 100, N)
color = np.repeat(list("ABCD"), 3)
df = pd.DataFrame(dict(price=price, color=color),
index=pd.date_range("2020-01-01", periods=N,
freq="100ms", tz="UTC"))
df["color"] = df["color"].astype("category")
```
```python
>>> print(df)
price color
2020-01-01 00:00:00+00:00 19.151945 A
2020-01-01 00:00:00.100000+00:00 62.210877 A
2020-01-01 00:00:00.200000+00:00 43.772774 A
2020-01-01 00:00:00.300000+00:00 78.535858 B
2020-01-01 00:00:00.400000+00:00 77.997581 B
2020-01-01 00:00:00.500000+00:00 27.259261 B
2020-01-01 00:00:00.600000+00:00 27.646426 C
2020-01-01 00:00:00.700000+00:00 80.187218 C
2020-01-01 00:00:00.800000+00:00 95.813935 C
2020-01-01 00:00:00.900000+00:00 87.593263 D
2020-01-01 00:00:01+00:00 35.781727 D
2020-01-01 00:00:01.100000+00:00 50.099513 D
```
```python
color_grp = df.groupby("color")
color_idxmax = color_grp.idxmax()
```
```python
>>> print(color_idxmax)
price
color
A 2020-01-01 00:00:00.100000+00:00
B 2020-01-01 00:00:00.300000+00:00
C 2020-01-01 00:00:00.800000+00:00
D 2020-01-01 00:00:00.900000+00:00
```
#### Problem description
Notice the erroneous value printed for the first row in column "price" of `color_idxmax`.
#### Expected Output
It should be: `2020-01-01 00:00:00.200000+00:00`
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.3.final.0
python-bits : 64
OS : Linux
OS-release : 5.6.0-2-amd64
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_CA.UTF-8
LOCALE : en_CA.UTF-8
pandas : 1.0.5
numpy : 1.19.0
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 44.0.0
Cython : None
pytest : 5.4.3
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.16.1
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.2.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.4.3
pyxlsb : None
s3fs : None
scipy : 1.5.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/35081/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35081/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35082
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35082/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35082/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35082/events
|
https://github.com/pandas-dev/pandas/pull/35082
| 649,038,626
|
MDExOlB1bGxSZXF1ZXN0NDQyNzQ2NzI4
| 35,082
|
CLN: stronger typing in libtimezones
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-07-01T14:41:49Z
| 2020-07-01T17:14:03Z
| 2020-07-01T17:07:40Z
|
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/35082/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35082/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35082.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35082",
"merged_at": "2020-07-01T17:07:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35082.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35082"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35083
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35083/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35083/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35083/events
|
https://github.com/pandas-dev/pandas/pull/35083
| 649,041,401
|
MDExOlB1bGxSZXF1ZXN0NDQyNzQ5MDQy
| 35,083
|
No fastcall attribute in POWER platform
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6734658?v=4",
"events_url": "https://api.github.com/users/ayappanec/events{/privacy}",
"followers_url": "https://api.github.com/users/ayappanec/followers",
"following_url": "https://api.github.com/users/ayappanec/following{/other_user}",
"gists_url": "https://api.github.com/users/ayappanec/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ayappanec",
"id": 6734658,
"login": "ayappanec",
"node_id": "MDQ6VXNlcjY3MzQ2NTg=",
"organizations_url": "https://api.github.com/users/ayappanec/orgs",
"received_events_url": "https://api.github.com/users/ayappanec/received_events",
"repos_url": "https://api.github.com/users/ayappanec/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ayappanec/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ayappanec/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ayappanec"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 14
| 2020-07-01T14:45:30Z
| 2020-07-15T18:05:17Z
| 2020-07-09T23:54:09Z
|
CONTRIBUTOR
| null |
Compiling the development branch of pandas fail in AIX.
pandas/_libs/src/ujson/lib/ultrajsonenc.c:397:1: error: ‘fastcall’ attribute directive ignored [-Werror=attributes]
Buffer_AppendShortHexUnchecked(char *outputOffset, unsigned short value) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pandas/_libs/src/ujson/lib/ultrajsonenc.c:726:59: error: ‘fastcall’ attribute directive ignored [-Werror=attributes]
char *end) {
^~~~
cc1: all warnings being treated as errors
The fastcall attribute is not available in POWER platform also.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35083/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35083/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35083.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35083",
"merged_at": "2020-07-09T23:54:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35083.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35083"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35084
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35084/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35084/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35084/events
|
https://github.com/pandas-dev/pandas/pull/35084
| 649,091,948
|
MDExOlB1bGxSZXF1ZXN0NDQyNzkwOTQ4
| 35,084
|
TYP: annotations, typing for infer_tzinfo
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-07-01T15:54:22Z
| 2020-07-02T00:43:11Z
| 2020-07-02T00:16:06Z
|
MEMBER
| null |
Keeping these orthogonal
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35084/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35084/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35084.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35084",
"merged_at": "2020-07-02T00:16:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35084.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35084"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35085
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35085/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35085/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35085/events
|
https://github.com/pandas-dev/pandas/pull/35085
| 649,116,625
|
MDExOlB1bGxSZXF1ZXN0NDQyODExMTI1
| 35,085
|
Fix numpy warning
|
{
"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": "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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-07-01T16:31:59Z
| 2020-07-06T15:19:43Z
| 2020-07-06T15:19:37Z
|
CONTRIBUTOR
| 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/35085/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35085/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35085.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35085",
"merged_at": "2020-07-06T15:19:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35085.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35085"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35086
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35086/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35086/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35086/events
|
https://github.com/pandas-dev/pandas/pull/35086
| 649,134,167
|
MDExOlB1bGxSZXF1ZXN0NDQyODI1NDg0
| 35,086
|
CLN: Removed unreached else block GH33478
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/62767721?v=4",
"events_url": "https://api.github.com/users/FollowTheProcess/events{/privacy}",
"followers_url": "https://api.github.com/users/FollowTheProcess/followers",
"following_url": "https://api.github.com/users/FollowTheProcess/following{/other_user}",
"gists_url": "https://api.github.com/users/FollowTheProcess/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/FollowTheProcess",
"id": 62767721,
"login": "FollowTheProcess",
"node_id": "MDQ6VXNlcjYyNzY3NzIx",
"organizations_url": "https://api.github.com/users/FollowTheProcess/orgs",
"received_events_url": "https://api.github.com/users/FollowTheProcess/received_events",
"repos_url": "https://api.github.com/users/FollowTheProcess/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/FollowTheProcess/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/FollowTheProcess/subscriptions",
"type": "User",
"url": "https://api.github.com/users/FollowTheProcess"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 5
| 2020-07-01T17:01:14Z
| 2020-07-05T06:46:06Z
| 2020-07-02T14:51:28Z
|
CONTRIBUTOR
| null |
Unreached else block in method _wrap_applied_output was removed.
Local tests passed before and after change
- [ ] xref #33478 (Not fully closed, this addresses 1 part)
- [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/35086/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35086/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35086.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35086",
"merged_at": "2020-07-02T14:51:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35086.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35086"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35087
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35087/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35087/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35087/events
|
https://github.com/pandas-dev/pandas/pull/35087
| 649,135,811
|
MDExOlB1bGxSZXF1ZXN0NDQyODI2ODA2
| 35,087
|
PERF: tz_convert/tz_convert_single
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-07-01T17:04:08Z
| 2020-07-02T17:17:01Z
| 2020-07-02T16:59:10Z
|
MEMBER
| null |
Making these follow the same pattern we use elsewhere, we get a perf bump:
```
In [2]: dti = pd.date_range("2016-01-01", periods=10000, tz="US/Pacific")
In [3]: %timeit dti.tz_localize(None)
91.4 µs ± 3.06 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
102 µs ± 6.43 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
In [4]: ts = pd.Timestamp.now("US/Pacific")
In [5]: %timeit ts.tz_localize(None)
17.2 µs ± 307 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
19.6 µs ± 233 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
```
Next up is making sure we have full asv coverage for tz_convert/tz_convert_single, analogous to #35075. That can either be separate or added to 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/35087/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35087/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35087.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35087",
"merged_at": "2020-07-02T16:59:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35087.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35087"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35088
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35088/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35088/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35088/events
|
https://github.com/pandas-dev/pandas/pull/35088
| 649,205,139
|
MDExOlB1bGxSZXF1ZXN0NDQyODg2NzY5
| 35,088
|
CLN: tighter typing in libconversion
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-07-01T18:42:24Z
| 2020-07-02T16:27:03Z
| 2020-07-02T14:44:10Z
|
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/35088/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35088/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35088.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35088",
"merged_at": "2020-07-02T14:44:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35088.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35088"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35089
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35089/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35089/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35089/events
|
https://github.com/pandas-dev/pandas/issues/35089
| 649,271,977
|
MDU6SXNzdWU2NDkyNzE5Nzc=
| 35,089
|
QST: Zero copy access to the mask of a nullable array
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/53796099?v=4",
"events_url": "https://api.github.com/users/brandon-b-miller/events{/privacy}",
"followers_url": "https://api.github.com/users/brandon-b-miller/followers",
"following_url": "https://api.github.com/users/brandon-b-miller/following{/other_user}",
"gists_url": "https://api.github.com/users/brandon-b-miller/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brandon-b-miller",
"id": 53796099,
"login": "brandon-b-miller",
"node_id": "MDQ6VXNlcjUzNzk2MDk5",
"organizations_url": "https://api.github.com/users/brandon-b-miller/orgs",
"received_events_url": "https://api.github.com/users/brandon-b-miller/received_events",
"repos_url": "https://api.github.com/users/brandon-b-miller/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brandon-b-miller/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brandon-b-miller/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brandon-b-miller"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-07-01T19:46:40Z
| 2020-08-21T17:05:20Z
| 2020-07-01T20:09:59Z
|
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
Hello Pandas devs,
I was wondering what's the best zero-copy way to access the mask of a nullable array, say a StringArray for example. I noticed these all inherit from BaseMaskedArray which provides `isna()` wrapping `_mask` however I want to make sure this is the recommended method, if I can always be sure this doesn't incur a copy, etc. Should I be using `isna()` or something else, if it exists?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35089/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35089/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35090
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35090/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35090/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35090/events
|
https://github.com/pandas-dev/pandas/pull/35090
| 649,286,148
|
MDExOlB1bGxSZXF1ZXN0NDQyOTYwMzcw
| 35,090
|
TST: update gbq service account key
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/247555?v=4",
"events_url": "https://api.github.com/users/tswast/events{/privacy}",
"followers_url": "https://api.github.com/users/tswast/followers",
"following_url": "https://api.github.com/users/tswast/following{/other_user}",
"gists_url": "https://api.github.com/users/tswast/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tswast",
"id": 247555,
"login": "tswast",
"node_id": "MDQ6VXNlcjI0NzU1NQ==",
"organizations_url": "https://api.github.com/users/tswast/orgs",
"received_events_url": "https://api.github.com/users/tswast/received_events",
"repos_url": "https://api.github.com/users/tswast/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tswast/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tswast/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tswast"
}
|
[
{
"color": "0052cc",
"default": false,
"description": "pandas-gbq compatability",
"id": 57351315,
"name": "IO Google",
"node_id": "MDU6TGFiZWw1NzM1MTMxNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Google"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-07-01T20:06:54Z
| 2020-07-09T23:41:00Z
| 2020-07-09T23:41:00Z
|
CONTRIBUTOR
| null |
Re-enable gbq integration tests.
- [ ] closes #34779
- [ ] 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/35090/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35090/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35090.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35090",
"merged_at": "2020-07-09T23:41:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35090.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35090"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35091
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35091/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35091/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35091/events
|
https://github.com/pandas-dev/pandas/pull/35091
| 649,337,805
|
MDExOlB1bGxSZXF1ZXN0NDQzMDA0NDQx
| 35,091
|
BENCH: implement asvs for ints_to_pydatetime
|
{
"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": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-07-01T21:37:44Z
| 2020-07-02T16:28:10Z
| 2020-07-02T14:42:55Z
|
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/35091/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35091/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35091.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35091",
"merged_at": "2020-07-02T14:42:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35091.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35091"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35092
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35092/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35092/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35092/events
|
https://github.com/pandas-dev/pandas/issues/35092
| 649,558,627
|
MDU6SXNzdWU2NDk1NTg2Mjc=
| 35,092
|
BUG: DataFrame.append seems to be sorting columns even when `sort=False`
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4",
"events_url": "https://api.github.com/users/AlexKirko/events{/privacy}",
"followers_url": "https://api.github.com/users/AlexKirko/followers",
"following_url": "https://api.github.com/users/AlexKirko/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlexKirko",
"id": 23253999,
"login": "AlexKirko",
"node_id": "MDQ6VXNlcjIzMjUzOTk5",
"organizations_url": "https://api.github.com/users/AlexKirko/orgs",
"received_events_url": "https://api.github.com/users/AlexKirko/received_events",
"repos_url": "https://api.github.com/users/AlexKirko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlexKirko"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4",
"events_url": "https://api.github.com/users/AlexKirko/events{/privacy}",
"followers_url": "https://api.github.com/users/AlexKirko/followers",
"following_url": "https://api.github.com/users/AlexKirko/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlexKirko",
"id": 23253999,
"login": "AlexKirko",
"node_id": "MDQ6VXNlcjIzMjUzOTk5",
"organizations_url": "https://api.github.com/users/AlexKirko/orgs",
"received_events_url": "https://api.github.com/users/AlexKirko/received_events",
"repos_url": "https://api.github.com/users/AlexKirko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlexKirko"
}
] |
{
"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-07-02T02:44:44Z
| 2020-07-14T20:30:48Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version 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(
... {
... 0: [315.3324, 3243.32432, 3232.332, -100.32],
... 1: [0.3223, 0.32, 0.0000232, 0.32224],
... },
... index=[7, 20, 11, 9],
... )
>>> df
0 1
7 315.33240 0.322300
20 3243.32432 0.320000
11 3232.33200 0.000023
9 -100.32000 0.322240
>>> series = pd.Series([10, 11, 23, 234, 13], index=[11, 12, 13, 44, 33])
>>> series
11 10
12 11
13 23
44 234
33 13
dtype: int64
>>> df.append(series, ignore_index=True)
0 1 11 12 13 33 44
0 315.33240 0.322300 NaN NaN NaN NaN NaN
1 3243.32432 0.320000 NaN NaN NaN NaN NaN
2 3232.33200 0.000023 NaN NaN NaN NaN NaN
3 -100.32000 0.322240 NaN NaN NaN NaN NaN
4 NaN NaN 10.0 11.0 23.0 13.0 234.0
>>> df.append(series, ignore_index=True, sort=True)
0 1 11 12 13 33 44
0 315.33240 0.322300 NaN NaN NaN NaN NaN
1 3243.32432 0.320000 NaN NaN NaN NaN NaN
2 3232.33200 0.000023 NaN NaN NaN NaN NaN
3 -100.32000 0.322240 NaN NaN NaN NaN NaN
4 NaN NaN 10.0 11.0 23.0 13.0 234.0
>>> df.append(series, ignore_index=True, sort=False)
0 1 11 12 13 33 44
0 315.33240 0.322300 NaN NaN NaN NaN NaN
1 3243.32432 0.320000 NaN NaN NaN NaN NaN
2 3232.33200 0.000023 NaN NaN NaN NaN NaN
3 -100.32000 0.322240 NaN NaN NaN NaN NaN
4 NaN NaN 10.0 11.0 23.0 13.0 234.0
>>>
```
#### Problem description
The problem here is that even when `sort` is False, the output dataframe seems to have sorted columns(0, 1, 11, 12, 13, 33, 44), instead the desired order from what the docs say [here](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.append.html) should be (0, 1, 11, 12, 13, 44, 33).
#### Expected Output
```python
>>> df.append(series, ignore_index=True, sort=True)
0 1 11 12 13 33 44
0 315.33240 0.322300 NaN NaN NaN NaN NaN
1 3243.32432 0.320000 NaN NaN NaN NaN NaN
2 3232.33200 0.000023 NaN NaN NaN NaN NaN
3 -100.32000 0.322240 NaN NaN NaN NaN NaN
4 NaN NaN 10.0 11.0 23.0 13.0 234.0
>>> df.append(series, ignore_index=True, sort=False)
0 1 11 12 13 44 33
0 315.33240 0.322300 NaN NaN NaN NaN NaN
1 3243.32432 0.320000 NaN NaN NaN NaN NaN
2 3232.33200 0.000023 NaN NaN NaN NaN NaN
3 -100.32000 0.322240 NaN NaN NaN NaN NaN
4 NaN NaN 10.0 11.0 23.0 234.0 13.0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-76-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.5
numpy : 1.17.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.3.1.post20200616
Cython : 0.29.20
pytest : 5.4.3
hypothesis : 5.18.2
sphinx : 3.1.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.15.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pytest : 5.4.3
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : 0.49.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35092/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35092/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35093
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35093/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35093/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35093/events
|
https://github.com/pandas-dev/pandas/pull/35093
| 649,566,470
|
MDExOlB1bGxSZXF1ZXN0NDQzMjEyODcy
| 35,093
|
TYP: types for tz_compare
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-07-02T02:54:43Z
| 2020-07-02T16:25:05Z
| 2020-07-02T14:42:06Z
|
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/35093/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35093/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35093.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35093",
"merged_at": "2020-07-02T14:42:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35093.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35093"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35094
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35094/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35094/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35094/events
|
https://github.com/pandas-dev/pandas/issues/35094
| 649,663,301
|
MDU6SXNzdWU2NDk2NjMzMDE=
| 35,094
|
BUG: series.loc(index) throws exception
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10587602?v=4",
"events_url": "https://api.github.com/users/Nodirbek3d/events{/privacy}",
"followers_url": "https://api.github.com/users/Nodirbek3d/followers",
"following_url": "https://api.github.com/users/Nodirbek3d/following{/other_user}",
"gists_url": "https://api.github.com/users/Nodirbek3d/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Nodirbek3d",
"id": 10587602,
"login": "Nodirbek3d",
"node_id": "MDQ6VXNlcjEwNTg3NjAy",
"organizations_url": "https://api.github.com/users/Nodirbek3d/orgs",
"received_events_url": "https://api.github.com/users/Nodirbek3d/received_events",
"repos_url": "https://api.github.com/users/Nodirbek3d/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Nodirbek3d/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Nodirbek3d/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Nodirbek3d"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1
| 2020-07-02T06:09:02Z
| 2020-07-02T06:32:50Z
| 2020-07-02T06:32:36Z
|
NONE
| null |
Simple loc() method does not work!
Here is the code to reproduce:
```python
# Your code here
letters = pd.Series(['A', 'B', 'C', 'D', 'E' ], index=[3, 4, 1, 2, 2])
letters.loc(2)
```
code above throws exception:
```python
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-45-42a68f905e63> in <module>
----> 1 animals.loc(1)
/usr/local/anaconda3/lib/python3.7/site-packages/pandas/core/indexing.py in __call__(self, axis)
575
576 if axis is not None:
--> 577 axis = self.obj._get_axis_number(axis)
578 new_self.axis = axis
579 return new_self
/usr/local/anaconda3/lib/python3.7/site-packages/pandas/core/generic.py in _get_axis_number(cls, axis)
405 except KeyError:
406 pass
--> 407 raise ValueError(f"No axis named {axis} for object type {cls}")
408
409 @classmethod
ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'>
```
#### Problem description
Getting the same error on ```obj.iloc(1)```
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Darwin
OS-release : 19.5.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.0.0.post20200309
Cython : 0.29.15
pytest : 5.3.5
hypothesis : 5.5.4
sphinx : 2.4.0
blosc : None
feather : None
xlsxwriter : 1.2.7
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.2
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.7
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/35094/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35094/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35095
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35095/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35095/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35095/events
|
https://github.com/pandas-dev/pandas/issues/35095
| 649,997,808
|
MDU6SXNzdWU2NDk5OTc4MDg=
| 35,095
|
BUG: reset_index is passing a bad dtype to NumPy
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-07-02T14:58:09Z
| 2020-07-06T20:55:03Z
| 2020-07-06T20:55:03Z
|
CONTRIBUTOR
| null |
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug **DOES NOT ** 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
index = pd.period_range("12-1-2000", periods=2, freq="Q-DEC")
df = pd.DataFrame([[1],[2]],index=index)
df = df.reset_index()
```
#### Problem description
Should reset the index.
This is happening on the nightly:
pandas: 1.1.0.dev0+2004.g8d10bfb6f
Full Travis CI log with 4 identical failures:
https://travis-ci.org/github/statsmodels/statsmodels/jobs/704310975
The relevant part of the traceback:
```
statsmodels/tsa/statespace/tests/test_news.py:617:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
statsmodels/tsa/statespace/tests/test_news.py:242: in check_news
details_by_update = news.details_by_update
statsmodels/base/wrapper.py:36: in __getattribute__
obj = getattr(results, attr)
statsmodels/tsa/statespace/news.py:392: in details_by_update
df = df.reset_index()
venv/lib/python3.8/site-packages/pandas/core/frame.py:4800: in reset_index
level_values = _maybe_casted_values(lev, lab)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
index = PeriodIndex(['2009Q2', '2009Q3', '2009Q4', '2010Q1'], dtype='period[Q-DEC]', name='impact date', freq='Q-DEC')
labels = array([], dtype=int8)
def _maybe_casted_values(index, labels=None):
values = index._values
if not isinstance(index, (PeriodIndex, DatetimeIndex)):
if values.dtype == np.object_:
values = lib.maybe_convert_objects(values)
# if we have the labels, extract the values with a mask
if labels is not None:
mask = labels == -1
# we can have situations where the whole mask is -1,
# meaning there is nothing found in labels, so make all nan's
if mask.all():
> values = np.empty(len(mask), dtype=index.dtype)
E TypeError: Cannot interpret 'period[Q-DEC]' as a data type
```
#### Expected Output
```
index 0
0 2000Q4 1
1 2001Q1 2
```
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
Python: 3.8.1.final.0
OS: Linux 5.0.0-1031-gcp #32-Ubuntu SMP Tue Feb 11 03:55:48 UTC 2020 x86_64
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
statsmodels
===========
Installed: v0.12.0.dev0+519.g502132468 (/home/travis/build/statsmodels/statsmodels/statsmodels)
Required Dependencies
=====================
cython: 3.0a5 (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/Cython)
numpy: 1.20.0.dev0+4d5b255 (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/numpy)
scipy: 1.6.0.dev0+fd6f6d6 (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/scipy)
pandas: 1.1.0.dev0+2004.g8d10bfb6f (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/pandas)
dateutil: 2.8.1 (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/dateutil)
patsy: 0.5.1 (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/patsy)
Optional Dependencies
=====================
matplotlib: 3.3.0rc1+128.g5e11a2312 (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/matplotlib)
backend: TkAgg
cvxopt: 1.2.5 (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/cvxopt)
joblib: 0.16.0 (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/joblib)
Developer Tools
================
IPython: Not installed
jinja2: Not installed
sphinx: Not installed
pygments: Not installed
pytest: 5.4.3 (/home/travis/build/statsmodels/statsmodels/venv/lib/python3.8/site-packages/pytest)
virtualenv: Not installed
```
</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/35095/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35095/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35096
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35096/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35096/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35096/events
|
https://github.com/pandas-dev/pandas/pull/35096
| 650,077,460
|
MDExOlB1bGxSZXF1ZXN0NDQzNjM3OTIx
| 35,096
|
TYP: type for get_timezone
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-07-02T16:55:11Z
| 2020-07-02T17:41:02Z
| 2020-07-02T17:34:52Z
|
MEMBER
| null |
Nearly done with these
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35096/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35096/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35096.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35096",
"merged_at": "2020-07-02T17:34:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35096.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35096"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35097
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35097/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35097/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35097/events
|
https://github.com/pandas-dev/pandas/issues/35097
| 650,104,593
|
MDU6SXNzdWU2NTAxMDQ1OTM=
| 35,097
|
QST: Does the following method have circular dependencies? hash_pandas_object
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31842468?v=4",
"events_url": "https://api.github.com/users/alessiosavi/events{/privacy}",
"followers_url": "https://api.github.com/users/alessiosavi/followers",
"following_url": "https://api.github.com/users/alessiosavi/following{/other_user}",
"gists_url": "https://api.github.com/users/alessiosavi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alessiosavi",
"id": 31842468,
"login": "alessiosavi",
"node_id": "MDQ6VXNlcjMxODQyNDY4",
"organizations_url": "https://api.github.com/users/alessiosavi/orgs",
"received_events_url": "https://api.github.com/users/alessiosavi/received_events",
"repos_url": "https://api.github.com/users/alessiosavi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alessiosavi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alessiosavi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alessiosavi"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-07-02T17:44:34Z
| 2020-08-06T19:31:27Z
| 2020-08-06T17:49:53Z
|
NONE
| null |
- [X] 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
Hi Team, does the method `hash_pandas_object` have circular dependencies?
I'm not able to serialize class that contains the method in my code with `dill`.
```python
# Your code here, if applicable
import numpy as np
import pandas as pd
from pandas.core.util.hashing import hash_pandas_object
# Same result using the following library
# from pandas.util import hash_pandas_object
class T:
def __init__(self):
self.dataset_hash = ""
def main(self):
df = pd.DataFrame(np.random.randint(0, 100, size=(100, 4)), columns=list('ABCD'))
print(df)
self.dataset_hash = hash_pandas_object(df).sum()
import sys
import dill
sys.setrecursionlimit(10 ** 4)
t = T()
with open("test.dill", "wb") as f:
dill.dump(t, f, recurse=True)
t.main()
```
NOTE:
I've opened an issue to the `dill` repository to [https://github.com/uqfoundation/dill/issues/374]
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35097/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35097/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35098
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35098/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35098/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35098/events
|
https://github.com/pandas-dev/pandas/pull/35098
| 650,115,592
|
MDExOlB1bGxSZXF1ZXN0NDQzNjY5NTA4
| 35,098
|
BUG: fix union_indexes not supporting sort=False for Index subclasses
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4",
"events_url": "https://api.github.com/users/AlexKirko/events{/privacy}",
"followers_url": "https://api.github.com/users/AlexKirko/followers",
"following_url": "https://api.github.com/users/AlexKirko/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlexKirko",
"id": 23253999,
"login": "AlexKirko",
"node_id": "MDQ6VXNlcjIzMjUzOTk5",
"organizations_url": "https://api.github.com/users/AlexKirko/orgs",
"received_events_url": "https://api.github.com/users/AlexKirko/received_events",
"repos_url": "https://api.github.com/users/AlexKirko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlexKirko"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 11
| 2020-07-02T18:05:31Z
| 2020-07-09T15:11:45Z
| 2020-07-09T13:02:33Z
|
MEMBER
| null |
- [X] closes #35092
- [X] 1 tests added / 1 passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
# Scope of PR
The reason for `DataFrame.append` unnecessarily sorting columns turned out to be that when merging indexes we were not passing the `sort` argument for an `Index` subclass. This PR fixes this bug.
# Details
At some point down the call stack, `DataFrame.append` calls `union_indexes` in `core.indexes.api`. In it we detect the type of our indexes:
```python
indexes, kind = _sanitize_and_check(indexes)
```
We don't pass `sort` for `kind == 'special'` in `union_indexes`.
I had some other ideas, but what I ended up doing is to simply pass the `sort` argument to `Index.union` for `kind == 'special'`. We do have to ignore the `sort` argument for `[MultiIndex, RangeIndex, DatetimeIndex, CategoricalIndex]` to avoid breaking tests and backward compatibility, but it doesn't make sense for these ones to not be sorted when joined anyway, in my opinion.
# Performance
There are no changes to algorithms called. I still did some benchmarking to compare with my previous approach. The current solution didn't have any negative performance impact.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35098/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35098/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35098.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35098",
"merged_at": "2020-07-09T13:02:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35098.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35098"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35099
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35099/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35099/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35099/events
|
https://github.com/pandas-dev/pandas/pull/35099
| 650,118,004
|
MDExOlB1bGxSZXF1ZXN0NDQzNjcxNDkx
| 35,099
|
TYP: type unit as str
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-07-02T18:10:29Z
| 2020-07-06T18:33:03Z
| 2020-07-06T18:01:30Z
|
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/35099/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35099/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35099.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35099",
"merged_at": "2020-07-06T18:01:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35099.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35099"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35100
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35100/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35100/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35100/events
|
https://github.com/pandas-dev/pandas/pull/35100
| 650,153,337
|
MDExOlB1bGxSZXF1ZXN0NDQzNjk5OTc0
| 35,100
|
Document Tips for Debugging C Extensions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
}
|
[
{
"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"
}
| 7
| 2020-07-02T19:20:06Z
| 2020-12-10T00:19:47Z
| 2020-12-10T00:19:42Z
|
MEMBER
| null |
Quick notes in case they are helpful to others. Can move to the Wiki as well if we don't want in the standard docs
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 1,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35100/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35100/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35100.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35100",
"merged_at": "2020-12-10T00:19:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35100.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35100"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35101
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35101/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35101/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35101/events
|
https://github.com/pandas-dev/pandas/pull/35101
| 650,194,052
|
MDExOlB1bGxSZXF1ZXN0NDQzNzMzNzk2
| 35,101
|
PERF: Fix quantile perf regression
|
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-07-02T20:44:16Z
| 2020-07-03T15:07:43Z
| 2020-07-03T15:07:32Z
|
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/35049
```pyhon
591 µs ± 29.5 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
440 µs ± 22.8 µ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/35101/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35101/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35101.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35101",
"merged_at": "2020-07-03T15:07:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35101.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35101"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35102
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35102/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35102/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35102/events
|
https://github.com/pandas-dev/pandas/pull/35102
| 650,209,566
|
MDExOlB1bGxSZXF1ZXN0NDQzNzQ2NjYy
| 35,102
|
REF: standardize tz_convert_single usage
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-07-02T21:19:33Z
| 2020-07-07T01:06:17Z
| 2020-07-07T00:07:34Z
|
MEMBER
| null |
I'm increasingly convinced that we can get all tz_convert/tz_convert_single usages to have tz1=UTC, and everything else should go through tz_localize_to_utc.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35102/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35102/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35102.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35102",
"merged_at": "2020-07-07T00:07:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35102.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35102"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35103
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35103/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35103/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35103/events
|
https://github.com/pandas-dev/pandas/pull/35103
| 650,235,334
|
MDExOlB1bGxSZXF1ZXN0NDQzNzY3ODUx
| 35,103
|
TYP: maybe_get_tz
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-07-02T22:27:09Z
| 2020-07-08T22:07:15Z
| 2020-07-08T21:52:29Z
|
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/35103/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35103/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35103.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35103",
"merged_at": "2020-07-08T21:52:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35103.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35103"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35104
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35104/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35104/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35104/events
|
https://github.com/pandas-dev/pandas/pull/35104
| 650,240,307
|
MDExOlB1bGxSZXF1ZXN0NDQzNzcxOTc1
| 35,104
|
CLN: tz_convert is always from UTC
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-07-02T22:42:52Z
| 2020-07-07T01:05:26Z
| 2020-07-07T00:12:00Z
|
MEMBER
| null |
Follow-up can remove the unnecessary arg from tz_convert, possibly rename.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35104/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35104/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35104.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35104",
"merged_at": "2020-07-07T00:11:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35104.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35104"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35105
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35105/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35105/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35105/events
|
https://github.com/pandas-dev/pandas/pull/35105
| 650,256,438
|
MDExOlB1bGxSZXF1ZXN0NDQzNzg1MjA1
| 35,105
|
Extension base test
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41022864?v=4",
"events_url": "https://api.github.com/users/tomaszps/events{/privacy}",
"followers_url": "https://api.github.com/users/tomaszps/followers",
"following_url": "https://api.github.com/users/tomaszps/following{/other_user}",
"gists_url": "https://api.github.com/users/tomaszps/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tomaszps",
"id": 41022864,
"login": "tomaszps",
"node_id": "MDQ6VXNlcjQxMDIyODY0",
"organizations_url": "https://api.github.com/users/tomaszps/orgs",
"received_events_url": "https://api.github.com/users/tomaszps/received_events",
"repos_url": "https://api.github.com/users/tomaszps/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tomaszps/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tomaszps/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tomaszps"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-07-02T23:40:19Z
| 2020-07-02T23:43:04Z
| 2020-07-02T23:42:47Z
|
CONTRIBUTOR
| null |
- [x] closes #28488
- [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
The style is not consistent with guidelines etc, and not at all ready to be 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/35105/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35105/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35105.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35105",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35105.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35105"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35106
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35106/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35106/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35106/events
|
https://github.com/pandas-dev/pandas/pull/35106
| 650,264,566
|
MDExOlB1bGxSZXF1ZXN0NDQzNzkxODAx
| 35,106
|
PERF: tz_localize(None) from dst, asvs
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-07-03T00:12:40Z
| 2020-07-07T01:06:58Z
| 2020-07-07T00:13:27Z
|
MEMBER
| null |
This makes tz_convert_dst follow the same pattern we use elsewhere, and brings a perf improvement along with it.
```
In [2]: dti = pd.date_range("2016-01-01", periods=10000, freq="S", tz="US/Pacific")
In [3]: %timeit dti.tz_localize(None)
89.3 µs ± 627 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
100 µs ± 6.36 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
```
The boost comes from not doing a copy, so makes a bigger difference in the scalar case than the array case.
```
In [5]: ts = dti[0]
In [6]: %timeit ts.tz_localize(None)
12.4 µs ± 188 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- PR
16.1 µs ± 215 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- master
```
The improvement is much bigger for fixed offsets:
```
In [9]: tz = pytz.FixedOffset(-60)
In [10]: dti2 = dti.tz_convert(tz)
In [11]: %timeit dti2.tz_localize(None)
34.8 µs ± 1.09 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
71.8 µs ± 2.99 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35106/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35106/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35106.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35106",
"merged_at": "2020-07-07T00:13:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35106.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35106"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35107
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35107/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35107/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35107/events
|
https://github.com/pandas-dev/pandas/pull/35107
| 650,265,346
|
MDExOlB1bGxSZXF1ZXN0NDQzNzkyNDQy
| 35,107
|
TYP: get_utcoffset
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-07-03T00:15:24Z
| 2020-07-06T23:20:04Z
| 2020-07-06T22:51:44Z
|
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/35107/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35107/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35107.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35107",
"merged_at": "2020-07-06T22:51:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35107.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35107"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35108
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35108/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35108/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35108/events
|
https://github.com/pandas-dev/pandas/pull/35108
| 650,326,330
|
MDExOlB1bGxSZXF1ZXN0NDQzODM4NzIz
| 35,108
|
REF: implement tz_localize_to_utc_single
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-07-03T03:59:31Z
| 2020-07-07T01:08:21Z
| 2020-07-07T00:14:26Z
|
MEMBER
| null |
In addition to implementing `tz_localize_to_utc_single`, this replaces all (but one, xref #35102) usages of tz_convert_single that have UTC as the target timezone. In conjunction with 35102, this will allow us to remove the second kwarg altogether, similar to #35104.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35108/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35108/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35108.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35108",
"merged_at": "2020-07-07T00:14:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35108.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35108"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35109
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35109/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35109/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35109/events
|
https://github.com/pandas-dev/pandas/issues/35109
| 650,526,766
|
MDU6SXNzdWU2NTA1MjY3NjY=
| 35,109
|
BUG: Groupby.transform on datetime with nunique giving incorrect result
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13001361?v=4",
"events_url": "https://api.github.com/users/joelowj/events{/privacy}",
"followers_url": "https://api.github.com/users/joelowj/followers",
"following_url": "https://api.github.com/users/joelowj/following{/other_user}",
"gists_url": "https://api.github.com/users/joelowj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joelowj",
"id": 13001361,
"login": "joelowj",
"node_id": "MDQ6VXNlcjEzMDAxMzYx",
"organizations_url": "https://api.github.com/users/joelowj/orgs",
"received_events_url": "https://api.github.com/users/joelowj/received_events",
"repos_url": "https://api.github.com/users/joelowj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joelowj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joelowj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joelowj"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-07-03T11:09:44Z
| 2020-07-10T22:46:42Z
| 2020-07-10T22:46:42Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
>>> import pandas as pd
>>> bdates = pd.bdate_range('2008-12-31', '2011-12-30')
>>> df = pd.DataFrame(bdates, columns=['date'])
>>> df['year'] = df['date'].dt.year
>>> df.groupby('year')['date'].transform('nunique')
0 1970-01-01 00:00:00.000000001
1 1970-01-01 00:00:00.000000261
2 1970-01-01 00:00:00.000000261
3 1970-01-01 00:00:00.000000261
4 1970-01-01 00:00:00.000000261
...
778 1970-01-01 00:00:00.000000260
779 1970-01-01 00:00:00.000000260
780 1970-01-01 00:00:00.000000260
781 1970-01-01 00:00:00.000000260
782 1970-01-01 00:00:00.000000260
Name: date, Length: 783, dtype: datetime64[ns]
>>>
```
#### Problem description
The current behaviour returns the sum of default timestamp with the number of unique count of dates in each year. The expected output should have been the number of unique counts for the date in each year which is consistent with the behavior of other Groupby.transform functions.
#### Expected Output
```python
# Your code here
>>> import pandas as pd
>>> bdates = pd.bdate_range('2008-12-31', '2011-12-30')
>>> df = pd.DataFrame(bdates, columns=['date'])
>>> df['year'] = df['date'].dt.year
>>> df.groupby('year')['date'].transform('nunique')
0 1
1 261
2 261
3 261
4 261
...
778 260
779 260
780 260
781 260
782 260
Name: date, Length: 783, dtype: int
>>>
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.7.final.0
python-bits : 64
OS : Linux
OS-release : 4.14.181-140.257.amzn2.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.4
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 47.1.1.post20200604
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.15.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : 0.8.7
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/35109/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35109/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/35110
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35110/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35110/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35110/events
|
https://github.com/pandas-dev/pandas/pull/35110
| 650,542,958
|
MDExOlB1bGxSZXF1ZXN0NDQ0MDE0MTY4
| 35,110
|
DOC: Fix code formatting and typos in Series.tz_localize
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19879328?v=4",
"events_url": "https://api.github.com/users/StefRe/events{/privacy}",
"followers_url": "https://api.github.com/users/StefRe/followers",
"following_url": "https://api.github.com/users/StefRe/following{/other_user}",
"gists_url": "https://api.github.com/users/StefRe/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/StefRe",
"id": 19879328,
"login": "StefRe",
"node_id": "MDQ6VXNlcjE5ODc5MzI4",
"organizations_url": "https://api.github.com/users/StefRe/orgs",
"received_events_url": "https://api.github.com/users/StefRe/received_events",
"repos_url": "https://api.github.com/users/StefRe/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/StefRe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/StefRe/subscriptions",
"type": "User",
"url": "https://api.github.com/users/StefRe"
}
|
[
{
"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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-07-03T11:41:52Z
| 2020-07-03T16:21:10Z
| 2020-07-03T14:14:19Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
The missing line feed prevented the example from being formatted as code sample.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35110/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35110/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35110.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35110",
"merged_at": "2020-07-03T14:14:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35110.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35110"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35111
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35111/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35111/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35111/events
|
https://github.com/pandas-dev/pandas/pull/35111
| 650,591,539
|
MDExOlB1bGxSZXF1ZXN0NDQ0MDUzNTQy
| 35,111
|
BUG: reset_index is passing a bad dtype to NumPy
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-07-03T13:16:44Z
| 2020-07-07T08:26:07Z
| 2020-07-06T20:55:03Z
|
MEMBER
| null |
- [ ] closes #35095
- [ ] 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/35111/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35111/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35111.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35111",
"merged_at": "2020-07-06T20:55:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35111.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35111"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35112
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35112/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35112/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35112/events
|
https://github.com/pandas-dev/pandas/pull/35112
| 650,643,634
|
MDExOlB1bGxSZXF1ZXN0NDQ0MDk1ODgz
| 35,112
|
BUG: Mixed DataFrame with Extension Array incorrect aggregation
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-07-03T14:51:57Z
| 2020-07-10T09:14:03Z
| 2020-07-10T09:14:03Z
|
MEMBER
| null |
- [ ] closes #34520 by reverting #32950
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35112/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35112/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35112.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35112",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35112.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35112"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35113
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35113/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35113/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35113/events
|
https://github.com/pandas-dev/pandas/pull/35113
| 650,703,828
|
MDExOlB1bGxSZXF1ZXN0NDQ0MTQ0MDUz
| 35,113
|
PERF: ints_to_pydatetime
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-07-03T17:18:38Z
| 2020-07-07T00:15:07Z
| 2020-07-06T22:59:08Z
|
MEMBER
| null |
This refactors ints_to_pydatetime to use a much more concise pattern (similar to #35077 but without the helper function refactored out) that I intend to move all of the ~7 functions using get_dst_info to use. In the process, we are slower on very small arrays and faster on bigger arrays, which I think is a good trade:
```
% asv continuous -E virtualenv -f 1.01 master HEAD -b time_ints_to_pydatetime
[...]
before after ratio
[a4e19fa5] [2492aeb4]
<master> <ref-ints_to_pydatetime-3>
+ 3.95±0.09μs 8.22±0.5μs 2.08 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 0, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
+ 4.80±0.2μs 9.53±0.5μs 1.99 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 0, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
+ 5.45±0.3μs 9.01±0.2μs 1.65 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 0, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
+ 5.31±0.6μs 8.31±0.3μs 1.57 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('datetime', 0, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
+ 6.08±1μs 8.84±0.2μs 1.45 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('datetime', 0, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
+ 7.00±0.3μs 10.0±0.3μs 1.44 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 1, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
+ 7.17±0.1μs 10.3±0.3μs 1.43 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 1, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
+ 7.47±0.1μs 9.77±0.2μs 1.31 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 1, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
+ 7.08±0.2μs 8.46±0.5μs 1.20 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 1, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 10.7±0.6μs 9.48±0.3μs 0.88 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 0, datetime.timezone(datetime.timedelta(seconds=3600)))
- 3.38±0.02μs 2.89±0.06μs 0.85 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('date', 0, None)
- 74.3±1μs 56.3±1μs 0.76 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 100, datetime.timezone.utc)
- 73.4±4μs 54.7±2μs 0.74 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 100, None)
- 20.7±3ms 9.31±2ms 0.45 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 10000, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 15.4±0.2ms 6.23±1ms 0.40 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('datetime', 10000, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 1.75±0.03s 699±5ms 0.40 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 1000000, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 1.56±0.05s 614±20ms 0.39 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('datetime', 1000000, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 1.65±0.01s 650±10ms 0.39 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 1000000, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
- 156±10μs 57.3±9μs 0.37 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('datetime', 100, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
- 16.8±1ms 5.95±0.2ms 0.36 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 10000, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
- 164±7μs 58.3±0.8μs 0.36 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('datetime', 100, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 14.8±0.1ms 5.14±0.5ms 0.35 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('datetime', 10000, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
- 1.42±0.02s 491±20ms 0.34 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('datetime', 1000000, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
- 169±6μs 56.0±3μs 0.33 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 100, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 193±30μs 63.1±0.9μs 0.33 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 100, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
- 229±30μs 73.7±3μs 0.32 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('timestamp', 100, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 1.65±0.06s 505±20ms 0.31 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 1000000, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 159±3μs 46.1±2μs 0.29 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 100, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
- 16.0±1ms 4.64±0.1ms 0.29 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 10000, <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>)
- 15.2±0.2ms 3.78±0.2ms 0.25 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 10000, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
- 1.65±0.1s 408±20ms 0.25 tslibs.tslib.TimeIntsToPydatetime.time_ints_to_pydatetime('time', 1000000, tzfile('/usr/share/zoneinfo/Asia/Tokyo'))
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/35113/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35113/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35113.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35113",
"merged_at": "2020-07-06T22:59:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35113.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35113"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35114
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35114/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35114/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35114/events
|
https://github.com/pandas-dev/pandas/pull/35114
| 650,726,495
|
MDExOlB1bGxSZXF1ZXN0NDQ0MTYxOTQ3
| 35,114
|
BUG: get_loc with time object matching NaT micros
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-07-03T18:37:22Z
| 2020-07-07T14:30:16Z
| 2020-07-07T13:14:29Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [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/35114/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35114/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35114.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35114",
"merged_at": "2020-07-07T13:14:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35114.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35114"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35115
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35115/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35115/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35115/events
|
https://github.com/pandas-dev/pandas/pull/35115
| 650,744,025
|
MDExOlB1bGxSZXF1ZXN0NDQ0MTc1NDc1
| 35,115
|
CI: suppress external warning
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-07-03T19:40:30Z
| 2020-07-04T17:06:43Z
| 2020-07-04T17:06:36Z
|
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/35115/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35115/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35115.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35115",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/35115.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35115"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/35116
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/35116/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35116/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/35116/events
|
https://github.com/pandas-dev/pandas/pull/35116
| 650,748,444
|
MDExOlB1bGxSZXF1ZXN0NDQ0MTc4OTc4
| 35,116
|
TST: base test for ExtensionArray.astype to its own type + copy keyword
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41022864?v=4",
"events_url": "https://api.github.com/users/tomaszps/events{/privacy}",
"followers_url": "https://api.github.com/users/tomaszps/followers",
"following_url": "https://api.github.com/users/tomaszps/following{/other_user}",
"gists_url": "https://api.github.com/users/tomaszps/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tomaszps",
"id": 41022864,
"login": "tomaszps",
"node_id": "MDQ6VXNlcjQxMDIyODY0",
"organizations_url": "https://api.github.com/users/tomaszps/orgs",
"received_events_url": "https://api.github.com/users/tomaszps/received_events",
"repos_url": "https://api.github.com/users/tomaszps/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tomaszps/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tomaszps/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tomaszps"
}
|
[
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-07-03T19:58:22Z
| 2020-09-22T13:41:46Z
| 2020-09-22T13:41:25Z
|
CONTRIBUTOR
| null |
- [] closes #28488
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
n.b. I'm not certain. I get no output on the command line when I run this command.
- [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/35116/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/35116/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/35116.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/35116",
"merged_at": "2020-09-22T13:41:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/35116.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/35116"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.