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/31615
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31615/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31615/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31615/events
|
https://github.com/pandas-dev/pandas/issues/31615
| 559,087,516
|
MDU6SXNzdWU1NTkwODc1MTY=
| 31,615
|
pd.NA is converted to {} instead of null with pd.DataFrame.to_json
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1706695?v=4",
"events_url": "https://api.github.com/users/pvieito/events{/privacy}",
"followers_url": "https://api.github.com/users/pvieito/followers",
"following_url": "https://api.github.com/users/pvieito/following{/other_user}",
"gists_url": "https://api.github.com/users/pvieito/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pvieito",
"id": 1706695,
"login": "pvieito",
"node_id": "MDQ6VXNlcjE3MDY2OTU=",
"organizations_url": "https://api.github.com/users/pvieito/orgs",
"received_events_url": "https://api.github.com/users/pvieito/received_events",
"repos_url": "https://api.github.com/users/pvieito/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pvieito/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pvieito/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pvieito"
}
|
[
{
"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": "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-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"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": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 3
| 2020-02-03T13:34:48Z
| 2020-02-08T08:11:59Z
| 2020-02-08T08:11:34Z
|
NONE
| null |
#### Code Sample
```python
import numpy as np
import pandas as pd
pd.DataFrame([[np.nan]], columns=["NA"]).to_json(orient="records")
# '[{"NA":null}]'
pd.DataFrame([[None]], columns=["NA"]).to_json(orient="records")
# '[{"NA":null}]'
pd.DataFrame([[pd.NA]], columns=["NA"]).to_json(orient="records")
# '[{"NA":{}}]'
```
#### Problem Description
`pd.NA` should behave as `np.nan` and `None` when converting a DataFrame to JSON.
#### Expected Output
In the resulting JSON the `pd.NA` instances should be converted to JSON's `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/31615/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31615/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31616
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31616/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31616/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31616/events
|
https://github.com/pandas-dev/pandas/pull/31616
| 559,110,719
|
MDExOlB1bGxSZXF1ZXN0MzcwMzQwNzUy
| 31,616
|
REGR: Fixed AssertionError in groupby
|
{
"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": "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": "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-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 11
| 2020-02-03T14:13:46Z
| 2020-02-05T14:56:00Z
| 2020-02-05T14:55:26Z
|
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/31522
cc @jbrockmendel. Just raising a `TypeError` when that assert failed didn't work. The `finally` still runs, which raised an assertion error.
It seemed easier to try to just support this case. IIUC, it only occurs when an `(P, n_rows)` input block gets split into `P` result blocks. I believe that
1. The result blocks should all have the same dtype
2. The input block must not have been an extension block, since it's 2d
So it *should* be safe to just cast the result values into an ndarray. Hopefully...
Are there any edge cases I'm not considering? Some kind of `agg` that returns a result that can't be put in a 2D block? Even something like `.agg(lambda x: pd.Period())`
won't hit this, since it has to be a Cython function.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31616/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31616/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31616.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31616",
"merged_at": "2020-02-05T14:55:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31616.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31616"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31617
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31617/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31617/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31617/events
|
https://github.com/pandas-dev/pandas/pull/31617
| 559,121,687
|
MDExOlB1bGxSZXF1ZXN0MzcwMzQ5NDcw
| 31,617
|
Backport PR #31607: DOC: combine regressions in section in v1.0.1 whatsnew
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 1
| 2020-02-03T14:31:50Z
| 2020-02-03T19:39:37Z
| 2020-02-03T17:31:54Z
|
MEMBER
| null |
Backport https://github.com/pandas-dev/pandas/pull/31607
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31617/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31617/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31617.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31617",
"merged_at": "2020-02-03T17:31:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31617.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31617"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31618
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31618/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31618/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31618/events
|
https://github.com/pandas-dev/pandas/pull/31618
| 559,125,733
|
MDExOlB1bGxSZXF1ZXN0MzcwMzUyNzUw
| 31,618
|
Backport PR #31515 on branch 1.0.x (REGR: DataFrame.__setitem__(slice, val) is positional )
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-03T14:38:48Z
| 2020-02-03T15:39:57Z
| 2020-02-03T15:39:57Z
|
NONE
| null |
Backport PR #31515: REGR: DataFrame.__setitem__(slice, val) is positional
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31618/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31618/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31618.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31618",
"merged_at": "2020-02-03T15:39:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31618.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31618"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31619
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31619/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31619/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31619/events
|
https://github.com/pandas-dev/pandas/pull/31619
| 559,127,380
|
MDExOlB1bGxSZXF1ZXN0MzcwMzU0MDgy
| 31,619
|
Backport PR #31521: REGR: Fixed slicing DatetimeIndex with date
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 1
| 2020-02-03T14:41:32Z
| 2020-02-03T15:39:45Z
| 2020-02-03T15:25:54Z
|
MEMBER
| null |
backport https://github.com/pandas-dev/pandas/pull/31521
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31619/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31619/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31619.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31619",
"merged_at": "2020-02-03T15:25:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31619.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31619"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31620
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31620/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31620/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31620/events
|
https://github.com/pandas-dev/pandas/issues/31620
| 559,140,740
|
MDU6SXNzdWU1NTkxNDA3NDA=
| 31,620
|
Does #28827 also apply to applymap?
|
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39258575?v=4",
"events_url": "https://api.github.com/users/r0cketr1kky/events{/privacy}",
"followers_url": "https://api.github.com/users/r0cketr1kky/followers",
"following_url": "https://api.github.com/users/r0cketr1kky/following{/other_user}",
"gists_url": "https://api.github.com/users/r0cketr1kky/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/r0cketr1kky",
"id": 39258575,
"login": "r0cketr1kky",
"node_id": "MDQ6VXNlcjM5MjU4NTc1",
"organizations_url": "https://api.github.com/users/r0cketr1kky/orgs",
"received_events_url": "https://api.github.com/users/r0cketr1kky/received_events",
"repos_url": "https://api.github.com/users/r0cketr1kky/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/r0cketr1kky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/r0cketr1kky/subscriptions",
"type": "User",
"url": "https://api.github.com/users/r0cketr1kky"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/39258575?v=4",
"events_url": "https://api.github.com/users/r0cketr1kky/events{/privacy}",
"followers_url": "https://api.github.com/users/r0cketr1kky/followers",
"following_url": "https://api.github.com/users/r0cketr1kky/following{/other_user}",
"gists_url": "https://api.github.com/users/r0cketr1kky/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/r0cketr1kky",
"id": 39258575,
"login": "r0cketr1kky",
"node_id": "MDQ6VXNlcjM5MjU4NTc1",
"organizations_url": "https://api.github.com/users/r0cketr1kky/orgs",
"received_events_url": "https://api.github.com/users/r0cketr1kky/received_events",
"repos_url": "https://api.github.com/users/r0cketr1kky/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/r0cketr1kky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/r0cketr1kky/subscriptions",
"type": "User",
"url": "https://api.github.com/users/r0cketr1kky"
}
] |
{
"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-02-03T15:02:57Z
| 2020-06-02T21:04:15Z
| 2020-06-02T21:04:15Z
|
MEMBER
| null |
In #28854, the note
> In the current implementation applymap calls func twice on the first column/row to decide whether it can take a fast or slow code path. This can lead to unexpected behavior if func has side-effects, as they will take effect twice for the first column/row.
was removed from the `DataFrame.apply` docstring.
However, it is still in the [docstring](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.applymap.html?highlight=applymap#pandas.DataFrame.applymap) of `DataFrame.applymap`.
Does it need to be removed there too?
EDIT
----
As far as I can tell, this behaviour (calling the function twice to decide which path to take) still happens for `groupby.apply` and is what a user was asking about in #31111. Does it need to be documented in Groupby.Apply? Do end-users need to know about such internals?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31620/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31620/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31621
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31621/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31621/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31621/events
|
https://github.com/pandas-dev/pandas/pull/31621
| 559,141,344
|
MDExOlB1bGxSZXF1ZXN0MzcwMzY1MzUx
| 31,621
|
TST: add regression test for apply case from GH-31605
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8629629?v=4",
"events_url": "https://api.github.com/users/fjetter/events{/privacy}",
"followers_url": "https://api.github.com/users/fjetter/followers",
"following_url": "https://api.github.com/users/fjetter/following{/other_user}",
"gists_url": "https://api.github.com/users/fjetter/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fjetter",
"id": 8629629,
"login": "fjetter",
"node_id": "MDQ6VXNlcjg2Mjk2Mjk=",
"organizations_url": "https://api.github.com/users/fjetter/orgs",
"received_events_url": "https://api.github.com/users/fjetter/received_events",
"repos_url": "https://api.github.com/users/fjetter/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fjetter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fjetter/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fjetter"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-02-03T15:03:58Z
| 2020-02-05T06:28:31Z
| 2020-02-05T01:26:33Z
|
MEMBER
| null |
@jorisvandenbossche you wanted to put more tests in for this issue. I put the user reported code example into a test. Did you have anything else in mind? I didn't merge it with the above one since the above acted on an empty Dataframe.
- [x] closes #31605
- [ ] 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/31621/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31621/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31621.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31621",
"merged_at": "2020-02-05T01:26:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31621.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31621"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31622
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31622/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31622/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31622/events
|
https://github.com/pandas-dev/pandas/pull/31622
| 559,143,448
|
MDExOlB1bGxSZXF1ZXN0MzcwMzY3MDg4
| 31,622
|
DOC: add redirect for moved json_normalize docstring
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "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-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-03T15:07:27Z
| 2020-02-03T19:39:29Z
| 2020-02-03T19:39:23Z
|
MEMBER
| null |
Closes https://github.com/pandas-dev/pandas/issues/31514
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31622/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31622/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31622.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31622",
"merged_at": "2020-02-03T19:39:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31622.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31622"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31623
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31623/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31623/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31623/events
|
https://github.com/pandas-dev/pandas/issues/31623
| 559,145,485
|
MDU6SXNzdWU1NTkxNDU0ODU=
| 31,623
|
REGR: AssertionError when subtracting Timestamp-valued DataFrames with non-indentical column index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10784275?v=4",
"events_url": "https://api.github.com/users/DomKennedy/events{/privacy}",
"followers_url": "https://api.github.com/users/DomKennedy/followers",
"following_url": "https://api.github.com/users/DomKennedy/following{/other_user}",
"gists_url": "https://api.github.com/users/DomKennedy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DomKennedy",
"id": 10784275,
"login": "DomKennedy",
"node_id": "MDQ6VXNlcjEwNzg0Mjc1",
"organizations_url": "https://api.github.com/users/DomKennedy/orgs",
"received_events_url": "https://api.github.com/users/DomKennedy/received_events",
"repos_url": "https://api.github.com/users/DomKennedy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DomKennedy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DomKennedy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DomKennedy"
}
|
[
{
"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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"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": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 8
| 2020-02-03T15:10:53Z
| 2020-02-19T00:26:28Z
| 2020-02-19T00:26:28Z
|
NONE
| null |
```python
import pandas as pd
df = pd.DataFrame(
{
"foo": [pd.Timestamp("2019"), pd.Timestamp("2020")],
"bar": [pd.Timestamp("2018"), pd.Timestamp("2021")],
}
)
df2 = df[["foo"]]
print(df - df2)
```
#### Problem description
The above snippet raises the following exception:
```
Traceback (most recent call last):
File ".venv/lib/python3.6/site-packages/pandas/core/ops/array_ops.py", line 149, in na_arithmetic_op
result = expressions.evaluate(op, str_rep, left, right)
File ".v
env/lib/python3.6/site-packages/pandas/core/computation/expressions.py", line 208, in evaluate
return _evaluate(op, op_str, a, b)
File ".venv/lib/python3.6/site-packages/pandas/core/computation/expressions.py", line 70, in _evaluate_standard
return op(a, b)
File ".venv/lib/python3.6/site-packages/pandas/core/ops/common.py", line 64, in new_method
return method(self, other)
File ".venv/lib/python3.6/site-packages/pandas/core/ops/__init__.py", line 500, in wrapper
result = arithmetic_op(lvalues, rvalues, op, str_rep)
File ".venv/lib/python3.6/site-packages/pandas/core/ops/array_ops.py", line 192, in arithmetic_op
res_values = dispatch_to_extension_op(op, lvalues, rvalues)
File ".venv/lib/python3.6/site-packages/pandas/core/ops/dispatch.py", line 125, in dispatch_to_extension_op
res_values = op(left, right)
File ".venv/lib/python3.6/site-packages/pandas/core/arrays/datetimelike.py", line 1390, in __rsub__
f"cannot subtract {type(self).__name__} from {type(other).__name__}"
TypeError: cannot subtract DatetimeArray from ndarray
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "pandas_bug.py", line 36, in <module>
print(df2 - df)
File ".venv/lib/python3.6/site-packages/pandas/core/ops/__init__.py", line 703, in f
new_data = left._combine_frame(right, pass_op, fill_value)
File ".venv/lib/python3.6/site-packages/pandas/core/frame.py", line 5297, in _combine_frame
new_data = ops.dispatch_to_series(self, other, _arith_op)
File ".venv/lib/python3.6/site-packages/pandas/core/ops/__init__.py", line 416, in dispatch_to_series
new_data = expressions.evaluate(column_op, str_rep, left, right)
File ".venv/lib/python3.6/site-packages/pandas/core/computation/expressions.py", line 208, in evaluate
return _evaluate(op, op_str, a, b)
File ".venv/lib/python3.6/site-packages/pandas/core/computation/expressions.py", line 70, in _evaluate_standard
return op(a, b)
File ".venv/lib/python3.6/site-packages/pandas/core/ops/__init__.py", line 385, in column_op
return {i: func(a.iloc[:, i], b.iloc[:, i]) for i in range(len(a.columns))}
File ".venv/lib/python3.6/site-packages/pandas/core/ops/__init__.py", line 385, in <dictcomp>
return {i: func(a.iloc[:, i], b.iloc[:, i]) for i in range(len(a.columns))}
File ".venv/lib/python3.6/site-packages/pandas/core/ops/array_ops.py", line 121, in na_op
return na_arithmetic_op(x, y, op, str_rep)
File ".venv/lib/python3.6/site-packages/pandas/core/ops/array_ops.py", line 151, in na_arithmetic_op
result = masked_arith_op(left, right, op)
File ".venv/lib/python3.6/site-packages/pandas/core/ops/array_ops.py", line 75, in masked_arith_op
assert isinstance(x, np.ndarray), type(x)
```
This is a 1.0.0 regression; in 0.25.3, the operation succeeds and the unmatched `bar` column is filled with `NaN` in the output.
The same error occurs with:
* Any combination of incompatible columns (strict subset, strict superset, overlapping, disjoint)
* Calling the `subtract` method instead of using the subtraction operator
* Timezone-aware `Timestamp`s as well as timezone-naive
It does *not* seem to occur with:
* Mismatches on the row index; transposing the dataframes in the above example prevents the errors occuring.
* `pd.Series` objects with mismatched indexes (e.g. calling the above on the first row of each dataframe works fine)
* Other dtypes; `bool`, `float`, and `int` seem to work fine. Similarly, if the dataframes are explicitly cast to dtype `object`, the operation succeeds.
#### Expected Output
```
bar foo
0 NaN 0 days
1 NaN 0 days
```
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.8.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-74-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 41.6.0
Cython : None
pytest : 5.3.5
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
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/31623/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31623/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31624
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31624/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31624/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31624/events
|
https://github.com/pandas-dev/pandas/pull/31624
| 559,200,338
|
MDExOlB1bGxSZXF1ZXN0MzcwNDEzMzUx
| 31,624
|
DOC: link on nullables in indexing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45735323?v=4",
"events_url": "https://api.github.com/users/anant4299/events{/privacy}",
"followers_url": "https://api.github.com/users/anant4299/followers",
"following_url": "https://api.github.com/users/anant4299/following{/other_user}",
"gists_url": "https://api.github.com/users/anant4299/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/anant4299",
"id": 45735323,
"login": "anant4299",
"node_id": "MDQ6VXNlcjQ1NzM1MzIz",
"organizations_url": "https://api.github.com/users/anant4299/orgs",
"received_events_url": "https://api.github.com/users/anant4299/received_events",
"repos_url": "https://api.github.com/users/anant4299/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/anant4299/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anant4299/subscriptions",
"type": "User",
"url": "https://api.github.com/users/anant4299"
}
|
[
{
"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 | 2
| 2020-02-03T16:40:44Z
| 2020-02-26T20:23:11Z
| 2020-02-26T20:23:10Z
|
NONE
| null |
DOC: Mention that boolean indexing is impossible for new nullable integer/boolean and string data types when they contain missing values
closes #31537
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31624/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31624/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31624.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31624",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31624.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31624"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31625
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31625/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31625/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31625/events
|
https://github.com/pandas-dev/pandas/pull/31625
| 559,215,337
|
MDExOlB1bGxSZXF1ZXN0MzcwNDI1NjE5
| 31,625
|
CLN: inline indexing 1-liners
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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"
}
| 3
| 2020-02-03T17:07:27Z
| 2020-02-06T23:45:59Z
| 2020-02-06T23:43:04Z
|
MEMBER
| null |
The only 2-liners here are _convert_scalar_indexer and _convert_slice_indexer, which are effectively `axis = min(axis, self.ndim-1)`, but that is unnecessary since all places where these are called have axis < self.ndim.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31625/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31625/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31625.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31625",
"merged_at": "2020-02-06T23:43:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31625.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31625"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31626
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31626/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31626/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31626/events
|
https://github.com/pandas-dev/pandas/pull/31626
| 559,223,704
|
MDExOlB1bGxSZXF1ZXN0MzcwNDMyNDI5
| 31,626
|
BUG: qcut can fail for highly discontinuous data distributions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/35463999?v=4",
"events_url": "https://api.github.com/users/puneet29/events{/privacy}",
"followers_url": "https://api.github.com/users/puneet29/followers",
"following_url": "https://api.github.com/users/puneet29/following{/other_user}",
"gists_url": "https://api.github.com/users/puneet29/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/puneet29",
"id": 35463999,
"login": "puneet29",
"node_id": "MDQ6VXNlcjM1NDYzOTk5",
"organizations_url": "https://api.github.com/users/puneet29/orgs",
"received_events_url": "https://api.github.com/users/puneet29/received_events",
"repos_url": "https://api.github.com/users/puneet29/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/puneet29/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/puneet29/subscriptions",
"type": "User",
"url": "https://api.github.com/users/puneet29"
}
|
[
{
"color": "9aace2",
"default": false,
"description": "cut, qcut",
"id": 1639305834,
"name": "cut",
"node_id": "MDU6TGFiZWwxNjM5MzA1ODM0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/cut"
}
] |
closed
| false
| null |
[] | null | 10
| 2020-02-03T17:23:26Z
| 2020-06-14T15:44:48Z
| 2020-06-14T15:44:48Z
|
NONE
| null |
Fixes #15069. Needs refactoring
- [x] closes #xxxx
- [ ] tests added / passed
- [ ] 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/31626/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31626/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31626.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31626",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31626.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31626"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31627
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31627/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31627/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31627/events
|
https://github.com/pandas-dev/pandas/pull/31627
| 559,235,402
|
MDExOlB1bGxSZXF1ZXN0MzcwNDQxOTc4
| 31,627
|
Replace .format with f-strings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/43350185?v=4",
"events_url": "https://api.github.com/users/leandermaben/events{/privacy}",
"followers_url": "https://api.github.com/users/leandermaben/followers",
"following_url": "https://api.github.com/users/leandermaben/following{/other_user}",
"gists_url": "https://api.github.com/users/leandermaben/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leandermaben",
"id": 43350185,
"login": "leandermaben",
"node_id": "MDQ6VXNlcjQzMzUwMTg1",
"organizations_url": "https://api.github.com/users/leandermaben/orgs",
"received_events_url": "https://api.github.com/users/leandermaben/received_events",
"repos_url": "https://api.github.com/users/leandermaben/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leandermaben/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leandermaben/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leandermaben"
}
|
[
{
"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": "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-02-03T17:47:03Z
| 2020-02-04T18:33:15Z
| 2020-02-04T18:33:15Z
|
CONTRIBUTOR
| null |
- [ ] solves few cases of #29547
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31627/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31627/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31627.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31627",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31627.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31627"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31628
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31628/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31628/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31628/events
|
https://github.com/pandas-dev/pandas/pull/31628
| 559,239,734
|
MDExOlB1bGxSZXF1ZXN0MzcwNDQ1NTA5
| 31,628
|
replacing .format with f-strings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19581172?v=4",
"events_url": "https://api.github.com/users/drewseibert/events{/privacy}",
"followers_url": "https://api.github.com/users/drewseibert/followers",
"following_url": "https://api.github.com/users/drewseibert/following{/other_user}",
"gists_url": "https://api.github.com/users/drewseibert/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/drewseibert",
"id": 19581172,
"login": "drewseibert",
"node_id": "MDQ6VXNlcjE5NTgxMTcy",
"organizations_url": "https://api.github.com/users/drewseibert/orgs",
"received_events_url": "https://api.github.com/users/drewseibert/received_events",
"repos_url": "https://api.github.com/users/drewseibert/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/drewseibert/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drewseibert/subscriptions",
"type": "User",
"url": "https://api.github.com/users/drewseibert"
}
|
[
{
"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": "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-02-03T17:56:20Z
| 2020-02-03T23:46:37Z
| 2020-02-03T23:46:29Z
|
CONTRIBUTOR
| null |
fixing some styling (using f-strings instead of .format)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31628/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31628/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31628.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31628",
"merged_at": "2020-02-03T23:46:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31628.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31628"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31629
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31629/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31629/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31629/events
|
https://github.com/pandas-dev/pandas/pull/31629
| 559,290,777
|
MDExOlB1bGxSZXF1ZXN0MzcwNDg3NDA5
| 31,629
|
Backport PR #31622 on branch 1.0.x (DOC: add redirect for moved json_normalize docstring)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-03T19:39:53Z
| 2020-02-04T07:27:29Z
| 2020-02-04T07:27:29Z
|
NONE
| null |
Backport PR #31622: DOC: add redirect for moved json_normalize docstring
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31629/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31629/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31629.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31629",
"merged_at": "2020-02-04T07:27:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31629.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31629"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31630
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31630/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31630/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31630/events
|
https://github.com/pandas-dev/pandas/pull/31630
| 559,316,294
|
MDExOlB1bGxSZXF1ZXN0MzcwNTA4NDg1
| 31,630
|
BUG: Series.xs boxing datetime64 incorrectly
|
{
"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": "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"
}
| 0
| 2020-02-03T20:30:21Z
| 2020-02-05T01:19:16Z
| 2020-02-05T01:18:29Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [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/31630/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31630/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31630.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31630",
"merged_at": "2020-02-05T01:18:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31630.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31630"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31631
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31631/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31631/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31631/events
|
https://github.com/pandas-dev/pandas/pull/31631
| 559,319,903
|
MDExOlB1bGxSZXF1ZXN0MzcwNTExNDkw
| 31,631
|
REGR: Fixed setitem with MultiIndex
|
{
"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": "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": "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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 2
| 2020-02-03T20:37:44Z
| 2020-02-03T23:26:28Z
| 2020-02-03T23:20:27Z
|
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/31449
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31631/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31631/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31631.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31631",
"merged_at": "2020-02-03T23:20:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31631.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31631"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31632
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31632/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31632/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31632/events
|
https://github.com/pandas-dev/pandas/issues/31632
| 559,329,360
|
MDU6SXNzdWU1NTkzMjkzNjA=
| 31,632
|
Bug in Series.str.repeat with string dtype and sequence of repeats
|
{
"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": "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": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"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-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"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": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 2
| 2020-02-03T20:57:09Z
| 2020-03-10T14:08:01Z
| 2020-03-10T14:08:01Z
|
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```pytb
In [1]: import pandas as pd
In [2]: s = pd.Series(['a', None], dtype="string")
In [3]: s.str.repeat([1, 2])
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
~/sandbox/pandas/pandas/core/strings.py in rep(x, r)
781 try:
--> 782 return bytes.__mul__(x, r)
783 except TypeError:
TypeError: descriptor '__mul__' requires a 'bytes' object but received a 'NAType'
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
<ipython-input-3-a01827562f7a> in <module>
----> 1 s.str.repeat([1, 2])
~/sandbox/pandas/pandas/core/strings.py in wrapper(self, *args, **kwargs)
1950 )
1951 raise TypeError(msg)
-> 1952 return func(self, *args, **kwargs)
1953
1954 wrapper.__name__ = func_name
~/sandbox/pandas/pandas/core/strings.py in repeat(self, repeats)
2780 @forbid_nonstring_types(["bytes"])
2781 def repeat(self, repeats):
-> 2782 result = str_repeat(self._parent, repeats)
2783 return self._wrap_result(result)
2784
~/sandbox/pandas/pandas/core/strings.py in str_repeat(arr, repeats)
785
786 repeats = np.asarray(repeats, dtype=object)
--> 787 result = libops.vec_binop(com.values_from_object(arr), repeats, rep)
788 return result
789
~/sandbox/pandas/pandas/_libs/ops.pyx in pandas._libs.ops.vec_binop()
239 result[i] = y
240 else:
--> 241 raise
242
243 return maybe_convert_bool(result.base) # `.base` to access np.ndarray
~/sandbox/pandas/pandas/_libs/ops.pyx in pandas._libs.ops.vec_binop()
232 y = right[i]
233 try:
--> 234 result[i] = op(x, y)
235 except TypeError:
236 if x is None or is_nan(x):
~/sandbox/pandas/pandas/core/strings.py in rep(x, r)
782 return bytes.__mul__(x, r)
783 except TypeError:
--> 784 return str.__mul__(x, r)
785
786 repeats = np.asarray(repeats, dtype=object)
TypeError: descriptor '__mul__' requires a 'str' object but received a 'NAType'
```
#### Problem description
The `str_repeat` method correctly handles NA values when `repeats` is a scalar, but fails when its a sequence.
#### Expected Output
```python
0 a
1 <NA>
dtype: string
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31632/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31632/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31633
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31633/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31633/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31633/events
|
https://github.com/pandas-dev/pandas/issues/31633
| 559,361,440
|
MDU6SXNzdWU1NTkzNjE0NDA=
| 31,633
|
replace() involving booleans affects integers and floats equal to 0 and 1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5832902?v=4",
"events_url": "https://api.github.com/users/krassowski/events{/privacy}",
"followers_url": "https://api.github.com/users/krassowski/followers",
"following_url": "https://api.github.com/users/krassowski/following{/other_user}",
"gists_url": "https://api.github.com/users/krassowski/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/krassowski",
"id": 5832902,
"login": "krassowski",
"node_id": "MDQ6VXNlcjU4MzI5MDI=",
"organizations_url": "https://api.github.com/users/krassowski/orgs",
"received_events_url": "https://api.github.com/users/krassowski/received_events",
"repos_url": "https://api.github.com/users/krassowski/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/krassowski/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/krassowski/subscriptions",
"type": "User",
"url": "https://api.github.com/users/krassowski"
}
|
[
{
"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": "01a886",
"default": false,
"description": "replace method",
"id": 1652721180,
"name": "replace",
"node_id": "MDU6TGFiZWwxNjUyNzIxMTgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace"
}
] |
open
| false
| null |
[] | null | 4
| 2020-02-03T22:03:19Z
| 2021-07-27T05:47:02Z
| null |
NONE
| null |
#### Code Sample
```python
Series([0, 1, 2, True]).replace({0: 'a', True: 'x', False: 'y'})
```
Output:
| | 0 |
|---:|:----|
| 0 | y |
| 1 | x |
| 2 | 2 |
| 3 | x |
#### Problem description
I expected zero to be replaced with 'a', and 1 to remain untouched.
- documentation does not clarify whether `replace()` checks for equality or for identity.
- both inexperienced and experienced users may fall in the trap of the code as shown above; if the current behaviour is desired, would it be reasonable to add a warning when the user's attempts can lead to certainly unintended results (as above)?
#### Expected Output
| | 0 |
|---:|:----|
| 0 | a |
| 1 | 1 |
| 2 | 2 |
| 3 | x |
#### Due research
Stack Overflow:
- [How to map True and False to 'Yes' and 'No' in a pandas data frame for columns of dtype bool only?](https://stackoverflow.com/questions/45196626/how-to-map-true-and-false-to-yes-and-no-in-a-pandas-data-frame-for-columns-o) (6k views, 6/8 upvotes) works around this problem by only using booleans in columns with `dtype == bool`
- [I wonder when replace 0 on a Series(or dataframe), will False also be replaced?](https://stackoverflow.com/questions/52128402/i-wonder-when-replace-0-on-a-seriesor-dataframe-will-false-also-be-replaced/52128984#52128984) demonstrates that replacing zeros will not touch booleans if the `dtype == bool`.
- I verified that my problem exists with `dtype in {int, float}` (i.e. after removing `True` from Series)
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.0.final.0
python-bits : 64
OS : Linux
OS-release : 5.3.0-26-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.0
pip : 19.3.1
setuptools : 41.2.0
Cython : None
pytest : 5.2.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.8.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 : None
pytables : None
pytest : 5.2.1
pyxlsb : None
s3fs : None
scipy : None
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/31633/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31633/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31634
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31634/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31634/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31634/events
|
https://github.com/pandas-dev/pandas/issues/31634
| 559,375,337
|
MDU6SXNzdWU1NTkzNzUzMzc=
| 31,634
|
regression: ts64->int64
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4249447?v=4",
"events_url": "https://api.github.com/users/lmeyerov/events{/privacy}",
"followers_url": "https://api.github.com/users/lmeyerov/followers",
"following_url": "https://api.github.com/users/lmeyerov/following{/other_user}",
"gists_url": "https://api.github.com/users/lmeyerov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lmeyerov",
"id": 4249447,
"login": "lmeyerov",
"node_id": "MDQ6VXNlcjQyNDk0NDc=",
"organizations_url": "https://api.github.com/users/lmeyerov/orgs",
"received_events_url": "https://api.github.com/users/lmeyerov/received_events",
"repos_url": "https://api.github.com/users/lmeyerov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lmeyerov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lmeyerov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lmeyerov"
}
|
[
{
"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": "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"
}
] |
closed
| false
| null |
[] | null | 8
| 2020-02-03T22:33:52Z
| 2021-06-08T16:48:40Z
| 2021-06-08T16:48:40Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
!pip install pandas==1.0.0
import datetime
import pandas as pd
pd.Series([datetime.datetime.now(), datetime.datetime.now(), None]).astype('int64')
```
=>
```
ValueError: Cannot convert NaT values to integer
```
#### Problem description
In 0.25.*, the above ran without an exception, while in 1.0.0, it now throws an exception. While the new behavior may be OK, it would be better as first a deprecation warning with a suggested migration.
(We had the same code for at least 1-2 years w/out issue. Still unclear on the proper fix for getting the int64 or int32 epoch out in a way that is friendly for both pre/post 1.0.0.)
#### Expected Output
Same behavior as 0.25.*:
```
0 1580769049934654000
1 1580769049934659000
2 -9223372036854775808
dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
/usr/local/lib/python3.6/dist-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")
/usr/local/lib/python3.6/dist-packages/pandas_datareader/compat/__init__.py:18: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
from pandas.util.testing import assert_frame_equal
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.9.final.0
python-bits : 64
OS : Linux
OS-release : 4.14.137+
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.0
numpy : 1.17.5
pytz : 2018.9
dateutil : 2.6.1
pip : 19.3.1
setuptools : 45.1.0
Cython : 0.29.14
pytest : 3.6.4
hypothesis : None
sphinx : 1.8.5
blosc : None
feather : 0.4.0
xlsxwriter : None
lxml.etree : 4.2.6
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64)
jinja2 : 2.11.1
IPython : 5.5.0
pandas_datareader: None
bs4 : 4.6.3
bottleneck : 1.3.1
fastparquet : None
gcsfs : None
lxml.etree : 4.2.6
matplotlib : 3.1.2
numexpr : 2.7.1
odfpy : None
openpyxl : 2.5.9
pandas_gbq : 0.11.0
pyarrow : 0.14.1
pytables : None
pytest : 3.6.4
pyxlsb : None
s3fs : 0.4.0
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.4.4
tabulate : 0.8.6
xarray : 0.14.1
xlrd : 1.1.0
xlwt : 1.3.0
xlsxwriter : None
numba : 0.47.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/31634/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31634/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31635
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31635/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31635/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31635/events
|
https://github.com/pandas-dev/pandas/pull/31635
| 559,385,964
|
MDExOlB1bGxSZXF1ZXN0MzcwNTY0ODky
| 31,635
|
REF: implement ExtensionIndex._concat_same_dtype, use for IntervalIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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"
}
| 3
| 2020-02-03T23:00:25Z
| 2020-02-10T16:40:26Z
| 2020-02-10T12:52:42Z
|
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/31635/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31635/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31635.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31635",
"merged_at": "2020-02-10T12:52:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31635.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31635"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31636
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31636/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31636/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31636/events
|
https://github.com/pandas-dev/pandas/pull/31636
| 559,388,498
|
MDExOlB1bGxSZXF1ZXN0MzcwNTY2OTU4
| 31,636
|
CLN: Unreachable branch in Loc._getitem_iterable
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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-02-03T23:07:09Z
| 2020-02-04T16:58:18Z
| 2020-02-04T07:37:37Z
|
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/31636/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31636/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31636.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31636",
"merged_at": "2020-02-04T07:37:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31636.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31636"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31637
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31637/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31637/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31637/events
|
https://github.com/pandas-dev/pandas/pull/31637
| 559,393,757
|
MDExOlB1bGxSZXF1ZXN0MzcwNTcxMjU3
| 31,637
|
Backport PR #31631 on branch 1.0.x (REGR: Fixed setitem with MultiIndex)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-03T23:20:38Z
| 2020-02-04T07:28:01Z
| 2020-02-04T07:28:01Z
|
NONE
| null |
Backport PR #31631: REGR: Fixed setitem with MultiIndex
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31637/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31637/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31637.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31637",
"merged_at": "2020-02-04T07:28:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31637.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31637"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31638
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31638/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31638/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31638/events
|
https://github.com/pandas-dev/pandas/pull/31638
| 559,440,436
|
MDExOlB1bGxSZXF1ZXN0MzcwNjA4ODM5
| 31,638
|
REF: call _maybe_cast_indexer upfront, better exception messages
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-02-04T01:58:07Z
| 2020-02-05T01:18:18Z
| 2020-02-05T01:13:11Z
|
MEMBER
| null |
This will actually allow us to remove e.g. CategoricalIndex.get_loc by moving the 2 relevant lines into CategoricalIndex._maybe_cast_indexer. Large parts of DTI/TDI/PI.get_loc will also be simplifiable.
We've got both Index._maybe_cast_indexer and Index._convert_scalar_indexer which hopefully we'll only need one of.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31638/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31638/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31638.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31638",
"merged_at": "2020-02-05T01:13:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31638.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31638"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31639
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31639/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31639/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31639/events
|
https://github.com/pandas-dev/pandas/pull/31639
| 559,441,621
|
MDExOlB1bGxSZXF1ZXN0MzcwNjA5NzI5
| 31,639
|
CLN: Replace format with f-strings in test_repr_info
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5402633?v=4",
"events_url": "https://api.github.com/users/thomasjpfan/events{/privacy}",
"followers_url": "https://api.github.com/users/thomasjpfan/followers",
"following_url": "https://api.github.com/users/thomasjpfan/following{/other_user}",
"gists_url": "https://api.github.com/users/thomasjpfan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thomasjpfan",
"id": 5402633,
"login": "thomasjpfan",
"node_id": "MDQ6VXNlcjU0MDI2MzM=",
"organizations_url": "https://api.github.com/users/thomasjpfan/orgs",
"received_events_url": "https://api.github.com/users/thomasjpfan/received_events",
"repos_url": "https://api.github.com/users/thomasjpfan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thomasjpfan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thomasjpfan"
}
|
[
{
"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"
}
| 1
| 2020-02-04T02:02:09Z
| 2020-02-05T01:12:15Z
| 2020-02-05T01:12:09Z
|
CONTRIBUTOR
| null |
Updated `pandas/tests/frame/test_repr_info.py` to use f-strings
ref: https://github.com/pandas-dev/pandas/issues/29547
- [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/31639/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31639/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31639.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31639",
"merged_at": "2020-02-05T01:12:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31639.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31639"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31640
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31640/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31640/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31640/events
|
https://github.com/pandas-dev/pandas/pull/31640
| 559,443,357
|
MDExOlB1bGxSZXF1ZXN0MzcwNjExMDI1
| 31,640
|
CLN: prelims for MultiIndex.get_value
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-02-04T02:08:12Z
| 2020-02-06T17:22:57Z
| 2020-02-06T17:22:52Z
|
MEMBER
| null |
Unravelling MultiIndex.get_value and get_loc is shaping up to be a PITA. This separates out the easiest parts of the get_value cleanup.
@TomAugspurger can you confirm that the change made here to the `__finalize__` call is correct? If so, suggest a test?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31640/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31640/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31640.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31640",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31640.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31640"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31641
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31641/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31641/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31641/events
|
https://github.com/pandas-dev/pandas/pull/31641
| 559,453,375
|
MDExOlB1bGxSZXF1ZXN0MzcwNjE4ODgw
| 31,641
|
DOC: Removed numeric_only parameter from pd.DataFrame.mad docs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39258575?v=4",
"events_url": "https://api.github.com/users/r0cketr1kky/events{/privacy}",
"followers_url": "https://api.github.com/users/r0cketr1kky/followers",
"following_url": "https://api.github.com/users/r0cketr1kky/following{/other_user}",
"gists_url": "https://api.github.com/users/r0cketr1kky/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/r0cketr1kky",
"id": 39258575,
"login": "r0cketr1kky",
"node_id": "MDQ6VXNlcjM5MjU4NTc1",
"organizations_url": "https://api.github.com/users/r0cketr1kky/orgs",
"received_events_url": "https://api.github.com/users/r0cketr1kky/received_events",
"repos_url": "https://api.github.com/users/r0cketr1kky/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/r0cketr1kky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/r0cketr1kky/subscriptions",
"type": "User",
"url": "https://api.github.com/users/r0cketr1kky"
}
|
[
{
"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"
}
| 11
| 2020-02-04T02:45:15Z
| 2020-05-15T08:47:48Z
| 2020-02-09T17:19:45Z
|
CONTRIBUTOR
| null |
- closes #29079
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31641/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31641/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31641.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31641",
"merged_at": "2020-02-09T17:19:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31641.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31641"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31642
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31642/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31642/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31642/events
|
https://github.com/pandas-dev/pandas/pull/31642
| 559,487,626
|
MDExOlB1bGxSZXF1ZXN0MzcwNjQ2Mjc1
| 31,642
|
DOC: Fix typo in Getting Started docs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/55477181?v=4",
"events_url": "https://api.github.com/users/davidwales/events{/privacy}",
"followers_url": "https://api.github.com/users/davidwales/followers",
"following_url": "https://api.github.com/users/davidwales/following{/other_user}",
"gists_url": "https://api.github.com/users/davidwales/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidwales",
"id": 55477181,
"login": "davidwales",
"node_id": "MDQ6VXNlcjU1NDc3MTgx",
"organizations_url": "https://api.github.com/users/davidwales/orgs",
"received_events_url": "https://api.github.com/users/davidwales/received_events",
"repos_url": "https://api.github.com/users/davidwales/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidwales/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidwales/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidwales"
}
|
[
{
"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-02-04T04:55:42Z
| 2020-02-04T11:20:10Z
| 2020-02-04T11:20:00Z
|
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/31642/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31642/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31642.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31642",
"merged_at": "2020-02-04T11:20:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31642.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31642"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31643
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31643/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31643/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31643/events
|
https://github.com/pandas-dev/pandas/issues/31643
| 559,488,902
|
MDU6SXNzdWU1NTk0ODg5MDI=
| 31,643
|
BUG: pandas.cut does not give the right answer with nullable integer Series input
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2038323?v=4",
"events_url": "https://api.github.com/users/khdlim/events{/privacy}",
"followers_url": "https://api.github.com/users/khdlim/followers",
"following_url": "https://api.github.com/users/khdlim/following{/other_user}",
"gists_url": "https://api.github.com/users/khdlim/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/khdlim",
"id": 2038323,
"login": "khdlim",
"node_id": "MDQ6VXNlcjIwMzgzMjM=",
"organizations_url": "https://api.github.com/users/khdlim/orgs",
"received_events_url": "https://api.github.com/users/khdlim/received_events",
"repos_url": "https://api.github.com/users/khdlim/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/khdlim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khdlim/subscriptions",
"type": "User",
"url": "https://api.github.com/users/khdlim"
}
|
[] |
closed
| false
| null |
[] | null | 3
| 2020-02-04T05:00:20Z
| 2020-02-05T02:56:09Z
| 2020-02-05T02:56:08Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import numpy
import pandas
input_array = numpy.array([1, 2, numpy.nan, 4, 5])
print('Input array: %s\n' % input_array)
bins = numpy.array([0.5, 2.5, 4.5, 6.5])
print ('Using bins: %s\n' % bins)
test_series = pandas.Series(input_array).astype('Int64')
print('Test series:\n\n%s\n' % test_series)
print('Results of cut:\n\n%s\n'% pandas.cut(test_series, bins))
```
Console output:
````
Input array: [ 1. 2. nan 4. 5.]
Using bins: [0.5 2.5 4.5 6.5]
Test series:
0 1
1 2
2 NaN
3 4
4 5
dtype: Int64
Results of cut:
0 (0.5, 2.5]
1 (0.5, 2.5]
2 NaN
3 (0.5, 2.5]
4 (4.5, 6.5]
dtype: category
Categories (3, interval[float64]): [(0.5, 2.5] < (2.5, 4.5] < (4.5, 6.5]]
````
#### Problem description
`output[3]` should be `(2.5, 4.5]` and not `(0.5, 2.5]` as shown.
Tested in pandas 1.0.0 and 0.25.3.
#### Expected Output
````
Input array: [ 1. 2. nan 4. 5.]
Using bins: [0.5 2.5 4.5 6.5]
Test series:
0 1
1 2
2 NaN
3 4
4 5
dtype: Int64
Results of cut:
0 (0.5, 2.5]
1 (0.5, 2.5]
2 NaN
3 (2.5, 4.5]
4 (4.5, 6.5]
dtype: category
Categories (3, interval[float64]): [(0.5, 2.5] < (2.5, 4.5] < (4.5, 6.5]]
````
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.10.final.0
python-bits : 64
OS : Linux
OS-release : 4.4.0-173-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.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.6.1
pip : 20.0.2
setuptools : 40.6.3
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.1
IPython : 7.11.1
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 : 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/31643/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31643/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31644
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31644/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31644/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31644/events
|
https://github.com/pandas-dev/pandas/issues/31644
| 559,549,529
|
MDU6SXNzdWU1NTk1NDk1Mjk=
| 31,644
|
replace method does't work with string type Series
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
},
{
"color": "01a886",
"default": false,
"description": "replace method",
"id": 1652721180,
"name": "replace",
"node_id": "MDU6TGFiZWwxNjUyNzIxMTgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
}
] | null | 17
| 2020-02-04T08:02:13Z
| 2021-07-27T14:56:29Z
| null |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
>>>pd.Series(['A','B']).replace(r'.','C',regex=True)
0 C
1 C
dtype: object
pd.Series(['A','B']).astype('string').replace(r'.','C',regex=True)
0 A
1 B
dtype: string
```
#### Problem description
It seems that replace doesn't work with the string type Series.
Why these two codes return different results?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31644/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31644/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31645
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31645/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31645/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31645/events
|
https://github.com/pandas-dev/pandas/issues/31645
| 559,563,806
|
MDU6SXNzdWU1NTk1NjM4MDY=
| 31,645
|
DOC: extending pandas page is not rendered correctly
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
}
|
[
{
"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": "23ef97",
"default": false,
"description": "pandas website",
"id": 1508144531,
"name": "Web",
"node_id": "MDU6TGFiZWwxNTA4MTQ0NTMx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Web"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-02-04T08:35:33Z
| 2020-02-04T12:23:45Z
| 2020-02-04T12:20:23Z
|
MEMBER
| null |
https://pandas.pydata.org/pandas-docs/stable/development/extending.html
this is the first result gotten by googling extending pandas, however, seems not rendered correctly, help is welcome!
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31645/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31645/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31646
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31646/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31646/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31646/events
|
https://github.com/pandas-dev/pandas/issues/31646
| 559,591,407
|
MDU6SXNzdWU1NTk1OTE0MDc=
| 31,646
|
IntervalArray equality with wrong length Iterable raises TypeError
|
{
"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": "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": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
open
| false
| null |
[] | null | 3
| 2020-02-04T09:30:09Z
| 2021-07-27T05:49:08Z
| null |
MEMBER
| null |
#### Code Sample, a copy-pastable example if possible
```python
>>> import pandas as pd
>>> pd.__version__
'1.1.0.dev0+288.gac61a8a62'
>>> pd.core.arrays.IntervalArray.from_breaks([1, 2, 3, 4]) == (i for i in range(10))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\simon\pandas\pandas\core\arrays\interval.py", line 562, in __eq__
if len(self) != len(other):
TypeError: object of type 'generator' has no len()
>>>
```
#### Problem description
Raises TypeError
mypy gives `pandas\core\arrays\interval.py:563: error: Argument 1 to "len" has incompatible type "object"; expected "Sized"`
similar problem with IntegerArray
```python
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\simon\pandas\pandas\core\ops\common.py", line 64, in new_method
return method(self, other)
File "C:\Users\simon\pandas\pandas\core\arrays\integer.py", line 531, in cmp_method
if len(self) != len(other):
TypeError: len() of unsized object
>>>
```
and other Extension Arrays.
#### Expected Output
Not to raise TypeError
I think returning
```
<BooleanArray>
[False, False, False]
Length: 3, dtype: boolean
```
would be consistent with numpy array
```python
>>> import numpy as np
>>> np.array([1, 2, 3]) == (i for i in range(10))
array([False, False, False])
```
and Series
```python
>>> pd.Series([1, 2, 3]) == (i for i in range(10))
0 False
1 False
2 False
dtype: bool
>>>
```
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
</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/31646/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31646/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31647
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31647/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31647/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31647/events
|
https://github.com/pandas-dev/pandas/issues/31647
| 559,647,113
|
MDU6SXNzdWU1NTk2NDcxMTM=
| 31,647
|
DOC: clean up DataFrame.ewm
|
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/51680175?v=4",
"events_url": "https://api.github.com/users/mehersaipreetam/events{/privacy}",
"followers_url": "https://api.github.com/users/mehersaipreetam/followers",
"following_url": "https://api.github.com/users/mehersaipreetam/following{/other_user}",
"gists_url": "https://api.github.com/users/mehersaipreetam/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mehersaipreetam",
"id": 51680175,
"login": "mehersaipreetam",
"node_id": "MDQ6VXNlcjUxNjgwMTc1",
"organizations_url": "https://api.github.com/users/mehersaipreetam/orgs",
"received_events_url": "https://api.github.com/users/mehersaipreetam/received_events",
"repos_url": "https://api.github.com/users/mehersaipreetam/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mehersaipreetam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mehersaipreetam/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mehersaipreetam"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/51680175?v=4",
"events_url": "https://api.github.com/users/mehersaipreetam/events{/privacy}",
"followers_url": "https://api.github.com/users/mehersaipreetam/followers",
"following_url": "https://api.github.com/users/mehersaipreetam/following{/other_user}",
"gists_url": "https://api.github.com/users/mehersaipreetam/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mehersaipreetam",
"id": 51680175,
"login": "mehersaipreetam",
"node_id": "MDQ6VXNlcjUxNjgwMTc1",
"organizations_url": "https://api.github.com/users/mehersaipreetam/orgs",
"received_events_url": "https://api.github.com/users/mehersaipreetam/received_events",
"repos_url": "https://api.github.com/users/mehersaipreetam/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mehersaipreetam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mehersaipreetam/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mehersaipreetam"
}
] | null | 8
| 2020-02-04T11:08:50Z
| 2020-03-12T10:22:03Z
| 2020-03-12T10:22:03Z
|
MEMBER
| null |
A few issues I've noticed:
1) It says
> When adjust is False, weighted averages are calculated recursively as:
>
> weighted_average[0] = arg[0]; weighted_average[i] = (1-alpha)*weighted_average[i-1] + alpha*arg[i].
>
but `arg` isn't defined
2) The phrase "When adjust is False, weighted averages are calculated recursively as:" appears as bold, but I don't think this was the intention
3)
```
\text{for} halflife > 0
```
should be
```
\text{for } halflife > 0
```
4) In the "notes" section, ```alpha``` is used, while in the description of the parameters, it's
```
:math:`\alpha`
```
5) The respective doc for Series could be updated, as it says
```
axis{0 or ‘index’, 1 or ‘columns’}, default 0
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31647/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31647/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31648
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31648/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31648/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31648/events
|
https://github.com/pandas-dev/pandas/issues/31648
| 559,747,188
|
MDU6SXNzdWU1NTk3NDcxODg=
| 31,648
|
PERF: Indexing a multi-index is a lot slower
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/123696?v=4",
"events_url": "https://api.github.com/users/valtron/events{/privacy}",
"followers_url": "https://api.github.com/users/valtron/followers",
"following_url": "https://api.github.com/users/valtron/following{/other_user}",
"gists_url": "https://api.github.com/users/valtron/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/valtron",
"id": 123696,
"login": "valtron",
"node_id": "MDQ6VXNlcjEyMzY5Ng==",
"organizations_url": "https://api.github.com/users/valtron/orgs",
"received_events_url": "https://api.github.com/users/valtron/received_events",
"repos_url": "https://api.github.com/users/valtron/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/valtron/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/valtron/subscriptions",
"type": "User",
"url": "https://api.github.com/users/valtron"
}
|
[
{
"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": "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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 7
| 2020-02-04T14:15:01Z
| 2020-02-04T19:26:00Z
| 2020-02-04T19:26:00Z
|
NONE
| null |
Indexing a multi-index seemingly went from O(1) to O(N):

I did a bisect, and found this was caused by the `_shallow_copy` here: https://github.com/pandas-dev/pandas/commit/b0f33b3f40d5742531e31aef90573b9592489592#diff-4ffd1c69d47e0ac9f2de4f9e3e4a118cR643.
#### Code Sample
```python
from time import perf_counter as time
import pandas as pd
for N in [1000, 2000, 4000, 8000, 16000, 32000]:
values = list(range(N))
df = pd.DataFrame({ 'a': values })
df['b'] = 1
df.set_index(['a', 'b'], inplace = True)
t = time()
df.loc[values]
t = time() - t
print(N, t)
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31648/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31648/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31649
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31649/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31649/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31649/events
|
https://github.com/pandas-dev/pandas/issues/31649
| 559,752,450
|
MDU6SXNzdWU1NTk3NTI0NTA=
| 31,649
|
to_datetime returning numpy.datetime64
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13312724?v=4",
"events_url": "https://api.github.com/users/ecwootten/events{/privacy}",
"followers_url": "https://api.github.com/users/ecwootten/followers",
"following_url": "https://api.github.com/users/ecwootten/following{/other_user}",
"gists_url": "https://api.github.com/users/ecwootten/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ecwootten",
"id": 13312724,
"login": "ecwootten",
"node_id": "MDQ6VXNlcjEzMzEyNzI0",
"organizations_url": "https://api.github.com/users/ecwootten/orgs",
"received_events_url": "https://api.github.com/users/ecwootten/received_events",
"repos_url": "https://api.github.com/users/ecwootten/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ecwootten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ecwootten/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ecwootten"
}
|
[
{
"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"
},
{
"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-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 3
| 2020-02-04T14:22:56Z
| 2020-02-05T00:22:03Z
| 2020-02-05T00:22:03Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
This code:
```python
>>> df = pd.DataFrame({'date': ['Aug2020', 'November 2020']})
>>> df['parsed'] = df['date'].apply(pd.to_datetime)
>>> end = df.loc[df['parsed'].idxmax()]
>>> end['parsed'].replace(day=2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'numpy.datetime64' object has no attribute 'replace'
```
worked in Pandas 0.25.3, but raises since 1.0.0.
I think there might be an issue with unboxing values when there are mixed types in the dataframe:
```python
>>> df = pd.DataFrame({'date': ['Aug2020', 'November 2020']})
>>> new = (
... df
... .assign(
... parsed=lambda x: x['date'].apply(pd.to_datetime),
... parsed2 = lambda x: x['date'].apply(pd.to_datetime)
... )
... )
>>> new['parsed'].iloc[0]
Timestamp('2020-08-01 00:00:00')
>>> new.iloc[0]['parsed']
numpy.datetime64('2020-08-01T00:00:00.000000000') # unboxed type
>>> new2 = new.drop(columns=['date'])
>>> new2['parsed'].iloc[0]
Timestamp('2020-08-01 00:00:00')
>>> new2.iloc[0]['parsed']
Timestamp('2020-08-01 00:00:00') # boxed type now that we've dropped the string column
```
#### Problem description
to_datetime can "sometimes" result in a np.datetime64 return type.
np.datetime64 is not a valid return type for to_datetime (https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.to_datetime.html), it should always be a datetimelike.
#### Expected Output
As in previous versions of Pandas:
```python
>>> df = pd.DataFrame({'date': ['Aug2020', 'November 2020']})
>>> df['parsed'] = df['date'].apply(pd.to_datetime)
>>> end = df.loc[df['parsed'].idxmax()]
>>> end['parsed'].replace(day=2)
Timestamp('2020-11-02 00:00:00')
```
#### Output of ``pd.show_versions()``
<details>
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : None.None
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 41.2.0
Cython : 0.29.14
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.10.3
IPython : 7.11.1
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : 3.0.0
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31649/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31649/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31650
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31650/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31650/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31650/events
|
https://github.com/pandas-dev/pandas/issues/31650
| 559,755,268
|
MDU6SXNzdWU1NTk3NTUyNjg=
| 31,650
|
figsize property not accepted for pandas.plotting.autocorrelation_plot - visualization
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7703961?v=4",
"events_url": "https://api.github.com/users/discdiver/events{/privacy}",
"followers_url": "https://api.github.com/users/discdiver/followers",
"following_url": "https://api.github.com/users/discdiver/following{/other_user}",
"gists_url": "https://api.github.com/users/discdiver/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/discdiver",
"id": 7703961,
"login": "discdiver",
"node_id": "MDQ6VXNlcjc3MDM5NjE=",
"organizations_url": "https://api.github.com/users/discdiver/orgs",
"received_events_url": "https://api.github.com/users/discdiver/received_events",
"repos_url": "https://api.github.com/users/discdiver/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/discdiver/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/discdiver/subscriptions",
"type": "User",
"url": "https://api.github.com/users/discdiver"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10119969?v=4",
"events_url": "https://api.github.com/users/jqmviegas/events{/privacy}",
"followers_url": "https://api.github.com/users/jqmviegas/followers",
"following_url": "https://api.github.com/users/jqmviegas/following{/other_user}",
"gists_url": "https://api.github.com/users/jqmviegas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jqmviegas",
"id": 10119969,
"login": "jqmviegas",
"node_id": "MDQ6VXNlcjEwMTE5OTY5",
"organizations_url": "https://api.github.com/users/jqmviegas/orgs",
"received_events_url": "https://api.github.com/users/jqmviegas/received_events",
"repos_url": "https://api.github.com/users/jqmviegas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jqmviegas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jqmviegas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jqmviegas"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/10119969?v=4",
"events_url": "https://api.github.com/users/jqmviegas/events{/privacy}",
"followers_url": "https://api.github.com/users/jqmviegas/followers",
"following_url": "https://api.github.com/users/jqmviegas/following{/other_user}",
"gists_url": "https://api.github.com/users/jqmviegas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jqmviegas",
"id": 10119969,
"login": "jqmviegas",
"node_id": "MDQ6VXNlcjEwMTE5OTY5",
"organizations_url": "https://api.github.com/users/jqmviegas/orgs",
"received_events_url": "https://api.github.com/users/jqmviegas/received_events",
"repos_url": "https://api.github.com/users/jqmviegas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jqmviegas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jqmviegas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jqmviegas"
}
] | null | 2
| 2020-02-04T14:27:26Z
| 2021-07-27T05:49:30Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
from pd.plotting import autocorrelation_plot
# read a subset of sales data from rossman sales data into a DataFrame
# set Date column to the index
autocorrelation_plot(df_sales['Sales'], figsize=(10, 8))
```
#### Problem description
Plotting works fine without the `figsize` argument, but errors with it. Stack trace below.
Other pandas.plotting charts accept a `figsize` argument.
#### Expected Output
```
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-15-df3d57963679> in <module>
----> 1 auto_plot(df_sales['Sales'], figsize=(10, 8))
~/miniconda3/envs/main/lib/python3.7/site-packages/pandas/plotting/_misc.py in autocorrelation_plot(series, ax, **kwargs)
418 """
419 plot_backend = _get_plot_backend("matplotlib")
--> 420 return plot_backend.autocorrelation_plot(series=series, ax=ax, **kwargs)
421
422
~/miniconda3/envs/main/lib/python3.7/site-packages/pandas/plotting/_matplotlib/misc.py in autocorrelation_plot(series, ax, **kwds)
425 ax.set_xlabel("Lag")
426 ax.set_ylabel("Autocorrelation")
--> 427 ax.plot(x, y, **kwds)
428 if "label" in kwds:
429 ax.legend()
~/miniconda3/envs/main/lib/python3.7/site-packages/matplotlib/__init__.py in inner(ax, *args, **kwargs)
1865 "the Matplotlib list!)" % (label_namer, func.__name__),
1866 RuntimeWarning, stacklevel=2)
-> 1867 return func(ax, *args, **kwargs)
1868
1869 inner.__doc__ = _add_data_doc(inner.__doc__,
~/miniconda3/envs/main/lib/python3.7/site-packages/matplotlib/axes/_axes.py in plot(self, *args, **kwargs)
1526 kwargs = cbook.normalize_kwargs(kwargs, _alias_map)
1527
-> 1528 for line in self._get_lines(*args, **kwargs):
1529 self.add_line(line)
1530 lines.append(line)
~/miniconda3/envs/main/lib/python3.7/site-packages/matplotlib/axes/_base.py in _grab_next_args(self, *args, **kwargs)
404 this += args[0],
405 args = args[1:]
--> 406 for seg in self._plot_args(this, kwargs):
407 yield seg
408
~/miniconda3/envs/main/lib/python3.7/site-packages/matplotlib/axes/_base.py in _plot_args(self, tup, kwargs)
394 "with non-matching shapes is deprecated.")
395 for j in xrange(max(ncx, ncy)):
--> 396 seg = func(x[:, j % ncx], y[:, j % ncy], kw, kwargs)
397 ret.append(seg)
398 return ret
~/miniconda3/envs/main/lib/python3.7/site-packages/matplotlib/axes/_base.py in _makeline(self, x, y, kw, kwargs)
298 default_dict = self._getdefaults(None, kw)
299 self._setdefaults(default_dict, kw)
--> 300 seg = mlines.Line2D(x, y, **kw)
301 return seg
302
~/miniconda3/envs/main/lib/python3.7/site-packages/matplotlib/lines.py in __init__(self, xdata, ydata, linewidth, linestyle, color, marker, markersize, markeredgewidth, markeredgecolor, markerfacecolor, markerfacecoloralt, fillstyle, antialiased, dash_capstyle, solid_capstyle, dash_joinstyle, solid_joinstyle, pickradius, drawstyle, markevery, **kwargs)
419 # update kwargs before updating data to give the caller a
420 # chance to init axes (and hence unit support)
--> 421 self.update(kwargs)
422 self.pickradius = pickradius
423 self.ind_offset = 0
~/miniconda3/envs/main/lib/python3.7/site-packages/matplotlib/artist.py in update(self, props)
886 try:
887 ret = [_update_property(self, k, v)
--> 888 for k, v in props.items()]
889 finally:
890 self.eventson = store
~/miniconda3/envs/main/lib/python3.7/site-packages/matplotlib/artist.py in <listcomp>(.0)
886 try:
887 ret = [_update_property(self, k, v)
--> 888 for k, v in props.items()]
889 finally:
890 self.eventson = store
~/miniconda3/envs/main/lib/python3.7/site-packages/matplotlib/artist.py in _update_property(self, k, v)
879 func = getattr(self, 'set_' + k, None)
880 if not callable(func):
--> 881 raise AttributeError('Unknown property %s' % k)
882 return func(v)
883
AttributeError: Unknown property figsize
```
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.1.0.post20200127
Cython : 0.29.14
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.11.1
pandas_datareader: None
bs4 : 4.8.1
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 2.2.4
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.3.1
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/31650/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31650/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31651
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31651/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31651/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31651/events
|
https://github.com/pandas-dev/pandas/pull/31651
| 559,776,349
|
MDExOlB1bGxSZXF1ZXN0MzcwODg0NDI3
| 31,651
|
PERF: Cache MultiIndex.levels
|
{
"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": "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": "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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 3
| 2020-02-04T15:00:02Z
| 2020-02-04T20:08:40Z
| 2020-02-04T19:26:00Z
|
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/31648.
This should have been caught by the benchmark MultiIdnex.time_index_slice. Confirming that now..
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31651/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31651/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31651.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31651",
"merged_at": "2020-02-04T19:25:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31651.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31651"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31652
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31652/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31652/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31652/events
|
https://github.com/pandas-dev/pandas/pull/31652
| 559,782,259
|
MDExOlB1bGxSZXF1ZXN0MzcwODg5MzY1
| 31,652
|
BUG: avoid specifying default coerce_timestamps in to_parquet
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
}
] |
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-02-04T15:09:16Z
| 2020-10-03T05:07:49Z
| 2020-02-05T01:09:00Z
|
MEMBER
| null |
Looking into the usage question of https://github.com/pandas-dev/pandas/issues/31572, I noticed that specifying the version to allow writing nanoseconds to parquet worked in plain pyarrow code, but not with pandas' `to_parquet`.
This is because we hardcode `coerce_timestamps="ms"` while the default is `None`, which has version-dependent behaviour (eg if version="2.0", actually write the nanosecond data)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31652/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31652/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31652.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31652",
"merged_at": "2020-02-05T01:09:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31652.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31652"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31653
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31653/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31653/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31653/events
|
https://github.com/pandas-dev/pandas/pull/31653
| 559,798,040
|
MDExOlB1bGxSZXF1ZXN0MzcwOTAyMzgy
| 31,653
|
ENH: Timestamp constructor now raises more explanatory error message
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4",
"events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}",
"followers_url": "https://api.github.com/users/fujiaxiang/followers",
"following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}",
"gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fujiaxiang",
"id": 5236149,
"login": "fujiaxiang",
"node_id": "MDQ6VXNlcjUyMzYxNDk=",
"organizations_url": "https://api.github.com/users/fujiaxiang/orgs",
"received_events_url": "https://api.github.com/users/fujiaxiang/received_events",
"repos_url": "https://api.github.com/users/fujiaxiang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fujiaxiang"
}
|
[
{
"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": "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-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-02-04T15:33:34Z
| 2020-05-29T10:48:00Z
| 2020-02-26T02:19:00Z
|
MEMBER
| null |
Timestamp constructor now raises explanatory error message when year, month or day is missing
- [x] closes #31200
- [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/31653/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31653/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31653.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31653",
"merged_at": "2020-02-26T02:19:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31653.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31653"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31654
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31654/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31654/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31654/events
|
https://github.com/pandas-dev/pandas/pull/31654
| 559,831,089
|
MDExOlB1bGxSZXF1ZXN0MzcwOTI5ODc1
| 31,654
|
Backport PR #31528 on branch 1.0.x (REGR: Categorical with np.str_ categories)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-04T16:24:38Z
| 2020-02-04T19:25:21Z
| 2020-02-04T19:25:21Z
|
NONE
| null |
Backport PR #31528: REGR: Categorical with np.str_ categories
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31654/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31654/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31654.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31654",
"merged_at": "2020-02-04T19:25:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31654.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31654"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31655
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31655/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31655/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31655/events
|
https://github.com/pandas-dev/pandas/pull/31655
| 559,835,113
|
MDExOlB1bGxSZXF1ZXN0MzcwOTMzMTIx
| 31,655
|
REF: call _convert_scalar_indexer upfront in Series.__getitem__
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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-02-04T16:30:51Z
| 2020-02-05T02:47:04Z
| 2020-02-05T02:44:44Z
|
MEMBER
| null |
This simplifies a try/except block and moves us towards being able to tighten what we accept in _convert_scalar_indexer among others. I think we'll soon be able to get rid of the kludge on L866/868.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31655/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31655/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31655.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31655",
"merged_at": "2020-02-05T02:44:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31655.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31655"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31656
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31656/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31656/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31656/events
|
https://github.com/pandas-dev/pandas/pull/31656
| 559,851,083
|
MDExOlB1bGxSZXF1ZXN0MzcwOTQ2MDEx
| 31,656
|
Backport PR #31502 on branch 1.0.x (BUG: Fixed IntervalArray[int].shift)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-04T16:56:19Z
| 2020-02-04T19:25:31Z
| 2020-02-04T19:25:30Z
|
NONE
| null |
Backport PR #31502: BUG: Fixed IntervalArray[int].shift
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31656/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31656/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31656.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31656",
"merged_at": "2020-02-04T19:25:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31656.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31656"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31657
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31657/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31657/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31657/events
|
https://github.com/pandas-dev/pandas/issues/31657
| 559,866,103
|
MDU6SXNzdWU1NTk4NjYxMDM=
| 31,657
|
https://pandas.pydata.org/pandas-docs/version/ gives a 403 Forbidden error.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/110564?v=4",
"events_url": "https://api.github.com/users/dumbledad/events{/privacy}",
"followers_url": "https://api.github.com/users/dumbledad/followers",
"following_url": "https://api.github.com/users/dumbledad/following{/other_user}",
"gists_url": "https://api.github.com/users/dumbledad/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dumbledad",
"id": 110564,
"login": "dumbledad",
"node_id": "MDQ6VXNlcjExMDU2NA==",
"organizations_url": "https://api.github.com/users/dumbledad/orgs",
"received_events_url": "https://api.github.com/users/dumbledad/received_events",
"repos_url": "https://api.github.com/users/dumbledad/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dumbledad/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dumbledad/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dumbledad"
}
|
[] |
closed
| false
| null |
[] | null | 2
| 2020-02-04T17:21:49Z
| 2020-02-05T15:50:44Z
| 2020-02-05T15:50:44Z
|
NONE
| null |
On the pandas website at https://pandas.pydata.org/ if I click on the drop-down menu titled 'documentation' and then select 'older versions' I am taken to https://pandas.pydata.org/pandas-docs/version/ which gives a 403 Forbidden error.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31657/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31657/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31658
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31658/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31658/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31658/events
|
https://github.com/pandas-dev/pandas/pull/31658
| 559,890,557
|
MDExOlB1bGxSZXF1ZXN0MzcwOTc4MTY2
| 31,658
|
API: allow step!=1 slice with IntervalIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
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-02-04T18:08:44Z
| 2020-03-09T18:05:33Z
| 2020-03-08T16:11:22Z
|
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
See discussion https://github.com/pandas-dev/pandas/pull/16386#discussion_r374807689
cc @jorisvandenbossche @jschendel
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31658/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31658/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31658.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31658",
"merged_at": "2020-03-08T16:11:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31658.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31658"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31659
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31659/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31659/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31659/events
|
https://github.com/pandas-dev/pandas/pull/31659
| 559,892,004
|
MDExOlB1bGxSZXF1ZXN0MzcwOTc5Mzc2
| 31,659
|
check first and last points' labels are correct
|
{
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
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-02-04T18:11:52Z
| 2020-02-25T17:12:16Z
| 2020-02-05T01:02:58Z
|
MEMBER
| null |
- [ ] closes #31580
- [ ] 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/31659/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31659/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31659.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31659",
"merged_at": "2020-02-05T01:02:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31659.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31659"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31660
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31660/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31660/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31660/events
|
https://github.com/pandas-dev/pandas/pull/31660
| 559,905,526
|
MDExOlB1bGxSZXF1ZXN0MzcwOTkwMzQ1
| 31,660
|
Replaced .format with f- strings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/43350185?v=4",
"events_url": "https://api.github.com/users/leandermaben/events{/privacy}",
"followers_url": "https://api.github.com/users/leandermaben/followers",
"following_url": "https://api.github.com/users/leandermaben/following{/other_user}",
"gists_url": "https://api.github.com/users/leandermaben/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leandermaben",
"id": 43350185,
"login": "leandermaben",
"node_id": "MDQ6VXNlcjQzMzUwMTg1",
"organizations_url": "https://api.github.com/users/leandermaben/orgs",
"received_events_url": "https://api.github.com/users/leandermaben/received_events",
"repos_url": "https://api.github.com/users/leandermaben/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leandermaben/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leandermaben/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leandermaben"
}
|
[
{
"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": "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"
}
| 4
| 2020-02-04T18:39:33Z
| 2020-02-05T20:22:31Z
| 2020-02-05T01:00:29Z
|
CONTRIBUTOR
| null |
xref #29547
for
- [ ] pandas/util/_print_versions.py
- [ ] pandas/tests/tseries/frequencies/test_to_offset.py
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31660/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31660/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31660.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31660",
"merged_at": "2020-02-05T01:00:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31660.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31660"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31661
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31661/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31661/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31661/events
|
https://github.com/pandas-dev/pandas/issues/31661
| 559,915,680
|
MDU6SXNzdWU1NTk5MTU2ODA=
| 31,661
|
DOC: See also missing links in GroupBy.apply(), GroupBy.pipe()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1920463?v=4",
"events_url": "https://api.github.com/users/srvanrell/events{/privacy}",
"followers_url": "https://api.github.com/users/srvanrell/followers",
"following_url": "https://api.github.com/users/srvanrell/following{/other_user}",
"gists_url": "https://api.github.com/users/srvanrell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/srvanrell",
"id": 1920463,
"login": "srvanrell",
"node_id": "MDQ6VXNlcjE5MjA0NjM=",
"organizations_url": "https://api.github.com/users/srvanrell/orgs",
"received_events_url": "https://api.github.com/users/srvanrell/received_events",
"repos_url": "https://api.github.com/users/srvanrell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/srvanrell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/srvanrell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/srvanrell"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
open
| false
|
{
"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"
}
] |
{
"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"
}
| 6
| 2020-02-04T19:00:19Z
| 2020-02-05T03:08:08Z
| null |
CONTRIBUTOR
| null | ERROR: type should be string, got "\r\nhttps://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.groupby.GroupBy.pipe.html#pandas.core.groupby.GroupBy.pipe\r\n\r\nhttps://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.groupby.GroupBy.pipe.html#pandas.core.groupby.GroupBy.apply\r\n\r\n#### Problem description\r\n\r\nGroupBy.apply() and GroupBy.pipe() have missing links in their See also section. Might be other missing links in other functions of GroupBy.\r\n\r\nSpecifically, the links that are not working are Series.apply, DataFrame.apply, Series.pipe, DataFrame.pipe\r\n\r\n#### Expected Output\r\n\r\nLinks should take you to named functions\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/31661/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31661/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31662
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31662/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31662/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31662/events
|
https://github.com/pandas-dev/pandas/pull/31662
| 559,916,954
|
MDExOlB1bGxSZXF1ZXN0MzcwOTk5NTg0
| 31,662
|
CLN: MultiIndex.get_value is a hive of scum and villainy
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "207de5",
"default": false,
"description": 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-02-04T19:02:45Z
| 2020-02-05T01:07:52Z
| 2020-02-05T00:59:33Z
|
MEMBER
| null |
This will in turn allow for simplification for other code that has built up kludges around MultiIndex.get_value's 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/31662/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31662/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31662.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31662",
"merged_at": "2020-02-05T00:59:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31662.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31662"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31663
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31663/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31663/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31663/events
|
https://github.com/pandas-dev/pandas/issues/31663
| 559,939,549
|
MDU6SXNzdWU1NTk5Mzk1NDk=
| 31,663
|
Documentation for divmod and rdivmod gives wrong return type
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4398863?v=4",
"events_url": "https://api.github.com/users/stephendavidmarsh/events{/privacy}",
"followers_url": "https://api.github.com/users/stephendavidmarsh/followers",
"following_url": "https://api.github.com/users/stephendavidmarsh/following{/other_user}",
"gists_url": "https://api.github.com/users/stephendavidmarsh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stephendavidmarsh",
"id": 4398863,
"login": "stephendavidmarsh",
"node_id": "MDQ6VXNlcjQzOTg4NjM=",
"organizations_url": "https://api.github.com/users/stephendavidmarsh/orgs",
"received_events_url": "https://api.github.com/users/stephendavidmarsh/received_events",
"repos_url": "https://api.github.com/users/stephendavidmarsh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stephendavidmarsh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stephendavidmarsh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stephendavidmarsh"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26288229?v=4",
"events_url": "https://api.github.com/users/naterarmstrong/events{/privacy}",
"followers_url": "https://api.github.com/users/naterarmstrong/followers",
"following_url": "https://api.github.com/users/naterarmstrong/following{/other_user}",
"gists_url": "https://api.github.com/users/naterarmstrong/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/naterarmstrong",
"id": 26288229,
"login": "naterarmstrong",
"node_id": "MDQ6VXNlcjI2Mjg4MjI5",
"organizations_url": "https://api.github.com/users/naterarmstrong/orgs",
"received_events_url": "https://api.github.com/users/naterarmstrong/received_events",
"repos_url": "https://api.github.com/users/naterarmstrong/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/naterarmstrong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/naterarmstrong/subscriptions",
"type": "User",
"url": "https://api.github.com/users/naterarmstrong"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/26288229?v=4",
"events_url": "https://api.github.com/users/naterarmstrong/events{/privacy}",
"followers_url": "https://api.github.com/users/naterarmstrong/followers",
"following_url": "https://api.github.com/users/naterarmstrong/following{/other_user}",
"gists_url": "https://api.github.com/users/naterarmstrong/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/naterarmstrong",
"id": 26288229,
"login": "naterarmstrong",
"node_id": "MDQ6VXNlcjI2Mjg4MjI5",
"organizations_url": "https://api.github.com/users/naterarmstrong/orgs",
"received_events_url": "https://api.github.com/users/naterarmstrong/received_events",
"repos_url": "https://api.github.com/users/naterarmstrong/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/naterarmstrong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/naterarmstrong/subscriptions",
"type": "User",
"url": "https://api.github.com/users/naterarmstrong"
}
] |
{
"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-02-04T19:46:43Z
| 2020-02-12T01:39:07Z
| 2020-02-12T01:39:07Z
|
NONE
| null |
See https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.divmod.html#pandas.Series.divmod
and https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.rdivmod.html#pandas.Series.rdivmod
The documentation incorrectly says that the `divmod` and `rdivmod` returns Series. However, both methods actually return 2-tuples containing two series.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31663/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31663/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31664
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31664/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31664/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31664/events
|
https://github.com/pandas-dev/pandas/pull/31664
| 559,948,807
|
MDExOlB1bGxSZXF1ZXN0MzcxMDI1NzQx
| 31,664
|
Backport PR #31651: PERF: Cache MultiIndex.levels
|
{
"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"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-04T20:04:26Z
| 2020-02-04T21:25:00Z
| 2020-02-04T21:24:44Z
|
CONTRIBUTOR
| null |
Manual backport for https://github.com/pandas-dev/pandas/pull/31651.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31664/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31664/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31664.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31664",
"merged_at": "2020-02-04T21:24:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31664.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31664"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31665
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31665/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31665/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31665/events
|
https://github.com/pandas-dev/pandas/pull/31665
| 559,950,691
|
MDExOlB1bGxSZXF1ZXN0MzcxMDI3MzA4
| 31,665
|
whatsnew for MultiIndex levels caching
|
{
"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": "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 | 0
| 2020-02-04T20:08:16Z
| 2020-02-04T21:25:04Z
| 2020-02-04T21:24:57Z
|
CONTRIBUTOR
| null |
(cherry picked from commit 103840e974a4c8548fccab86cabc6a3161bd94e8)
Included in https://github.com/pandas-dev/pandas/pull/31664. So this won't need to be backported.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31665/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31665/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31665.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31665",
"merged_at": "2020-02-04T21:24:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31665.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31665"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31666
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31666/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31666/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31666/events
|
https://github.com/pandas-dev/pandas/pull/31666
| 559,959,592
|
MDExOlB1bGxSZXF1ZXN0MzcxMDM0NjA0
| 31,666
|
BUG: Block.iget not wrapping timedelta64/datetime64
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 3
| 2020-02-04T20:26:39Z
| 2020-02-05T08:44:26Z
| 2020-02-05T00:22:03Z
|
MEMBER
| null |
- [x] closes #31649
- [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/31666/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31666/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31666.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31666",
"merged_at": "2020-02-05T00:22:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31666.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31666"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31667
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31667/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31667/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31667/events
|
https://github.com/pandas-dev/pandas/pull/31667
| 560,008,286
|
MDExOlB1bGxSZXF1ZXN0MzcxMDc0ODI1
| 31,667
|
BUG: fixes bug when using sep=None and comment keyword for read_csv
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24706421?v=4",
"events_url": "https://api.github.com/users/s-scherrer/events{/privacy}",
"followers_url": "https://api.github.com/users/s-scherrer/followers",
"following_url": "https://api.github.com/users/s-scherrer/following{/other_user}",
"gists_url": "https://api.github.com/users/s-scherrer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/s-scherrer",
"id": 24706421,
"login": "s-scherrer",
"node_id": "MDQ6VXNlcjI0NzA2NDIx",
"organizations_url": "https://api.github.com/users/s-scherrer/orgs",
"received_events_url": "https://api.github.com/users/s-scherrer/received_events",
"repos_url": "https://api.github.com/users/s-scherrer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/s-scherrer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/s-scherrer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/s-scherrer"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-02-04T22:07:59Z
| 2020-03-03T03:02:28Z
| 2020-03-03T03:02:24Z
|
CONTRIBUTOR
| null |
- [x] closes #31396
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry - added
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31667/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31667/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31667.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31667",
"merged_at": "2020-03-03T03:02:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31667.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31667"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31668
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31668/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31668/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31668/events
|
https://github.com/pandas-dev/pandas/pull/31668
| 560,013,308
|
MDExOlB1bGxSZXF1ZXN0MzcxMDc4OTUx
| 31,668
|
REGR: Fixed handling of Categorical in cython ops
|
{
"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": "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": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 3
| 2020-02-04T22:19:19Z
| 2020-02-05T13:23:23Z
| 2020-02-05T00:31:26Z
|
CONTRIBUTOR
| null |
Fixed by falling back to the wrapped Python version when the cython
version raises NotImplementedError.
Closes https://github.com/pandas-dev/pandas/issues/31450
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31668/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31668/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31668.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31668",
"merged_at": "2020-02-05T00:31:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31668.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31668"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31669
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31669/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31669/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31669/events
|
https://github.com/pandas-dev/pandas/pull/31669
| 560,027,458
|
MDExOlB1bGxSZXF1ZXN0MzcxMDkwNjk4
| 31,669
|
CLN: remove kwargs from signature of (Index|MultiIndex).copy
|
{
"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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-02-04T22:52:42Z
| 2020-02-12T21:48:50Z
| 2020-02-09T17:30:24Z
|
CONTRIBUTOR
| null |
Removes ``**kwargs`` from ``Index.copy`` and ``MultiIndex.copy``.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31669/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31669/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31669.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31669",
"merged_at": "2020-02-09T17:30:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31669.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31669"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31670
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31670/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31670/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31670/events
|
https://github.com/pandas-dev/pandas/issues/31670
| 560,027,651
|
MDU6SXNzdWU1NjAwMjc2NTE=
| 31,670
|
groupby fails when MultiIndex contains Int64Index in an empty DataFrame in 1.0.0
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/22333776?v=4",
"events_url": "https://api.github.com/users/jdfinsf/events{/privacy}",
"followers_url": "https://api.github.com/users/jdfinsf/followers",
"following_url": "https://api.github.com/users/jdfinsf/following{/other_user}",
"gists_url": "https://api.github.com/users/jdfinsf/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jdfinsf",
"id": 22333776,
"login": "jdfinsf",
"node_id": "MDQ6VXNlcjIyMzMzNzc2",
"organizations_url": "https://api.github.com/users/jdfinsf/orgs",
"received_events_url": "https://api.github.com/users/jdfinsf/received_events",
"repos_url": "https://api.github.com/users/jdfinsf/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jdfinsf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jdfinsf/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jdfinsf"
}
|
[
{
"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": "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-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 5
| 2020-02-04T22:53:05Z
| 2020-02-05T10:17:06Z
| 2020-02-05T10:17:06Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
df = pd.DataFrame(
[[123, "a", 1.0], [123, "b", 2.0]],
columns=["id", "category", "value"]
)
df = df.set_index(["id", "category"])
df[df.value < 0].groupby("id").sum()
```
#### Problem description
When groupby is over a `Int64Index` in a `MultiIndex` for an empty DataFrame, the groupby fails with error: `ValueError: Unable to fill values because Int64Index cannot contain NA`
#### Expected Output
The groupby should not raise an error, instead the code above should output an empty DataFrame as would happen for `df[df.value < 0].groupby("category").sum()`
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.9.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.2
dateutil : 2.8.0
pip : 18.1
setuptools : 41.6.0
Cython : None
pytest : 5.1.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.8.3 (dt dec pq3 ext lo64)
jinja2 : 2.10.1
IPython : 7.8.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.13.0
pytables : None
pytest : 5.1.2
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.6
tables : None
tabulate : 0.8.6
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
numba : None
```
</details>
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31670/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31670/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31671
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31671/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31671/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31671/events
|
https://github.com/pandas-dev/pandas/pull/31671
| 560,027,694
|
MDExOlB1bGxSZXF1ZXN0MzcxMDkwOTAx
| 31,671
|
Backport PR #31477 on branch 1.0.x (REGR: Fix TypeError in groupby min / max of period column)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-04T22:53:09Z
| 2020-02-05T00:22:44Z
| 2020-02-05T00:22:44Z
|
NONE
| null |
Backport PR #31477: REGR: Fix TypeError in groupby min / max of period column
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31671/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31671/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31671.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31671",
"merged_at": "2020-02-05T00:22:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31671.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31671"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31672
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31672/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31672/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31672/events
|
https://github.com/pandas-dev/pandas/pull/31672
| 560,031,222
|
MDExOlB1bGxSZXF1ZXN0MzcxMDkzODU5
| 31,672
|
REF: move convert_scalar out of cython
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-02-04T23:01:56Z
| 2020-02-05T02:50:39Z
| 2020-02-05T02:45:09Z
|
MEMBER
| null |
There's nothing about this that particularly benefits from being in cython (I think until recently this was used within index.pyx) and its clearer in python. Plus we get a slightly smaller/faster build.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31672/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31672/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31672.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31672",
"merged_at": "2020-02-05T02:45:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31672.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31672"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31673
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31673/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31673/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31673/events
|
https://github.com/pandas-dev/pandas/pull/31673
| 560,034,183
|
MDExOlB1bGxSZXF1ZXN0MzcxMDk2Mjk2
| 31,673
|
CLN: misc tslibs, annotations, unused imports
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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-02-04T23:09:40Z
| 2020-02-05T00:48:50Z
| 2020-02-05T00:46: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/31673/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31673/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31673.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31673",
"merged_at": "2020-02-05T00:46:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31673.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31673"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31674
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31674/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31674/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31674/events
|
https://github.com/pandas-dev/pandas/pull/31674
| 560,035,835
|
MDExOlB1bGxSZXF1ZXN0MzcxMDk3NjM3
| 31,674
|
CLN: assorted cleanups in indexes/
|
{
"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-02-04T23:14:09Z
| 2020-02-05T00:45:56Z
| 2020-02-05T00:42:25Z
|
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/31674/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31674/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31674.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31674",
"merged_at": "2020-02-05T00:42:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31674.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31674"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31675
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31675/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31675/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31675/events
|
https://github.com/pandas-dev/pandas/pull/31675
| 560,039,200
|
MDExOlB1bGxSZXF1ZXN0MzcxMTAwNDcw
| 31,675
|
CLN: Remove CategoricalAccessor._deprecations
|
{
"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": "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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-02-04T23:23:05Z
| 2020-02-12T21:49:03Z
| 2020-02-05T00:43:13Z
|
CONTRIBUTOR
| null |
These deprecated attributes have all been removed, so ``._deprecated`` is no longer needed.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31675/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31675/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31675.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31675",
"merged_at": "2020-02-05T00:43:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31675.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31675"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31676
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31676/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31676/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31676/events
|
https://github.com/pandas-dev/pandas/pull/31676
| 560,039,413
|
MDExOlB1bGxSZXF1ZXN0MzcxMTAwNjUw
| 31,676
|
REF: make _convert_scalar_indexer require a scalar
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
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-02-04T23:23:40Z
| 2020-02-05T01:08:33Z
| 2020-02-05T00:56:42Z
|
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/31676/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31676/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31676.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31676",
"merged_at": "2020-02-05T00:56:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31676.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31676"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31677
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31677/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31677/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31677/events
|
https://github.com/pandas-dev/pandas/issues/31677
| 560,056,886
|
MDU6SXNzdWU1NjAwNTY4ODY=
| 31,677
|
Pandas excel output specify column names to write is broken in 1.0.0
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18202940?v=4",
"events_url": "https://api.github.com/users/mikemc3/events{/privacy}",
"followers_url": "https://api.github.com/users/mikemc3/followers",
"following_url": "https://api.github.com/users/mikemc3/following{/other_user}",
"gists_url": "https://api.github.com/users/mikemc3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mikemc3",
"id": 18202940,
"login": "mikemc3",
"node_id": "MDQ6VXNlcjE4MjAyOTQw",
"organizations_url": "https://api.github.com/users/mikemc3/orgs",
"received_events_url": "https://api.github.com/users/mikemc3/received_events",
"repos_url": "https://api.github.com/users/mikemc3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mikemc3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mikemc3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mikemc3"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "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
|
{
"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"
}
] |
{
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"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": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 2
| 2020-02-05T00:06:23Z
| 2020-02-06T23:41:13Z
| 2020-02-06T23:41:13Z
|
NONE
| null |
#### Example code:
df = pd.DataFrame(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]),columns=['col_a', 'col_b', 'col_c'])
excelwritename = '/tmp/Test%s.xlsx' %pd.datetime.now(pytz.timezone('US/Pacific')).strftime('%b%d_%I_%M %p')
with pd.ExcelWriter(excelwritename, engine='xlsxwriter',datetime_format='mmm dd yyyy hh:mm AM/PM') as writer:
df.to_excel(writer,columns=['col_a','col_b'],sheet_name = 'xyz')
#### Problem description:
specifying column names to output to excel is no longer working in pandas 1.0.0 and it outputs all columns in the df.
Checked different versions of xlsxwriter, but pandas 0.25.3 works fine, while 1.0.0 does not.
#### Expected Output
It should only output columns that are specified, but it outputs all columns of df
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Darwin
OS-release : 19.2.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.1.0.post20200127
Cython : 0.29.14
pytest : 5.3.4
hypothesis : 4.54.2
sphinx : 2.3.1
blosc : None
feather : None
xlsxwriter : 1.2.0
lxml.etree : 4.4.2
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
jinja2 : 2.10.3
IPython : 7.11.1
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.1
fastparquet : None
gcsfs : None
lxml.etree : 4.4.2
matplotlib : 3.1.1
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.3.4
pyxlsb : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.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/31677/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31677/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31678
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31678/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31678/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31678/events
|
https://github.com/pandas-dev/pandas/pull/31678
| 560,069,783
|
MDExOlB1bGxSZXF1ZXN0MzcxMTI3MjM5
| 31,678
|
Backport PR #31668 on branch 1.0.x (REGR: Fixed handling of Categorical in cython ops)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "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-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T00:31:37Z
| 2020-02-05T07:31:27Z
| 2020-02-05T07:31:27Z
|
NONE
| null |
Backport PR #31668: REGR: Fixed handling of Categorical in cython ops
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31678/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31678/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31678.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31678",
"merged_at": "2020-02-05T07:31:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31678.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31678"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31679
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31679/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31679/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31679/events
|
https://github.com/pandas-dev/pandas/pull/31679
| 560,076,609
|
MDExOlB1bGxSZXF1ZXN0MzcxMTMyNzQy
| 31,679
|
REGR: fix op(frame, frame2) with reindex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"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": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 16
| 2020-02-05T00:55:52Z
| 2020-02-19T10:00:44Z
| 2020-02-19T00:26:28Z
|
MEMBER
| null |
- [x] closes #31623
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
cc @TomAugspurger this is pretty ugly, and I'm not sure how well it will behave if either frame has MultiIndex colums.
On the plus side, it could improve perf in the many-columns-but-small-intersection case.
The ugliness might be improved by moving this check to before the _align_method_FRAME call
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31679/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31679/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31679.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31679",
"merged_at": "2020-02-19T00:26:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31679.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31679"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31680
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31680/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31680/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31680/events
|
https://github.com/pandas-dev/pandas/pull/31680
| 560,118,124
|
MDExOlB1bGxSZXF1ZXN0MzcxMTY1NTYy
| 31,680
|
CLN: remove libindex.get_value_at
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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-02-05T03:29:43Z
| 2020-02-07T00:06:45Z
| 2020-02-07T00:04:21Z
|
MEMBER
| null |
There was a usage in MultiIndex.get_value that was just removed, leaving just the one in sparse.array that this changes to handle in python-space.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31680/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31680/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31680.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31680",
"merged_at": "2020-02-07T00:04:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31680.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31680"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31681
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31681/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31681/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31681/events
|
https://github.com/pandas-dev/pandas/pull/31681
| 560,124,547
|
MDExOlB1bGxSZXF1ZXN0MzcxMTcwNjAw
| 31,681
|
REF: Use _maybe_cast_indexer and dont override Categorical.get_loc
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-02-05T03:55:04Z
| 2020-02-07T00:05:47Z
| 2020-02-06T23:59:31Z
|
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/31681/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31681/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31681.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31681",
"merged_at": "2020-02-06T23:59:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31681.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31681"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31682
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31682/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31682/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31682/events
|
https://github.com/pandas-dev/pandas/issues/31682
| 560,126,427
|
MDU6SXNzdWU1NjAxMjY0Mjc=
| 31,682
|
pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead. from pandas.util.testing import assert_frame_equal
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/34638611?v=4",
"events_url": "https://api.github.com/users/LLancelot/events{/privacy}",
"followers_url": "https://api.github.com/users/LLancelot/followers",
"following_url": "https://api.github.com/users/LLancelot/following{/other_user}",
"gists_url": "https://api.github.com/users/LLancelot/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LLancelot",
"id": 34638611,
"login": "LLancelot",
"node_id": "MDQ6VXNlcjM0NjM4NjEx",
"organizations_url": "https://api.github.com/users/LLancelot/orgs",
"received_events_url": "https://api.github.com/users/LLancelot/received_events",
"repos_url": "https://api.github.com/users/LLancelot/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LLancelot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LLancelot/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LLancelot"
}
|
[
{
"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"
}
| 7
| 2020-02-05T04:02:58Z
| 2020-08-30T05:04:56Z
| 2020-02-15T09:02:04Z
|
NONE
| null |
Does anyone could help?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31682/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31682/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31683
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31683/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31683/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31683/events
|
https://github.com/pandas-dev/pandas/issues/31683
| 560,129,377
|
MDU6SXNzdWU1NjAxMjkzNzc=
| 31,683
|
Why does CategoricalIndex.get_value call _convert_scalar_indexer?
|
{
"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 | 5
| 2020-02-05T04:14:54Z
| 2020-02-07T00:12:53Z
| 2020-02-07T00:12:52Z
|
MEMBER
| null |
cc @jreback @jorisvandenbossche @TomAugspurger the meat of CategoricalIndex.get_value reads:
```
def get_value(self, series, key):
k = key
try:
k = self._convert_scalar_indexer(k, kind="getitem")
indexer = self.get_loc(k)
return series.take([indexer])[0]
except (KeyError, TypeError):
pass
# we might be a positional inexer
return Index.get_value(self, series, key)
```
The thing is, if we actually track down that _convert_scalar_indexer call, with `kind="getitem"` it always passes through to the base class method, which ends up checking:
```
if kind == "getitem" and is_float(key):
if not self.is_floating():
self._invalid_indexer("label", key)
```
But AFAICT `CategoricalIndex.is_floating()` is always False, so it looks like the call in `get_value` is a no-op, which I expect was not the original intention.
Also possibly undesired:
```
idx = pd.Index(range(4)).astype("f8") / 2
cidx = pd.CategoricalIndex(idx)
ser1 = pd.Series(range(4), index=idx)
ser2 = pd.Series(range(4), index=cidx)
>>> ser1[1.0]
2
>>> ser2[1.0]
[...] TypeError [...]
>>> ser1[2]
[...] KeyError [...]
>>> ser2[2]
2
```
Can anyone confirm if the no-op call and/or different `__getitem__` behavior is intentional?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31683/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31683/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31684
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31684/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31684/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31684/events
|
https://github.com/pandas-dev/pandas/pull/31684
| 560,172,378
|
MDExOlB1bGxSZXF1ZXN0MzcxMjA4NzAx
| 31,684
|
BUG: string methods with NA
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16578178?v=4",
"events_url": "https://api.github.com/users/prakhar987/events{/privacy}",
"followers_url": "https://api.github.com/users/prakhar987/followers",
"following_url": "https://api.github.com/users/prakhar987/following{/other_user}",
"gists_url": "https://api.github.com/users/prakhar987/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/prakhar987",
"id": 16578178,
"login": "prakhar987",
"node_id": "MDQ6VXNlcjE2NTc4MTc4",
"organizations_url": "https://api.github.com/users/prakhar987/orgs",
"received_events_url": "https://api.github.com/users/prakhar987/received_events",
"repos_url": "https://api.github.com/users/prakhar987/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/prakhar987/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prakhar987/subscriptions",
"type": "User",
"url": "https://api.github.com/users/prakhar987"
}
|
[
{
"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": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"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": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 10
| 2020-02-05T06:41:15Z
| 2020-03-10T14:09:34Z
| 2020-03-10T14:08:01Z
|
CONTRIBUTOR
| null |
- [x] closes #31632
- [ ] 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/31684/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31684/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31684.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31684",
"merged_at": "2020-03-10T14:08:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31684.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31684"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31685
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31685/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31685/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31685/events
|
https://github.com/pandas-dev/pandas/pull/31685
| 560,214,735
|
MDExOlB1bGxSZXF1ZXN0MzcxMjQzMzIy
| 31,685
|
Backport PR #31614: REGR: fix non-reduction apply with tz-aware objects
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T08:30:02Z
| 2020-02-05T09:35:53Z
| 2020-02-05T09:35:44Z
|
MEMBER
| null |
backport https://github.com/pandas-dev/pandas/pull/31614
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31685/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31685/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31685.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31685",
"merged_at": "2020-02-05T09:35:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31685.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31685"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31686
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31686/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31686/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31686/events
|
https://github.com/pandas-dev/pandas/pull/31686
| 560,217,614
|
MDExOlB1bGxSZXF1ZXN0MzcxMjQ1NjU4
| 31,686
|
DOC: fixup v1.0.1 whatsnew entries
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "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-02-05T08:36:47Z
| 2020-02-05T08:40:18Z
| 2020-02-05T08:39:55Z
|
MEMBER
| null |
Fixing the merge of https://github.com/pandas-dev/pandas/pull/31614
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31686/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31686/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31686.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31686",
"merged_at": "2020-02-05T08:39:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31686.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31686"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31687
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31687/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31687/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31687/events
|
https://github.com/pandas-dev/pandas/issues/31687
| 560,220,934
|
MDU6SXNzdWU1NjAyMjA5MzQ=
| 31,687
|
pd.where OverflowError with large numbers
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1334557?v=4",
"events_url": "https://api.github.com/users/wailashi/events{/privacy}",
"followers_url": "https://api.github.com/users/wailashi/followers",
"following_url": "https://api.github.com/users/wailashi/following{/other_user}",
"gists_url": "https://api.github.com/users/wailashi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wailashi",
"id": 1334557,
"login": "wailashi",
"node_id": "MDQ6VXNlcjEzMzQ1NTc=",
"organizations_url": "https://api.github.com/users/wailashi/orgs",
"received_events_url": "https://api.github.com/users/wailashi/received_events",
"repos_url": "https://api.github.com/users/wailashi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wailashi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wailashi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wailashi"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/229540?v=4",
"events_url": "https://api.github.com/users/suvayu/events{/privacy}",
"followers_url": "https://api.github.com/users/suvayu/followers",
"following_url": "https://api.github.com/users/suvayu/following{/other_user}",
"gists_url": "https://api.github.com/users/suvayu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/suvayu",
"id": 229540,
"login": "suvayu",
"node_id": "MDQ6VXNlcjIyOTU0MA==",
"organizations_url": "https://api.github.com/users/suvayu/orgs",
"received_events_url": "https://api.github.com/users/suvayu/received_events",
"repos_url": "https://api.github.com/users/suvayu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/suvayu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/suvayu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/suvayu"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/229540?v=4",
"events_url": "https://api.github.com/users/suvayu/events{/privacy}",
"followers_url": "https://api.github.com/users/suvayu/followers",
"following_url": "https://api.github.com/users/suvayu/following{/other_user}",
"gists_url": "https://api.github.com/users/suvayu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/suvayu",
"id": 229540,
"login": "suvayu",
"node_id": "MDQ6VXNlcjIyOTU0MA==",
"organizations_url": "https://api.github.com/users/suvayu/orgs",
"received_events_url": "https://api.github.com/users/suvayu/received_events",
"repos_url": "https://api.github.com/users/suvayu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/suvayu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/suvayu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/suvayu"
}
] | null | 13
| 2020-02-05T08:43:50Z
| 2021-07-28T04:38:36Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
df = pd.DataFrame([[1.0, 2e25],[np.nan, 0.1]])
# Works when applied to individual columns
print(df[0].where(pd.notnull(df[0]), None))
print(df[1].where(pd.notnull(df[1]), None))
# Breaks for whole dataframe
print(df.where(pd.notnull(df), None))
```
#### Problem description
The above code does not work with 1.0.0, but used to work with at least 0.25.0.
Replacing large floats with pd.where breaks
Running pd.where on a dataframe that contains large float values and the replacement value is of a different dtype throws `OverflowError: int too big to convert`:
```
applied = getattr(b, f)(**kwargs)
File "***\venv\lib\site-packages\pandas\core\internals\blocks.py", line 1426, in where
return self._maybe_downcast(blocks, "infer")
File "***\venv\lib\site-packages\pandas\core\internals\blocks.py", line 514, in _maybe_downcast
return _extend_blocks([b.downcast(downcast) for b in blocks])
File "***\venv\lib\site-packages\pandas\core\internals\blocks.py", line 514, in <listcomp>
return _extend_blocks([b.downcast(downcast) for b in blocks])
File "***\venv\lib\site-packages\pandas\core\internals\blocks.py", line 552, in downcast
return self.split_and_operate(None, f, False)
File "***\venv\lib\site-packages\pandas\core\internals\blocks.py", line 496, in split_and_operate
nv = f(m, v, i)
File "***\venv\lib\site-packages\pandas\core\internals\blocks.py", line 549, in f
val = maybe_downcast_to_dtype(val, dtype="infer")
File "***\venv\lib\site-packages\pandas\core\dtypes\cast.py", line 135, in maybe_downcast_to_dtype
converted = maybe_downcast_numeric(result, dtype, do_round)
File "***\venv\lib\site-packages\pandas\core\dtypes\cast.py", line 222, in maybe_downcast_numeric
new_result = trans(result).astype(dtype)
OverflowError: int too big to convert
```
Replacing data one column at a time works.
#### Expected Output
```
Name: 1, dtype: float64
0 1
0 1 2e+25
1 None 0.1
```
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.0.0
numpy : 1.16.2
pytz : 2018.9
dateutil : 2.8.0
pip : 10.0.1
setuptools : 39.1.0
Cython : None
pytest : 4.4.0
hypothesis : None
sphinx : 2.0.0
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.3.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.3.3
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 4.4.0
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : 1.3.3
tables : None
tabulate : None
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/31687/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31687/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31688
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31688/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31688/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31688/events
|
https://github.com/pandas-dev/pandas/pull/31688
| 560,221,579
|
MDExOlB1bGxSZXF1ZXN0MzcxMjQ4OTAx
| 31,688
|
Backport PR #31666: BUG: Block.iget not wrapping timedelta64/datetime64
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T08:45:09Z
| 2020-02-05T09:47:35Z
| 2020-02-05T09:47:31Z
|
MEMBER
| null |
Backport of https://github.com/pandas-dev/pandas/pull/31666
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31688/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31688/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31688.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31688",
"merged_at": "2020-02-05T09:47:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31688.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31688"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31689
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31689/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31689/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31689/events
|
https://github.com/pandas-dev/pandas/pull/31689
| 560,222,838
|
MDExOlB1bGxSZXF1ZXN0MzcxMjQ5OTI5
| 31,689
|
Backport PR #29243 on branch 1.0.x (Follow up PR: #28097 Simplify branch statement)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T08:47:51Z
| 2020-02-05T09:47:57Z
| 2020-02-05T09:47:56Z
|
NONE
| null |
Backport PR #29243: Follow up PR: #28097 Simplify branch statement
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31689/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31689/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31689.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31689",
"merged_at": "2020-02-05T09:47:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31689.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31689"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31690
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31690/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31690/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31690/events
|
https://github.com/pandas-dev/pandas/pull/31690
| 560,228,687
|
MDExOlB1bGxSZXF1ZXN0MzcxMjU0NzIw
| 31,690
|
TST: add test for regression in groupby with empty MultiIndex level
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T09:00:05Z
| 2020-02-05T10:17:11Z
| 2020-02-05T10:17:06Z
|
MEMBER
| null |
Closes https://github.com/pandas-dev/pandas/issues/31670 (the actual fix was already in #29243)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31690/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31690/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31690.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31690",
"merged_at": "2020-02-05T10:17:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31690.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31690"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31691
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31691/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31691/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31691/events
|
https://github.com/pandas-dev/pandas/issues/31691
| 560,267,731
|
MDU6SXNzdWU1NjAyNjc3MzE=
| 31,691
|
Inconsistent kwargs argument 'color' passed to upstream matplotlib plot functions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10172392?v=4",
"events_url": "https://api.github.com/users/xuancong84/events{/privacy}",
"followers_url": "https://api.github.com/users/xuancong84/followers",
"following_url": "https://api.github.com/users/xuancong84/following{/other_user}",
"gists_url": "https://api.github.com/users/xuancong84/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xuancong84",
"id": 10172392,
"login": "xuancong84",
"node_id": "MDQ6VXNlcjEwMTcyMzky",
"organizations_url": "https://api.github.com/users/xuancong84/orgs",
"received_events_url": "https://api.github.com/users/xuancong84/received_events",
"repos_url": "https://api.github.com/users/xuancong84/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xuancong84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xuancong84/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xuancong84"
}
|
[
{
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
| null |
[] | null | 14
| 2020-02-05T10:11:50Z
| 2020-12-14T17:27:38Z
| 2020-12-14T17:27:38Z
|
NONE
| null |
In matplotlib.pyplot.bar , there is a keyword argument called 'color' which can control the color of all bars as well as each bar, e.g.,
<img width="639" alt="image" src="https://user-images.githubusercontent.com/10172392/73830682-08257200-4840-11ea-9aa0-64bb6bb2b9ab.png">
However, in Pandas DataFrame.plot.bar, by passing a list into 'color', the color of all bars is controlled only by the 1st element in the list, i.e.,
<img width="630" alt="image" src="https://user-images.githubusercontent.com/10172392/73831000-900b7c00-4840-11ea-8121-fe139365fdfc.png">
Ironically, if we pass in a list of list into 'color', we can control the color of each bar, i.e.,
<img width="651" alt="image" src="https://user-images.githubusercontent.com/10172392/73832150-9995e380-4842-11ea-9e35-6345364168b5.png">
So my question is why the behavior of the 'color' argument different from that in matplotlib? Is this intended inconsistency?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31691/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31691/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31692
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31692/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31692/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31692/events
|
https://github.com/pandas-dev/pandas/pull/31692
| 560,270,921
|
MDExOlB1bGxSZXF1ZXN0MzcxMjg5Mzg5
| 31,692
|
Backport PR #31690 on branch 1.0.x (TST: add test for regression in groupby with empty MultiIndex level)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T10:17:17Z
| 2020-02-05T11:09:51Z
| 2020-02-05T11:09:51Z
|
NONE
| null |
Backport PR #31690: TST: add test for regression in groupby with empty MultiIndex level
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31692/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31692/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31692.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31692",
"merged_at": "2020-02-05T11:09:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31692.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31692"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31693
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31693/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31693/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31693/events
|
https://github.com/pandas-dev/pandas/issues/31693
| 560,287,338
|
MDU6SXNzdWU1NjAyODczMzg=
| 31,693
|
Timestamps are coerced to different types in 0.25.3 and 1.0.0 when selecting a row
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/38034577?v=4",
"events_url": "https://api.github.com/users/oalfred/events{/privacy}",
"followers_url": "https://api.github.com/users/oalfred/followers",
"following_url": "https://api.github.com/users/oalfred/following{/other_user}",
"gists_url": "https://api.github.com/users/oalfred/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/oalfred",
"id": 38034577,
"login": "oalfred",
"node_id": "MDQ6VXNlcjM4MDM0NTc3",
"organizations_url": "https://api.github.com/users/oalfred/orgs",
"received_events_url": "https://api.github.com/users/oalfred/received_events",
"repos_url": "https://api.github.com/users/oalfred/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/oalfred/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/oalfred/subscriptions",
"type": "User",
"url": "https://api.github.com/users/oalfred"
}
|
[] |
closed
| false
| null |
[] | null | 2
| 2020-02-05T10:45:52Z
| 2020-02-05T12:10:34Z
| 2020-02-05T12:10:34Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
df = pd.DataFrame({'TIME': [pd.to_datetime('2020-01-01 12:00')], 'STRING': ['ABC']})
print(type(df.iloc[0]['TIME']))
```
#### Problem description
In 0.25.3 the code above results in `<class 'pandas._libs.tslibs.timestamps.Timestamp'>` whereas in 1.0.0 it is `numpy.datetime64`. I could not find anything about this specifically in the release notes. Is it intended?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31693/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31693/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31694
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31694/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31694/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31694/events
|
https://github.com/pandas-dev/pandas/issues/31694
| 560,304,014
|
MDU6SXNzdWU1NjAzMDQwMTQ=
| 31,694
|
ENH: Support dateutil.tz.tzrange objects
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6661307?v=4",
"events_url": "https://api.github.com/users/Tux1/events{/privacy}",
"followers_url": "https://api.github.com/users/Tux1/followers",
"following_url": "https://api.github.com/users/Tux1/following{/other_user}",
"gists_url": "https://api.github.com/users/Tux1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Tux1",
"id": 6661307,
"login": "Tux1",
"node_id": "MDQ6VXNlcjY2NjEzMDc=",
"organizations_url": "https://api.github.com/users/Tux1/orgs",
"received_events_url": "https://api.github.com/users/Tux1/received_events",
"repos_url": "https://api.github.com/users/Tux1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Tux1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tux1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Tux1"
}
|
[
{
"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": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
open
| false
| null |
[] | null | 1
| 2020-02-05T11:16:21Z
| 2020-02-05T17:57:47Z
| null |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
mytz = dateutil.tz.tzrange("EST", -18000, "EDT", -14400,
dateutil.relativedelta.relativedelta(hours=+2, month=4,
weekday=dateutil.relativedelta.SU(+1)),
dateutil.relativedelta.relativedelta(hours=+1, month=10,
weekday=dateutil.relativedelta.SU(-1)))
pd.to_datetime('20190204', utc=True).tz_convert(mytz)
```
> ---------------------------------------------------------------------------
> AttributeError Traceback (most recent call last)
> pandas\_libs\tslibs\timezones.pyx in pandas._libs.tslibs.timezones.get_dst_info()
>
> AttributeError: 'NoneType' object has no attribute 'total_seconds'
> Exception ignored in: 'pandas._libs.tslibs.conversion.localize_tso'
> Traceback (most recent call last):
> File "pandas\_libs\tslibs\timezones.pyx", line 220, in pandas._libs.tslibs.timezones.get_dst_info
> AttributeError: 'NoneType' object has no attribute 'total_seconds'
> Out[243]: Timestamp('2019-02-04 00:00:00')
#### Problem description
`tz_convert` fails on custom timezone with DST provided. Here is the example with `dateutil` but it would fail with any custom timezone with DST offset
#### Expected Output
`Timestamp('2019-02-03 19:00:00-0500', tz='mytz')`
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 0.25.1
numpy : 1.16.5
pytz : 2019.3
dateutil : 2.8.0
pip : 19.2.3
setuptools : 41.4.0
Cython : 0.29.13
pytest : 5.2.1
hypothesis : None
sphinx : 2.2.0
blosc : None
feather : None
xlsxwriter : 1.2.1
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.8.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.1.1
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.0
pandas_gbq : None
pyarrow : 0.13.0
pytables : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.9
tables : 3.5.2
xarray : 0.14.0
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.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/31694/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31694/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31695
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31695/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31695/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31695/events
|
https://github.com/pandas-dev/pandas/pull/31695
| 560,315,969
|
MDExOlB1bGxSZXF1ZXN0MzcxMzI2NzQ2
| 31,695
|
DOC: Removed Notes from DataFrame.applymap
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39258575?v=4",
"events_url": "https://api.github.com/users/r0cketr1kky/events{/privacy}",
"followers_url": "https://api.github.com/users/r0cketr1kky/followers",
"following_url": "https://api.github.com/users/r0cketr1kky/following{/other_user}",
"gists_url": "https://api.github.com/users/r0cketr1kky/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/r0cketr1kky",
"id": 39258575,
"login": "r0cketr1kky",
"node_id": "MDQ6VXNlcjM5MjU4NTc1",
"organizations_url": "https://api.github.com/users/r0cketr1kky/orgs",
"received_events_url": "https://api.github.com/users/r0cketr1kky/received_events",
"repos_url": "https://api.github.com/users/r0cketr1kky/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/r0cketr1kky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/r0cketr1kky/subscriptions",
"type": "User",
"url": "https://api.github.com/users/r0cketr1kky"
}
|
[
{
"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 | 9
| 2020-02-05T11:40:05Z
| 2020-06-03T07:53:19Z
| 2020-06-03T07:53:19Z
|
CONTRIBUTOR
| null |
- closes #31620
Documentation screenshot:

|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31695/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31695/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31695.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31695",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31695.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31695"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31696
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31696/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31696/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31696/events
|
https://github.com/pandas-dev/pandas/issues/31696
| 560,360,457
|
MDU6SXNzdWU1NjAzNjA0NTc=
| 31,696
|
Where did check_bool_array_indexer move to?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5131271?v=4",
"events_url": "https://api.github.com/users/achapkowski/events{/privacy}",
"followers_url": "https://api.github.com/users/achapkowski/followers",
"following_url": "https://api.github.com/users/achapkowski/following{/other_user}",
"gists_url": "https://api.github.com/users/achapkowski/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/achapkowski",
"id": 5131271,
"login": "achapkowski",
"node_id": "MDQ6VXNlcjUxMzEyNzE=",
"organizations_url": "https://api.github.com/users/achapkowski/orgs",
"received_events_url": "https://api.github.com/users/achapkowski/received_events",
"repos_url": "https://api.github.com/users/achapkowski/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/achapkowski/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/achapkowski/subscriptions",
"type": "User",
"url": "https://api.github.com/users/achapkowski"
}
|
[] |
closed
| false
| null |
[] | null | 2
| 2020-02-05T13:07:27Z
| 2020-02-05T13:39:07Z
| 2020-02-05T13:36:13Z
|
NONE
| null |
I was leveraging the following:
```
pd.api.indexers.check_bool_array_indexer
```
And at v1.0.0, it is gone, what is the comparable operation to this?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31696/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31696/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31697
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31697/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31697/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31697/events
|
https://github.com/pandas-dev/pandas/issues/31697
| 560,361,772
|
MDU6SXNzdWU1NjAzNjE3NzI=
| 31,697
|
`DataFrame.resample()` breaks when rule parameter is of type `DateOffset`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2169351?v=4",
"events_url": "https://api.github.com/users/thejonan/events{/privacy}",
"followers_url": "https://api.github.com/users/thejonan/followers",
"following_url": "https://api.github.com/users/thejonan/following{/other_user}",
"gists_url": "https://api.github.com/users/thejonan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thejonan",
"id": 2169351,
"login": "thejonan",
"node_id": "MDQ6VXNlcjIxNjkzNTE=",
"organizations_url": "https://api.github.com/users/thejonan/orgs",
"received_events_url": "https://api.github.com/users/thejonan/received_events",
"repos_url": "https://api.github.com/users/thejonan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thejonan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thejonan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thejonan"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] |
open
| false
| null |
[] | null | 5
| 2020-02-05T13:09:50Z
| 2021-07-28T04:40:05Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
# Some exemplary data
df = pd.DataFrame({'Timestamp': pd.date_range('2020-01', '2020-03', periods=5),
'Amount': [5, 10, 15, 20, 25]}, columns=['Timestamp', 'Amount'])
working = df.resample('MS', on='Timestamp').sum() # This one works
failing = df.resample(pd.DateOffset(months=1), on='Timestamp').sum() # This one fails
```
#### Problem description
According to the documentation, the `rule=` parameter of `DataFrame.resample()` can be of type `DateOffset`, `Timedelta` or `str`. Apparently, it actually expects some of the `DateOffset` subclasses (like `MonthEnd`, `BusinessDay`, etc.), because `rule_code` attribute is not defined in the parent class. Hence, the error:
```
File "~/.conda/envs/py37-simple/lib/python3.7/site-packages/pandas/core/generic.py", line 8114, in resample
level=level,
File "~/.conda/envs/py37-simple/lib/python3.7/site-packages/pandas/core/resample.py", line 1269, in resample
tg = TimeGrouper(**kwds)
File "~/.conda/envs/py37-simple/lib/python3.7/site-packages/pandas/core/resample.py", line 1341, in __init__
rule = freq.rule_code
File "~/.conda/envs/py37-simple/lib/python3.7/site-packages/pandas/tseries/offsets.py", line 460, in rule_code
return self._prefix
File "~/.conda/envs/py37-simple/lib/python3.7/site-packages/pandas/tseries/offsets.py", line 456, in _prefix
raise NotImplementedError("Prefix not defined")
NotImplementedError: Prefix not defined
```
#### Expected Output
The `resample()` method is expected to work with plain `DateOffset` instances passed for `rule=` attribute.
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Darwin
OS-release : 19.3.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 44.0.0.post20200106
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.1
IPython : 7.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 5,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 5,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31697/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31697/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31698
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31698/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31698/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31698/events
|
https://github.com/pandas-dev/pandas/pull/31698
| 560,371,502
|
MDExOlB1bGxSZXF1ZXN0MzcxMzczMDcz
| 31,698
|
Backport PR #31596 on branch 1.0.x (BUG: read_csv used in file like object RawIOBase is not recognize encoding option)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T13:27:18Z
| 2020-02-05T14:16:21Z
| 2020-02-05T14:16:20Z
|
NONE
| null |
Backport PR #31596: BUG: read_csv used in file like object RawIOBase is not recognize encoding option
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31698/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31698/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31698.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31698",
"merged_at": "2020-02-05T14:16:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31698.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31698"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31699
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31699/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31699/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31699/events
|
https://github.com/pandas-dev/pandas/pull/31699
| 560,385,260
|
MDExOlB1bGxSZXF1ZXN0MzcxMzg0NDA0
| 31,699
|
DOC: Update 1.0.1 release notes
|
{
"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": "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-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T13:51:06Z
| 2020-02-05T15:28:25Z
| 2020-02-05T14:43:22Z
|
CONTRIBUTOR
| null |
cc @jorisvandenbossche
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31699/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31699/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31699.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31699",
"merged_at": "2020-02-05T14:43:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31699.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31699"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31700
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31700/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31700/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31700/events
|
https://github.com/pandas-dev/pandas/pull/31700
| 560,402,352
|
MDExOlB1bGxSZXF1ZXN0MzcxMzk4NTMy
| 31,700
|
TYP: remove type:ignore from pandas/io/common.py
|
{
"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": "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"
}
| 2
| 2020-02-05T14:19:24Z
| 2020-02-05T15:20:32Z
| 2020-02-05T15:12:31Z
|
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/31700/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31700/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31700.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31700",
"merged_at": "2020-02-05T15:12:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31700.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31700"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31701
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31701/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31701/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31701/events
|
https://github.com/pandas-dev/pandas/pull/31701
| 560,410,621
|
MDExOlB1bGxSZXF1ZXN0MzcxNDA1NDA2
| 31,701
|
started to fixturize pandas/tests/base
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
}
|
[
{
"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 | 2
| 2020-02-05T14:32:07Z
| 2020-02-15T01:22:29Z
| 2020-02-15T01:12:49Z
|
CONTRIBUTOR
| null |
Part of #23877
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
-------------------------------------------
I didn't apply the fixtures to the rest of `test_ops.py` yet since @jreback voiced some [concerns in this comment](https://github.com/pandas-dev/pandas/pull/30147#discussion_r356587642).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31701/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31701/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31701.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31701",
"merged_at": "2020-02-15T01:12:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31701.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31701"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31702
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31702/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31702/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31702/events
|
https://github.com/pandas-dev/pandas/pull/31702
| 560,418,070
|
MDExOlB1bGxSZXF1ZXN0MzcxNDExNTI1
| 31,702
|
Backport PR #31699 on branch 1.0.x (DOC: Update 1.0.1 release notes)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T14:43:33Z
| 2020-02-05T15:22:37Z
| 2020-02-05T15:22:36Z
|
NONE
| null |
Backport PR #31699: DOC: Update 1.0.1 release notes
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31702/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31702/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31702.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31702",
"merged_at": "2020-02-05T15:22:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31702.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31702"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31703
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31703/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31703/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31703/events
|
https://github.com/pandas-dev/pandas/pull/31703
| 560,425,863
|
MDExOlB1bGxSZXF1ZXN0MzcxNDE4MDA1
| 31,703
|
Backport PR #31616 on branch 1.0.x (REGR: Fixed AssertionError in groupby)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T14:55:38Z
| 2020-02-05T15:40:56Z
| 2020-02-05T15:40:56Z
|
NONE
| null |
Backport PR #31616: REGR: Fixed AssertionError in groupby
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31703/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31703/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31703.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31703",
"merged_at": "2020-02-05T15:40:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31703.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31703"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31704
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31704/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31704/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31704/events
|
https://github.com/pandas-dev/pandas/pull/31704
| 560,446,826
|
MDExOlB1bGxSZXF1ZXN0MzcxNDM1MjMw
| 31,704
|
DOC: fix contributors listing for v1.0.1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "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-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 1
| 2020-02-05T15:28:05Z
| 2020-02-05T15:54:43Z
| 2020-02-05T15:54:39Z
|
MEMBER
| null |
Follow-up on https://github.com/pandas-dev/pandas/pull/31699
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31704/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31704/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31704.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31704",
"merged_at": "2020-02-05T15:54:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31704.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31704"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31705
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31705/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31705/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31705/events
|
https://github.com/pandas-dev/pandas/issues/31705
| 560,451,471
|
MDU6SXNzdWU1NjA0NTE0NzE=
| 31,705
|
Add `shift` to `dt` accessor
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/34656862?v=4",
"events_url": "https://api.github.com/users/giuliobeseghi/events{/privacy}",
"followers_url": "https://api.github.com/users/giuliobeseghi/followers",
"following_url": "https://api.github.com/users/giuliobeseghi/following{/other_user}",
"gists_url": "https://api.github.com/users/giuliobeseghi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/giuliobeseghi",
"id": 34656862,
"login": "giuliobeseghi",
"node_id": "MDQ6VXNlcjM0NjU2ODYy",
"organizations_url": "https://api.github.com/users/giuliobeseghi/orgs",
"received_events_url": "https://api.github.com/users/giuliobeseghi/received_events",
"repos_url": "https://api.github.com/users/giuliobeseghi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/giuliobeseghi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/giuliobeseghi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/giuliobeseghi"
}
|
[
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] |
open
| false
| null |
[] | null | 2
| 2020-02-05T15:35:28Z
| 2021-07-28T04:40:49Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
df = pd.DataFrame(
{
"date": pd.date_range("2020", freq="D", periods=10),
"value": np.random.rand(10),
}
)
shifted_dates = df.date.dt.shift(1)
```
#### Problem description
I always thought that the `dt` accessor should replicate more or less the functionality of a DatetimeIndex to a series or a column of a dataframe. If I can do it with a DatetimeIndex, I should be able to do it with a collection of datetimes too, right?
#### Expected Output
This is my workaround to obtain the expected output. It's not very nice.
```python
index = df.set_index("date").index
index.freq = index.inferred_freq
shifted_dates = df.date.copy()
shifted_dates[:] = index.shift(1)
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.1.0.post20200127
Cython : 0.29.14
pytest : 5.3.5
hypothesis : 5.4.1
sphinx : 2.3.1
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.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 : 0.4.0
scipy : 1.3.2
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/31705/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31705/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31706
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31706/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31706/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31706/events
|
https://github.com/pandas-dev/pandas/pull/31706
| 560,463,853
|
MDExOlB1bGxSZXF1ZXN0MzcxNDQ5NDQz
| 31,706
|
Backport PR #31704 on branch 1.0.x (DOC: fix contributors listing for v1.0.1)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T15:54:50Z
| 2020-02-05T15:57:47Z
| 2020-02-05T15:57:47Z
|
NONE
| null |
Backport PR #31704: DOC: fix contributors listing for v1.0.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/31706/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31706/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31706.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31706",
"merged_at": "2020-02-05T15:57:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31706.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31706"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31707
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31707/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31707/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31707/events
|
https://github.com/pandas-dev/pandas/pull/31707
| 560,479,684
|
MDExOlB1bGxSZXF1ZXN0MzcxNDYyNTMz
| 31,707
|
Manul backport of pr 31666 on 1.0.x
|
{
"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 | 2
| 2020-02-05T16:18:53Z
| 2020-02-05T16:27:11Z
| 2020-02-05T16:27:00Z
|
MEMBER
| null |
Kind of confused, it looks like the test implemented by 31666 already got backported?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31707/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31707/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31707.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31707",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31707.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31707"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31708
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31708/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31708/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31708/events
|
https://github.com/pandas-dev/pandas/issues/31708
| 560,492,729
|
MDU6SXNzdWU1NjA0OTI3Mjk=
| 31,708
|
Series.astype(str, skipna=True) vanished in the 1.0 release
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1336287?v=4",
"events_url": "https://api.github.com/users/languitar/events{/privacy}",
"followers_url": "https://api.github.com/users/languitar/followers",
"following_url": "https://api.github.com/users/languitar/following{/other_user}",
"gists_url": "https://api.github.com/users/languitar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/languitar",
"id": 1336287,
"login": "languitar",
"node_id": "MDQ6VXNlcjEzMzYyODc=",
"organizations_url": "https://api.github.com/users/languitar/orgs",
"received_events_url": "https://api.github.com/users/languitar/received_events",
"repos_url": "https://api.github.com/users/languitar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/languitar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/languitar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/languitar"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
open
| false
| null |
[] | null | 14
| 2020-02-05T16:39:32Z
| 2021-04-06T16:01:03Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
pd.Series([None, 42]).astype(str, skipna=True)
```
results in `TypeError: astype() got an unexpected keyword argument 'skipna'`
#### Problem description
The provided snippet used to work before the 1.0 release. With the `skipna` argument, the `None` was preserved as a real `np.nan` type, instead of being converted to the string `nan`. The `skipna` argument seems to have gone in the 1.0 release and I can't find any way to restore this behavior without a custom function being passed to `apply`.
#### Expected Output
A series with `[np.nan, '42']`
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.1.final.0
python-bits : 64
OS : Linux
OS-release : 5.5.1-arch1-1
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.utf8
LOCALE : en_US.UTF-8
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3
setuptools : 44.0.0
Cython : None
pytest : 5.3.5
hypothesis : None
sphinx : 2.2.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.2
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: 0.8.1
bs4 : 4.8.2
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.4.2
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : None
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 : 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/31708/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31708/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31709
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31709/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31709/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31709/events
|
https://github.com/pandas-dev/pandas/pull/31709
| 560,495,041
|
MDExOlB1bGxSZXF1ZXN0MzcxNDc1Mzcw
| 31,709
|
CLN: _convert_scalar_indexer only handle "loc" and "getitem"
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-02-05T16:43:15Z
| 2020-02-07T01:54:35Z
| 2020-02-07T01:46:52Z
|
MEMBER
| null |
`_convert_scalar_indexer` is called with kind="iloc" from only one place, and in that case
1) the base class method is equivalent to just the 1-liner `self._validate_indexer("positional", key, "iloc")`
2) all subclasses just call the base class method
So by inlining that 1-liner, we can take the "iloc" case out of `_convert_scalar_indexer` altogether.
kind=None is never passed, so we can rip that right out.
Ultimately I want to disentable/de-duplicate/disambiguate `_convert_scalar_indexer` vs `_maybe_cast_indexer`
Partial overlap with #31625.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31709/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31709/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31709.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31709",
"merged_at": "2020-02-07T01:46:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31709.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31709"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31710
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31710/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31710/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31710/events
|
https://github.com/pandas-dev/pandas/issues/31710
| 560,497,639
|
MDU6SXNzdWU1NjA0OTc2Mzk=
| 31,710
|
ValueError: buffer source array is read-only
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/684364?v=4",
"events_url": "https://api.github.com/users/kernc/events{/privacy}",
"followers_url": "https://api.github.com/users/kernc/followers",
"following_url": "https://api.github.com/users/kernc/following{/other_user}",
"gists_url": "https://api.github.com/users/kernc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kernc",
"id": 684364,
"login": "kernc",
"node_id": "MDQ6VXNlcjY4NDM2NA==",
"organizations_url": "https://api.github.com/users/kernc/orgs",
"received_events_url": "https://api.github.com/users/kernc/received_events",
"repos_url": "https://api.github.com/users/kernc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kernc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kernc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kernc"
}
|
[
{
"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": "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": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"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": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 9
| 2020-02-05T16:47:31Z
| 2020-10-16T21:35:56Z
| 2020-03-17T01:34:15Z
|
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
>>> index = pd.date_range('2020', 'now', freq='1h')
>>> arr = np.zeros_like(index)
>>> arr.setflags(write=False)
>>> pd.Series(arr, index=index).resample('1d').agg('last')
-------------------------------------------------------------------------
~/pandas/pandas/_libs/groupby.pyx in pandas._libs.groupby.group_last()
~/pandas/pandas/_libs/groupby.cpython-37m-x86_64-linux-gnu.so in View.MemoryView.memoryview_cwrapper()
~/pandas/pandas/_libs/groupby.cpython-37m-x86_64-linux-gnu.so in View.MemoryView.memoryview.__cinit__()
ValueError: buffer source array is read-only
```
#### Problem description
Groupby fails on some read-only buffers (I couldn't quickly reproduce it with `.groupby()` itself, sorry).
The prime solution would be to add `const` specifier to the input `values` here (and related entries):
https://github.com/pandas-dev/pandas/blob/0b6debf825db39f8f63d300cb8007a7996d002fc/pandas/_libs/groupby.pyx#L853
if it were not for Cython's non-support of const fused types (https://github.com/cython/cython/issues/1772), resolved in (https://github.com/cython/cython/pull/3118), but despite [miniscule change](https://github.com/cython/cython/pull/3118/files?file-filters%5B%5D=.py) only scheduled for release in Cython 3.0. I guess wait until then.
#### Expected Output
Resampling/groupby works with read-only arrays.
#### Output of ``pd.show_versions()``
pandas 1.1.0.dev0+361.gf0b00f887
cython 0.29.14
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31710/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31710/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31711
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31711/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31711/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31711/events
|
https://github.com/pandas-dev/pandas/issues/31711
| 560,499,286
|
MDU6SXNzdWU1NjA0OTkyODY=
| 31,711
|
ENH: read_csv parse_dates should use datetime64[us] instead of datetime64[ns] if date out of bound is detected.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3192596?v=4",
"events_url": "https://api.github.com/users/spixi/events{/privacy}",
"followers_url": "https://api.github.com/users/spixi/followers",
"following_url": "https://api.github.com/users/spixi/following{/other_user}",
"gists_url": "https://api.github.com/users/spixi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/spixi",
"id": 3192596,
"login": "spixi",
"node_id": "MDQ6VXNlcjMxOTI1OTY=",
"organizations_url": "https://api.github.com/users/spixi/orgs",
"received_events_url": "https://api.github.com/users/spixi/received_events",
"repos_url": "https://api.github.com/users/spixi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/spixi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/spixi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/spixi"
}
|
[
{
"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 | 5
| 2020-02-05T16:50:12Z
| 2020-02-06T11:54:38Z
| 2020-02-06T00:51:01Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```
import pandas as pd
import numpy as np
df = pd.read_csv("./Artikelstatus_Augsburg.csv", sep=';', parse_dates=['VON_DTM','BIS_DTM'], infer_datetime_format=True)
print(df.info())
print(df.head())
```
```
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 14472 entries, 0 to 14471
Data columns (total 4 columns):
Artikel 14472 non-null int64
ATTRIBUT 14472 non-null int64
VON_DTM 14472 non-null datetime64[ns]
BIS_DTM 14472 non-null object
dtypes: datetime64[ns](1), int64(2), object(1)
memory usage: 452.3+ KB
None
Artikel ATTRIBUT VON_DTM BIS_DTM
0 17 0 2018-10-01 00:00:00 2018-11-21 16:25:18
1 17 3 2018-11-21 16:25:19 2999-12-31 23:59:59
2 35 0 2018-10-01 00:00:00 2018-11-30 11:38:21
3 35 2 2018-11-30 11:38:22 2018-12-04 17:09:05
4 35 0 2018-12-04 17:09:06 2018-12-05 11:09:24
```
#### Problem description
`read_csv` with parameteter `parse_dates` uses `datetime64[ns]` as default. That datatype, however, only covers dates between the years 1678 an 2262. Many systems use hardcoded special dates for `-Inf` or `Inf`, including `0001-01-01 00:00:00`, `2999-12-31 23:59:59` or `9999-12-31 23:59:59`.
The current behavior of `read_csv` is that an `object` column instead of a `datetime64[us]` is returned. Using the `date_parser` argument leads to a huge performance drop and even solutions like `na_values = ['2999-12-31 23:59:59']` do not work.
Instead of an `object` column, a `datetime64[us]` column should be returned, when an out-of-bounds date is found. Possible approaches to solve the issue include autodectection by `csv.Sniffer`, a separate parameter `datetime_unit` or backtracking.
#### Expected Output
```
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 14472 entries, 0 to 14471
Data columns (total 4 columns):
Artikel 14472 non-null int64
ATTRIBUT 14472 non-null int64
VON_DTM 14472 non-null datetime64[ns]
BIS_DTM 14472 non-null datetime64[us]
dtypes: datetime64[ns](1), datetime64[us](1), int64(2)
memory usage: 452.3+ KB
None
Artikel ATTRIBUT VON_DTM BIS_DTM
0 17 0 2018-10-01 00:00:00 2018-11-21 16:25:18
1 17 3 2018-11-21 16:25:19 2999-12-31 23:59:59
2 35 0 2018-10-01 00:00:00 2018-11-30 11:38:21
3 35 2 2018-11-30 11:38:22 2018-12-04 17:09:05
4 35 0 2018-12-04 17:09:06 2018-12-05 11:09:24
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.4.final.0
python-bits: 64
OS: Linux
OS-release: 4.15.0-1052-gcp
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.24.1
pytest: None
pip: 19.2.2
setuptools: 41.0.1
Cython: 0.29.14
numpy: 1.16.4
scipy: 1.3.1
pyarrow: 0.15.1
xarray: None
IPython: 7.8.0
sphinx: 2.2.0
patsy: 0.5.0
dateutil: 2.8.0
pytz: 2019.2
blosc: None
bottleneck: 1.2.1
tables: 3.4.4
numexpr: 2.6.8
feather: None
matplotlib: 3.1.1
openpyxl: None
xlrd: 1.2.0
xlwt: None
xlsxwriter: None
lxml.etree: None
bs4: None
html5lib: None
sqlalchemy: 1.3.10
pymysql: None
psycopg2: None
jinja2: 2.10.1
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/31711/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31711/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31712
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31712/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31712/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31712/events
|
https://github.com/pandas-dev/pandas/pull/31712
| 560,518,845
|
MDExOlB1bGxSZXF1ZXN0MzcxNDk0OTg4
| 31,712
|
DOC Adds newline to dataframe melt
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5402633?v=4",
"events_url": "https://api.github.com/users/thomasjpfan/events{/privacy}",
"followers_url": "https://api.github.com/users/thomasjpfan/followers",
"following_url": "https://api.github.com/users/thomasjpfan/following{/other_user}",
"gists_url": "https://api.github.com/users/thomasjpfan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thomasjpfan",
"id": 5402633,
"login": "thomasjpfan",
"node_id": "MDQ6VXNlcjU0MDI2MzM=",
"organizations_url": "https://api.github.com/users/thomasjpfan/orgs",
"received_events_url": "https://api.github.com/users/thomasjpfan/received_events",
"repos_url": "https://api.github.com/users/thomasjpfan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thomasjpfan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thomasjpfan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thomasjpfan"
}
|
[
{
"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"
}
| 2
| 2020-02-05T17:24:05Z
| 2020-02-05T21:06:32Z
| 2020-02-05T21:06:25Z
|
CONTRIBUTOR
| null |
Adds newline before versionadded in `dataframe.melt` so that sphinx/rst can pick it up and render it correctly.
- [ ] closes #xxxx
- [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/31712/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31712/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31712.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31712",
"merged_at": "2020-02-05T21:06:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31712.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31712"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31713
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31713/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31713/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31713/events
|
https://github.com/pandas-dev/pandas/pull/31713
| 560,527,706
|
MDExOlB1bGxSZXF1ZXN0MzcxNTAyMjMw
| 31,713
|
REF: Index.get_value call self.get_loc instead of self._engine.get_loc
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-02-05T17:41:31Z
| 2020-02-06T23:58:07Z
| 2020-02-06T23:57:36Z
|
MEMBER
| null |
This makes Index.get_value match ExtensionIndex.get_value, so we can remove the latter.
Along with implementing _should_fallback_to_positional, this allows us to rip out Float64Index.get_value.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31713/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31713/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31713.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31713",
"merged_at": "2020-02-06T23:57:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31713.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31713"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31714
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31714/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31714/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31714/events
|
https://github.com/pandas-dev/pandas/pull/31714
| 560,548,177
|
MDExOlB1bGxSZXF1ZXN0MzcxNTE4ODk1
| 31,714
|
DOC: Fix whatsnew in 1.0.x
|
{
"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": "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-02-06T23:38:32Z",
"closed_issues": 103,
"created_at": "2020-01-14T04:04:52Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.0.x",
"due_on": "2020-02-05T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/69",
"id": 5002193,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwMjE5Mw==",
"number": 69,
"open_issues": 0,
"state": "closed",
"title": "1.0.1",
"updated_at": "2020-04-05T10:45:23Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/69"
}
| 0
| 2020-02-05T18:22:20Z
| 2020-02-05T19:08:12Z
| 2020-02-05T19:08:08Z
|
CONTRIBUTOR
| null |
Need to figure out a better system for this :/ I've already tagged and pushed 1.0.1, so I'm applying this to my local doc build.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31714/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31714/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31714.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31714",
"merged_at": "2020-02-05T19:08:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31714.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31714"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.