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/31015
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31015/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31015/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31015/events
|
https://github.com/pandas-dev/pandas/pull/31015
| 549,804,933
|
MDExOlB1bGxSZXF1ZXN0MzYyODI4MDkz
| 31,015
|
DOC: Fixed documented value of `pd.NA ** 0` (#31005)
|
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 0
| 2020-01-14T20:38:39Z
| 2020-01-14T21:33:15Z
| 2020-01-14T21:33:15Z
|
CONTRIBUTOR
| null |
(cherry picked from commit da04c9a8fe6ddbc7028e8721c57d3e62d1da11e3)
Closes https://github.com/pandas-dev/pandas/issues/31003
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31015/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31015/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31015.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31015",
"merged_at": "2020-01-14T21:33:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31015.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31015"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31016
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31016/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31016/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31016/events
|
https://github.com/pandas-dev/pandas/issues/31016
| 549,806,027
|
MDU6SXNzdWU1NDk4MDYwMjc=
| 31,016
|
BUG: pivot_table with multi-index columns only and margins=True gives wrong output or fails
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
|
{
"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"
}
] |
{
"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-01-14T20:40:53Z
| 2020-01-20T20:08:12Z
| 2020-01-20T20:08:12Z
|
MEMBER
| null |
Discovered in #31013 , when `pivot_table` only defines `columns` with single column and with `margins` set to `True`, it will fail.
```python
>>> df = pd.DataFrame({"A": ["foo", "foo", "foo", "foo", "foo","bar", "bar", "bar", "bar"],
"B": ["one", "one", "one", "two", "two","one", "one", "two", "two"],
"C": ["small", "large", "large", "small","small", "large", "small", "small","large"],
"D": [1, 2, 2, 3, 3, 4, 5, 6, 7],
"E": [2, 4, 5, 5, 6, 6, 8, 9, 9]})
>>> df.pivot_table(columns="A", margins=True, aggfunc=np.mean)
KeyError: 'bar'
```
However, when defining two columns, it magically works, but return a wrong shape:
```python
>>> df.pivot_table(columns=["A", "B"], margins=True, aggfunc=np.mean)
A B
D bar one 4.500000
two 6.500000
foo one 1.666667
two 3.000000
All 3.666667
E bar one 7.000000
two 9.000000
foo one 3.666667
two 5.500000
All 6.000000
```
This returns a Series, but A, B should be column index, so should get a DataFrame.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31016/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31016/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31017
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31017/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31017/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31017/events
|
https://github.com/pandas-dev/pandas/pull/31017
| 549,807,471
|
MDExOlB1bGxSZXF1ZXN0MzYyODMwMDg4
| 31,017
|
REG: restore format_type attr
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 9
| 2020-01-14T20:43:43Z
| 2020-01-22T15:47:37Z
| 2020-01-22T14:16:47Z
|
MEMBER
| null |
- [x] closes #30962
cc @TomAugspurger
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31017/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31017/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31017.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31017",
"merged_at": "2020-01-22T14:16:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31017.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31017"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31018
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31018/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31018/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31018/events
|
https://github.com/pandas-dev/pandas/pull/31018
| 549,818,960
|
MDExOlB1bGxSZXF1ZXN0MzYyODM5MjE2
| 31,018
|
BUG: Preserve string dtype in extract
|
{
"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": "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": "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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 2
| 2020-01-14T21:08:01Z
| 2020-01-15T02:56:40Z
| 2020-01-15T02:56:37Z
|
CONTRIBUTOR
| null |
specifically with multiple capture groups and expand=False
Closes https://github.com/pandas-dev/pandas/issues/30969
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31018/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31018/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31018.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31018",
"merged_at": "2020-01-15T02:56:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31018.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31018"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31019
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31019/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31019/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31019/events
|
https://github.com/pandas-dev/pandas/pull/31019
| 549,831,251
|
MDExOlB1bGxSZXF1ZXN0MzYyODQ5NDY0
| 31,019
|
Backport PR #31015 on branch 1.0.x (DOC: Fixed documented value of `pd.NA ** 0` (#31005))
|
{
"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": "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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 0
| 2020-01-14T21:33:28Z
| 2020-01-14T22:16:33Z
| 2020-01-14T22:16:33Z
|
NONE
| null |
Backport PR #31015: DOC: Fixed documented value of `pd.NA ** 0` (#31005)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31019/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31019/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31019.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31019",
"merged_at": "2020-01-14T22:16:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31019.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31019"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31020
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31020/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31020/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31020/events
|
https://github.com/pandas-dev/pandas/pull/31020
| 549,849,691
|
MDExOlB1bGxSZXF1ZXN0MzYyODY0MjU0
| 31,020
|
CLN: remove checks for inferred_dtype==unicode
|
{
"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-01-14T22:14:59Z
| 2020-01-15T03:22:54Z
| 2020-01-15T02:58:07Z
|
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/31020/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31020/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31020.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31020",
"merged_at": "2020-01-15T02:58:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31020.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31020"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31021
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31021/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31021/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31021/events
|
https://github.com/pandas-dev/pandas/pull/31021
| 549,857,133
|
MDExOlB1bGxSZXF1ZXN0MzYyODcwMjgz
| 31,021
|
REF: PeriodIndex.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"
},
{
"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-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-01-14T22:32:30Z
| 2020-01-15T18:40:32Z
| 2020-01-15T03:08:51Z
|
MEMBER
| null |
xref #30874 which does similar cleanup for TimedeltaIndex.
Do all parsing/casting/conversion before call to self._engine or super() methods (xref #30948)
Fix+test integers incorrectly getting through.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31021/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31021/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31021.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31021",
"merged_at": "2020-01-15T03:08:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31021.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31021"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31022
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31022/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31022/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31022/events
|
https://github.com/pandas-dev/pandas/pull/31022
| 549,857,238
|
MDExOlB1bGxSZXF1ZXN0MzYyODcwMzY3
| 31,022
|
doc: update copyright year
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/782446?v=4",
"events_url": "https://api.github.com/users/simon04/events{/privacy}",
"followers_url": "https://api.github.com/users/simon04/followers",
"following_url": "https://api.github.com/users/simon04/following{/other_user}",
"gists_url": "https://api.github.com/users/simon04/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simon04",
"id": 782446,
"login": "simon04",
"node_id": "MDQ6VXNlcjc4MjQ0Ng==",
"organizations_url": "https://api.github.com/users/simon04/orgs",
"received_events_url": "https://api.github.com/users/simon04/received_events",
"repos_url": "https://api.github.com/users/simon04/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simon04/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simon04/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simon04"
}
|
[
{
"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-01-14T22:32:47Z
| 2020-01-15T03:05:05Z
| 2020-01-15T03:04:47Z
|
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/31022/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31022/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31022.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31022",
"merged_at": "2020-01-15T03:04:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31022.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31022"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31023
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31023/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31023/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31023/events
|
https://github.com/pandas-dev/pandas/pull/31023
| 549,857,687
|
MDExOlB1bGxSZXF1ZXN0MzYyODcwNzQ2
| 31,023
|
REF: DatetimeIndex.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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-01-14T22:33:59Z
| 2020-01-15T17:06:33Z
| 2020-01-15T03:10:24Z
|
MEMBER
| null |
xref #30874 which does similar cleanup for TimedeltaIndex, #31021 for PeriodIndex
Do all parsing/casting/conversion before call to self._engine or super() methods (xref #30948)
Needs test for preventing integers and Timedeltas through incorrectly.
Some of the casting may be simplified pending #30994.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31023/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31023/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31023.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31023",
"merged_at": "2020-01-15T03:10:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31023.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31023"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31024
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31024/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31024/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31024/events
|
https://github.com/pandas-dev/pandas/pull/31024
| 549,886,890
|
MDExOlB1bGxSZXF1ZXN0MzYyODk0Mzc0
| 31,024
|
CI: Travis Remove Unrequired Exclude
|
{
"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"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 2
| 2020-01-14T23:57:25Z
| 2020-05-01T22:03:39Z
| 2020-01-15T00:36:16Z
|
CONTRIBUTOR
| null |
Follow up from #30540 this exclusion is no longer required.
I checked the build config is the same using
https://config.travis-ci.com/explore
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31024/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31024/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31024.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31024",
"merged_at": "2020-01-15T00:36:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31024.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31024"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31025
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31025/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31025/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31025/events
|
https://github.com/pandas-dev/pandas/pull/31025
| 549,895,528
|
MDExOlB1bGxSZXF1ZXN0MzYyOTAxMjc4
| 31,025
|
ENH: Handle extension arrays in algorithms.diff
|
{
"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": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
},
{
"color": "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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 20
| 2020-01-15T00:26:03Z
| 2020-01-23T19:29:21Z
| 2020-01-23T19:00:10Z
|
CONTRIBUTOR
| null |
Closes https://github.com/pandas-dev/pandas/issues/30889
Closes https://github.com/pandas-dev/pandas/issues/30967
This still needs a few things
1. Additional tests. It's hard to write thorough tests in `extensions/base`, since we don't know what the dtype will be after the `.diff()` (subtracting doesn't necessarily return the same dtype).
2. Decide what we want for BooleanArray.diff. Should that return an IntegerArray probably?
3. (edit) Verify that there's no perf regression for datetime, datetimetz, timedelta.
Are we comfortable doing this for 1.0.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/31025/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31025/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31025.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31025",
"merged_at": "2020-01-23T19:00:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31025.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31025"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31026
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31026/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31026/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31026/events
|
https://github.com/pandas-dev/pandas/pull/31026
| 549,898,446
|
MDExOlB1bGxSZXF1ZXN0MzYyOTAzNTMw
| 31,026
|
Backport PR #31024 on branch 1.0.x (CI: Travis Remove Unrequired Exclude)
|
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 0
| 2020-01-15T00:36:26Z
| 2020-01-15T01:38:36Z
| 2020-01-15T01:38:36Z
|
NONE
| null |
Backport PR #31024: CI: Travis Remove Unrequired Exclude
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31026/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31026/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31026.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31026",
"merged_at": "2020-01-15T01:38:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31026.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31026"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31027
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31027/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31027/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31027/events
|
https://github.com/pandas-dev/pandas/pull/31027
| 549,904,292
|
MDExOlB1bGxSZXF1ZXN0MzYyOTA4MTc2
| 31,027
|
REF: implement Block._split_op_result
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5",
"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-01-15T00:59:10Z
| 2020-01-15T03:38:03Z
| 2020-01-15T03:23:13Z
|
MEMBER
| null |
Broken off from a branch working on arithmetic performance for `op(df1, df2)`, two changes here:
- implement _split_op_result, discussed before [citation needed]
- change an unnecessarily-deep copy to non-deep
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31027/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31027/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31027.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31027",
"merged_at": "2020-01-15T03:23:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31027.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31027"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31028
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31028/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31028/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31028/events
|
https://github.com/pandas-dev/pandas/issues/31028
| 549,908,702
|
MDU6SXNzdWU1NDk5MDg3MDI=
| 31,028
|
Series.to_json produces invalid JSON with `orient="index"` if index is multilevel
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/620513?v=4",
"events_url": "https://api.github.com/users/dargueta/events{/privacy}",
"followers_url": "https://api.github.com/users/dargueta/followers",
"following_url": "https://api.github.com/users/dargueta/following{/other_user}",
"gists_url": "https://api.github.com/users/dargueta/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dargueta",
"id": 620513,
"login": "dargueta",
"node_id": "MDQ6VXNlcjYyMDUxMw==",
"organizations_url": "https://api.github.com/users/dargueta/orgs",
"received_events_url": "https://api.github.com/users/dargueta/received_events",
"repos_url": "https://api.github.com/users/dargueta/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dargueta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dargueta/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dargueta"
}
|
[
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
},
{
"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"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 9
| 2020-01-15T01:15:11Z
| 2020-01-25T17:49:55Z
| 2020-01-25T17:49:55Z
|
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
dataframe = pd.DataFrame({'x': [1, 2, 3], 'y': ['a', 'b', 'c']})
series = dataframe.stack()
print(series.to_json(orient="index"))
```
The keys in the output have unescaped quotes in them, resulting in invalid JSON. Output here is indented for clarity:
```json
{
"[0,"x"]": 1,
"[0,"y"]": "a",
"[1,"x"]": 2,
"[1,"y"]": "b",
"[2,"x"]": 3,
"[2,"y"]": "c"
}
```
#### Problem description
`to_json()` should always either 1) produce valid JSON, or 2) throw an exception if it cannot.
#### Expected Output
The multilevel index in the output should be properly escaped to produce valid JSON, like so:
```json
{
"[0,\"x\"]": 1,
"[0,\"y\"]": "a",
"[1,\"x\"]": 2,
"[1,\"y\"]": "b",
"[2,\"x\"]": 3,
"[2,\"y\"]": "c"
}
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.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 : 0.25.3
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.0
pip : 19.3.1
setuptools : 45.0.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
jinja2 : 2.10.3
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 : 0.15.1
pytables : None
s3fs : 0.4.0
scipy : None
sqlalchemy : 1.3.12
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/31028/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31028/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31029
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31029/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31029/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31029/events
|
https://github.com/pandas-dev/pandas/pull/31029
| 549,918,557
|
MDExOlB1bGxSZXF1ZXN0MzYyOTE5MjMz
| 31,029
|
Disallow bare pytest.raises
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/25378116?v=4",
"events_url": "https://api.github.com/users/DylanBrdt/events{/privacy}",
"followers_url": "https://api.github.com/users/DylanBrdt/followers",
"following_url": "https://api.github.com/users/DylanBrdt/following{/other_user}",
"gists_url": "https://api.github.com/users/DylanBrdt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DylanBrdt",
"id": 25378116,
"login": "DylanBrdt",
"node_id": "MDQ6VXNlcjI1Mzc4MTE2",
"organizations_url": "https://api.github.com/users/DylanBrdt/orgs",
"received_events_url": "https://api.github.com/users/DylanBrdt/received_events",
"repos_url": "https://api.github.com/users/DylanBrdt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DylanBrdt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DylanBrdt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DylanBrdt"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] | null | 4
| 2020-01-15T01:53:12Z
| 2020-02-07T17:08:02Z
| 2020-02-07T17:08:02Z
|
NONE
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
https://github.com/pandas-dev/pandas/issues/30999
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31029/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31029/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31029.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31029",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31029.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31029"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31030
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31030/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31030/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31030/events
|
https://github.com/pandas-dev/pandas/pull/31030
| 549,935,022
|
MDExOlB1bGxSZXF1ZXN0MzYyOTMyMDEz
| 31,030
|
Backport PR #31018 on branch 1.0.x (BUG: Preserve string dtype in extract)
|
{
"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": "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": "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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 0
| 2020-01-15T02:56:49Z
| 2020-01-15T04:11:23Z
| 2020-01-15T04:11:23Z
|
NONE
| null |
Backport PR #31018: BUG: Preserve string dtype in extract
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31030/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31030/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31030.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31030",
"merged_at": "2020-01-15T04:11:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31030.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31030"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31031
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31031/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31031/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31031/events
|
https://github.com/pandas-dev/pandas/pull/31031
| 550,021,293
|
MDExOlB1bGxSZXF1ZXN0MzYzMDAxODQx
| 31,031
|
TST: Split test_offsets.py - Test_offsets moved to test_date_offsets
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/917619?v=4",
"events_url": "https://api.github.com/users/Raalsky/events{/privacy}",
"followers_url": "https://api.github.com/users/Raalsky/followers",
"following_url": "https://api.github.com/users/Raalsky/following{/other_user}",
"gists_url": "https://api.github.com/users/Raalsky/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Raalsky",
"id": 917619,
"login": "Raalsky",
"node_id": "MDQ6VXNlcjkxNzYxOQ==",
"organizations_url": "https://api.github.com/users/Raalsky/orgs",
"received_events_url": "https://api.github.com/users/Raalsky/received_events",
"repos_url": "https://api.github.com/users/Raalsky/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Raalsky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Raalsky/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Raalsky"
}
|
[] |
closed
| false
| null |
[] | null | 2
| 2020-01-15T07:50:07Z
| 2020-02-12T00:49:01Z
| 2020-02-12T00:49:00Z
|
NONE
| null |
In context of [https://github.com/pandas-dev/pandas/pull/30194](30194)
First part with move test_offsets to test_date_offsets
- [ ] closes #27085
- [ ] 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/31031/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31031/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31031.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31031",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31031.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31031"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31032
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31032/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31032/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31032/events
|
https://github.com/pandas-dev/pandas/pull/31032
| 550,023,862
|
MDExOlB1bGxSZXF1ZXN0MzYzMDAzODky
| 31,032
|
Revert "DEPR: is_copy arg of take (#30615)"
|
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 3
| 2020-01-15T07:56:55Z
| 2020-01-23T14:41:39Z
| 2020-01-23T14:41:30Z
|
MEMBER
| null |
This reverts commit 7796be6e2c548de0be16e6adf08f5fca2ab9b4bc.
See https://github.com/pandas-dev/pandas/issues/27357#issuecomment-571639242 and https://github.com/pandas-dev/pandas/pull/30615#issuecomment-571637550
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31032/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31032/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31032.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31032",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31032.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31032"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31033
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31033/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31033/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31033/events
|
https://github.com/pandas-dev/pandas/pull/31033
| 550,047,752
|
MDExOlB1bGxSZXF1ZXN0MzYzMDIzMTEx
| 31,033
|
DOC: typo a -> an
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/649392?v=4",
"events_url": "https://api.github.com/users/louwers/events{/privacy}",
"followers_url": "https://api.github.com/users/louwers/followers",
"following_url": "https://api.github.com/users/louwers/following{/other_user}",
"gists_url": "https://api.github.com/users/louwers/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/louwers",
"id": 649392,
"login": "louwers",
"node_id": "MDQ6VXNlcjY0OTM5Mg==",
"organizations_url": "https://api.github.com/users/louwers/orgs",
"received_events_url": "https://api.github.com/users/louwers/received_events",
"repos_url": "https://api.github.com/users/louwers/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/louwers/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/louwers/subscriptions",
"type": "User",
"url": "https://api.github.com/users/louwers"
}
|
[
{
"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-01-15T08:53:48Z
| 2020-01-16T00:15:25Z
| 2020-01-16T00:15:18Z
|
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/31033/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31033/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31033.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31033",
"merged_at": "2020-01-16T00:15:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31033.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31033"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31034
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31034/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31034/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31034/events
|
https://github.com/pandas-dev/pandas/pull/31034
| 550,052,369
|
MDExOlB1bGxSZXF1ZXN0MzYzMDI2ODI5
| 31,034
|
TST: Split test_offsets.py - Added fixtures for date offsets and business date offsets
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/917619?v=4",
"events_url": "https://api.github.com/users/Raalsky/events{/privacy}",
"followers_url": "https://api.github.com/users/Raalsky/followers",
"following_url": "https://api.github.com/users/Raalsky/following{/other_user}",
"gists_url": "https://api.github.com/users/Raalsky/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Raalsky",
"id": 917619,
"login": "Raalsky",
"node_id": "MDQ6VXNlcjkxNzYxOQ==",
"organizations_url": "https://api.github.com/users/Raalsky/orgs",
"received_events_url": "https://api.github.com/users/Raalsky/received_events",
"repos_url": "https://api.github.com/users/Raalsky/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Raalsky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Raalsky/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Raalsky"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-01-15T09:03:21Z
| 2020-03-24T16:12:17Z
| 2020-03-24T16:12:17Z
|
NONE
| null |
In context of #30194 and #31031
Second part with added (bussiness-)date offsets fixtures
- [ ] closes #27085
- [ ] 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/31034/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31034/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31034.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31034",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31034.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31034"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31035
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31035/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31035/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31035/events
|
https://github.com/pandas-dev/pandas/issues/31035
| 550,077,026
|
MDU6SXNzdWU1NTAwNzcwMjY=
| 31,035
|
Incorrect boolean bitwise conversion when dtype=object
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11142944?v=4",
"events_url": "https://api.github.com/users/eric-downes/events{/privacy}",
"followers_url": "https://api.github.com/users/eric-downes/followers",
"following_url": "https://api.github.com/users/eric-downes/following{/other_user}",
"gists_url": "https://api.github.com/users/eric-downes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/eric-downes",
"id": 11142944,
"login": "eric-downes",
"node_id": "MDQ6VXNlcjExMTQyOTQ0",
"organizations_url": "https://api.github.com/users/eric-downes/orgs",
"received_events_url": "https://api.github.com/users/eric-downes/received_events",
"repos_url": "https://api.github.com/users/eric-downes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/eric-downes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eric-downes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/eric-downes"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
open
| false
| null |
[] | null | 9
| 2020-01-15T09:49:51Z
| 2021-07-27T04:38:40Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
s = pd.Series([False, True, None])
s[s.isnull()] = False
print('incorrect:')
print((~s).astype(bool))
print('\ncorrect:')
print(s.apply(lambda x: not x))
```
#### Problem description
The above code will produce the following unexpected output:
```bash
incorrect:
0 True
1 True
2 True
dtype: bool
correct:
0 True
1 False
2 True
dtype: bool
```
The same issues persist with using `np.nan` or other NULL-like. NULL-like are commonly encountered in data. It is very convenient and common for data scientists to use bitwise operators like |, &, and ~ to slice and dice pandas Series and DataFrames. Bitwise operator ~ returns unexpected behavior when some data has been NULL in the past (implicitly causing the dtype to become object), even after coercion of the offending elements to bool. This can cause subtle problems in data filtering that will go undetected. If it is not fixed, use of bitwise operators on `dtype=object` should at least raise a Warning.
#### Expected Output
```bash
0 True
1 False
2 True
dtype: bool
```
#### Output of ``pd.show_versions()``
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.5.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 : 0.25.3
numpy : 1.17.4
pytz : 2018.7
dateutil : 2.7.5
pip : 19.3.1
setuptools : 41.6.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : 7.11.1
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.0.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.3
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
```
|
{
"+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/31035/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31035/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31036
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31036/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31036/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31036/events
|
https://github.com/pandas-dev/pandas/pull/31036
| 550,077,895
|
MDExOlB1bGxSZXF1ZXN0MzYzMDQ3NTYx
| 31,036
|
BUG: AssertionError on Series.append(DataFrame) fix #30975
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6909215?v=4",
"events_url": "https://api.github.com/users/hvardhan20/events{/privacy}",
"followers_url": "https://api.github.com/users/hvardhan20/followers",
"following_url": "https://api.github.com/users/hvardhan20/following{/other_user}",
"gists_url": "https://api.github.com/users/hvardhan20/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hvardhan20",
"id": 6909215,
"login": "hvardhan20",
"node_id": "MDQ6VXNlcjY5MDkyMTU=",
"organizations_url": "https://api.github.com/users/hvardhan20/orgs",
"received_events_url": "https://api.github.com/users/hvardhan20/received_events",
"repos_url": "https://api.github.com/users/hvardhan20/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hvardhan20/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hvardhan20/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hvardhan20"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 3
| 2020-01-15T09:51:29Z
| 2020-01-24T20:46:20Z
| 2020-01-24T03:37:33Z
|
CONTRIBUTOR
| null |
- [x] closes #30975
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Series.append() does not throw AssertionError anymore. This fix performs a precheck before proceeding with concatenation. Tests have passed. Whatsnew entry added.
Thanks!
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31036/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31036/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31036.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31036",
"merged_at": "2020-01-24T03:37:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31036.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31036"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31037
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31037/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31037/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31037/events
|
https://github.com/pandas-dev/pandas/pull/31037
| 550,124,126
|
MDExOlB1bGxSZXF1ZXN0MzYzMDg2MDA3
| 31,037
|
PERF: improve access of .array
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 42
| 2020-01-15T11:17:29Z
| 2020-01-24T08:33:02Z
| 2020-01-24T00:00:16Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/issues/30790
This improves the performance of `.array` access considerably (and thus of `extract_array`, which eg caused the slowdown in the indexing benchmark). The speed-up depends on the dtype (the numpy dtypes are still quite slow ..).
This touches quite some code, but I *think* this is OK for 1.0.0 (although I mixed a bit of clean-up into it, I can also remove that again).
@jbrockmendel I went the way of adding "yet another array/values like thing", but only on the Block (`Block.array_values()`). I think it might be possible to let `_values` return a DatetimeArray instead of datetime64 ndarray for datetime-like data, but that's something that needs more investigation, and also, even if possible, not something I would like to do on 1.0.0, but only for 1.1.
On master:
```
In [1]: s = pd.Series(pd.date_range("2012-01-01", periods=3, tz='UTC'))
In [3]: %timeit s.array
17.2 µs ± 219 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
In [4]: s = pd.Series(pd.date_range("2012-01-01", periods=3))
In [6]: %timeit s.array
4.3 µs ± 205 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
In [7]: s = pd.Series([1, 2, 3])
In [9]: %timeit s.array
6.76 µs ± 208 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
```
With this PR:
```
In [1]: s = pd.Series(pd.date_range("2012-01-01", periods=3, tz='UTC'))
In [3]: %timeit s.array
290 ns ± 6.26 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
In [4]: s = pd.Series(pd.date_range("2012-01-01", periods=3))
In [6]: %timeit s.array
809 ns ± 7.05 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
In [7]: s = pd.Series([1, 2, 3])
In [9]: %timeit s.array
2.34 µs ± 93.7 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31037/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31037/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31037.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31037",
"merged_at": "2020-01-24T00:00:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31037.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31037"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31038
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31038/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31038/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31038/events
|
https://github.com/pandas-dev/pandas/issues/31038
| 550,127,653
|
MDU6SXNzdWU1NTAxMjc2NTM=
| 31,038
|
CLN: Merge scripts/ and ci/ directories
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
}
|
[
{
"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": "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": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-01-15T11:24:32Z
| 2020-09-24T09:52:40Z
| 2020-09-24T09:52:40Z
|
MEMBER
| null |
While conceptually it can make sense to separate the scripts that are mostly called from the CI, than the ones that are not, I think in practice the division between `scripts/` and `ci/` directories is rather arbitrary.
An example is `scripts/validate_docstrings.py`. We use it from the CI, but we use it locally too to validate a single function. We have also scripts in `ci/` that are currently not called from the CI (not sure if they are still useful, will create a separate issue to discuss): `ci/check_git_tags.sh`, `ci/check_cache.sh` and `ci/travis_process_gbq_encryption.sh`
Personally, I think a different structure would make things clearer. An idea would be the next:
```
dev/release/ <- scripts used for the release
dev/validation/ <- scripts used for validation (docstrings, code checks...)
dev/deps/ <- `ci/deps`
dev/config/ <- `ci/azure`
dev/misc/ <- everything else (may be a specific directory for testing stuff?)
```
@jbrockmendel I think we discussed about this some time ago, and you didn't like the proposal then. Does this make sense as proposed here? Any idea if you don't like this proposal, but you agree the current structure is confusing?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31038/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31038/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31039
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31039/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31039/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31039/events
|
https://github.com/pandas-dev/pandas/issues/31039
| 550,131,145
|
MDU6SXNzdWU1NTAxMzExNDU=
| 31,039
|
CLN: Possibly obsolete scripts
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
}
|
[
{
"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": "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": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] |
closed
| false
| null |
[] | null | 4
| 2020-01-15T11:32:30Z
| 2020-09-24T08:43:49Z
| 2020-09-24T08:43:49Z
|
MEMBER
| null |
xref #31038
I'm unsure if the following scripts are still used:
```
scripts/find_commits_touching_func.py
ci/check_cache.sh
ci/check_git_tags.sh
ci/travis_process_gbq_encryption.sh
```
The next I assume are for the release, but may be there is something obsolete here:
```
scripts/build_dist_for_release.sh
scripts/build_dist.sh
scripts/download_wheels.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/31039/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31039/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31040
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31040/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31040/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31040/events
|
https://github.com/pandas-dev/pandas/issues/31040
| 550,143,379
|
MDU6SXNzdWU1NTAxNDMzNzk=
| 31,040
|
DOC: Add CZI to the sponsors page
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-01-15T11:59:14Z
| 2020-01-17T00:25:00Z
| 2020-01-17T00:25:00Z
|
MEMBER
| null |
I guess we want to add CZI to the sponsors page: https://pandas.io/about/sponsors.html
I think a section similar to Tidelift is the best option. Any other idea?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31040/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31040/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31041
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31041/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31041/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31041/events
|
https://github.com/pandas-dev/pandas/issues/31041
| 550,167,966
|
MDU6SXNzdWU1NTAxNjc5NjY=
| 31,041
|
BUG: something wrong at pd.Dataframe.from_dict()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23721163?v=4",
"events_url": "https://api.github.com/users/zhenghao0379/events{/privacy}",
"followers_url": "https://api.github.com/users/zhenghao0379/followers",
"following_url": "https://api.github.com/users/zhenghao0379/following{/other_user}",
"gists_url": "https://api.github.com/users/zhenghao0379/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zhenghao0379",
"id": 23721163,
"login": "zhenghao0379",
"node_id": "MDQ6VXNlcjIzNzIxMTYz",
"organizations_url": "https://api.github.com/users/zhenghao0379/orgs",
"received_events_url": "https://api.github.com/users/zhenghao0379/received_events",
"repos_url": "https://api.github.com/users/zhenghao0379/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zhenghao0379/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhenghao0379/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zhenghao0379"
}
|
[
{
"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": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] |
open
| false
| null |
[] | null | 5
| 2020-01-15T12:52:35Z
| 2020-06-28T04:05:35Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
# Your code here
A = {"a":[1, 2, 3 ,4], "b":"b", "c":"c"}
pd.DataFrame.from_dict(A,orient='index').T
B = { "b":"b", "c":"c", "a":[1, 2, 3 ,4],}
pd.DataFrame.from_dict(B,orient='index').T
```
#### Problem description
the output A ,B are diffrent
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31041/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31041/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31042
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31042/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31042/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31042/events
|
https://github.com/pandas-dev/pandas/pull/31042
| 550,193,230
|
MDExOlB1bGxSZXF1ZXN0MzYzMTQzMDY5
| 31,042
|
Backport PR #29712 on branch 1.0.x (CI: Fix clipboard problems)
|
{
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 0
| 2020-01-15T13:41:20Z
| 2020-01-15T14:14:38Z
| 2020-01-15T14:14:38Z
|
NONE
| null |
Backport PR #29712: CI: Fix clipboard problems
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31042/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31042/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31042.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31042",
"merged_at": "2020-01-15T14:14:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31042.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31042"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31043
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31043/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31043/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31043/events
|
https://github.com/pandas-dev/pandas/issues/31043
| 550,197,014
|
MDU6SXNzdWU1NTAxOTcwMTQ=
| 31,043
|
BUG: nonexistent Timestamp pre-summer/winter DST change with dateutil timezone
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4",
"events_url": "https://api.github.com/users/AlexKirko/events{/privacy}",
"followers_url": "https://api.github.com/users/AlexKirko/followers",
"following_url": "https://api.github.com/users/AlexKirko/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlexKirko",
"id": 23253999,
"login": "AlexKirko",
"node_id": "MDQ6VXNlcjIzMjUzOTk5",
"organizations_url": "https://api.github.com/users/AlexKirko/orgs",
"received_events_url": "https://api.github.com/users/AlexKirko/received_events",
"repos_url": "https://api.github.com/users/AlexKirko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlexKirko"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4",
"events_url": "https://api.github.com/users/AlexKirko/events{/privacy}",
"followers_url": "https://api.github.com/users/AlexKirko/followers",
"following_url": "https://api.github.com/users/AlexKirko/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlexKirko",
"id": 23253999,
"login": "AlexKirko",
"node_id": "MDQ6VXNlcjIzMjUzOTk5",
"organizations_url": "https://api.github.com/users/AlexKirko/orgs",
"received_events_url": "https://api.github.com/users/AlexKirko/received_events",
"repos_url": "https://api.github.com/users/AlexKirko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlexKirko"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4",
"events_url": "https://api.github.com/users/AlexKirko/events{/privacy}",
"followers_url": "https://api.github.com/users/AlexKirko/followers",
"following_url": "https://api.github.com/users/AlexKirko/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlexKirko",
"id": 23253999,
"login": "AlexKirko",
"node_id": "MDQ6VXNlcjIzMjUzOTk5",
"organizations_url": "https://api.github.com/users/AlexKirko/orgs",
"received_events_url": "https://api.github.com/users/AlexKirko/received_events",
"repos_url": "https://api.github.com/users/AlexKirko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlexKirko"
}
] |
{
"closed_at": "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-01-15T13:48:10Z
| 2020-01-24T03:33:00Z
| 2020-01-24T03:33:00Z
|
MEMBER
| null |
#### Code Sample, a copy-pastable example if possible
This is fine:
```
>>> pd.__version__
'0.26.0.dev0+1790.gdd94e0db9'
>>> epoch = 1552211999999999871
>>> t = pd.Timestamp(epoch, tz='dateutil/US/Pacific')
>>> t
Timestamp('2019-03-10 01:59:59.999999871-0800', tz='dateutil/US/Pacific')
>>> t.value
1552211999999999871
>>> pd.Timestamp(t)
Timestamp('2019-03-10 01:59:59.999999871-0800', tz='dateutil/US/Pacific')
>>> pd.Timestamp(t).value
1552211999999999871
```
This is also fine:
```
>>> epoch = 1552212000000000000
>>> t = pd.Timestamp(epoch, tz='dateutil/US/Pacific')
>>> t
Timestamp('2019-03-10 03:00:00-0700', tz='dateutil/US/Pacific')
>>>
>>> t.value
1552212000000000000
>>> pd.Timestamp(t)
Timestamp('2019-03-10 03:00:00-0700', tz='dateutil/US/Pacific')
>>> pd.Timestamp(t).value
1552212000000000000
```
Meanwhile, this breaks representation and gets us nonexistent times:
```
>>> epoch = 1552211999999999872
>>> t = pd.Timestamp(epoch, tz='dateutil/US/Pacific')
>>> t
Timestamp('2019-03-10 01:59:59.999999872-0700', tz='dateutil/US/Pacific')
>>> t.value
1552211999999999872
>>> pd.Timestamp(t)
Timestamp('2019-03-10 01:59:59.999999872-0800', tz='dateutil/US/Pacific')
>>> pd.Timestamp(t).value
1552208399999999872
```
And right on the cusp, the value breaks too:
```
>>> epoch = 1552211999999999999
>>> t = pd.Timestamp(epoch, tz='dateutil/US/Pacific')
>>> t
Timestamp('2019-03-10 01:59:59.999999999-0700', tz='dateutil/US/Pacific')
>>> t.value
1552211999999999999
>>> pd.Timestamp(t)
Timestamp('2019-03-10 01:59:59.999999999-0800', tz='dateutil/US/Pacific')
>>> pd.Timestamp(t).value
1552208399999999999
```
#### Problem description
When we use `dateutil` timezones and try to create a Timestamp that is right on the cusp of the change from winter to summer time, we can get nonexistent times (the clock is supposed to jump from 2 A.M. to 3 A.M. and yet we get 2:59:59).
I've investigated this, and it appears that at 128 nanoseconds before the clock jump, DST offset and utcoffset in `dateutil` change, so we end up in a situation when the offsets are what they are supposed to be after the jump, but the time hasn't jumped yet, so the constructor returns a nonexistent time. Calling the constructor again moves the clock 1 hour back.
This can be checked out with:
```
>>> epoch = 1552211999999999872
>>> t = pd.Timestamp(epoch, tz='dateutil/US/Pacific')
>>> t.tz.dst(t)
datetime.timedelta(seconds=3600)
```
My assumption is that when we need to determine UTC offset, rounding happens at some point, and we round to `epoch=1552212000000000000`, get offset, and then use it on time pre-clock jump.
I'd like to try to fix this one.
#### Expected Output
```
>>> epoch = 1552211999999999872
>>> t = pd.Timestamp(epoch, tz='dateutil/US/Pacific')
>>> t
Timestamp('2019-03-10 01:59:59.999999872-0800', tz='dateutil/US/Pacific')
>>> t.value
1552211999999999872
>>> pd.Timestamp(t)
Timestamp('2019-03-10 01:59:59.999999872-0800', tz='dateutil/US/Pacific')
>>> pd.Timestamp(t).value
1552208399999999872
```
#### Notes
This was thought to be part of #24329 but turned to be a separate bug as I worked on closing that issue in PR #30995.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : dd94e0db9556f35a3ea91ce85714c0b1e151a770
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : ru_RU.UTF-8
LOCALE : None.None
pandas : 0.26.0.dev0+1790.gdd94e0db9
numpy : 1.17.4
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 44.0.0.post20200106
Cython : 0.29.14
pytest : 5.3.2
hypothesis : 5.1.5
sphinx : 2.3.1
blosc : None
feather : None
xlsxwriter : 1.2.7
lxml.etree : 4.4.2
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.11.1
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.1
fastparquet : 0.3.2
gcsfs : None
lxml.etree : 4.4.2
matplotlib : 3.1.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.1
pandas_gbq : None
pyarrow : 0.15.1
pytables : None
pytest : 5.3.2
s3fs : 0.4.0
scipy : 1.3.1
sqlalchemy : 1.3.12
tables : 3.6.1
tabulate : 0.8.6
xarray : 0.14.1
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.7
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/31043/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31043/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31044
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31044/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31044/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31044/events
|
https://github.com/pandas-dev/pandas/pull/31044
| 550,214,620
|
MDExOlB1bGxSZXF1ZXN0MzYzMTYwNTU2
| 31,044
|
Backport PR #30905 on branch 1.0.x (BUG: SystemError in df.sum)
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 0
| 2020-01-15T14:19:29Z
| 2020-01-15T15:03:48Z
| 2020-01-15T15:03:48Z
|
NONE
| null |
Backport PR #30905: BUG: SystemError in df.sum
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31044/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31044/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31044.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31044",
"merged_at": "2020-01-15T15:03:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31044.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31044"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31045
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31045/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31045/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31045/events
|
https://github.com/pandas-dev/pandas/pull/31045
| 550,264,026
|
MDExOlB1bGxSZXF1ZXN0MzYzMjAxMzk5
| 31,045
|
TST: Disallow bare pytest.raises
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40249442?v=4",
"events_url": "https://api.github.com/users/gdex1/events{/privacy}",
"followers_url": "https://api.github.com/users/gdex1/followers",
"following_url": "https://api.github.com/users/gdex1/following{/other_user}",
"gists_url": "https://api.github.com/users/gdex1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gdex1",
"id": 40249442,
"login": "gdex1",
"node_id": "MDQ6VXNlcjQwMjQ5NDQy",
"organizations_url": "https://api.github.com/users/gdex1/orgs",
"received_events_url": "https://api.github.com/users/gdex1/received_events",
"repos_url": "https://api.github.com/users/gdex1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gdex1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gdex1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gdex1"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-01-15T15:38:54Z
| 2020-01-16T09:12:20Z
| 2020-01-16T09:12:08Z
|
CONTRIBUTOR
| null |
- [ ] ref #30999
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This pull request is to add appropriate match arguments to bare pytest.raises listed in the comment https://github.com/pandas-dev/pandas/issues/30999#issuecomment-574174389 as described by the referenced issue.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31045/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31045/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31045.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31045",
"merged_at": "2020-01-16T09:12:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31045.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31045"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31046
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31046/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31046/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31046/events
|
https://github.com/pandas-dev/pandas/pull/31046
| 550,295,005
|
MDExOlB1bGxSZXF1ZXN0MzYzMjI3MDE4
| 31,046
|
WEB: Improving the sponsors in the web, and adding CZI
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
}
|
[
{
"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 | 0
| 2020-01-15T16:30:03Z
| 2020-01-17T00:25:01Z
| 2020-01-17T00:25:01Z
|
MEMBER
| null |
- [X] closes #31040
Things addressed here:
- Added CZI as sponsor
- Adding an arbitrary number of sponsor logos in the home (previously the style only worked for 6)
- Adding a `Become a sponsor` section to the sponsors page
- Moving all sponsors to the web yaml, and standardizing how we present them in the sponsors page


|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31046/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31046/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31046.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31046",
"merged_at": "2020-01-17T00:25:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31046.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31046"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31047
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31047/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31047/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31047/events
|
https://github.com/pandas-dev/pandas/pull/31047
| 550,302,904
|
MDExOlB1bGxSZXF1ZXN0MzYzMjMzNTE0
| 31,047
|
DOC: Add missing docstrings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10180442?v=4",
"events_url": "https://api.github.com/users/galuhsahid/events{/privacy}",
"followers_url": "https://api.github.com/users/galuhsahid/followers",
"following_url": "https://api.github.com/users/galuhsahid/following{/other_user}",
"gists_url": "https://api.github.com/users/galuhsahid/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/galuhsahid",
"id": 10180442,
"login": "galuhsahid",
"node_id": "MDQ6VXNlcjEwMTgwNDQy",
"organizations_url": "https://api.github.com/users/galuhsahid/orgs",
"received_events_url": "https://api.github.com/users/galuhsahid/received_events",
"repos_url": "https://api.github.com/users/galuhsahid/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/galuhsahid/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galuhsahid/subscriptions",
"type": "User",
"url": "https://api.github.com/users/galuhsahid"
}
|
[
{
"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-01-15T16:43:31Z
| 2020-01-17T13:27:49Z
| 2020-01-17T13:27:38Z
|
CONTRIBUTOR
| null |
Added docstrings:
```
pandas.Index.has_duplicates
pandas.Index.is_all_dates
pandas.Index.name
pandas.Index.is_boolean
pandas.Index.is_floating
pandas.Index.is_integer
pandas.Index.is_interval
pandas.Index.is_mixed
pandas.Index.is_numeric
pandas.Index.is_object
```
There are some other docstrings left - I couldn't find the docstrings below in the code:
```
None:None:GL08:pandas.Index.names:The object does not have a docstring
None:None:GL08:pandas.Index.empty:The object does not have a docstring
```
I don't really understand what the function does so I'm leaving the docstring empty for now:
```
pandas/pandas/core/indexes/base.py:639:GL08:pandas.Index.view:The object does not have a docstring
```
cc @datapythonista
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31047/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31047/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31047.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31047",
"merged_at": "2020-01-17T13:27:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31047.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31047"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31048
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31048/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31048/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31048/events
|
https://github.com/pandas-dev/pandas/pull/31048
| 550,316,439
|
MDExOlB1bGxSZXF1ZXN0MzYzMjQ0NTky
| 31,048
|
FIX: fix interpolate with kwarg limit area and limit direction using pad or bfill
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/102827?v=4",
"events_url": "https://api.github.com/users/cchwala/events{/privacy}",
"followers_url": "https://api.github.com/users/cchwala/followers",
"following_url": "https://api.github.com/users/cchwala/following{/other_user}",
"gists_url": "https://api.github.com/users/cchwala/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cchwala",
"id": 102827,
"login": "cchwala",
"node_id": "MDQ6VXNlcjEwMjgyNw==",
"organizations_url": "https://api.github.com/users/cchwala/orgs",
"received_events_url": "https://api.github.com/users/cchwala/received_events",
"repos_url": "https://api.github.com/users/cchwala/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cchwala/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cchwala/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cchwala"
}
|
[
{
"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": "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": "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 |
[] | null | 27
| 2020-01-15T17:06:53Z
| 2020-11-27T05:06:53Z
| 2020-11-27T05:06:52Z
|
CONTRIBUTOR
| null |
- [x] closes #26796
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This separates a large part of the code changes from #25141 to keep things comprehendible.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31048/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31048/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31048.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31048",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31048.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31048"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31049
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31049/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31049/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31049/events
|
https://github.com/pandas-dev/pandas/pull/31049
| 550,316,834
|
MDExOlB1bGxSZXF1ZXN0MzYzMjQ0OTE4
| 31,049
|
CLN: Remove unused release scripts
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
}
|
[
{
"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-01-15T17:07:35Z
| 2020-01-20T17:38:33Z
| 2020-01-20T17:38:28Z
|
MEMBER
| null |
- [X] ref #31039
Old scripts that are not used anymore.
CC: @TomAugspurger
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31049/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31049/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31049.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31049",
"merged_at": "2020-01-20T17:38:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31049.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31049"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31050
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31050/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31050/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31050/events
|
https://github.com/pandas-dev/pandas/issues/31050
| 550,379,054
|
MDU6SXNzdWU1NTAzNzkwNTQ=
| 31,050
|
HDF5 API docs missing methods
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/14239619?v=4",
"events_url": "https://api.github.com/users/kylekeppler/events{/privacy}",
"followers_url": "https://api.github.com/users/kylekeppler/followers",
"following_url": "https://api.github.com/users/kylekeppler/following{/other_user}",
"gists_url": "https://api.github.com/users/kylekeppler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kylekeppler",
"id": 14239619,
"login": "kylekeppler",
"node_id": "MDQ6VXNlcjE0MjM5NjE5",
"organizations_url": "https://api.github.com/users/kylekeppler/orgs",
"received_events_url": "https://api.github.com/users/kylekeppler/received_events",
"repos_url": "https://api.github.com/users/kylekeppler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kylekeppler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kylekeppler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kylekeppler"
}
|
[
{
"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": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] |
open
| false
| null |
[] | null | 4
| 2020-01-15T19:18:50Z
| 2020-02-13T02:02:53Z
| null |
CONTRIBUTOR
| null |
The [user guide IO Tools HDF5 section](https://pandas.io/docs/user_guide/io.html#hdf5-pytables) references a number of methods that are not documented in the [API docs for HDF5](https://pandas.io/docs/reference/io.html#hdfstore-pytables-hdf5).
The following `HDFStore` methods/attributes are mentioned only in the user guide:
Methods:
- `__init__`
- `remove`
- `create_table_index`
- `get_storer`
- `select_as_coordinates`
- `select_as_multiple`
- `append_to_multiple`
- `select_column`
- `flush`
Attributes:
- `is_open`
- `root`
The following are "public" (ie no leading underscore) methods/attributes in 0.25.3 not listed in either location:
Methods:
- `open`
- `close`
- `copy`
- `get_node`
- `items`
- `iteritems`
Attributes:
- `filename`
The "storer object" that is the result of `get_storer` doesn't seem to be documented. This can be a `pandas.io.pytables.FrameFixed` or `pandas.io.pytables.AppendableFrameTable` (and maybe others?). The `nrows` and `table` attributes are referenced in the user guide. There are a number of other attributes that appear public but are not documented. Seems this is starting to get into the implementation weeds, but since a method mentioned in the user guide can return this object, it would be nice to have this explicitly documented.
It would be useful to document the public methods/attributes of `HDFStore` in the API docs. is there any reason these were omitted originally? I think all the would need to be done would be to add to [io.rst](https://github.com/pandas-dev/pandas/blob/master/doc/source/reference/io.rst).
There should probably be a discussion of what should be documented for the storer objects. Perhaps just a reference from the `get_storer` API doc page and a listing of methods/attributes of the abstract base class that are implemented by all subclasses?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31050/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31050/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31051
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31051/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31051/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31051/events
|
https://github.com/pandas-dev/pandas/issues/31051
| 550,396,900
|
MDU6SXNzdWU1NTAzOTY5MDA=
| 31,051
|
Feature: Add "random" rank in the group for DataFrame.rank and similar functions.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1299177?v=4",
"events_url": "https://api.github.com/users/ghuls/events{/privacy}",
"followers_url": "https://api.github.com/users/ghuls/followers",
"following_url": "https://api.github.com/users/ghuls/following{/other_user}",
"gists_url": "https://api.github.com/users/ghuls/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghuls",
"id": 1299177,
"login": "ghuls",
"node_id": "MDQ6VXNlcjEyOTkxNzc=",
"organizations_url": "https://api.github.com/users/ghuls/orgs",
"received_events_url": "https://api.github.com/users/ghuls/received_events",
"repos_url": "https://api.github.com/users/ghuls/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghuls/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghuls/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghuls"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
closed
| false
| null |
[] |
{
"closed_at": 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"
}
| 4
| 2020-01-15T19:55:07Z
| 2020-03-06T13:50:28Z
| 2020-01-16T04:24:41Z
|
NONE
| null |
Feature: Add "random" rank in the group for DataFrame.rank and similar functions.
> DataFrame.rank(self, axis=0, method='average', numeric_only=None, na_option='keep', ascending=True, pct=False)[source]
>
> method : {‘average’, ‘min’, ‘max’, ‘first’, ‘dense’, **‘random’**}, default ‘average’
>
> How to rank the group of records that have the same value (i.e. ties):
>
> - average: average rank of the group
> - min: lowest rank in the group
> - max: highest rank in the group
> - first: ranks assigned in order they appear in the array
> - dense: like ‘min’, but rank always increases by 1 between groups
> - **random: ranks assigned randomly (between min and max), but each value is picked only once**
#### Code Sample, a copy-pastable example if possible
```python
import numpy as np
import pandas as pd
df = pd.DataFrame([1, 2, 1, 3, 3, 2, 1, 3], index=['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'])
In [10]: df
Out[10]:
0
a 1
b 2
c 1
d 3
e 3
f 2
g 1
h 3
# Example run 1
In [11]: df.rank(method='random')
Out[11]:
0
a 3
b 4
c 1
d 8
e 6
f 5
g 2
h 7
# Example run 2
In [12]: df.rank(method='random')
Out[12]:
0
a 2
b 5
c 1
d 7
e 8
f 4
g 3
h 6
```
It would be nice if it could be implemented in pandas as I have huge dataframes (100G) for which I need this feature.
In the worst case, is there a way to do something like this with multiple pandas commands?
A slightly related issue: https://github.com/pandas-dev/pandas/issues/9481
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31051/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31051/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31052
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31052/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31052/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31052/events
|
https://github.com/pandas-dev/pandas/issues/31052
| 550,405,884
|
MDU6SXNzdWU1NTA0MDU4ODQ=
| 31,052
|
User guide HDF5 complevel and complib formatting strange
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/14239619?v=4",
"events_url": "https://api.github.com/users/kylekeppler/events{/privacy}",
"followers_url": "https://api.github.com/users/kylekeppler/followers",
"following_url": "https://api.github.com/users/kylekeppler/following{/other_user}",
"gists_url": "https://api.github.com/users/kylekeppler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kylekeppler",
"id": 14239619,
"login": "kylekeppler",
"node_id": "MDQ6VXNlcjE0MjM5NjE5",
"organizations_url": "https://api.github.com/users/kylekeppler/orgs",
"received_events_url": "https://api.github.com/users/kylekeppler/received_events",
"repos_url": "https://api.github.com/users/kylekeppler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kylekeppler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kylekeppler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kylekeppler"
}
|
[
{
"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"
}
| 0
| 2020-01-15T20:14:34Z
| 2020-01-20T13:34:12Z
| 2020-01-20T13:34:12Z
|
CONTRIBUTOR
| null |
Formatting for HDF5 `complevel` and `complib` is a bit weird on both the old docs and new docs.
https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#compression
https://pandas.io/docs/user_guide/io.html#compression
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31052/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31052/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31053
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31053/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31053/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31053/events
|
https://github.com/pandas-dev/pandas/pull/31053
| 550,407,536
|
MDExOlB1bGxSZXF1ZXN0MzYzMzE5MzMx
| 31,053
|
DOC: Fix HDF5 complevel and complib formatting
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/14239619?v=4",
"events_url": "https://api.github.com/users/kylekeppler/events{/privacy}",
"followers_url": "https://api.github.com/users/kylekeppler/followers",
"following_url": "https://api.github.com/users/kylekeppler/following{/other_user}",
"gists_url": "https://api.github.com/users/kylekeppler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kylekeppler",
"id": 14239619,
"login": "kylekeppler",
"node_id": "MDQ6VXNlcjE0MjM5NjE5",
"organizations_url": "https://api.github.com/users/kylekeppler/orgs",
"received_events_url": "https://api.github.com/users/kylekeppler/received_events",
"repos_url": "https://api.github.com/users/kylekeppler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kylekeppler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kylekeppler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kylekeppler"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-01-15T20:18:05Z
| 2020-01-20T13:34:23Z
| 2020-01-20T13:34:12Z
|
CONTRIBUTOR
| null |
Fixes formatting of these params.
- [x] closes #31052
- [ ] tests added / passed (N/A)
- [ ] passes `black pandas` (N/A)
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` (N/A)
- [ ] whatsnew entry (N/A)
N/A as this PR only updates an rst file for the docs.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31053/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31053/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31053.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31053",
"merged_at": "2020-01-20T13:34:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31053.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31053"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31054
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31054/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31054/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31054/events
|
https://github.com/pandas-dev/pandas/issues/31054
| 550,429,054
|
MDU6SXNzdWU1NTA0MjkwNTQ=
| 31,054
|
DOC: intended series.loc behavior undocumented for boolean series
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39277069?v=4",
"events_url": "https://api.github.com/users/hickmanw/events{/privacy}",
"followers_url": "https://api.github.com/users/hickmanw/followers",
"following_url": "https://api.github.com/users/hickmanw/following{/other_user}",
"gists_url": "https://api.github.com/users/hickmanw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hickmanw",
"id": 39277069,
"login": "hickmanw",
"node_id": "MDQ6VXNlcjM5Mjc3MDY5",
"organizations_url": "https://api.github.com/users/hickmanw/orgs",
"received_events_url": "https://api.github.com/users/hickmanw/received_events",
"repos_url": "https://api.github.com/users/hickmanw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hickmanw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hickmanw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hickmanw"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-01-15T21:05:39Z
| 2020-08-02T10:18:02Z
| 2020-08-02T10:18:02Z
|
NONE
| null |
#### series.loc when passed a boolean series
How will series.loc behave when passed a boolean series whose index contains the same values, but in a different order, than the focal series' index?
```python
s1 = pd.Series(list('ab'))
mask = [True, False]
s2 = pd.Series(mask, pd.Index([1,0]))
print(s1.loc[mask])
print(s1.loc[s2])
```
0 a
dtype: object
1 b
dtype: object
#### Problem description
I expected the index of `s2` to be ignored, in effect treating `s2` as a boolean array input, but I was wrong.
The [documentation on master](https://pandas-docs.github.io/pandas-docs-travis/) doesn't list a (boolean) series as an allowed input, hence doesn't provide guidance on which behavior should be expected/is intended.
What is the intended behavior? If given guidance, I'll update the documentation.
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.14.152-127.182.amzn2.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.3
numpy : 1.17.3
pytz : 2019.3
dateutil : 2.7.4
pip : 19.3.1
setuptools : 40.4.3
Cython : 0.29.14
pytest : 5.3.2
hypothesis : None
sphinx : 2.3.0
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : 7.0.1
pandas_datareader: None
bs4 : 4.8.1
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.1
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.4.0.dev0+4dcf606
sqlalchemy : 1.3.11
tables : None
xarray : 0.14.1
xlrd : 1.2.0
xlwt : None
xlsxwriter : 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/31054/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31054/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31055
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31055/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31055/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31055/events
|
https://github.com/pandas-dev/pandas/pull/31055
| 550,453,102
|
MDExOlB1bGxSZXF1ZXN0MzYzMzU3MjY3
| 31,055
|
REF: be stricter about what we pass to _simple_new
|
{
"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": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-01-15T21:58:35Z
| 2020-01-18T16:25:23Z
| 2020-01-18T16:17:32Z
|
MEMBER
| null |
This will take a few passes to get rid of all the checks done in _simple_new that should be done elsewhere
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31055/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31055/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31055.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31055",
"merged_at": "2020-01-18T16:17:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31055.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31055"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31056
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31056/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31056/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31056/events
|
https://github.com/pandas-dev/pandas/pull/31056
| 550,462,017
|
MDExOlB1bGxSZXF1ZXN0MzYzMzY0NzE5
| 31,056
|
CLN: assorted cleanups
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-01-15T22:19:33Z
| 2020-01-16T16:30:12Z
| 2020-01-16T09:59:06Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31056/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31056/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31056.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31056",
"merged_at": "2020-01-16T09:59:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31056.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31056"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31057
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31057/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31057/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31057/events
|
https://github.com/pandas-dev/pandas/pull/31057
| 550,516,788
|
MDExOlB1bGxSZXF1ZXN0MzYzNDEwMDQ4
| 31,057
|
Split out JSON Date Converters
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
}
|
[
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 7
| 2020-01-16T01:13:50Z
| 2020-01-20T23:44:54Z
| 2020-01-20T23:44:49Z
|
MEMBER
| null |
This file is pretty large so trying to make more modular. This separates out conversion routines required for getting from the Python space to JSON, but which don't actually serialize the 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/31057/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31057/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31057.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31057",
"merged_at": "2020-01-20T23:44:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31057.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31057"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31058
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31058/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31058/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31058/events
|
https://github.com/pandas-dev/pandas/pull/31058
| 550,518,472
|
MDExOlB1bGxSZXF1ZXN0MzYzNDExNDI3
| 31,058
|
REF: use _get_string_slice in PeriodIndex.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": "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"
},
{
"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-01-16T01:19:55Z
| 2020-01-20T19:54:42Z
| 2020-01-20T19:53:19Z
|
MEMBER
| null |
Most of _get_string_slice is duplicated inside PeriodIndex.get_value, which likely explains why get_string_slice has almost no test [coverage](https://codecov.io/gh/pandas-dev/pandas/src/master/pandas/core/indexes/period.py#L715). This also brings PeriodIndex.get_value into closer alignment with DatetimeIndex.get_value, so we may be able to share code a few steps from here.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31058/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31058/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31058.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31058",
"merged_at": "2020-01-20T19:53:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31058.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31058"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31059
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31059/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31059/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31059/events
|
https://github.com/pandas-dev/pandas/pull/31059
| 550,525,496
|
MDExOlB1bGxSZXF1ZXN0MzYzNDE2OTc5
| 31,059
|
CLN: Removed unused varibles from for loops
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"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-01-16T01:46:28Z
| 2020-01-16T18:42:41Z
| 2020-01-16T16:19:00Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31059/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31059/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31059.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31059",
"merged_at": "2020-01-16T16:19:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31059.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31059"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31060
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31060/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31060/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31060/events
|
https://github.com/pandas-dev/pandas/pull/31060
| 550,532,265
|
MDExOlB1bGxSZXF1ZXN0MzYzNDIyMjc2
| 31,060
|
CLN: Replace Appender and Substitution with simpler doc decorator
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50187675?v=4",
"events_url": "https://api.github.com/users/HH-MWB/events{/privacy}",
"followers_url": "https://api.github.com/users/HH-MWB/followers",
"following_url": "https://api.github.com/users/HH-MWB/following{/other_user}",
"gists_url": "https://api.github.com/users/HH-MWB/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HH-MWB",
"id": 50187675,
"login": "HH-MWB",
"node_id": "MDQ6VXNlcjUwMTg3Njc1",
"organizations_url": "https://api.github.com/users/HH-MWB/orgs",
"received_events_url": "https://api.github.com/users/HH-MWB/received_events",
"repos_url": "https://api.github.com/users/HH-MWB/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HH-MWB/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HH-MWB/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HH-MWB"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 23
| 2020-01-16T02:13:33Z
| 2020-02-13T01:39:28Z
| 2020-02-12T16:01:46Z
|
CONTRIBUTOR
| null |
- [X] closes #30933
- [x] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
A new decorator to handle docstring formatting. There is also an update for an existing case to show how it works.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31060/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31060/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31060.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31060",
"merged_at": "2020-02-12T16:01:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31060.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31060"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31061
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31061/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31061/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31061/events
|
https://github.com/pandas-dev/pandas/issues/31061
| 550,537,708
|
MDU6SXNzdWU1NTA1Mzc3MDg=
| 31,061
|
WEB: Broken older versions link in the website
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
}
|
[
{
"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": "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 | 2
| 2020-01-16T02:33:33Z
| 2020-09-24T09:49:26Z
| 2020-09-24T09:49:26Z
|
MEMBER
| null |
In the top navigation of the website (see pandas.io), in the Docs section, the `Older versions` link is broken.
In #30891 I proposed to just have a single link to the docs for now, so there is no broken link or inconsistencies. But there is no agreement on getting that merged, and some discussion is needed.
Opening this issue, so ideas on what to do can be discussed.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31061/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31061/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31062
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31062/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31062/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31062/events
|
https://github.com/pandas-dev/pandas/pull/31062
| 550,556,102
|
MDExOlB1bGxSZXF1ZXN0MzYzNDQxMTcz
| 31,062
|
TYP/CLN: Replaced "Optional[Hashable]" with "Label" from pandas._typing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"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"
}
| 1
| 2020-01-16T03:45:13Z
| 2020-01-16T14:58:49Z
| 2020-01-16T10:26:01Z
|
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/31062/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31062/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31062.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31062",
"merged_at": "2020-01-16T10:26:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31062.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31062"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31063
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31063/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31063/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31063/events
|
https://github.com/pandas-dev/pandas/issues/31063
| 550,560,809
|
MDU6SXNzdWU1NTA1NjA4MDk=
| 31,063
|
DataFrame.GroupBy.apply has unexpected returns in some cases
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6195346?v=4",
"events_url": "https://api.github.com/users/xin-jin/events{/privacy}",
"followers_url": "https://api.github.com/users/xin-jin/followers",
"following_url": "https://api.github.com/users/xin-jin/following{/other_user}",
"gists_url": "https://api.github.com/users/xin-jin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xin-jin",
"id": 6195346,
"login": "xin-jin",
"node_id": "MDQ6VXNlcjYxOTUzNDY=",
"organizations_url": "https://api.github.com/users/xin-jin/orgs",
"received_events_url": "https://api.github.com/users/xin-jin/received_events",
"repos_url": "https://api.github.com/users/xin-jin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xin-jin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xin-jin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xin-jin"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
open
| false
| null |
[] | null | 6
| 2020-01-16T04:04:48Z
| 2021-04-07T06:53:34Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
# Your code here
def agg(a, b):
return a + b
x = pd.DataFrame({'A': np.arange(10), 'B': [1] * 10, 'C': np.random.rand(10), 'D': np.random.rand(10)}).set_index(['A', 'B'])
x.groupby('B').apply(lambda g: g.C + g.D)
```
#### Problem description
This returns a DataFrame of shape (1, 10)
This seems to occur when i) The groupby key happens to have a unique value ii) The apply function takes a DataFrame and returns a Series.
#### Expected Output
I expect it returns a Series of shape (10, 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.4.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-72-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.1
numpy : 1.17.2
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: 0.8.1
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 : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.1
</details>
|
{
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31063/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31063/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31064
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31064/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31064/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31064/events
|
https://github.com/pandas-dev/pandas/pull/31064
| 550,567,899
|
MDExOlB1bGxSZXF1ZXN0MzYzNDUwNDU4
| 31,064
|
BUG: partial-timestamp slicing near the end of year/quarter/month
|
{
"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": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-01-16T04:33:04Z
| 2020-01-18T16:20:56Z
| 2020-01-18T15:56:37Z
|
MEMBER
| null |
I'm fairly confident we can refactor this to be a lot less verbose, but will do that separately from the bugfix.
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31064/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31064/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31064.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31064",
"merged_at": "2020-01-18T15:56:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31064.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31064"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31065
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31065/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31065/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31065/events
|
https://github.com/pandas-dev/pandas/pull/31065
| 550,573,755
|
MDExOlB1bGxSZXF1ZXN0MzYzNDU1MTQ5
| 31,065
|
CLN: remove redundant return 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": "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-01-16T04:53:51Z
| 2020-01-16T16:35:04Z
| 2020-01-16T10:23:27Z
|
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/31065/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31065/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31065.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31065",
"merged_at": "2020-01-16T10:23:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31065.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31065"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31066
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31066/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31066/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31066/events
|
https://github.com/pandas-dev/pandas/pull/31066
| 550,586,616
|
MDExOlB1bGxSZXF1ZXN0MzYzNDY1NjY1
| 31,066
|
DOC: add plotting backends in visualization.rst
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/46084304?v=4",
"events_url": "https://api.github.com/users/rushabh-v/events{/privacy}",
"followers_url": "https://api.github.com/users/rushabh-v/followers",
"following_url": "https://api.github.com/users/rushabh-v/following{/other_user}",
"gists_url": "https://api.github.com/users/rushabh-v/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rushabh-v",
"id": 46084304,
"login": "rushabh-v",
"node_id": "MDQ6VXNlcjQ2MDg0MzA0",
"organizations_url": "https://api.github.com/users/rushabh-v/orgs",
"received_events_url": "https://api.github.com/users/rushabh-v/received_events",
"repos_url": "https://api.github.com/users/rushabh-v/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rushabh-v/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rushabh-v/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rushabh-v"
}
|
[
{
"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"
}
| 7
| 2020-01-16T05:40:06Z
| 2020-02-05T19:19:30Z
| 2020-02-05T19:09:05Z
|
CONTRIBUTOR
| null |
- [x] closes #30984
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31066/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31066/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31066.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31066",
"merged_at": "2020-02-05T19:09:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31066.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31066"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31067
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31067/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31067/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31067/events
|
https://github.com/pandas-dev/pandas/issues/31067
| 550,643,248
|
MDU6SXNzdWU1NTA2NDMyNDg=
| 31,067
|
pd.to_datetime() time conversion error
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41030547?v=4",
"events_url": "https://api.github.com/users/chunxueyu/events{/privacy}",
"followers_url": "https://api.github.com/users/chunxueyu/followers",
"following_url": "https://api.github.com/users/chunxueyu/following{/other_user}",
"gists_url": "https://api.github.com/users/chunxueyu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chunxueyu",
"id": 41030547,
"login": "chunxueyu",
"node_id": "MDQ6VXNlcjQxMDMwNTQ3",
"organizations_url": "https://api.github.com/users/chunxueyu/orgs",
"received_events_url": "https://api.github.com/users/chunxueyu/received_events",
"repos_url": "https://api.github.com/users/chunxueyu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chunxueyu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chunxueyu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chunxueyu"
}
|
[] |
closed
| false
| null |
[] | null | 5
| 2020-01-16T08:11:40Z
| 2020-01-16T11:52:16Z
| 2020-01-16T10:46:45Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
# Your code here
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution.]
**Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!
**Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary.
For documentation-related issues, you can check the latest versions of the docs on `master` here:
https://pandas-docs.github.io/pandas-docs-travis/
If the issue has not been resolved there, go ahead and file it in the issue tracker.
#### Expected Output
#### 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/31067/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31067/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31068
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31068/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31068/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31068/events
|
https://github.com/pandas-dev/pandas/issues/31068
| 550,646,149
|
MDU6SXNzdWU1NTA2NDYxNDk=
| 31,068
|
REGR: MultiIndex level names RuntimeError in groupby.apply
|
{
"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": "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": 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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 0
| 2020-01-16T08:17:55Z
| 2020-01-20T22:25:33Z
| 2020-01-20T22:25:33Z
|
MEMBER
| null |
```
df = pd.DataFrame({
'A': np.arange(10), 'B': [1, 2] * 5,
'C': np.random.rand(10), 'D': np.random.rand(10)}
).set_index(['A', 'B'])
df.groupby('B').apply(lambda x: x.sum())
```
On master this gives an error:
```
In [40]: df.groupby('B').apply(lambda x: x.sum())
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-40-75bc1ff12251> in <module>
----> 1 df.groupby('B').apply(lambda x: x.sum())
~/scipy/pandas/pandas/core/groupby/groupby.py in apply(self, func, *args, **kwargs)
733 with option_context("mode.chained_assignment", None):
734 try:
--> 735 result = self._python_apply_general(f)
736 except TypeError:
737 # gh-20949
~/scipy/pandas/pandas/core/groupby/groupby.py in _python_apply_general(self, f)
752
753 return self._wrap_applied_output(
--> 754 keys, values, not_indexed_same=mutated or self.mutated
755 )
756
~/scipy/pandas/pandas/core/groupby/generic.py in _wrap_applied_output(self, keys, values, not_indexed_same)
1200 if len(keys) == ping.ngroups:
1201 key_index = ping.group_index
-> 1202 key_index.name = key_names[0]
1203
1204 key_lookup = Index(keys)
~/scipy/pandas/pandas/core/indexes/base.py in name(self, value)
1171 # Used in MultiIndex.levels to avoid silently ignoring name updates.
1172 raise RuntimeError(
-> 1173 "Cannot set name on a level of a MultiIndex. Use "
1174 "'MultiIndex.set_names' instead."
1175 )
RuntimeError: Cannot set name on a level of a MultiIndex. Use 'MultiIndex.set_names' instead.
```
On 0.25.3 this works:
```
In [10]: df.groupby('B').apply(lambda x: x.sum())
Out[10]:
C D
B
1 2.761792 3.963817
2 1.040950 3.578762
```
It seems the additional MultiIndex level that is not used to group (['A', 'B'] are index levels, but only grouping by 'B').
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31068/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31068/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31069
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31069/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31069/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31069/events
|
https://github.com/pandas-dev/pandas/pull/31069
| 550,647,197
|
MDExOlB1bGxSZXF1ZXN0MzYzNTE1MTMz
| 31,069
|
Fix DataFrame.info() range summary for DatetimeIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8292987?v=4",
"events_url": "https://api.github.com/users/Ircama/events{/privacy}",
"followers_url": "https://api.github.com/users/Ircama/followers",
"following_url": "https://api.github.com/users/Ircama/following{/other_user}",
"gists_url": "https://api.github.com/users/Ircama/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Ircama",
"id": 8292987,
"login": "Ircama",
"node_id": "MDQ6VXNlcjgyOTI5ODc=",
"organizations_url": "https://api.github.com/users/Ircama/orgs",
"received_events_url": "https://api.github.com/users/Ircama/received_events",
"repos_url": "https://api.github.com/users/Ircama/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Ircama/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ircama/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Ircama"
}
|
[
{
"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 |
[] | null | 7
| 2020-01-16T08:20:16Z
| 2020-02-05T08:02:10Z
| 2020-02-05T08:02:10Z
|
NONE
| null |
**Fix `DataFrame.info()` range summary for DatetimeIndex**
This PR aims to provide better description of [DatetimeIndex](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DatetimeIndex.html) within [DataFrame.info](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.info.html) in relation to the display of the range of unsorted indexes, by replacing the original first to last element values with "min date" to "max date" values.
Fixes https://github.com/pandas-dev/pandas/issues/31116
<del>
This PR fixes range display errors that might occur when [DataFrame.info](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.info.html) describes a [DatetimeIndex](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DatetimeIndex.html) of big dataframes: depending on the dataframe structure, related *"min date" to "max date"* values can be wrong.
Example of output produced by `DataFrame.info()`:
```python
import pandas as pd
idx = pd.date_range('2020-01-15 01:03:05',
periods=1000004, freq='ms')
df = pd.DataFrame({'count': range(len(idx))}, index=idx)
df
df.info()
```
`df` output:
```
count
2020-01-15 01:03:05.000 0
2020-01-15 01:03:05.001 1
2020-01-15 01:03:05.002 2
2020-01-15 01:03:05.003 3
2020-01-15 01:03:05.004 4
... ...
2020-01-15 01:19:44.999 999999
2020-01-15 01:19:45.000 1000000
2020-01-15 01:19:45.001 1000001
2020-01-15 01:19:45.002 1000002
2020-01-15 01:19:45.003 1000003
```
`df.info()` output:
```
<class 'pandas.core.frame.DataFrame'>
DatetimeIndex: 1000004 entries, 2020-01-15 01:03:05 to 2020-01-15 01:19:45.003000
Freq: L
Data columns (total 1 columns):
count 1000004 non-null int64
dtypes: int64(1)
memory usage: 15.3 MB
```
This PR fixes possible errors within the description: `"DatetimeIndex: ... entries, `*date_a*` to `*date_b* output, where *date_a* and *date_b* should respectively show minimum and maximum date range values.
</del>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31069/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31069/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31069.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31069",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31069.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31069"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31070
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31070/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31070/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31070/events
|
https://github.com/pandas-dev/pandas/pull/31070
| 550,696,553
|
MDExOlB1bGxSZXF1ZXN0MzYzNTU0OTE0
| 31,070
|
PERF: add shortcut to Timedelta constructor
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4",
"events_url": "https://api.github.com/users/AlexKirko/events{/privacy}",
"followers_url": "https://api.github.com/users/AlexKirko/followers",
"following_url": "https://api.github.com/users/AlexKirko/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlexKirko",
"id": 23253999,
"login": "AlexKirko",
"node_id": "MDQ6VXNlcjIzMjUzOTk5",
"organizations_url": "https://api.github.com/users/AlexKirko/orgs",
"received_events_url": "https://api.github.com/users/AlexKirko/received_events",
"repos_url": "https://api.github.com/users/AlexKirko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlexKirko"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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-01-16T09:57:08Z
| 2020-01-27T06:54:59Z
| 2020-01-24T00:36:48Z
|
MEMBER
| null |
WIP until #30676 gets merged.
- [ ] second half of #30543
- [X] tests added 1 / passed 1
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
This implements a shortcut in the Timedelta constructor to cut down on processing if Timedelta is passed. We still need to check if any other args are passed. Then, if a Timedelta with no other kwargs was passed, we just return that same Timedelta.
A test is added to check that the Timedelta is still the same object.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31070/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31070/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31070.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31070",
"merged_at": "2020-01-24T00:36:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31070.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31070"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31071
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31071/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31071/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31071/events
|
https://github.com/pandas-dev/pandas/pull/31071
| 550,745,686
|
MDExOlB1bGxSZXF1ZXN0MzYzNTk1MTY4
| 31,071
|
ENH: accept a dictionary in plot colors
|
{
"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": "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"
}
| 4
| 2020-01-16T11:25:12Z
| 2020-02-01T18:19:00Z
| 2020-01-26T01:04:28Z
|
MEMBER
| null |
This is a resurrection of #28659. Have kept the original commit history, just rebased and added docstrings.
- [x] closes #8193
- [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/31071/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31071/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31071.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31071",
"merged_at": "2020-01-26T01:04:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31071.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31071"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31072
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31072/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31072/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31072/events
|
https://github.com/pandas-dev/pandas/pull/31072
| 550,767,320
|
MDExOlB1bGxSZXF1ZXN0MzYzNjEyMzg3
| 31,072
|
CLN/MAINT: Clean and annotate stata reader and writers
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
},
{
"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"
}
| 10
| 2020-01-16T12:09:02Z
| 2020-07-28T14:41:36Z
| 2020-01-26T00:42:01Z
|
CONTRIBUTOR
| null |
- [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/31072/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31072/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31072.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31072",
"merged_at": "2020-01-26T00:42:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31072.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31072"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31073
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31073/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31073/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31073/events
|
https://github.com/pandas-dev/pandas/issues/31073
| 550,796,561
|
MDU6SXNzdWU1NTA3OTY1NjE=
| 31,073
|
The IntervalIndex documentation makes no mention of IntervalIndex.get_loc
|
{
"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"
}
|
[
{
"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": "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"
}
] |
open
| false
| null |
[] | null | 5
| 2020-01-16T13:08:16Z
| 2020-02-25T20:52:57Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
# No code, documentation issue
```
#### Problem description
Why doesn't the documentation about IntervalIndex ([here](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.IntervalIndex.html)) contain any mention of the function [IntervalIndex.get_loc](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.IntervalIndex.get_loc.html)?
#### Expected Output
I would expect the list of class methods to include all the methods.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31073/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31073/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31074
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31074/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31074/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31074/events
|
https://github.com/pandas-dev/pandas/issues/31074
| 550,878,502
|
MDU6SXNzdWU1NTA4Nzg1MDI=
| 31,074
|
Pandas .plot() on regularly spaced timeseries result in slow plotting/interaction
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2330659?v=4",
"events_url": "https://api.github.com/users/rhkarls/events{/privacy}",
"followers_url": "https://api.github.com/users/rhkarls/followers",
"following_url": "https://api.github.com/users/rhkarls/following{/other_user}",
"gists_url": "https://api.github.com/users/rhkarls/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhkarls",
"id": 2330659,
"login": "rhkarls",
"node_id": "MDQ6VXNlcjIzMzA2NTk=",
"organizations_url": "https://api.github.com/users/rhkarls/orgs",
"received_events_url": "https://api.github.com/users/rhkarls/received_events",
"repos_url": "https://api.github.com/users/rhkarls/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhkarls/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhkarls/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhkarls"
}
|
[
{
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] |
open
| false
| null |
[] | null | 2
| 2020-01-16T15:24:25Z
| 2021-07-27T04:42:39Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import numpy as np
import matplotlib.pyplot as plt
import datetime as dt
import pandas as pd
N = 100000
y = np.linspace(0, 10, N)
base_dt = dt.datetime(2000,1,1)
dt_range = [base_dt + dt.timedelta(minutes=x) for x in range(N)]
plt.figure('pyplot timeseries')
plt.plot(dt_range,y)
s = pd.Series(index=dt_range, data=y)
plt.figure('Pandas plot timeseries')
s.plot()
s2 = pd.Series(data=y)
plt.figure('Pandas plot series')
s2.plot()
```
#### Problem description
I noticed that plotting time series using .plot() sometimes resulted in very slow and unresponsive plots, where it is difficult to interact with the figure (e.g. pan). I think this happens with regularly spaced time series where there either is a frequency defined or pandas is able to infer the frequency. Perhaps it has something to do with the plot tick labels on the x (time) axis? It does not happen when plotting time series that are irregular, and thus when pandas does not style the plot ticks and tick labels.
In the example code the first and the third plot are smooth to interact with, while the second plot is lagging terribly. Also see screenshot of the second plot with the pandas styled tick labels:

If changing the dt_range from minute frequency to hour frequency (replace `minutes` with `hours`) the pandas.plot() becomes much smooth to interact with despite having the same series size, and I think because it has much fewer ticks and labels:

So it might be a combination of the size of series plotted and how the ticks are drawn/updated?
Are there ways to disable the styled pandas ticks somehow? I also notice that pyplot.plot() and pandas.plot() result in very different conversions of timestamps to numeric x values - is there a way to also disable that behavior in pandas so it is compatible with pyplot?
#### Expected Output
Equally responsive plotting as with pyplot.plot()
#### 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 78 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en
LOCALE : None.None
pandas : 0.25.3
numpy : 1.17.4
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 44.0.0.post20200106
Cython : 0.29.14
pytest : 5.3.2
hypothesis : 4.54.2
sphinx : 2.3.1
blosc : None
feather : None
xlsxwriter : 1.2.7
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.2
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.2
sqlalchemy : 1.3.12
tables : 3.6.1
xarray : 0.14.1
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.7
</details>
Edit: This performance issue might be related to #15071
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31074/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31074/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31075
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31075/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31075/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31075/events
|
https://github.com/pandas-dev/pandas/issues/31075
| 550,879,179
|
MDU6SXNzdWU1NTA4NzkxNzk=
| 31,075
|
PERF: DataFrame.mean() is slow with datetime columns
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/197589?v=4",
"events_url": "https://api.github.com/users/richierocks/events{/privacy}",
"followers_url": "https://api.github.com/users/richierocks/followers",
"following_url": "https://api.github.com/users/richierocks/following{/other_user}",
"gists_url": "https://api.github.com/users/richierocks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/richierocks",
"id": 197589,
"login": "richierocks",
"node_id": "MDQ6VXNlcjE5NzU4OQ==",
"organizations_url": "https://api.github.com/users/richierocks/orgs",
"received_events_url": "https://api.github.com/users/richierocks/received_events",
"repos_url": "https://api.github.com/users/richierocks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/richierocks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/richierocks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/richierocks"
}
|
[
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
},
{
"color": "547c03",
"default": false,
"description": "sum, mean, min, max, etc.",
"id": 2365504383,
"name": "Reduction Operations",
"node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations"
}
] |
open
| false
| null |
[] | null | 10
| 2020-01-16T15:25:28Z
| 2021-07-27T04:54:35Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import numpy as np
import pandas as pd
# A DataFrame containing a datetime64 column
n = 1000000
df = pd.DataFrame({
"x": np.random.normal(0.0, 1.0, n),
"d": pd.date_range(pd.datetime.today(), periods=n, freq="1H").tolist()
})
# Calculating the mean of individual columns is pretty much instantaneous
df["x"].mean()
## 1000 loops, best of 3: 1.35 ms per loop
df["d"].mean()
## 100 loops, best of 3: 2.91 ms per loop
# Using the DataFrame's .mean() method, it takes a really long time
%timeit df.mean()
## 1 loop, best of 3: 9.23 s per loop
```
#### Problem description
When DataFrame contains a `datetime64` column, the time taken to run the `.mean()` method for the whole DataFrame is thousands of times longer than than time taken to run the `.mean()` method on each column individually.
#### Expected Output
Answer is correct; just too slow.
#### Output of ``pd.show_versions()``
<details>
pd.show_versions()
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.1.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.3
numpy : 1.13.3
pytz : 2017.2
dateutil : 2.7.3
pip : 19.2.3
setuptools : 44.0.0.post20200106
Cython : 0.25.2
pytest : 3.0.7
hypothesis : None
sphinx : 1.5.6
blosc : None
feather : None
xlsxwriter : 0.9.6
lxml.etree : 3.7.3
html5lib : 0.999
pymysql : 0.9.3
psycopg2 : 2.8.3 (dt dec pq3 ext lo64)
jinja2 : 2.10.1
IPython : 5.3.0
pandas_datareader: None
bs4 : 4.6.0
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 3.7.3
matplotlib : 2.0.2
numexpr : 2.6.2
odfpy : None
openpyxl : 2.4.7
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 0.19.1
sqlalchemy : 1.3.8
tables : 3.3.0
xarray : None
xlrd : 1.0.0
xlwt : 1.2.0
xlsxwriter : 0.9.6
</details>
I asked about this on Stack Overflow (https://stackoverflow.com/questions/59759107/how-to-avoid-poor-performance-of-pandas-mean-with-datetime-columns); one respondent hazarded a guess the the issue may lie with these lines of code (but no rigorous debugging was done).
https://github.com/pandas-dev/pandas/blob/v0.25.3/pandas/core/arrays/datetimes.py#L601-L603
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31075/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31075/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31076
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31076/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31076/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31076/events
|
https://github.com/pandas-dev/pandas/pull/31076
| 550,887,488
|
MDExOlB1bGxSZXF1ZXN0MzYzNzEwMTA1
| 31,076
|
STY: Some stuff that triggers my OCD ;)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"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-01-16T15:38:57Z
| 2020-01-16T18:41:33Z
| 2020-01-16T18:34:43Z
|
MEMBER
| null |
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Some stuff that got the attention of my eye
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31076/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31076/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31076.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31076",
"merged_at": "2020-01-16T18:34:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31076.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31076"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31077
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31077/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31077/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31077/events
|
https://github.com/pandas-dev/pandas/issues/31077
| 550,942,068
|
MDU6SXNzdWU1NTA5NDIwNjg=
| 31,077
|
dict to series turns tuple keys into single strings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/223276?v=4",
"events_url": "https://api.github.com/users/cottrell/events{/privacy}",
"followers_url": "https://api.github.com/users/cottrell/followers",
"following_url": "https://api.github.com/users/cottrell/following{/other_user}",
"gists_url": "https://api.github.com/users/cottrell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cottrell",
"id": 223276,
"login": "cottrell",
"node_id": "MDQ6VXNlcjIyMzI3Ng==",
"organizations_url": "https://api.github.com/users/cottrell/orgs",
"received_events_url": "https://api.github.com/users/cottrell/received_events",
"repos_url": "https://api.github.com/users/cottrell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cottrell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cottrell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cottrell"
}
|
[
{
"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": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] |
open
| false
| null |
[] | null | 0
| 2020-01-16T17:10:22Z
| 2021-07-27T04:55:32Z
| null |
CONTRIBUTOR
| null |
```
In [69]: pd.Series({('a',): 1, ('a', 'b'): 2})
Out[69]:
a 1
a 2
dtype: int64
In [70]: pd.__version__
Out[70]: '0.25.3'
```
I would think this should result in tuple objects. Probably something in core/series.py ... looks like _init_dict and maybe create_series_with_explicit_dtype from poking around.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31077/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31077/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31078
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31078/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31078/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31078/events
|
https://github.com/pandas-dev/pandas/pull/31078
| 550,964,827
|
MDExOlB1bGxSZXF1ZXN0MzYzNzczMjc5
| 31,078
|
CLN: remove unused legacy pickle compat code
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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-01-16T17:57:13Z
| 2020-01-17T10:07:41Z
| 2020-01-16T23:50:41Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31078/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31078/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31078.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31078",
"merged_at": "2020-01-16T23:50:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31078.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31078"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31079
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31079/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31079/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31079/events
|
https://github.com/pandas-dev/pandas/pull/31079
| 550,967,186
|
MDExOlB1bGxSZXF1ZXN0MzYzNzc1MjIx
| 31,079
|
TST: Remove bare pytest.raises
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40249442?v=4",
"events_url": "https://api.github.com/users/gdex1/events{/privacy}",
"followers_url": "https://api.github.com/users/gdex1/followers",
"following_url": "https://api.github.com/users/gdex1/following{/other_user}",
"gists_url": "https://api.github.com/users/gdex1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gdex1",
"id": 40249442,
"login": "gdex1",
"node_id": "MDQ6VXNlcjQwMjQ5NDQy",
"organizations_url": "https://api.github.com/users/gdex1/orgs",
"received_events_url": "https://api.github.com/users/gdex1/received_events",
"repos_url": "https://api.github.com/users/gdex1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gdex1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gdex1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gdex1"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-01-16T18:02:21Z
| 2020-01-27T04:45:27Z
| 2020-01-24T03:57:24Z
|
CONTRIBUTOR
| null |
References #30999
Adds match argument to pytest.raises found in the following files. https://github.com/pandas-dev/pandas/issues/30999#issuecomment-574174389
**ToDo:**
- [x] pandas/tests/arithmetic/test_numeric
- [X] pandas/tests/arithmetic/test_object
- [x] pandas/tests/arithmetic/test_timedelta64
- [x] pandas/tests/arrays/interval/test_interval
- [ ] add 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/31079/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31079/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31079.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31079",
"merged_at": "2020-01-24T03:57:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31079.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31079"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31080
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31080/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31080/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31080/events
|
https://github.com/pandas-dev/pandas/issues/31080
| 550,974,675
|
MDU6SXNzdWU1NTA5NzQ2NzU=
| 31,080
|
Pandas 0.25.0 breaks np.isin
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6882454?v=4",
"events_url": "https://api.github.com/users/lamourj/events{/privacy}",
"followers_url": "https://api.github.com/users/lamourj/followers",
"following_url": "https://api.github.com/users/lamourj/following{/other_user}",
"gists_url": "https://api.github.com/users/lamourj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lamourj",
"id": 6882454,
"login": "lamourj",
"node_id": "MDQ6VXNlcjY4ODI0NTQ=",
"organizations_url": "https://api.github.com/users/lamourj/orgs",
"received_events_url": "https://api.github.com/users/lamourj/received_events",
"repos_url": "https://api.github.com/users/lamourj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lamourj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lamourj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lamourj"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
open
| false
| null |
[] | null | 4
| 2020-01-16T18:18:57Z
| 2020-07-18T13:35:45Z
| null |
NONE
| null |
Observed with numpy 1.17.4 as well as (latest) 1.18.1:
```python
# pandas 0.24.2:
l = [pd.Timestamp]
pd.Timestamp == pd.Timestamp
>>> True
np.isin(l, l)
>>> array([ True])
```
```python
# pandas 0.25.0
l = [pd.Timestamp]
pd.Timestamp == pd.Timestamp
>>> True
np.isin(l, l)
>>> array([ False])
```
#### Problem description
Since 0.25.0, the `==` of `pd.Timestamp` is preserved but it doesn't go through `np.isin`.
This is observed as well under pandas 0.25.3.
|
{
"+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/31080/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31080/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31081
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31081/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31081/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31081/events
|
https://github.com/pandas-dev/pandas/pull/31081
| 550,990,468
|
MDExOlB1bGxSZXF1ZXN0MzYzNzkzMjcw
| 31,081
|
CLN: Moved the same code in 'if' and the 'else' outside
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "207de5",
"default": false,
"description": 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-01-16T18:50:48Z
| 2020-01-16T19:52:14Z
| 2020-01-16T19:49:50Z
|
MEMBER
| null |
AFICT this should be ok, right?
cc (@WillAyd)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31081/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31081/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31081.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31081",
"merged_at": "2020-01-16T19:49:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31081.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31081"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31082
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31082/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31082/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31082/events
|
https://github.com/pandas-dev/pandas/pull/31082
| 550,996,353
|
MDExOlB1bGxSZXF1ZXN0MzYzNzk4MDM3
| 31,082
|
CLN: __all__ for core/index.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"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 | 10
| 2020-01-16T19:03:00Z
| 2020-01-17T17:59:01Z
| 2020-01-17T17:40:04Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31082/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31082/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31082.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31082",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31082.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31082"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31083
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31083/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31083/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31083/events
|
https://github.com/pandas-dev/pandas/pull/31083
| 551,002,161
|
MDExOlB1bGxSZXF1ZXN0MzYzODAyNzcw
| 31,083
|
CLN: Remove download_wheels.py, moved to pandas-release
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
}
|
[
{
"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-01-16T19:15:37Z
| 2020-01-16T21:46:34Z
| 2020-01-16T21:46:29Z
|
MEMBER
| null |
- [X] xref #31039
Script being moved to the pandas-release repository in https://github.com/pandas-dev/pandas-release/pull/23
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31083/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31083/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31083.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31083",
"merged_at": "2020-01-16T21:46:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31083.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31083"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31084
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31084/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31084/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31084/events
|
https://github.com/pandas-dev/pandas/pull/31084
| 551,005,998
|
MDExOlB1bGxSZXF1ZXN0MzYzODA1OTE1
| 31,084
|
REF: stricter types for RangeIndex._simple_new
|
{
"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-01-16T19:24:11Z
| 2020-01-17T01:08:23Z
| 2020-01-16T23:55:08Z
|
MEMBER
| null |
xref #31055.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31084/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31084/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31084.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31084",
"merged_at": "2020-01-16T23:55:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31084.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31084"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31085
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31085/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31085/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31085/events
|
https://github.com/pandas-dev/pandas/pull/31085
| 551,013,748
|
MDExOlB1bGxSZXF1ZXN0MzYzODEyMjMx
| 31,085
|
DOC: automatic 'end' year of copyright
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-01-16T19:41:07Z
| 2020-01-16T23:39:35Z
| 2020-01-16T21:36:54Z
|
MEMBER
| null |
#31022 Updated it after nearly 6 years, I think this will update with each new merge, so that should not be a problem from now on, (I think)
cc (@datapythonista)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31085/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31085/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31085.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31085",
"merged_at": "2020-01-16T21:36:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31085.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31085"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31086
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31086/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31086/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31086/events
|
https://github.com/pandas-dev/pandas/issues/31086
| 551,020,793
|
MDU6SXNzdWU1NTEwMjA3OTM=
| 31,086
|
Issue generating a line plot from a Series when previous plots are already defined
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/59935634?v=4",
"events_url": "https://api.github.com/users/RickOldenburger/events{/privacy}",
"followers_url": "https://api.github.com/users/RickOldenburger/followers",
"following_url": "https://api.github.com/users/RickOldenburger/following{/other_user}",
"gists_url": "https://api.github.com/users/RickOldenburger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RickOldenburger",
"id": 59935634,
"login": "RickOldenburger",
"node_id": "MDQ6VXNlcjU5OTM1NjM0",
"organizations_url": "https://api.github.com/users/RickOldenburger/orgs",
"received_events_url": "https://api.github.com/users/RickOldenburger/received_events",
"repos_url": "https://api.github.com/users/RickOldenburger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RickOldenburger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RickOldenburger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RickOldenburger"
}
|
[
{
"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 |
[] | null | 2
| 2020-01-16T19:55:39Z
| 2020-01-18T00:16:25Z
| 2020-01-17T21:16:04Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
df = self.getStats() # returns a dataFrame with a row called Rounds
totalMatches = len(df)
if (totalMatches == 0):
print("Need to play at least one match for a graph", flush = True)
return
vc = df["Rounds"].value_counts()
x = vc.plot(legend=True, figsize=[10, 8])
x.set_xlabel("Number of Rounds to Win")
x.set_ylabel("Occurrences")
x.set_title("Value-Count Graph (Matches: " + str(totalMatches) + ")")
Occurences = max(vc) + 1
# for small values set y tic mark text
if Occurences <= 20:
yText = [] # Stores our Y-Axis text
for i in range(1, Occurences):
yText.append(f'${i}$')
plt.yticks(np.arange(1, Occurences), yText, ha="center")
plt.show()
```
#### The code above works fine unless the following has been executed to make "popout" graphs
%matplotlib qt5
If a previous graph exists from a previous run, and is still up. Then this graph will have additions added directly to it. Please see the images for what is happening.

It should be noted, I am using version 0.25.3 of pandas, and I searched and could not find this issue already logged.
1) The reason this is an issue is that it leads to potentially different results each time the program is executed.
2) It only occurs with pandas Series objects. (I tested and it is not an issue for dataFrames.)
You can find the full python program at:
https://github.com/RickOldenburger/War-Card-Game-Analysis
There is a work around and I have applied it in my program.
change the statement:
x = vc.plot(legend=True, figsize=[10, 8])
to these two statments:
plt.figure(figsize=(10, 8))
x = vc.plot.line(legend=True) # no point in having the figsize defined twice
**Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!
**Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary.
For documentation-related issues, you can check the latest versions of the docs on `master` here:
https://pandas-docs.github.io/pandas-docs-travis/
If the issue has not been resolved there, go ahead and file it in the issue tracker.
#### Expected Output
#### 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/31086/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31086/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31087
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31087/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31087/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31087/events
|
https://github.com/pandas-dev/pandas/issues/31087
| 551,029,054
|
MDU6SXNzdWU1NTEwMjkwNTQ=
| 31,087
|
DOC: replace ggpy with plotnine on the ecosystem page
|
{
"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"
},
{
"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 |
[] |
{
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 0
| 2020-01-16T20:12:08Z
| 2020-01-18T17:11:21Z
| 2020-01-18T17:11:21Z
|
MEMBER
| null |
We have an entry about ggpy in the visualization section of the ecosystem page (https://dev.pandas.io/docs/ecosystem.html#visualization). However, ggpy is no longer maintained (last commit is more than 3 years ago: https://github.com/yhat/ggpy). While plotnine is an actively developed alternative ggplot-python-interface (https://github.com/has2k1/plotnine/).
So I think we can just replace the entry about ggpy with one about plotnine.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31087/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31087/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31088
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31088/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31088/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31088/events
|
https://github.com/pandas-dev/pandas/pull/31088
| 551,067,321
|
MDExOlB1bGxSZXF1ZXN0MzYzODU2NzA2
| 31,088
|
BUG: df.pivot_table fails when margin is True and only columns is defined
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 9
| 2020-01-16T21:31:59Z
| 2021-07-03T06:49:58Z
| 2020-01-20T20:08:12Z
|
MEMBER
| null |
- [x] closes #31016
- [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/31088/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31088/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31088.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31088",
"merged_at": "2020-01-20T20:08:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31088.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31088"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31089
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31089/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31089/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31089/events
|
https://github.com/pandas-dev/pandas/pull/31089
| 551,120,177
|
MDExOlB1bGxSZXF1ZXN0MzYzOTAwMjcx
| 31,089
|
CLN: update _simple_new usages
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "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": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-01-16T23:49:23Z
| 2020-01-18T16:14:58Z
| 2020-01-18T15:59:28Z
|
MEMBER
| null |
In preparation for making the _simple_new constructors stricter, xref #31084, #31055.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31089/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31089/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31089.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31089",
"merged_at": "2020-01-18T15:59:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31089.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31089"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31090
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31090/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31090/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31090/events
|
https://github.com/pandas-dev/pandas/issues/31090
| 551,122,172
|
MDU6SXNzdWU1NTExMjIxNzI=
| 31,090
|
Clean Up Sphinx Warnings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
open
| false
| null |
[] | null | 5
| 2020-01-16T23:56:31Z
| 2021-04-10T16:13:13Z
| null |
MEMBER
| null |
A fresh build of the docs locally yields all of the below warnings:
<details>
```sh
as-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
WARNING: [autosummary] failed to import 'pandas.SparseArray.get_values': no module named pandas.SparseArray.get_values
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/sphinx/ext/autosummary/__init__.py:635: FutureWarning: The pandas.SparseArray class is deprecated and will be removed from pandas in a future version. Use pandas.arrays.SparseArray instead.
obj = getattr(obj, obj_name)
WARNING: [autosummary] failed to import 'pandas.SparseArray.values': no module named pandas.SparseArray.values
WARNING: [autosummary] failed to import 'pandas.Timestamp.weekday_name': no module named pandas.Timestamp.weekday_name
WARNING: [autosummary] failed to import 'pandas.Timestamp.weekday_name': no module named pandas.Timestamp.weekday_name
WARNING: [autosummary] failed to import 'pandas.arrays.DatetimeArray.timetuple': no module named pandas.arrays.DatetimeArray.timetuple
WARNING: [autosummary] failed to import 'pandas.arrays.DatetimeArray.weekday_name': no module named pandas.arrays.DatetimeArray.weekday_name
WARNING: [autosummary] failed to import 'pandas.core.series.Series.as_blocks': no module named pandas.core.series.Series.as_blocks
WARNING: [autosummary] failed to import 'pandas.core.series.Series.as_matrix': no module named pandas.core.series.Series.as_matrix
WARNING: [autosummary] failed to import 'pandas.core.series.Series.asobject': no module named pandas.core.series.Series.asobject
WARNING: [autosummary] failed to import 'pandas.core.series.Series.base': no module named pandas.core.series.Series.base
WARNING: [autosummary] failed to import 'pandas.core.series.Series.blocks': no module named pandas.core.series.Series.blocks
WARNING: [autosummary] failed to import 'pandas.core.series.Series.clip_lower': no module named pandas.core.series.Series.clip_lower
WARNING: [autosummary] failed to import 'pandas.core.series.Series.clip_upper': no module named pandas.core.series.Series.clip_upper
WARNING: [autosummary] failed to import 'pandas.core.series.Series.compound': no module named pandas.core.series.Series.compound
WARNING: [autosummary] failed to import 'pandas.core.series.Series.compress': no module named pandas.core.series.Series.compress
WARNING: [autosummary] failed to import 'pandas.core.series.Series.convert_objects': no module named pandas.core.series.Series.convert_objects
WARNING: [autosummary] failed to import 'pandas.core.series.Series.data': no module named pandas.core.series.Series.data
WARNING: [autosummary] failed to import 'pandas.core.series.Series.flags': no module named pandas.core.series.Series.flags
WARNING: [autosummary] failed to import 'pandas.core.series.Series.from_array': no module named pandas.core.series.Series.from_array
WARNING: [autosummary] failed to import 'pandas.core.series.Series.from_csv': no module named pandas.core.series.Series.from_csv
WARNING: [autosummary] failed to import 'pandas.core.series.Series.ftype': no module named pandas.core.series.Series.ftype
WARNING: [autosummary] failed to import 'pandas.core.series.Series.ftypes': no module named pandas.core.series.Series.ftypes
WARNING: [autosummary] failed to import 'pandas.core.series.Series.get_dtype_counts': no module named pandas.core.series.Series.get_dtype_counts
WARNING: [autosummary] failed to import 'pandas.core.series.Series.get_ftype_counts': no module named pandas.core.series.Series.get_ftype_counts
WARNING: [autosummary] failed to import 'pandas.core.series.Series.get_value': no module named pandas.core.series.Series.get_value
WARNING: [autosummary] failed to import 'pandas.core.series.Series.get_values': no module named pandas.core.series.Series.get_values
WARNING: [autosummary] failed to import 'pandas.core.series.Series.imag': no module named pandas.core.series.Series.imag
WARNING: [autosummary] failed to import 'pandas.core.series.Series.is_copy': no module named pandas.core.series.Series.is_copy
WARNING: [autosummary] failed to import 'pandas.core.series.Series.itemsize': no module named pandas.core.series.Series.itemsize
WARNING: [autosummary] failed to import 'pandas.core.series.Series.ix': no module named pandas.core.series.Series.ix
WARNING: [autosummary] failed to import 'pandas.core.series.Series.nonzero': no module named pandas.core.series.Series.nonzero
WARNING: [autosummary] failed to import 'pandas.core.series.Series.ptp': no module named pandas.core.series.Series.ptp
WARNING: [autosummary] failed to import 'pandas.core.series.Series.put': no module named pandas.core.series.Series.put
WARNING: [autosummary] failed to import 'pandas.core.series.Series.real': no module named pandas.core.series.Series.real
WARNING: [autosummary] failed to import 'pandas.core.series.Series.reindex_axis': no module named pandas.core.series.Series.reindex_axis
WARNING: [autosummary] failed to import 'pandas.core.series.Series.select': no module named pandas.core.series.Series.select
WARNING: [autosummary] failed to import 'pandas.core.series.Series.set_value': no module named pandas.core.series.Series.set_value
WARNING: [autosummary] failed to import 'pandas.core.series.Series.strides': no module named pandas.core.series.Series.strides
WARNING: [autosummary] failed to import 'pandas.core.series.Series.timetuple': no module named pandas.core.series.Series.timetuple
WARNING: [autosummary] failed to import 'pandas.core.series.Series.to_dense': no module named pandas.core.series.Series.to_dense
WARNING: [autosummary] failed to import 'pandas.core.series.Series.to_msgpack': no module named pandas.core.series.Series.to_msgpack
WARNING: [autosummary] failed to import 'pandas.core.series.Series.to_sparse': no module named pandas.core.series.Series.to_sparse
WARNING: [autosummary] failed to import 'pandas.core.series.Series.valid': no module named pandas.core.series.Series.valid
```
</details>
I believe these are just removed features and we should probably just remove from the docs as well
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31090/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31090/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31091
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31091/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31091/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31091/events
|
https://github.com/pandas-dev/pandas/pull/31091
| 551,126,761
|
MDExOlB1bGxSZXF1ZXN0MzYzOTA1NzAw
| 31,091
|
CI/TST: fix failing tests in py37_np_dev
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 11
| 2020-01-17T00:11:17Z
| 2020-01-27T12:37:03Z
| 2020-01-17T02:24:19Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31091/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31091/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31091.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31091",
"merged_at": "2020-01-17T02:24:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31091.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31091"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31092
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31092/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31092/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31092/events
|
https://github.com/pandas-dev/pandas/pull/31092
| 551,126,947
|
MDExOlB1bGxSZXF1ZXN0MzYzOTA1ODUy
| 31,092
|
Fix Segfault (maybe)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "36ede0",
"default": false,
"description": "Non-Recoverable Error",
"id": 1121248195,
"name": "Segfault",
"node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault"
}
] |
closed
| false
| null |
[] | null | 18
| 2020-01-17T00:11:57Z
| 2020-01-23T17:37:36Z
| 2020-01-23T17:37:36Z
|
MEMBER
| null |
- [X] closes #21824
I have only been able to reproduce this issue once and can't verify that this works, but I think @jorisvandenbossche has had more luck reproducing so maybe can try
I noticed `_as_array` showing up in a core dump I was able to get, and this line seems a little suspect so perhaps removing the writeable requirement fixes
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31092/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31092/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31092.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31092",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31092.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31092"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31093
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31093/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31093/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31093/events
|
https://github.com/pandas-dev/pandas/pull/31093
| 551,127,668
|
MDExOlB1bGxSZXF1ZXN0MzYzOTA2NDQ2
| 31,093
|
Pull Request Tips
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-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-01-17T00:14:18Z
| 2020-02-02T01:21:45Z
| 2020-01-18T16:37:40Z
|
MEMBER
| null |
I think these issues pop up on a good deal of PRs but aren't explicitly stated anywhere, so adding a few bullet points to the contributing guide might 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/31093/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31093/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31093.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31093",
"merged_at": "2020-01-18T16:37:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31093.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31093"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31094
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31094/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31094/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31094/events
|
https://github.com/pandas-dev/pandas/pull/31094
| 551,130,055
|
MDExOlB1bGxSZXF1ZXN0MzYzOTA4NDQ1
| 31,094
|
WEB: Styling blog
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
}
|
[
{
"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 | 0
| 2020-01-17T00:22:06Z
| 2020-01-17T16:51:21Z
| 2020-01-17T16:51:20Z
|
MEMBER
| null |
Improving how the blog section looks. Changing a bit the font size, color, and spacing. And also removing html tags from the content, since it's tricky to make titles, images, links... in the posts look good in the preview.
Not convinced that the blog looks great, but that's the best I could do, and I think it looks much better than what we've got 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/31094/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31094/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31094.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31094",
"merged_at": "2020-01-17T16:51:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31094.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31094"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31095
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31095/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31095/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31095/events
|
https://github.com/pandas-dev/pandas/pull/31095
| 551,151,884
|
MDExOlB1bGxSZXF1ZXN0MzYzOTI2MTE2
| 31,095
|
DOC: Restore ExtensionIndex.dropna.__doc__
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 1
| 2020-01-17T01:46:15Z
| 2020-01-20T16:27:26Z
| 2020-01-20T13:35:21Z
|
MEMBER
| null |
Per request from @jorisvandenbossche on #30717.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31095/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31095/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31095.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31095",
"merged_at": "2020-01-20T13:35:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31095.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31095"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31096
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31096/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31096/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31096/events
|
https://github.com/pandas-dev/pandas/pull/31096
| 551,165,245
|
MDExOlB1bGxSZXF1ZXN0MzYzOTM2NjAx
| 31,096
|
ENH: partial string indexing on non-monotonic PeriodIndex
|
{
"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": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-01-17T02:40:30Z
| 2020-01-21T17:15:54Z
| 2020-01-21T16:27:25Z
|
MEMBER
| null |
Looks like the DatetimeIndex analogue of this was done in #2437 (https://github.com/pandas-dev/pandas/commit/3a173f19b308d2fb7d8e96dfc57f2e5ecd046138)
This does _not_ yet support two-sides slicing e.g. `ser["2015":"2016"]`, but im hoping to get that handled before long.
Partial overlap with #31058, nothing should actually conflict.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31096/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31096/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31096.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31096",
"merged_at": "2020-01-21T16:27:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31096.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31096"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31097
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31097/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31097/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31097/events
|
https://github.com/pandas-dev/pandas/pull/31097
| 551,188,293
|
MDExOlB1bGxSZXF1ZXN0MzYzOTU0OTY0
| 31,097
|
DOC: Replace ggpy with plotnine in ecosystem
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6909215?v=4",
"events_url": "https://api.github.com/users/hvardhan20/events{/privacy}",
"followers_url": "https://api.github.com/users/hvardhan20/followers",
"following_url": "https://api.github.com/users/hvardhan20/following{/other_user}",
"gists_url": "https://api.github.com/users/hvardhan20/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hvardhan20",
"id": 6909215,
"login": "hvardhan20",
"node_id": "MDQ6VXNlcjY5MDkyMTU=",
"organizations_url": "https://api.github.com/users/hvardhan20/orgs",
"received_events_url": "https://api.github.com/users/hvardhan20/received_events",
"repos_url": "https://api.github.com/users/hvardhan20/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hvardhan20/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hvardhan20/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hvardhan20"
}
|
[
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 1
| 2020-01-17T04:14:18Z
| 2020-02-19T03:52:49Z
| 2020-01-18T17:11:21Z
|
CONTRIBUTOR
| null |
- [ ] closes #31087
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Changed ggpy reference to plotnine.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31097/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31097/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31097.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31097",
"merged_at": "2020-01-18T17:11:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31097.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31097"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31098
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31098/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31098/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31098/events
|
https://github.com/pandas-dev/pandas/pull/31098
| 551,261,683
|
MDExOlB1bGxSZXF1ZXN0MzY0MDE1NzU1
| 31,098
|
CLN: Regular expression clean
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"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-01-17T07:56:44Z
| 2020-01-17T13:21:58Z
| 2020-01-17T10:13:55Z
|
MEMBER
| null |
- [x] ref https://github.com/pandas-dev/pandas/pull/31091#discussion_r367732954
- [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/31098/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31098/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31098.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31098",
"merged_at": "2020-01-17T10:13:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31098.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31098"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31099
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31099/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31099/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31099/events
|
https://github.com/pandas-dev/pandas/pull/31099
| 551,266,755
|
MDExOlB1bGxSZXF1ZXN0MzY0MDE5ODUz
| 31,099
|
Backport PR #31091 on branch 1.0.x (CI/TST: fix failing tests in py37_np_dev)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-01-17T08:09:58Z
| 2020-01-17T13:21:03Z
| 2020-01-17T11:34:17Z
|
MEMBER
| null |
(Manual) Backport PR #31091 on branch 1.0.x (CI/TST: fix failing tests in py37_np_dev)
cc @WillAyd
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31099/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31099/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31099.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31099",
"merged_at": "2020-01-17T11:34:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31099.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31099"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31100
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31100/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31100/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31100/events
|
https://github.com/pandas-dev/pandas/pull/31100
| 551,285,940
|
MDExOlB1bGxSZXF1ZXN0MzY0MDM1MDc4
| 31,100
|
Updated years in LICENSE
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"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"
}
| 5
| 2020-01-17T08:55:32Z
| 2020-01-19T06:24:48Z
| 2020-01-18T16:33:48Z
|
MEMBER
| null |
Really not sure about this change.
(Feel free to close this PR at any time, if this file should not be changed).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31100/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31100/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31100.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31100",
"merged_at": "2020-01-18T16:33:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31100.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31100"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31101
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31101/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31101/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31101/events
|
https://github.com/pandas-dev/pandas/pull/31101
| 551,378,225
|
MDExOlB1bGxSZXF1ZXN0MzY0MTEwNTg4
| 31,101
|
BUG: groupby transform fillna produces wrong result
|
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-01-17T12:05:33Z
| 2020-05-29T10:48:03Z
| 2020-01-24T19:16:01Z
|
MEMBER
| null |
- [x] closes #30918
- [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/31101/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31101/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31101.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31101",
"merged_at": "2020-01-24T19:16:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31101.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31101"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31102
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31102/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31102/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31102/events
|
https://github.com/pandas-dev/pandas/issues/31102
| 551,405,834
|
MDU6SXNzdWU1NTE0MDU4MzQ=
| 31,102
|
BUG: Cannot astype from IntegerArray to BooleanArray with missing values
|
{
"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": "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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 2
| 2020-01-17T13:08:47Z
| 2020-01-23T15:26:39Z
| 2020-01-23T15:26:39Z
|
MEMBER
| null |
For the boolean -> integer array conversion, I added a special path for that. But `astype`ing integer to boolean is currently not working:
```
In [23]: a = pd.array([1, 0, pd.NA])
In [24]: a
Out[24]:
<IntegerArray>
[1, 0, <NA>]
Length: 3, dtype: Int64
In [25]: a.astype("boolean")
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-25-41973ed53ee3> in <module>
----> 1 a.astype("boolean")
~/scipy/pandas/pandas/core/arrays/integer.py in astype(self, dtype, copy)
454 kwargs = {}
455
--> 456 data = self.to_numpy(dtype=dtype, **kwargs)
457 return astype_nansafe(data, dtype, copy=False)
458
~/scipy/pandas/pandas/core/arrays/masked.py in to_numpy(self, dtype, copy, na_value)
124 ):
125 raise ValueError(
--> 126 f"cannot convert to '{dtype}'-dtype NumPy array "
127 "with missing values. Specify an appropriate 'na_value' "
128 "for this dtype."
ValueError: cannot convert to 'boolean'-dtype NumPy array with missing values. Specify an appropriate 'na_value' for this dtype.
In [26]: a.astype(pd.BooleanDtype())
...
ValueError: cannot convert to 'boolean'-dtype NumPy array with missing values. Specify an appropriate 'na_value' for this dtype.
```
while for conversions to other nullable dtypes, this should be possible.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31102/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31102/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31103
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31103/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31103/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31103/events
|
https://github.com/pandas-dev/pandas/pull/31103
| 551,410,839
|
MDExOlB1bGxSZXF1ZXN0MzY0MTM3NzI0
| 31,103
|
CLN: Index._values docstring + Block.internal/external_values
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"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-01-17T13:18:53Z
| 2020-01-17T17:55:46Z
| 2020-01-17T17:48:43Z
|
MEMBER
| null |
@jbrockmendel this is the "clean" part of https://github.com/pandas-dev/pandas/pull/31037, so if you merge this, I will update the other PR so that only the required changes are in the PR for 1.0.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/31103/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31103/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31103.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31103",
"merged_at": "2020-01-17T17:48:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31103.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31103"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31104
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31104/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31104/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31104/events
|
https://github.com/pandas-dev/pandas/issues/31104
| 551,466,647
|
MDU6SXNzdWU1NTE0NjY2NDc=
| 31,104
|
BUG: inconsistent creation of IntegerArray from boolean values
|
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
open
| false
| null |
[] | null | 0
| 2020-01-17T15:06:10Z
| 2020-01-17T15:06:10Z
| null |
MEMBER
| null |
When creating a nullable integer array from boolean values, we are being inconsistent between a boolean numpy array and a object array with bools:
```python
>>> pd.array(np.array([True, False]), dtype="Int64")
<IntegerArray>
[1, 0]
Length: 2, dtype: Int64
>>> pd.array(np.array([True, False], dtype=object), dtype="Int64")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-33-bc23b09ea959> in <module>
----> 1 pd.array(np.array([True, False], dtype=object), dtype="Int64")
~/scipy/pandas/pandas/core/construction.py in array(data, dtype, copy)
282 if is_extension_array_dtype(dtype):
283 cls = cast(ExtensionDtype, dtype).construct_array_type()
--> 284 return cls._from_sequence(data, dtype=dtype, copy=copy)
285
286 if dtype is None:
~/scipy/pandas/pandas/core/arrays/integer.py in _from_sequence(cls, scalars, dtype, copy)
346 @classmethod
347 def _from_sequence(cls, scalars, dtype=None, copy=False):
--> 348 return integer_array(scalars, dtype=dtype, copy=copy)
349
350 @classmethod
~/scipy/pandas/pandas/core/arrays/integer.py in integer_array(values, dtype, copy)
127 TypeError if incompatible types
128 """
--> 129 values, mask = coerce_to_array(values, dtype=dtype, copy=copy)
130 return IntegerArray(values, mask)
131
~/scipy/pandas/pandas/core/arrays/integer.py in coerce_to_array(values, dtype, mask, copy)
210 "mixed-integer-float",
211 ]:
--> 212 raise TypeError(f"{values.dtype} cannot be converted to an IntegerDtype")
213
214 elif is_bool_dtype(values) and is_integer_dtype(dtype):
TypeError: object cannot be converted to an IntegerDtype
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31104/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31104/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31105
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31105/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31105/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31105/events
|
https://github.com/pandas-dev/pandas/pull/31105
| 551,466,958
|
MDExOlB1bGxSZXF1ZXN0MzY0MTg0MjQ2
| 31,105
|
TST: Fix some bare pytest raises
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 8
| 2020-01-17T15:06:45Z
| 2020-01-18T14:50:41Z
| 2020-01-17T23:29:05Z
|
MEMBER
| null |
- [x] ref #30999
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Follow up for #30998
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31105/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31105/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31105.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31105",
"merged_at": "2020-01-17T23:29:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31105.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31105"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31106
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31106/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31106/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31106/events
|
https://github.com/pandas-dev/pandas/pull/31106
| 551,489,013
|
MDExOlB1bGxSZXF1ZXN0MzY0MjAyMzIx
| 31,106
|
CLN: prune unreachable code
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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-01-17T15:46:28Z
| 2020-01-18T16:07:28Z
| 2020-01-18T15:51:06Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31106/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31106/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31106.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31106",
"merged_at": "2020-01-18T15:51:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31106.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31106"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/31107
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31107/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31107/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31107/events
|
https://github.com/pandas-dev/pandas/issues/31107
| 551,493,249
|
MDU6SXNzdWU1NTE0OTMyNDk=
| 31,107
|
Non-fixed/variable size moving windows in .rolling and .ewm
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/58664775?v=4",
"events_url": "https://api.github.com/users/benjamin-dirtydirty-be/events{/privacy}",
"followers_url": "https://api.github.com/users/benjamin-dirtydirty-be/followers",
"following_url": "https://api.github.com/users/benjamin-dirtydirty-be/following{/other_user}",
"gists_url": "https://api.github.com/users/benjamin-dirtydirty-be/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/benjamin-dirtydirty-be",
"id": 58664775,
"login": "benjamin-dirtydirty-be",
"node_id": "MDQ6VXNlcjU4NjY0Nzc1",
"organizations_url": "https://api.github.com/users/benjamin-dirtydirty-be/orgs",
"received_events_url": "https://api.github.com/users/benjamin-dirtydirty-be/received_events",
"repos_url": "https://api.github.com/users/benjamin-dirtydirty-be/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/benjamin-dirtydirty-be/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benjamin-dirtydirty-be/subscriptions",
"type": "User",
"url": "https://api.github.com/users/benjamin-dirtydirty-be"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-01-17T15:54:15Z
| 2020-05-08T20:13:53Z
| 2020-05-08T20:13:43Z
|
NONE
| null |
Hi everyone.
I'm trying to code adaptive lookback indicators in Python/pandas.
```python
import pandas as pd
import numpy as np
def ALB(src, period, TrendParam):
change = src.diff(period).abs()
volatility = src.diff().abs().rolling(window=period).sum()
ER = change / volatility
Alpha = 2.0 / (period + 1)
VER = np.power((ER - (2 * ER - 1) / 2.0 * (1 - TrendParam) + 0.5), 2)
VAlpha = Alpha * VER
VLength = round((2.0 / VAlpha) - 1)
return VLength
def percentrank(src, period):
count = src.rolling(window=period, min_periods=1).apply(lambda x: np.count_nonzero(np.where(x[-1] > x[:-1])), raw=True)
return 100 * (count / period)
time = pd.date_range(start='2020-01-17', periods=1000, freq='min', name='time')
price = pd.Index(['price'])
df = pd.DataFrame(np.random.rand(1000, 1), time, price)
df['ALB'] = ALB(src=df['price'], period=60, TrendParam=1).fillna(0).astype(int)
df['PCTRNK'] = percentrank(df['price'], period=df['ALB'])
print(df)
```
The code above results in a "ValueError: window must be an integer"
```python
Traceback (most recent call last):
File "<input>", line 22, in <module>
File "<input>", line 15, in percentrank
File "C:\Users\dd\PycharmProjects\rolling\venv\lib\site-packages\pandas\core\generic.py", line 10769, in rolling
closed=closed,
File "C:\Users\dd\PycharmProjects\rolling\venv\lib\site-packages\pandas\core\window.py", line 2849, in rolling
return Rolling(obj, **kwds)
File "C:\Users\dd\PycharmProjects\rolling\venv\lib\site-packages\pandas\core\window.py", line 93, in __init__
self.validate()
File "C:\Users\dd\PycharmProjects\rolling\venv\lib\site-packages\pandas\core\window.py", line 1738, in validate
raise ValueError("window must be an integer")
ValueError: window must be an integer
```
When using a fixed size window of 60
```python
df['PCTRNK'] = percentrank(df['price'], period=60)
```
I get the following output:
```python
price ALB PCTRNK
time
2020-01-17 00:00:00 0.728757 0 0.000000
2020-01-17 00:01:00 0.532295 0 0.000000
2020-01-17 00:02:00 0.899849 0 1.666667
2020-01-17 00:03:00 0.742664 0 1.666667
2020-01-17 00:04:00 0.334157 0 0.000000
... ... ...
2020-01-17 16:35:00 0.781244 226 75.000000
2020-01-17 16:36:00 0.190402 240 16.666667
2020-01-17 16:37:00 0.505205 220 50.000000
2020-01-17 16:38:00 0.791318 233 80.000000
2020-01-17 16:39:00 0.241293 215 18.333333
```
I would like to use ALB as _window_ (and _min_periods_) input for the .rolling part of the percentrank function, row by row.
I think it would make sense if we were able to use a non-fixed size moving window in .rolling and also in .ewm.
So ideally the parameters _window_ and _min_periods_ (in .rolling) could also accept Series.
This has already been mentioned in issue #26920. but the issue has been closed by @TomAugspurger, stating it looks like a duplicate of #23002.
I guess there is a (inefficient, naive) way of doing it, but I'm puzzled how to make it work.
A 'workaround' is mentioned [here](https://stackoverflow.com/questions/57064501/pandas-calculate-rolling-cumulative-product-with-variable-window-size) I think, but I'm still struggling.
Maybe someone can 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/31107/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31107/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31108
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31108/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31108/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31108/events
|
https://github.com/pandas-dev/pandas/issues/31108
| 551,496,324
|
MDU6SXNzdWU1NTE0OTYzMjQ=
| 31,108
|
API: inconsistency in casting back to its EA dtype (try_cast_to_ea)
|
{
"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": "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 | 1
| 2020-01-17T15:59:47Z
| 2021-07-27T04:59:51Z
| null |
MEMBER
| null |
With the current logic we have in `try_cast_to_ea`:
https://github.com/pandas-dev/pandas/blob/a72eef5a86979232337149961d2122f0b555c876/pandas/core/arrays/base.py#L49-L54
it's easy to get inconsistencies, and it depends critically on what `_from_sequence` accepts as valid scalar.
For example, we now have this
```
>>> s = pd.Series([0, 1, 2], dtype="Int64")
>>> s.combine(0, lambda x, y: x == y)
0 True
1 False
2 False
dtype: bool
```
However, if the IntegerArray constructor gets changed slightly to be more willing to accept all kinds of boolean like values (see https://github.com/pandas-dev/pandas/issues/31104 for a current inconsistency on this aspect, and this is what happens in https://github.com/pandas-dev/pandas/pull/30282), you can get:
```
>>> s = pd.Series([0, 1, 2], dtype="Int64")
>>> s.combine(0, lambda x, y: x == y)
0 1
1 0
2 0
dtype: Int64
```
So how "forgiving" the EA constructor is, will determine the output type.
Here the example is with `combine`, but the `try_cast_to_ea` function is also used in a part of `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/31108/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31108/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31109
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31109/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31109/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31109/events
|
https://github.com/pandas-dev/pandas/issues/31109
| 551,499,854
|
MDU6SXNzdWU1NTE0OTk4NTQ=
| 31,109
|
Return NotImpelmented for arith ops with object-dtype Index subclasses
|
{
"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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
}
| 2
| 2020-01-17T16:05:52Z
| 2020-01-28T20:57:19Z
| 2020-01-28T20:57:19Z
|
CONTRIBUTOR
| null |
This change in 1.0 impacted xarray
```python
In [22]: import xarray as xr
In [23]: import pandas as pd
In [24]: idx = pd.timedelta_range("1D", periods=5, freq="D")
In [25]: a = xr.cftime_range("2000", periods=5)
In [26]: idx + a
/Users/taugspurger/sandbox/pandas/pandas/core/arrays/datetimelike.py:1204: PerformanceWarning: Adding/subtracting array of DateOffsets to TimedeltaArray not vectorized
PerformanceWarning,
Out[26]:
Index([2000-01-02 00:00:00, 2000-01-04 00:00:00, 2000-01-06 00:00:00,
2000-01-08 00:00:00, 2000-01-10 00:00:00],
dtype='object')
In [27]: a + idx
Out[27]:
CFTimeIndex([2000-01-02 00:00:00, 2000-01-04 00:00:00, 2000-01-06 00:00:00,
2000-01-08 00:00:00, 2000-01-10 00:00:00],
dtype='object')
```
cc @jbrockmendel @dcherian. Brock suggested checking `type(other)`, and returning NotImplemented for index subclasses we don't know about, to give the subclass a chance to take over the op.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31109/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31109/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31110
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31110/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31110/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31110/events
|
https://github.com/pandas-dev/pandas/pull/31110
| 551,552,313
|
MDExOlB1bGxSZXF1ZXN0MzY0MjUzNzEw
| 31,110
|
POC: docstring inheritance
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-01-17T17:54:44Z
| 2020-02-28T00:19:13Z
| 2020-01-23T02:02:57Z
|
MEMBER
| null |
Proof of concept for automatically inheriting docstrings, so we dont have to use `@Appender(parent_class.method.__doc__)` quite so much.
This doesnt handle `@Substitution`. If we can make that work for the common case where we're just putting in the class name, we could get a _lot_ less verbose.
xref #31095, #31060.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31110/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31110/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31110.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31110",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31110.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31110"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31111
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31111/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31111/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31111/events
|
https://github.com/pandas-dev/pandas/issues/31111
| 551,562,154
|
MDU6SXNzdWU1NTE1NjIxNTQ=
| 31,111
|
Strange groupby apply behaviour
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11783247?v=4",
"events_url": "https://api.github.com/users/endremborza/events{/privacy}",
"followers_url": "https://api.github.com/users/endremborza/followers",
"following_url": "https://api.github.com/users/endremborza/following{/other_user}",
"gists_url": "https://api.github.com/users/endremborza/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/endremborza",
"id": 11783247,
"login": "endremborza",
"node_id": "MDQ6VXNlcjExNzgzMjQ3",
"organizations_url": "https://api.github.com/users/endremborza/orgs",
"received_events_url": "https://api.github.com/users/endremborza/received_events",
"repos_url": "https://api.github.com/users/endremborza/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/endremborza/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/endremborza/subscriptions",
"type": "User",
"url": "https://api.github.com/users/endremborza"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "0e8a16",
"default": 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"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/57575037?v=4",
"events_url": "https://api.github.com/users/Rohith295/events{/privacy}",
"followers_url": "https://api.github.com/users/Rohith295/followers",
"following_url": "https://api.github.com/users/Rohith295/following{/other_user}",
"gists_url": "https://api.github.com/users/Rohith295/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Rohith295",
"id": 57575037,
"login": "Rohith295",
"node_id": "MDQ6VXNlcjU3NTc1MDM3",
"organizations_url": "https://api.github.com/users/Rohith295/orgs",
"received_events_url": "https://api.github.com/users/Rohith295/received_events",
"repos_url": "https://api.github.com/users/Rohith295/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Rohith295/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Rohith295/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Rohith295"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/57575037?v=4",
"events_url": "https://api.github.com/users/Rohith295/events{/privacy}",
"followers_url": "https://api.github.com/users/Rohith295/followers",
"following_url": "https://api.github.com/users/Rohith295/following{/other_user}",
"gists_url": "https://api.github.com/users/Rohith295/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Rohith295",
"id": 57575037,
"login": "Rohith295",
"node_id": "MDQ6VXNlcjU3NTc1MDM3",
"organizations_url": "https://api.github.com/users/Rohith295/orgs",
"received_events_url": "https://api.github.com/users/Rohith295/received_events",
"repos_url": "https://api.github.com/users/Rohith295/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Rohith295/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Rohith295/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Rohith295"
}
] |
{
"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"
}
| 9
| 2020-01-17T18:18:39Z
| 2020-06-20T22:24:25Z
| 2020-06-20T22:24:25Z
|
CONTRIBUTOR
| null |
#### Minimal reproducible example
```python
import pandas as pd
import numpy as np
tdf = pd.DataFrame({"tree": [0, 0, 0, 0, 1, 1, 1, 1],
"into": ["0-2", "0-4", "0-10", np.nan, "1-2", "1-3", "1-7", np.nan],
"leaf_value": [0,0,0,3,0,0,0,4]},
index=["0-0", "0-2", "0-4", "0-10", "1-0", "1-1", "1-2", "1-7"])
def deduce_tree(df):
print("DEDUCING TREE WITH INDEX:\n",df.index)
next_id = df.index[0]
while isinstance(next_id, str):
print(next_id)
next_node = df.loc[next_id, :]
next_id = df.loc[next_id, "into"]
print("RETURNING:\n", next_node)
return next_node
tdf.groupby("tree").apply(deduce_tree)
```
<details>
DEDUCING GREE WITH INDEX:
Index(['0-0', '0-2', '0-4', '0-10'], dtype='object')
0-0
0-2
0-4
0-10
RETURNING:
tree 0
into NaN
leaf_value 3
Name: 0-10, dtype: object
DEDUCING GREE WITH INDEX:
Index(['1-0', '1-1', '1-2', '1-7'], dtype='object')
1-0
DEDUCING GREE WITH INDEX:
Index(['0-0', '0-2', '0-4', '0-10'], dtype='object')
0-0
0-2
0-4
0-10
RETURNING:
tree 0
into NaN
leaf_value 3
Name: 0-10, dtype: object
DEDUCING GREE WITH INDEX:
Index(['1-0', '1-1', '1-2', '1-7'], dtype='object')
1-0
1-2
1-7
RETURNING:
tree 1
into NaN
leaf_value 4
Name: 1-7, dtype: object
</details>
#### Problem description
This came up when trying to analyze a boosted tree internals. As the apply function gets called with a print statement, when it gets to the line `next_node = df.loc[next_id, :]` it just calls the deduce_tree function again, with the group 0.
it prints out `DEDUCING TREE WITH INDEX` 3 times as opposed to 2, and for some reason interrupts the function.
the result of `tdf.groupby("tree").apply(deduce_tree)` is correct, but it seems to do some unnecessary work and if I want to implement some side effects into `deduce_tree` it gets messed up.
Can anyone explain why it works like this? Is this some bug? How can a .loc interrupt a function?
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 5.2.1-1.el7.elrepo.x86_64
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.3
numpy : 1.18.1
pytz : 2018.4
dateutil : 2.7.3
pip : 19.2.3
setuptools : 41.0.1
Cython : None
pytest : 4.1.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.8.1 (dt dec pq3 ext lo64)
jinja2 : 2.10
IPython : 7.8.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.2.8
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/31111/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31111/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31112
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31112/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31112/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31112/events
|
https://github.com/pandas-dev/pandas/pull/31112
| 551,572,586
|
MDExOlB1bGxSZXF1ZXN0MzY0MjcwNDcy
| 31,112
|
BUG: Index.get_value being called 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": "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-01-17T18:42:42Z
| 2020-01-18T16:09:12Z
| 2020-01-18T15:49:04Z
|
MEMBER
| null |
AFAICT there aren't user-facing consequences, just built-up kludges in `Series.__getitem__` and `Index.get_value` that we'll be able to get rid of once we fix these inconsistencies.
cc @jreback
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31112/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31112/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31112.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31112",
"merged_at": "2020-01-18T15:49:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31112.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31112"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31113
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31113/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31113/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31113/events
|
https://github.com/pandas-dev/pandas/pull/31113
| 551,648,180
|
MDExOlB1bGxSZXF1ZXN0MzY0MzMyODU1
| 31,113
|
BUG: pd.concat fails when handling MultiIndex if repeated index exists
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] | null | 8
| 2020-01-17T21:49:53Z
| 2020-05-21T19:35:00Z
| 2020-05-21T19:35:00Z
|
MEMBER
| null |
xref #20565
- [ ] 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/31113/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31113/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31113.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31113",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31113.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31113"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31114
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/31114/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31114/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/31114/events
|
https://github.com/pandas-dev/pandas/pull/31114
| 551,656,439
|
MDExOlB1bGxSZXF1ZXN0MzY0MzM5NjM2
| 31,114
|
CI: Adding script to validate consistent and correct capitalization among headings in documentation (#26941)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16887528?v=4",
"events_url": "https://api.github.com/users/tonywu1999/events{/privacy}",
"followers_url": "https://api.github.com/users/tonywu1999/followers",
"following_url": "https://api.github.com/users/tonywu1999/following{/other_user}",
"gists_url": "https://api.github.com/users/tonywu1999/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tonywu1999",
"id": 16887528,
"login": "tonywu1999",
"node_id": "MDQ6VXNlcjE2ODg3NTI4",
"organizations_url": "https://api.github.com/users/tonywu1999/orgs",
"received_events_url": "https://api.github.com/users/tonywu1999/received_events",
"repos_url": "https://api.github.com/users/tonywu1999/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tonywu1999/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tonywu1999/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tonywu1999"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
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"
}
| 34
| 2020-01-17T22:12:44Z
| 2020-03-09T16:49:12Z
| 2020-03-07T20:06:26Z
|
CONTRIBUTOR
| null |
Closes #26941
This script should be running correctly to validate capitalization for various rst files. Many keywords will need to be added into the script as more and more files are tested on this script. Currently testing on the following rst files through code_checks.sh:
doc/source/development/contributing.rst
doc/source/index.rst doc/source/ecosystem.rst
contributing.rst and ecosystem.rst should produce an exit code of 1, indicating there are incorrect capitalization in their headings.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31114/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/31114/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/31114.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31114",
"merged_at": "2020-03-07T20:06:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31114.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31114"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.