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/36317
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36317/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36317/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36317/events
|
https://github.com/pandas-dev/pandas/pull/36317
| 700,408,688
|
MDExOlB1bGxSZXF1ZXN0NDg2MDUxNTY2
| 36,317
|
PERF: constructing string Series
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-12T23:02:45Z
| 2020-09-13T13:25:51Z
| 2020-09-13T12:39:59Z
|
CONTRIBUTOR
| null |
Avoid needless call to `lib.infer_dtype`, when string dtype.
Performance example:
```python
>>> x = np.array([str(u) for u in range(1_000_000)], dtype=object)
>>> %timeit pd.Series(x, dtype=str)
344 ms ± 59.7 ms per loop # v1.1.0
157 ms ± 7.04 ms per loop # after #35519
22.6 ms ± 191 µs per loop # after #36304
11.2 ms ± 48.6 µs per loop # after this PR
```
Similar speed-up is possible for `pd.Series(x, dtype="string")`, but requires some refactorng of `StringArray`, so I'll do that is a seperate PR.
xref #35519 & #36304.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36317/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36317/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36317.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36317",
"merged_at": "2020-09-13T12:39:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36317.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36317"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36318
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36318/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36318/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36318/events
|
https://github.com/pandas-dev/pandas/pull/36318
| 700,419,636
|
MDExOlB1bGxSZXF1ZXN0NDg2MDYxMDAz
| 36,318
|
REF: _convert_for_op -> _validate_fill_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": "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"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-12T23:45:34Z
| 2021-11-20T23:21:23Z
| 2020-09-13T12:26:22Z
|
MEMBER
| null |
It will also turn out that _coerce_scalar_to_index is effectively another alias for this, though it has slightly different behavior i need to check/fix/test before replacing it
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36318/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36318/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36318.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36318",
"merged_at": "2020-09-13T12:26:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36318.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36318"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36319
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36319/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36319/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36319/events
|
https://github.com/pandas-dev/pandas/issues/36319
| 700,445,921
|
MDU6SXNzdWU3MDA0NDU5MjE=
| 36,319
|
API/BUG: NumericIndex.insert(1, bool) should raise instead of cast
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-13T01:28:45Z
| 2020-11-26T17:26:00Z
| 2020-11-26T17:26:00Z
|
MEMBER
| null |
There are a bunch of setitem-like methods and we should try to be consistent in what we allow in them. In particular, `Float64Index.putmask` will reject a bool `value` while `insert` will cast it to float.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36319/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36319/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36320
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36320/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36320/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36320/events
|
https://github.com/pandas-dev/pandas/issues/36320
| 700,452,296
|
MDU6SXNzdWU3MDA0NTIyOTY=
| 36,320
|
API/BUG: get_indexer_non_unique(object_dtype)?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-09-13T01:54:44Z
| 2021-05-28T23:22:40Z
| 2021-05-28T23:22:39Z
|
MEMBER
| null |
For get_indexer we do type inference on object dtype, but we dont do this for get_indexer_non_unique. Is this intentional?
```
dti = pd.date_range("2016-01-01", periods=3)
target = dti.astype(object)
>>> dti.get_indexer_non_unique(target)
(array([-1, -1, -1]), array([-1, -1, -1]))
>>> dti.get_indexer(target)
array([0, 1, 2])
```
We could also conceivably fall back to object-vs-object instead of returning no-matches.
There's also Cateegorical with matching categories dtype:
```
ci = pd.CategoricalIndex(dti)
>>> dti.get_indexer_non_unique(ci)
(array([-1, -1, -1]), array([-1, -1, -1]))
>>> dti.get_indexer(ci)
array([0, 1, 2])
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36320/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36320/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36321
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36321/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36321/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36321/events
|
https://github.com/pandas-dev/pandas/issues/36321
| 700,467,863
|
MDU6SXNzdWU3MDA0Njc4NjM=
| 36,321
|
BUG: SeriesGroupBy.transform should raise with axis=1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
] | null | 6
| 2020-09-13T02:57:47Z
| 2021-01-22T02:40:36Z
| 2021-01-22T02:40:36Z
|
MEMBER
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
The `dropna=True` case runs
```python
In [7]: df = pd.DataFrame({"A": [0, 0, 7, 1], "B": [1, 2, 4, 3]}, index=list('abcd'))
...: gb = df.groupby('B', dropna=True, axis=1)
...: gb['B'].transform(len)
Out[7]: Series([], Name: B, dtype: int64)
```
but with `dropna=False` the call to `transform` throws with a somewhat unfriendly message
```
In [9]: df = pd.DataFrame({"A": [0, 0, 7, 1], "B": [1, 2, 4, 3]}, index=list('abcd'))
...: gb = df.groupby('B', dropna=False, axis=1)
...: gb['B'].transform(len)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-2-c7271aa13f24> in <module>
1 df = pd.DataFrame({"A": [0, 0, 7, 1], "B": [1, 2, 4, 3]}, index=list('abcd'))
2 gb = df.groupby('B', dropna=False, axis=1)
----> 3 gb['B'].transform(len)
/workspaces/pandas-arw2019/pandas/core/groupby/generic.py in transform(self, func, engine, engine_kwargs, *args, **kwargs)
506
507 if not isinstance(func, str):
--> 508 return self._transform_general(func, *args, **kwargs)
509
510 elif func not in base.transform_kernel_allowlist:
/workspaces/pandas-arw2019/pandas/core/groupby/generic.py in _transform_general(self, func, *args, **kwargs)
546
547 concatenated = concat(results)
--> 548 result = self._set_result_index_ordered(concatenated)
549 else:
550 result = self.obj._constructor(dtype=np.float64)
/workspaces/pandas-arw2019/pandas/core/groupby/groupby.py in _set_result_index_ordered(self, result)
691 result = result.sort_index(axis=self.axis)
692
--> 693 result.set_axis(self.obj._get_axis(self.axis), axis=self.axis, inplace=True)
694 return result
695
/workspaces/pandas-arw2019/pandas/core/series.py in set_axis(self, labels, axis, inplace)
4365 @Appender(generic.NDFrame.set_axis.__doc__)
4366 def set_axis(self, labels, axis: Axis = 0, inplace: bool = False):
-> 4367 return super().set_axis(labels, axis=axis, inplace=inplace)
4368
4369 @doc(
/workspaces/pandas-arw2019/pandas/core/generic.py in set_axis(self, labels, axis, inplace)
657 """
658 self._check_inplace_and_allows_duplicate_labels(inplace)
--> 659 return self._set_axis_nocheck(labels, axis, inplace)
660
661 def _set_axis_nocheck(self, labels, axis: Axis, inplace: bool):
/workspaces/pandas-arw2019/pandas/core/generic.py in _set_axis_nocheck(self, labels, axis, inplace)
662 # NDFrame.rename with inplace=False calls set_axis(inplace=True) on a copy.
663 if inplace:
--> 664 setattr(self, self._get_axis_name(axis), labels)
665 else:
666 obj = self.copy()
/workspaces/pandas-arw2019/pandas/core/generic.py in __setattr__(self, name, value)
5384 try:
5385 object.__getattribute__(self, name)
-> 5386 return object.__setattr__(self, name, value)
5387 except AttributeError:
5388 pass
/workspaces/pandas-arw2019/pandas/_libs/properties.pyx in pandas._libs.properties.AxisProperty.__set__()
64
65 def __set__(self, obj, value):
---> 66 obj._set_axis(self.axis, value)
/workspaces/pandas-arw2019/pandas/core/series.py in _set_axis(self, axis, labels, fastpath)
425 if not fastpath:
426 # The ensure_index call above ensures we have an Index object
--> 427 self._mgr.set_axis(axis, labels)
428
429 # ndarray compatibility
/workspaces/pandas-arw2019/pandas/core/internals/managers.py in set_axis(self, axis, new_labels)
217
218 if new_len != old_len:
--> 219 raise ValueError(
220 f"Length mismatch: Expected axis has {old_len} elements, new "
221 f"values have {new_len} elements"
ValueError: Length mismatch: Expected axis has 2 elements, new values have 4 elements
```
#### Expected Output
Since there are no missing values in the input `dropna=True` and `dropna=False` should give the same results.
#### Problem description
(Edited)
As discussed below and in #35751 `SeriesGroupBy` with `axis=1` never makes sense. We should have a more explicit error message.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 0cdea22618723e4f4e2f1a29f98eab8084db9183
python : 3.8.3.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-47-generic
Version : #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020
machine : x86_64
processor :
byteorder : little
LC_ALL : C.UTF-8
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.0.dev0+354.g0cdea2261
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 49.1.0.post20200704
Cython : 0.29.21
pytest : 5.4.3
hypothesis : 5.19.0
sphinx : 3.1.1
blosc : None
feather : None
xlsxwriter : 1.2.9
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : 2.8.5 (dt dec pq3 ext lo64)
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : 1.3.2
fsspec : 0.7.4
fastparquet : 0.4.0
gcsfs : 0.6.2
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.0
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.15.1
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.50.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36321/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36321/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36322
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36322/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36322/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36322/events
|
https://github.com/pandas-dev/pandas/pull/36322
| 700,470,489
|
MDExOlB1bGxSZXF1ZXN0NDg2MTA1MjA2
| 36,322
|
REF: de-duplicate get_indexer_non_unique
|
{
"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": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-13T03:08:51Z
| 2020-09-13T15:05:25Z
| 2020-09-13T12:40:55Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36322/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36322/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36322.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36322",
"merged_at": "2020-09-13T12:40:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36322.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36322"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36323
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36323/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36323/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36323/events
|
https://github.com/pandas-dev/pandas/pull/36323
| 700,492,472
|
MDExOlB1bGxSZXF1ZXN0NDg2MTI0MTQy
| 36,323
|
CI: install numpy from pip #36296
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "72e24d",
"default": false,
"description": "",
"id": 1971420228,
"name": "Python 3.9",
"node_id": "MDU6TGFiZWwxOTcxNDIwMjI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 3
| 2020-09-13T04:42:13Z
| 2020-09-15T15:15:02Z
| 2020-09-13T11:17:05Z
|
MEMBER
| null |
Part of #36296
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36323/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36323/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36323.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36323",
"merged_at": "2020-09-13T11:17:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36323.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36323"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36324
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36324/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36324/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36324/events
|
https://github.com/pandas-dev/pandas/issues/36324
| 700,502,090
|
MDU6SXNzdWU3MDA1MDIwOTA=
| 36,324
|
BUG: when i merge two dataframes in pandas if the datatypes of columns are mismatched exception is raised
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31431947?v=4",
"events_url": "https://api.github.com/users/selvaramkumar/events{/privacy}",
"followers_url": "https://api.github.com/users/selvaramkumar/followers",
"following_url": "https://api.github.com/users/selvaramkumar/following{/other_user}",
"gists_url": "https://api.github.com/users/selvaramkumar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/selvaramkumar",
"id": 31431947,
"login": "selvaramkumar",
"node_id": "MDQ6VXNlcjMxNDMxOTQ3",
"organizations_url": "https://api.github.com/users/selvaramkumar/orgs",
"received_events_url": "https://api.github.com/users/selvaramkumar/received_events",
"repos_url": "https://api.github.com/users/selvaramkumar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/selvaramkumar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/selvaramkumar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/selvaramkumar"
}
|
[
{
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] |
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"
}
| 11
| 2020-09-13T05:30:33Z
| 2020-09-13T12:22:18Z
| 2020-09-13T12:22:18Z
|
NONE
| null |
- [ ] I have checked that this issue has not already been reported.
- [ ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
import pandas as pd
data_right = [['Alex','10',100],['Bob','12',90],['Clarke','13.0',80]]
data_left =[[10.0],[12.0],[13.0]]
df_right = pd.DataFrame(data_right,columns=['Name','Age','score'])
df_left = pd.DataFrame(data_left,columns=['Age'])
df_result=df_left.merge(df_right,on='Age',how='inner')
print(df_result)
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
sometimes when I read from files in some storage .I am not sure of the datatype of a column . Hence I get an Exception while merging
#### Expected Output
What I Propose is we could have a parameter having ignore_data_type=true in the merge . When its true We could mandatorily cast the column of right_dataframe to the data type of left one and Proceed. Hence we could avoid this Exception.
#### Output of ``pd.show_versions()``
<details>
Age Name score
0 13.0 Clarke 80
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</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/36324/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36324/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36325
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36325/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36325/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36325/events
|
https://github.com/pandas-dev/pandas/pull/36325
| 700,511,964
|
MDExOlB1bGxSZXF1ZXN0NDg2MTM5ODgx
| 36,325
|
PERF: StringArray construction
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 7
| 2020-09-13T06:52:50Z
| 2020-09-17T17:10:26Z
| 2020-09-17T16:51:00Z
|
CONTRIBUTOR
| null |
Currently, when constructing through `Series(data, dtype="string")`, pandas first converts to strings/NA, then does a check that all scalars are actually strings or NA. The check is not needed in cases where we explicitly already have converted.
Performance example:
```python
>>> x = np.array([str(u) for u in range(1_000_000)], dtype=object)
>>> %timeit pd.Series(x, dtype="string")
357 ms ± 40.2 ms per loop # v1.1.0
148 ms ± 713 µs per loop # after #35519
26.3 ms ± 291 µs per loop # after #36304
12.6 ms ± 115 µs per loop # this PR
```
xref #35519, #36304 & #36317.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36325/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36325/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36325.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36325",
"merged_at": "2020-09-17T16:51:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36325.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36325"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36326
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36326/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36326/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36326/events
|
https://github.com/pandas-dev/pandas/pull/36326
| 700,530,458
|
MDExOlB1bGxSZXF1ZXN0NDg2MTUyOTYy
| 36,326
|
[TST]: Groupy raised ValueError for ffill with duplicate column names
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 6
| 2020-09-13T09:10:35Z
| 2020-09-13T22:23:02Z
| 2020-09-13T22:18:22Z
|
MEMBER
| null |
- [x] closes #25610
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Was fixed in the past. Added test to avoid regression
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36326/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36326/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36326.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36326",
"merged_at": "2020-09-13T22:18:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36326.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36326"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36327
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36327/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36327/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36327/events
|
https://github.com/pandas-dev/pandas/issues/36327
| 700,536,218
|
MDU6SXNzdWU3MDA1MzYyMTg=
| 36,327
|
BUG: Get wrong result when groupby category column with dropna=False
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19835824?v=4",
"events_url": "https://api.github.com/users/zxymath/events{/privacy}",
"followers_url": "https://api.github.com/users/zxymath/followers",
"following_url": "https://api.github.com/users/zxymath/following{/other_user}",
"gists_url": "https://api.github.com/users/zxymath/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zxymath",
"id": 19835824,
"login": "zxymath",
"node_id": "MDQ6VXNlcjE5ODM1ODI0",
"organizations_url": "https://api.github.com/users/zxymath/orgs",
"received_events_url": "https://api.github.com/users/zxymath/received_events",
"repos_url": "https://api.github.com/users/zxymath/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zxymath/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zxymath/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zxymath"
}
|
[
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 4
| 2020-09-13T09:48:31Z
| 2021-01-21T04:25:26Z
| null |
NONE
| null |
I have confirmed this bug exists on the master branch of pandas.
```python
# Your code here
ser = pd.Series([1., 1., 1., 1.])
cat = pd.Categorical(['a', 'b', 'c', np.nan])
print(ser.groupby(cat, dropna=False).sum())
```
```
# output:
a 1.0
b 1.0
c 1.0
dtype: float64
```
#### Expected Output
```
a 1.0
b 1.0
c 1.0
NaN 1.0
dtype: float64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.1.2
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0.post20200210
Cython : 0.29.15
pytest : 5.3.5
hypothesis : 5.5.4
sphinx : 2.4.0
blosc : None
feather : None
xlsxwriter : 1.2.7
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : 0.9.3
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.2
fsspec : 0.6.2
fastparquet : None
gcsfs : None
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.48.0
</details>
|
{
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36327/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36327/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36328
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36328/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36328/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36328/events
|
https://github.com/pandas-dev/pandas/pull/36328
| 700,549,915
|
MDExOlB1bGxSZXF1ZXN0NDg2MTY2OTY4
| 36,328
|
Backport PR #36323 on branch 1.1.x (CI: install numpy from pip #36296)
|
{
"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": "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": "72e24d",
"default": false,
"description": "",
"id": 1971420228,
"name": "Python 3.9",
"node_id": "MDU6TGFiZWwxOTcxNDIwMjI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-13T11:17:33Z
| 2020-09-13T12:32:36Z
| 2020-09-13T12:32:36Z
|
NONE
| null |
Backport PR #36323: CI: install numpy from pip #36296
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36328/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36328/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36328.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36328",
"merged_at": "2020-09-13T12:32:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36328.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36328"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36329
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36329/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36329/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36329/events
|
https://github.com/pandas-dev/pandas/issues/36329
| 700,557,489
|
MDU6SXNzdWU3MDA1NTc0ODk=
| 36,329
|
CLN: Series.__getitem__ structure
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
] | null | 1
| 2020-09-13T12:05:16Z
| 2020-11-18T01:53:03Z
| null |
MEMBER
| null |
Items for in `Series.__getitem__`
- [ ] Look into moving try-except to `_get_value`
- [ ] Handle remaining hashable cases in try-except.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36329/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36329/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36330
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36330/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36330/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36330/events
|
https://github.com/pandas-dev/pandas/issues/36330
| 700,557,964
|
MDU6SXNzdWU3MDA1NTc5NjQ=
| 36,330
|
CLN: Followup to 35964
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-13T12:08:18Z
| 2020-10-06T22:47:09Z
| 2020-10-06T22:47:09Z
|
MEMBER
| null |
- [ ] Move whatsnew note to reshaping
- [ ] Maybe use is_list_like/is_dict_like
- [ ] Type results
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36330/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36330/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36331
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36331/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36331/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36331/events
|
https://github.com/pandas-dev/pandas/pull/36331
| 700,560,644
|
MDExOlB1bGxSZXF1ZXN0NDg2MTc1MTkx
| 36,331
|
Backport PR #36249 on branch 1.1.x (BUG: na parameter for str.startswith and str.endswith not propagating for Series with categorical dtype)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-13T12:26:20Z
| 2020-09-13T13:07:50Z
| 2020-09-13T13:07:50Z
|
NONE
| null |
Backport PR #36249: BUG: na parameter for str.startswith and str.endswith not propagating for Series with categorical dtype
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36331/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36331/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36331.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36331",
"merged_at": "2020-09-13T13:07:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36331.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36331"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36332
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36332/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36332/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36332/events
|
https://github.com/pandas-dev/pandas/pull/36332
| 700,561,207
|
MDExOlB1bGxSZXF1ZXN0NDg2MTc1NjI4
| 36,332
|
Backport PR #36147 on branch 1.1.x (REGR: Series access with Index of tuples/frozenset)
|
{
"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": "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": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-13T12:30:03Z
| 2020-09-13T13:27:22Z
| 2020-09-13T13:27:22Z
|
NONE
| null |
Backport PR #36147: REGR: Series access with Index of tuples/frozenset
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36332/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36332/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36332.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36332",
"merged_at": "2020-09-13T13:27:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36332.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36332"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36333
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36333/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36333/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36333/events
|
https://github.com/pandas-dev/pandas/pull/36333
| 700,570,178
|
MDExOlB1bGxSZXF1ZXN0NDg2MTgyMjg3
| 36,333
|
Backport PR #36303 on branch 1.1.x (REGR: Fix IntegerArray unary ops regression)
|
{
"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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-13T13:28:28Z
| 2020-09-13T15:52:28Z
| 2020-09-13T15:52:28Z
|
NONE
| null |
Backport PR #36303: REGR: Fix IntegerArray unary ops regression
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36333/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36333/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36333.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36333",
"merged_at": "2020-09-13T15:52:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36333.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36333"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36334
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36334/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36334/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36334/events
|
https://github.com/pandas-dev/pandas/pull/36334
| 700,570,280
|
MDExOlB1bGxSZXF1ZXN0NDg2MTgyMzU5
| 36,334
|
Backport PR #36316 on branch 1.1.x (BUG: Don't overflow with large int scalar)
|
{
"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": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
},
{
"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-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-13T13:29:10Z
| 2020-09-13T15:52:02Z
| 2020-09-13T15:52:02Z
|
NONE
| null |
Backport PR #36316: BUG: Don't overflow with large int scalar
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36334/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36334/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36334.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36334",
"merged_at": "2020-09-13T15:52:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36334.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36334"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36335
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36335/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36335/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36335/events
|
https://github.com/pandas-dev/pandas/pull/36335
| 700,570,865
|
MDExOlB1bGxSZXF1ZXN0NDg2MTgyNzg3
| 36,335
|
ERR: Cartesian product error
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11210290?v=4",
"events_url": "https://api.github.com/users/TAJD/events{/privacy}",
"followers_url": "https://api.github.com/users/TAJD/followers",
"following_url": "https://api.github.com/users/TAJD/following{/other_user}",
"gists_url": "https://api.github.com/users/TAJD/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TAJD",
"id": 11210290,
"login": "TAJD",
"node_id": "MDQ6VXNlcjExMjEwMjkw",
"organizations_url": "https://api.github.com/users/TAJD/orgs",
"received_events_url": "https://api.github.com/users/TAJD/received_events",
"repos_url": "https://api.github.com/users/TAJD/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TAJD/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TAJD/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TAJD"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-09-13T13:32:56Z
| 2020-09-13T20:41:16Z
| 2020-09-13T20:22:37Z
|
CONTRIBUTOR
| null |
- [x] closes #31355
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Added a test to trigger the reported error using code from the issue. An if statement was included to return a more helpful error message - borrowing the solution from the issue.
Replacement of [this](https://github.com/pandas-dev/pandas/pull/36169) pull request.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36335/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36335/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36335.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36335",
"merged_at": "2020-09-13T20:22:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36335.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36335"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36336
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36336/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36336/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36336/events
|
https://github.com/pandas-dev/pandas/pull/36336
| 700,587,201
|
MDExOlB1bGxSZXF1ZXN0NDg2MTk0ODQ3
| 36,336
|
CI: Add stale PR action
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 22
| 2020-09-13T15:06:43Z
| 2020-09-16T18:32:16Z
| 2020-09-15T02:04:47Z
|
MEMBER
| null |
Adding a GitHub Action for ~closing stale PRs~ labeling PRs as stale which I think could help in managing the backlog
https://github.com/actions/stale
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36336/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36336/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36336.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36336",
"merged_at": "2020-09-15T02:04:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36336.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36336"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36337
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36337/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36337/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36337/events
|
https://github.com/pandas-dev/pandas/pull/36337
| 700,591,891
|
MDExOlB1bGxSZXF1ZXN0NDg2MTk4Mzcz
| 36,337
|
BUG: iloc.__setitem__ with DataFrame value, multiple blocks, non-unique columns
|
{
"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-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-13T15:32:48Z
| 2020-09-14T00:31:00Z
| 2020-09-13T20:37:19Z
|
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/36337/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36337/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36337.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36337",
"merged_at": "2020-09-13T20:37:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36337.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36337"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36338
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36338/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36338/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36338/events
|
https://github.com/pandas-dev/pandas/pull/36338
| 700,595,187
|
MDExOlB1bGxSZXF1ZXN0NDg2MjAwODAw
| 36,338
|
DOC/CLN: remove versionadded/changed:: 0.23
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-13T15:51:36Z
| 2020-09-13T20:31:11Z
| 2020-09-13T20:21:17Z
|
MEMBER
| null |
released 3 Aug 2018 https://github.com/pandas-dev/pandas/releases/tag/v0.23.4
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36338/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36338/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36338.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36338",
"merged_at": "2020-09-13T20:21:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36338.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36338"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36339
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36339/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36339/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36339/events
|
https://github.com/pandas-dev/pandas/pull/36339
| 700,599,954
|
MDExOlB1bGxSZXF1ZXN0NDg2MjA0Mzcy
| 36,339
|
REF: use check_setitem_lengths in DTA.__setitem__
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-09-13T16:16:57Z
| 2020-09-14T15:58:27Z
| 2020-09-14T06:28:55Z
|
MEMBER
| null |
Turning this into a two-line check will make it easy to add to `PandasArray.__setitem__` and `Categorical.__setitem__`, at which point we'll be able to move these methods up to `NDArrayBackedExtensionArray.__setitem__`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36339/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36339/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36339.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36339",
"merged_at": "2020-09-14T06:28:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36339.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36339"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36340
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36340/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36340/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36340/events
|
https://github.com/pandas-dev/pandas/pull/36340
| 700,619,012
|
MDExOlB1bGxSZXF1ZXN0NDg2MjE4NTg2
| 36,340
|
Backport PR #36231: BUG: Fixe unintentionally added suffix in DataFrame.apply/agg and Series.apply/agg
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-13T18:12:29Z
| 2020-09-13T19:21:29Z
| 2020-09-13T19:21:22Z
|
MEMBER
| null |
#36231
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36340/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36340/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36340.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36340",
"merged_at": "2020-09-13T19:21:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36340.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36340"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36341
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36341/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36341/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36341/events
|
https://github.com/pandas-dev/pandas/pull/36341
| 700,619,752
|
MDExOlB1bGxSZXF1ZXN0NDg2MjE5MTY5
| 36,341
|
REF: move ShallowMixin to groupby.base
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-13T18:16:12Z
| 2020-09-13T20:25:32Z
| 2020-09-13T20:20:57Z
|
MEMBER
| null |
Rename GroupByMixin -> GotItemMixin
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36341/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36341/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36341.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36341",
"merged_at": "2020-09-13T20:20:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36341.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36341"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36342
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36342/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36342/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36342/events
|
https://github.com/pandas-dev/pandas/pull/36342
| 700,626,958
|
MDExOlB1bGxSZXF1ZXN0NDg2MjI0NjYw
| 36,342
|
CLN: remove CategoricalIndex._create_from_codes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-13T19:00:02Z
| 2020-09-13T20:26:17Z
| 2020-09-13T20:19:41Z
|
MEMBER
| null |
Update some constructor calls in Categorical
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36342/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36342/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36342.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36342",
"merged_at": "2020-09-13T20:19:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36342.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36342"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36343
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36343/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36343/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36343/events
|
https://github.com/pandas-dev/pandas/issues/36343
| 700,633,573
|
MDU6SXNzdWU3MDA2MzM1NzM=
| 36,343
|
BUG: ZERO WIDTH NO-BREAK SPACE in column name causes a reading failure
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/53288768?v=4",
"events_url": "https://api.github.com/users/omarbelaggoun/events{/privacy}",
"followers_url": "https://api.github.com/users/omarbelaggoun/followers",
"following_url": "https://api.github.com/users/omarbelaggoun/following{/other_user}",
"gists_url": "https://api.github.com/users/omarbelaggoun/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/omarbelaggoun",
"id": 53288768,
"login": "omarbelaggoun",
"node_id": "MDQ6VXNlcjUzMjg4NzY4",
"organizations_url": "https://api.github.com/users/omarbelaggoun/orgs",
"received_events_url": "https://api.github.com/users/omarbelaggoun/received_events",
"repos_url": "https://api.github.com/users/omarbelaggoun/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/omarbelaggoun/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/omarbelaggoun/subscriptions",
"type": "User",
"url": "https://api.github.com/users/omarbelaggoun"
}
|
[
{
"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": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-09-13T19:39:21Z
| 2020-09-19T20:14:06Z
| 2020-09-19T20:14:06Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
[test excel.xlsx](https://github.com/pandas-dev/pandas/files/5214984/test.excel.xlsx)
```python
# Your code here
import pandas as pd
df=pd.read_excel('test excel.xlsx')
df
```
#### Problem description
I have a customer that is sending me a file that has ZERO WIDTH NO-BREAK SPACE
only the first header reads unless the character is deleted
I created a repro by copying the header from the original file to the new one in excel
#### Expected Output
```
Building Park Name Building Name New / Renewal Address City State Class
```
#### 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 158 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 0.25.3
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.1.1
setuptools : 41.2.0
Cython : None
pytest : 5.3.5
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : None
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.11.1
pandas_datareader: None
bs4 : 4.8.2
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.2
numexpr : None
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.12
tables : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : 1.2.8
</details>
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36343/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36343/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36344
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36344/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36344/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36344/events
|
https://github.com/pandas-dev/pandas/issues/36344
| 700,637,001
|
MDU6SXNzdWU3MDA2MzcwMDE=
| 36,344
|
DOC: Projected time for running entire performance test suite is outdated
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
}
] | null | 5
| 2020-09-13T20:01:04Z
| 2020-10-08T00:59:25Z
| 2020-10-08T00:59:25Z
|
CONTRIBUTOR
| null |
#### Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#running-the-performance-test-suite
**Note**: You can check the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/).
#### Documentation problem
Ran entire performance test suite for #36161 and it took close to 8 hours. Docs state: "Running the full test suite can take up to one hour and use up to 3GB of RAM". From @jreback I understood that this is because the test suite has increase a lot in size, since the last doc update.
#### Suggested fix for documentation
I would add a disclaimer regarding your hardware and state that running the tests on a laptop can take up to X hours. For X we can take 8 or another number if others have experienced an even longer duration for running the full performance test suite. So we end up with something like this:
"Projected duration for running the full test suite may vary depending on your machine, but on a modern laptop it will take up to 8 hours and use up to 3GB of RAM"
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36344/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36344/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36345
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36345/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36345/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36345/events
|
https://github.com/pandas-dev/pandas/pull/36345
| 700,637,539
|
MDExOlB1bGxSZXF1ZXN0NDg2MjMyNjEz
| 36,345
|
PERF: styler uuid control and security
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
}
|
[
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-13T20:04:13Z
| 2020-09-19T16:42:45Z
| 2020-09-19T15:21:56Z
|
CONTRIBUTOR
| null |
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
`Styler` uuid is randomly generated from 16bytes, or 128bit entropy, which is poorly formatted for data transmission over the web.
`Styler` uuid1 is super-ceded by uuid4 which is more network secure.
This PR addresses the two above items by switching uuid method, and then coding the default entropy to 5 characters (20bit) which should be more than sufficient to avoid HTML table collision on a webpage, but make substantial data transfer savings for large tables.
uuid length remains configurable.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36345/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36345/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36345.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36345",
"merged_at": "2020-09-19T15:21:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36345.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36345"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36346
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36346/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36346/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36346/events
|
https://github.com/pandas-dev/pandas/pull/36346
| 700,640,098
|
MDExOlB1bGxSZXF1ZXN0NDg2MjM0Mzk2
| 36,346
|
ENH/BUG: consistently cast strs to datetimelike for searchsorted
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-09-13T20:18:21Z
| 2020-09-17T02:51:57Z
| 2020-09-17T02:41:14Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
ATM we are pretty inconsistent in how we handle strings for (DTI|TDI|PI|Series).searchsorted. The underlying EAs will cast scalar strings but not Sequene[str]. The Indexes will raise on both scalars and sequences. Series follows the EA and casts "2016-01-01" but not `["2016-01-01"]`.
This makes us consistently cast in all cases.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36346/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36346/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36346.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36346",
"merged_at": "2020-09-17T02:41:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36346.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36346"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36347
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36347/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36347/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36347/events
|
https://github.com/pandas-dev/pandas/pull/36347
| 700,642,621
|
MDExOlB1bGxSZXF1ZXN0NDg2MjM2MjQx
| 36,347
|
Backport PR #36174 on branch 1.1.x (BUG: Ensure read_spss accepts pathlib Paths (GH33666))
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-13T20:33:46Z
| 2020-09-13T21:42:34Z
| 2020-09-13T21:42:34Z
|
NONE
| null |
Backport PR #36174: BUG: Ensure read_spss accepts pathlib Paths (GH33666)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36347/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36347/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36347.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36347",
"merged_at": "2020-09-13T21:42:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36347.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36347"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36348
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36348/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36348/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36348/events
|
https://github.com/pandas-dev/pandas/pull/36348
| 700,664,213
|
MDExOlB1bGxSZXF1ZXN0NDg2MjUxNzkw
| 36,348
|
[BUG]: Implement Kahan summation for rolling().mean() to avoid numerical issues
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "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": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 9
| 2020-09-13T22:50:51Z
| 2020-09-16T11:59:19Z
| 2020-09-15T22:20:49Z
|
MEMBER
| null |
- [x] closes #36031
- [x] closes #32761
- [x] closes #10319
- [x] xref #11645 (fixes the issue expect the 0, will add an additional pr about the doc)
- [x] closes #13254
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
I implemented the Kahan summation as suggested by @jreback. I used the variable names from https://en.wikipedia.org/wiki/Kahan_summation_algorithm. If there exists a name convention am not aware of, I am happy to rename the variables.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36348/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36348/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36348.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36348",
"merged_at": "2020-09-15T22:20:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36348.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36348"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36349
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36349/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36349/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36349/events
|
https://github.com/pandas-dev/pandas/pull/36349
| 700,688,046
|
MDExOlB1bGxSZXF1ZXN0NDg2MjcwNDA5
| 36,349
|
ADMIN: Auto-label PRs for review
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "DDDDDD",
"default": false,
"description": "Administrative tasks related to the pandas project",
"id": 32933285,
"name": "Admin",
"node_id": "MDU6TGFiZWwzMjkzMzI4NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 5
| 2020-09-14T01:01:07Z
| 2020-09-18T22:11:03Z
| 2020-09-18T22:08:58Z
|
MEMBER
| null |
Not certain this will work, but nonetheless I think something like this would be helpful (analogous to "Needs Triage" for issues)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36349/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36349/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36349.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36349",
"merged_at": "2020-09-18T22:08:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36349.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36349"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36350
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36350/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36350/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36350/events
|
https://github.com/pandas-dev/pandas/pull/36350
| 700,693,433
|
MDExOlB1bGxSZXF1ZXN0NDg2Mjc0NTQx
| 36,350
|
BUG: DataFrameGroupBy.transform with axis=1 fails (#36308)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3723510?v=4",
"events_url": "https://api.github.com/users/Ethanator/events{/privacy}",
"followers_url": "https://api.github.com/users/Ethanator/followers",
"following_url": "https://api.github.com/users/Ethanator/following{/other_user}",
"gists_url": "https://api.github.com/users/Ethanator/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Ethanator",
"id": 3723510,
"login": "Ethanator",
"node_id": "MDQ6VXNlcjM3MjM1MTA=",
"organizations_url": "https://api.github.com/users/Ethanator/orgs",
"received_events_url": "https://api.github.com/users/Ethanator/received_events",
"repos_url": "https://api.github.com/users/Ethanator/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Ethanator/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ethanator/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Ethanator"
}
|
[
{
"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"
}
] |
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"
}
| 13
| 2020-09-14T01:21:44Z
| 2020-11-14T16:50:23Z
| 2020-11-14T16:50:19Z
|
CONTRIBUTOR
| null |
- [x] closes #36308
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Updated `pandas.core.groupby.generic._wrap_transformed_output` as suggested by @rhshadrach but also had to modify `pandas.core.groupby.groupby.pct_change` to get 2 tests passed where the operation passed to `transform` is `pct_change`.
All tests passed except for `pandas/tests/io/test_clipboard.py` and `pandas/tests/io/test_parquet.py` that are already broken on the latest `master` as of September 14, 2020 01:15 UTC.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36350/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36350/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36350.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36350",
"merged_at": "2020-11-14T16:50:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36350.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36350"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36351
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36351/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36351/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36351/events
|
https://github.com/pandas-dev/pandas/issues/36351
| 700,862,703
|
MDU6SXNzdWU3MDA4NjI3MDM=
| 36,351
|
Representation of pd.Timestamp is not ISO8601 compliant.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11917243?v=4",
"events_url": "https://api.github.com/users/kotval/events{/privacy}",
"followers_url": "https://api.github.com/users/kotval/followers",
"following_url": "https://api.github.com/users/kotval/following{/other_user}",
"gists_url": "https://api.github.com/users/kotval/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kotval",
"id": 11917243,
"login": "kotval",
"node_id": "MDQ6VXNlcjExOTE3MjQz",
"organizations_url": "https://api.github.com/users/kotval/orgs",
"received_events_url": "https://api.github.com/users/kotval/received_events",
"repos_url": "https://api.github.com/users/kotval/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kotval/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kotval/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kotval"
}
|
[
{
"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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 4
| 2020-09-14T07:45:59Z
| 2020-09-14T11:29:17Z
| 2020-09-14T11:28:28Z
|
NONE
| null |
ISO 8601 specifies that the date and time portion of a timestamp is separated by a "T", but python's datetime.isoformat allows any character to separate them. To comply with ISO8601, [line 650](https://github.com/pandas-dev/pandas/blob/6b2d0260c818e62052eaf535767f3a8c4b446c69/pandas/_libs/tslibs/timestamps.pyx#L650) should be changed to include a "T" in between the date and the time. Since this also complies with datetime.isoformat, there is no reason not to change this.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36351/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36351/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36352
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36352/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36352/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36352/events
|
https://github.com/pandas-dev/pandas/issues/36352
| 700,939,794
|
MDU6SXNzdWU3MDA5Mzk3OTQ=
| 36,352
|
BUG: interpolate with limit keyword partially fills gaps larger than limit
|
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] |
open
| false
| null |
[] | null | 5
| 2020-09-14T09:38:06Z
| 2021-08-13T02:48:01Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Interpolating "inside" gaps with limit gap size of 3
import pandas as pd
import numpy as np
ts_index = pd.date_range('2016-01-01','2016-01-2',freq='H')
limit_gap_size = 3
df = pd.DataFrame(index=ts_index, data={'raw':np.random.uniform(size=ts_index.size)})
df.iloc[0:3] = np.nan
df.iloc[5:7] = np.nan
df.iloc[10:16] = np.nan
df.iloc[17:20] = np.nan
df.iloc[23:25] = np.nan
df['filled'] = df.interpolate(limit=limit_gap_size,limit_area='inside')
# solution to specific case
# credit functions below: https://stackoverflow.com/a/54512613/752092
def bfill_nan(arr):
""" Backward-fill NaNs """
mask = np.isnan(arr)
idx = np.where(~mask, np.arange(mask.shape[0]), mask.shape[0]-1)
idx = np.minimum.accumulate(idx[::-1], axis=0)[::-1]
out = arr[idx]
return out
def calc_mask(arr, maxgap):
""" Mask NaN gaps longer than `maxgap` """
isnan = np.isnan(arr)
cumsum = np.cumsum(isnan).astype('float')
diff = np.zeros_like(arr)
diff[~isnan] = np.diff(cumsum[~isnan], prepend=0)
diff[isnan] = np.nan
diff = bfill_nan(diff)
return (diff <= maxgap) | ~isnan # <= instead of < compared to SO answer
df['expected'] = df['raw'].interpolate(limit=3,limit_area='inside').where(calc_mask(df['raw'],limit_gap_size))
df
raw filled expected
2016-01-01 00:00:00 NaN NaN NaN
2016-01-01 01:00:00 NaN NaN NaN
2016-01-01 02:00:00 NaN NaN NaN
2016-01-01 03:00:00 0.781920 0.781920 0.781920
2016-01-01 04:00:00 0.732783 0.732783 0.732783
2016-01-01 05:00:00 NaN 0.545743 0.545743
2016-01-01 06:00:00 NaN 0.358704 0.358704
2016-01-01 07:00:00 0.171664 0.171664 0.171664
2016-01-01 08:00:00 0.689487 0.689487 0.689487
2016-01-01 09:00:00 0.131983 0.131983 0.131983
2016-01-01 10:00:00 NaN 0.140856 NaN
2016-01-01 11:00:00 NaN 0.149729 NaN
2016-01-01 12:00:00 NaN 0.158601 NaN
2016-01-01 13:00:00 NaN NaN NaN
2016-01-01 14:00:00 NaN NaN NaN
2016-01-01 15:00:00 NaN NaN NaN
2016-01-01 16:00:00 0.194093 0.194093 0.194093
2016-01-01 17:00:00 NaN 0.330719 0.330719
2016-01-01 18:00:00 NaN 0.467345 0.467345
2016-01-01 19:00:00 NaN 0.603971 0.603971
2016-01-01 20:00:00 0.740598 0.740598 0.740598
2016-01-01 21:00:00 0.223751 0.223751 0.223751
2016-01-01 22:00:00 0.383625 0.383625 0.383625
2016-01-01 23:00:00 NaN NaN NaN
2016-01-02 00:00:00 NaN NaN NaN
```
#### Problem description
When passing a limit this is expected to be respected and gaps larger than this should not be interpolated at all. Partially filling the beginning (or end, depending on limit_direction) of the gaps is not reasonable behavior
#### Expected Output
See output in example
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.7.8.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en
LOCALE : None.None
pandas : 1.1.2
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.6.0.post20200814
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.8.6 (dt dec pq3 ext lo64)
jinja2 : None
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.19
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
numba : None
</details>
|
{
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36352/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36352/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36353
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36353/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36353/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36353/events
|
https://github.com/pandas-dev/pandas/issues/36353
| 700,970,703
|
MDU6SXNzdWU3MDA5NzA3MDM=
| 36,353
|
BUG: DataFrame.stack does not work when MultiIndex had duplicated names
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2991890?v=4",
"events_url": "https://api.github.com/users/cipri-tom/events{/privacy}",
"followers_url": "https://api.github.com/users/cipri-tom/followers",
"following_url": "https://api.github.com/users/cipri-tom/following{/other_user}",
"gists_url": "https://api.github.com/users/cipri-tom/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cipri-tom",
"id": 2991890,
"login": "cipri-tom",
"node_id": "MDQ6VXNlcjI5OTE4OTA=",
"organizations_url": "https://api.github.com/users/cipri-tom/orgs",
"received_events_url": "https://api.github.com/users/cipri-tom/received_events",
"repos_url": "https://api.github.com/users/cipri-tom/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cipri-tom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cipri-tom/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cipri-tom"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 3
| 2020-09-14T10:22:57Z
| 2020-09-15T22:35:41Z
| 2020-09-15T22:35:41Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
`data.csv`:
```csv
, Q1, Q1, Q1, Q2, Q2, Q2
, V1, V2, V3, V1, V2, V3
Ram , 11, 19, 10, 10, 12, 14
Syam, 11, 19, 10, 10, 12, 14
```
```python
# Your code here
df = pd.read_clipboard(',', header=[0,1], index_col=0)
df.stack(0)
ValueError: The name occurs multiple times, use a level number
```
#### Problem description
Well, I *am* using a level number, not a name, but there still is an error because the level names are duplicated: each is ` ` (4 spaces). I would expect it to work, or to have a more descriptive error, maybe upon creation of the data-frame: "MultiIndex should not have identical names".
I believe this is related to #19029
However, interestingly `df.stack(1)` works correctly, no problems with duplicate names.
#### Expected Output
```
H2 V1 V2 V3
H1
Ram Q1 11 19 10
Q2 10 12 14
Syam Q1 11 19 10
Q2 10 12 14
```
Solved it with:
```
df.columns.names = ['H1', 'H2']
df.stack(0) # works
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.7.6.final.0
python-bits : 64
OS : Darwin
OS-release : 19.4.0
Version : Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_UK.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.19.0
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.6.0.post20200814
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.2
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.14.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : 0.8.7
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36353/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36353/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36354
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36354/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36354/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36354/events
|
https://github.com/pandas-dev/pandas/issues/36354
| 701,010,533
|
MDU6SXNzdWU3MDEwMTA1MzM=
| 36,354
|
DEV: doctests fail on automatic int32/int64 selection
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18049056?v=4",
"events_url": "https://api.github.com/users/plammens/events{/privacy}",
"followers_url": "https://api.github.com/users/plammens/followers",
"following_url": "https://api.github.com/users/plammens/following{/other_user}",
"gists_url": "https://api.github.com/users/plammens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/plammens",
"id": 18049056,
"login": "plammens",
"node_id": "MDQ6VXNlcjE4MDQ5MDU2",
"organizations_url": "https://api.github.com/users/plammens/orgs",
"received_events_url": "https://api.github.com/users/plammens/received_events",
"repos_url": "https://api.github.com/users/plammens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/plammens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plammens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/plammens"
}
|
[
{
"color": "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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] |
open
| false
| null |
[] | null | 4
| 2020-09-14T11:24:56Z
| 2021-08-13T02:49:38Z
| null |
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
On Windows 64 bit, latest commit from `master` branch, etc. (see output of `pd.show_versions()` below), fresh virtual environment, install pandas in editable mode from repo root and run the `validate_docstrings.py` script on `pandas.core.generic.NDFrame.resample`:
```cmd
pip install -e .
python scripts\validate_docstrings.py pandas.core.generic.NDFrame.resample
```
A bunch of doctests fail, with the only difference between actual and expected being int32/int64 respectively:
<details>
```none
################################################################################
################### Docstring (pandas.core.generic.NDFrame) ###################
################################################################################
[...]
################################################################################
################################## Validation ##################################
################################################################################
2 Errors found:
Return value has no description
Examples do not pass tests
################################################################################
################################### Doctests ###################################
################################################################################
**********************************************************************
Line 291, in pandas.core.generic.NDFrame.resample
Failed example:
ts
Expected:
2000-10-01 23:30:00 0
2000-10-01 23:37:00 3
2000-10-01 23:44:00 6
2000-10-01 23:51:00 9
2000-10-01 23:58:00 12
2000-10-02 00:05:00 15
2000-10-02 00:12:00 18
2000-10-02 00:19:00 21
2000-10-02 00:26:00 24
Freq: 7T, dtype: int64
Got:
2000-10-01 23:30:00 0
2000-10-01 23:37:00 3
2000-10-01 23:44:00 6
2000-10-01 23:51:00 9
2000-10-01 23:58:00 12
2000-10-02 00:05:00 15
2000-10-02 00:12:00 18
2000-10-02 00:19:00 21
2000-10-02 00:26:00 24
Freq: 7T, dtype: int32
**********************************************************************
Line 303, in pandas.core.generic.NDFrame.resample
Failed example:
ts.resample('17min').sum()
Expected:
2000-10-01 23:14:00 0
2000-10-01 23:31:00 9
2000-10-01 23:48:00 21
2000-10-02 00:05:00 54
2000-10-02 00:22:00 24
Freq: 17T, dtype: int64
Got:
2000-10-01 23:14:00 0
2000-10-01 23:31:00 9
2000-10-01 23:48:00 21
2000-10-02 00:05:00 54
2000-10-02 00:22:00 24
Freq: 17T, dtype: int32
**********************************************************************
Line 311, in pandas.core.generic.NDFrame.resample
Failed example:
ts.resample('17min', origin='epoch').sum()
Expected:
2000-10-01 23:18:00 0
2000-10-01 23:35:00 18
2000-10-01 23:52:00 27
2000-10-02 00:09:00 39
2000-10-02 00:26:00 24
Freq: 17T, dtype: int64
Got:
2000-10-01 23:18:00 0
2000-10-01 23:35:00 18
2000-10-01 23:52:00 27
2000-10-02 00:09:00 39
2000-10-02 00:26:00 24
Freq: 17T, dtype: int32
**********************************************************************
Line 319, in pandas.core.generic.NDFrame.resample
Failed example:
ts.resample('17min', origin='2000-01-01').sum()
Expected:
2000-10-01 23:24:00 3
2000-10-01 23:41:00 15
2000-10-01 23:58:00 45
2000-10-02 00:15:00 45
Freq: 17T, dtype: int64
Got:
2000-10-01 23:24:00 3
2000-10-01 23:41:00 15
2000-10-01 23:58:00 45
2000-10-02 00:15:00 45
Freq: 17T, dtype: int32
**********************************************************************
Line 329, in pandas.core.generic.NDFrame.resample
Failed example:
ts.resample('17min', origin='start').sum()
Expected:
2000-10-01 23:30:00 9
2000-10-01 23:47:00 21
2000-10-02 00:04:00 54
2000-10-02 00:21:00 24
Freq: 17T, dtype: int64
Got:
2000-10-01 23:30:00 9
2000-10-01 23:47:00 21
2000-10-02 00:04:00 54
2000-10-02 00:21:00 24
Freq: 17T, dtype: int32
**********************************************************************
Line 336, in pandas.core.generic.NDFrame.resample
Failed example:
ts.resample('17min', offset='23h30min').sum()
Expected:
2000-10-01 23:30:00 9
2000-10-01 23:47:00 21
2000-10-02 00:04:00 54
2000-10-02 00:21:00 24
Freq: 17T, dtype: int64
Got:
2000-10-01 23:30:00 9
2000-10-01 23:47:00 21
2000-10-02 00:04:00 54
2000-10-02 00:21:00 24
Freq: 17T, dtype: int32
**********************************************************************
Line 346, in pandas.core.generic.NDFrame.resample
Failed example:
ts.resample('17min', offset='2min').sum()
Expected:
2000-10-01 23:16:00 0
2000-10-01 23:33:00 9
2000-10-01 23:50:00 36
2000-10-02 00:07:00 39
2000-10-02 00:24:00 24
Freq: 17T, dtype: int64
Got:
2000-10-01 23:16:00 0
2000-10-01 23:33:00 9
2000-10-01 23:50:00 36
2000-10-02 00:07:00 39
2000-10-02 00:24:00 24
Freq: 17T, dtype: int32
**********************************************************************
Line 360, in pandas.core.generic.NDFrame.resample
Failed example:
ts_out
Expected:
2000-10-01 23:33:00 0
2000-10-01 23:50:00 9
2000-10-02 00:07:00 21
2000-10-02 00:24:00 54
2000-10-02 00:41:00 24
Freq: 17T, dtype: int64
Got:
2000-10-01 23:33:00 0
2000-10-01 23:50:00 9
2000-10-02 00:07:00 21
2000-10-02 00:24:00 54
2000-10-02 00:41:00 24
Freq: 17T, dtype: int32
```
But when I run these examples from the python console of the virtual environment, I get the correct results (i.e. with int64).
</details>
#### Expected Output
No doctests fail.
#### Problem description
The selection of the integer dtype (int64 vs int32) shouldn't differ between running the `validate_dosctrings.py` script and running the examples manually. Why does this happen?
#### Output of ``pd.show_versions()``
<details>
```none
INSTALLED VERSIONS
------------------
commit : 8df0218a4bfae50a7191ff0869e63c28884fb733
python : 3.8.2.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United Kingdom.1252
pandas : 1.2.0.dev0+378.g8df0218a4
numpy : 1.18.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1
setuptools : 46.1.3
Cython : 0.29.17
pytest : 5.4.2
hypothesis : 5.11.0
sphinx : 3.2.1
blosc : 1.9.1
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.14.0
pandas_datareader: None
bs4 : 4.9.0
bottleneck : 1.3.2
fsspec : 0.8.2
fastparquet : 0.3.3
gcsfs : 0.7.1
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.17.0
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.4.1
sqlalchemy : 1.3.16
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.15.1
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.49.1
```
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36354/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36354/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36355
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36355/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36355/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36355/events
|
https://github.com/pandas-dev/pandas/pull/36355
| 701,022,411
|
MDExOlB1bGxSZXF1ZXN0NDg2NTQ4OTEz
| 36,355
|
Backport PR #36175: BUG: read_excel for ods files raising UnboundLocalError in certain cases
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 1
| 2020-09-14T11:44:37Z
| 2020-09-15T13:18:14Z
| 2020-09-14T13:47:59Z
|
MEMBER
| null |
#36175
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36355/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36355/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36355.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36355",
"merged_at": "2020-09-14T13:47:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36355.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36355"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36356
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36356/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36356/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36356/events
|
https://github.com/pandas-dev/pandas/pull/36356
| 701,087,555
|
MDExOlB1bGxSZXF1ZXN0NDg2NjAyNjcz
| 36,356
|
DOC: Example for natural sort using key argument
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 5
| 2020-09-14T13:12:14Z
| 2020-09-15T22:59:54Z
| 2020-09-15T22:32:26Z
|
CONTRIBUTOR
| null |
- [x] closes #36286
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+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/36356/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36356/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36356.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36356",
"merged_at": "2020-09-15T22:32:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36356.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36356"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36357
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36357/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36357/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36357/events
|
https://github.com/pandas-dev/pandas/pull/36357
| 701,094,516
|
MDExOlB1bGxSZXF1ZXN0NDg2NjA4OTc3
| 36,357
|
REF: Dispatch string methods to ExtensionArray
|
{
"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-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"
}
| 20
| 2020-09-14T13:17:27Z
| 2020-10-15T13:44:06Z
| 2020-09-30T12:22:26Z
|
CONTRIBUTOR
| null |
This is a large refactor of our string methods. The goal is to have the `Series.str` accessor dispatch the actual compute down to the ExtensionArray. The motivation is to allow a Series backed by Arrow memory to use the Arrow string kernel (e.g. `Series.str.lower()` on an Arrow-backed StringArray should eventually call `pyarrow.compute.utf8_lower()`.)
To facilitate this, I made the following changes
1. Split `core/strings.py` into a sub package:
- `core/strings/accessor.py`: Implements the `Series.str` accessor, which (mostly) just delegates to the EA and wraps
- `core/strings/object_array.py`: Implements the string methods for object-type ndarray.
- `core/strings/categorical.py`, `core/strings/string_array.py`, implements categorical & StringArray-specific methods
2. Defines a new `ExtensionArray._str` extension point. This is where EAs get to take over and use their compute
Note that there are a few methods like `cat`, `extract`, and `extractall` that don't yet dispatch. I need to look into them a bit more, there implementation is a bit confusing.
Closes https://github.com/pandas-dev/pandas/issues/36216
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36357/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36357/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36357.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36357",
"merged_at": "2020-09-30T12:22:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36357.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36357"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36358
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36358/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36358/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36358/events
|
https://github.com/pandas-dev/pandas/pull/36358
| 701,153,171
|
MDExOlB1bGxSZXF1ZXN0NDg2NjU4NjA0
| 36,358
|
Fix documentation for new float_precision on read_csv
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-09-14T14:25:26Z
| 2020-09-18T11:32:37Z
| 2020-09-17T22:39:42Z
|
CONTRIBUTOR
| null |
- [x] closes https://github.com/pandas-dev/pandas/pull/36228#discussion_r487587534
- [ ] tests added / passed
N/A
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
N/A
A followup to PR #36228 to get the documentation string right for version changed. (was in wrong place, missing blank line)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36358/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36358/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36358.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36358",
"merged_at": "2020-09-17T22:39:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36358.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36358"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36359
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36359/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36359/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36359/events
|
https://github.com/pandas-dev/pandas/issues/36359
| 701,160,894
|
MDU6SXNzdWU3MDExNjA4OTQ=
| 36,359
|
BUG: get_indexer methods return int64 instead of intp arrays
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24970830?v=4",
"events_url": "https://api.github.com/users/alexhlim/events{/privacy}",
"followers_url": "https://api.github.com/users/alexhlim/followers",
"following_url": "https://api.github.com/users/alexhlim/following{/other_user}",
"gists_url": "https://api.github.com/users/alexhlim/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexhlim",
"id": 24970830,
"login": "alexhlim",
"node_id": "MDQ6VXNlcjI0OTcwODMw",
"organizations_url": "https://api.github.com/users/alexhlim/orgs",
"received_events_url": "https://api.github.com/users/alexhlim/received_events",
"repos_url": "https://api.github.com/users/alexhlim/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexhlim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexhlim/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexhlim"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24970830?v=4",
"events_url": "https://api.github.com/users/alexhlim/events{/privacy}",
"followers_url": "https://api.github.com/users/alexhlim/followers",
"following_url": "https://api.github.com/users/alexhlim/following{/other_user}",
"gists_url": "https://api.github.com/users/alexhlim/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexhlim",
"id": 24970830,
"login": "alexhlim",
"node_id": "MDQ6VXNlcjI0OTcwODMw",
"organizations_url": "https://api.github.com/users/alexhlim/orgs",
"received_events_url": "https://api.github.com/users/alexhlim/received_events",
"repos_url": "https://api.github.com/users/alexhlim/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexhlim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexhlim/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexhlim"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/24970830?v=4",
"events_url": "https://api.github.com/users/alexhlim/events{/privacy}",
"followers_url": "https://api.github.com/users/alexhlim/followers",
"following_url": "https://api.github.com/users/alexhlim/following{/other_user}",
"gists_url": "https://api.github.com/users/alexhlim/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexhlim",
"id": 24970830,
"login": "alexhlim",
"node_id": "MDQ6VXNlcjI0OTcwODMw",
"organizations_url": "https://api.github.com/users/alexhlim/orgs",
"received_events_url": "https://api.github.com/users/alexhlim/received_events",
"repos_url": "https://api.github.com/users/alexhlim/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexhlim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexhlim/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexhlim"
}
] |
{
"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-09-14T14:34:18Z
| 2020-09-19T19:56:06Z
| 2020-09-19T19:56:06Z
|
MEMBER
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
>>> import pandas as pd
>>> ax1 = pd.Index([1, 2, 3])
>>> ax2 = pd.Index([1, 1, 2])
>>> ans1 = ax1.get_indexer([1])
>>> ans2 = ax2.get_indexer_non_unique([1])
>>> print(ans1, ans1.dtype)
[0] int64
>>> print(ans2[0], ans2[0].dtype, ans2[1], ans2[1].dtype)
[0 1] int64 [] int64
```
#### Problem description
Found in #35498. When looking at the implementation of the `get_indexer` or `get_indexer_non_unique` in pandas/_libs/index.pyx, I noticed that the returned array dtype will always be int64. Since these methods return indices arrays, I believe that intp is a more appropriate type because it will choose a size depending on ssize_t, which is guaranteed to be large enough to represent all possible indices in the array.
#### Expected Output
```python
[0] intp
[0 1] intp [] intp
```
#### Output of ``pd.show_versions()``
```python
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit : 7b14cf6b0b9dbcddce7b9bb22a81c73bdebc1be8
python : 3.7.7.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.76-linuxkit
Version : #1 SMP Tue May 26 11:42:35 UTC 2020
machine : x86_64
processor :
byteorder : little
LC_ALL : C.UTF-8
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.0rc0+406.g7b14cf6b0
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 45.2.0.post20200210
Cython : 0.29.21
pytest : 5.4.3
hypothesis : 5.20.2
sphinx : 3.1.1
blosc : None
feather : None
xlsxwriter : 1.2.9
lxml.etree : 4.4.1
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : 1.3.2
fsspec : 0.7.4
fastparquet : 0.4.1
gcsfs : 0.6.2
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.1
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.0
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.50.1
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36359/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36359/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36360
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36360/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36360/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36360/events
|
https://github.com/pandas-dev/pandas/issues/36360
| 701,189,586
|
MDU6SXNzdWU3MDExODk1ODY=
| 36,360
|
BUG: MutliIndex names lost during pivot
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2682547?v=4",
"events_url": "https://api.github.com/users/r7sa/events{/privacy}",
"followers_url": "https://api.github.com/users/r7sa/followers",
"following_url": "https://api.github.com/users/r7sa/following{/other_user}",
"gists_url": "https://api.github.com/users/r7sa/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/r7sa",
"id": 2682547,
"login": "r7sa",
"node_id": "MDQ6VXNlcjI2ODI1NDc=",
"organizations_url": "https://api.github.com/users/r7sa/orgs",
"received_events_url": "https://api.github.com/users/r7sa/received_events",
"repos_url": "https://api.github.com/users/r7sa/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/r7sa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/r7sa/subscriptions",
"type": "User",
"url": "https://api.github.com/users/r7sa"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-14T15:07:52Z
| 2020-10-31T17:51:55Z
| 2020-10-31T17:51:55Z
|
NONE
| null |
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
d = pd.DataFrame([[1,2,3],[2,2,3],[3,2,3],[4,2,3],[5,2,3]],
columns=pd.MultiIndex.from_tuples([[0, 0, 0], [0, 0, 1], [0, 0, 2]], names=['c1', 'c2', 'c3']),
index=pd.MultiIndex.from_tuples([[0, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 0, 0, 0, 1],
[0, 1, 0, 0, 0, 1, 0],
[0, 1, 1, 0, 0, 1, 1],
[1, 0, 0, 0, 1, 0, 0]
],
names=['i1', 'i2', 'i3', 'i4', 'i5', 'i6', 'i7']))
e = d.pivot_table(index=['i1',], columns=['i2', 'i3',], values=[(0, 0, 1), (0, 0, 2)], aggfunc=lambda v: v.values[0])
e.columns
```
result is:
```MultiIndex([(0, 0, 1, 0, 0),
(0, 0, 1, 0, 1),
(0, 0, 1, 1, 0),
(0, 0, 1, 1, 1),
(0, 0, 2, 0, 0),
(0, 0, 2, 0, 1),
(0, 0, 2, 1, 0),
(0, 0, 2, 1, 1)],
names=[None, None, None, 'i2', 'i3'])
```
some names is None, but must be
```names=['c1', 'c2', 'c3', 'i2', 'i3'])```
#### Problem description
Problems seems in pandas/core/groupby/generic.py in class DataFrameGroupBy in function _wrap_aggregated_output
Line
```python
name = self._obj_with_exclusions._get_axis(1 - self.axis).name
```
seems to must be
```python
name_axis = self._obj_with_exclusions._get_axis(1 - self.axis)
name = name_axis.names if isinstance(name_axis, MultiIndex) else name_axis.name
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36360/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36360/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36361
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36361/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36361/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36361/events
|
https://github.com/pandas-dev/pandas/issues/36361
| 701,191,049
|
MDU6SXNzdWU3MDExOTEwNDk=
| 36,361
|
DOC: New storage_options for read_csv needs a docstring
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-09-14T15:09:45Z
| 2020-09-14T20:26:01Z
| 2020-09-14T20:26:01Z
|
CONTRIBUTOR
| null |
#### Location of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.read_csv.html
#### Documentation problem
The new `storage_options` keyword for `read_csv` and `read_table` is not documented in the docstring.
#### Suggested fix for documentation
Add docstring
@martindurant
NOTE: I noticed this when running `validate_docstrings` locally for `read_csv` and it reported this.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36361/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36361/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36362
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36362/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36362/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36362/events
|
https://github.com/pandas-dev/pandas/pull/36362
| 701,258,291
|
MDExOlB1bGxSZXF1ZXN0NDg2NzQ1NTM4
| 36,362
|
REF: _unbox_scalar, _unbox_listlike for Categorical
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-14T16:40:52Z
| 2020-09-15T02:29:36Z
| 2020-09-15T02:00:29Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36362/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36362/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36362.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36362",
"merged_at": "2020-09-15T02:00:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36362.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36362"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36363
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36363/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36363/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36363/events
|
https://github.com/pandas-dev/pandas/pull/36363
| 701,270,019
|
MDExOlB1bGxSZXF1ZXN0NDg2NzU1NTQ2
| 36,363
|
DOC: move release note for #36175
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 1
| 2020-09-14T16:57:09Z
| 2020-09-15T07:19:17Z
| 2020-09-15T07:19:17Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/pull/36175#issuecomment-691994652
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36363/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36363/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36363.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36363",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36363.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36363"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36364
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36364/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36364/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36364/events
|
https://github.com/pandas-dev/pandas/pull/36364
| 701,291,406
|
MDExOlB1bGxSZXF1ZXN0NDg2NzczMTM0
| 36,364
|
DOC: Added docstring for storage_options GH36361
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/53289673?v=4",
"events_url": "https://api.github.com/users/kshivi99/events{/privacy}",
"followers_url": "https://api.github.com/users/kshivi99/followers",
"following_url": "https://api.github.com/users/kshivi99/following{/other_user}",
"gists_url": "https://api.github.com/users/kshivi99/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kshivi99",
"id": 53289673,
"login": "kshivi99",
"node_id": "MDQ6VXNlcjUzMjg5Njcz",
"organizations_url": "https://api.github.com/users/kshivi99/orgs",
"received_events_url": "https://api.github.com/users/kshivi99/received_events",
"repos_url": "https://api.github.com/users/kshivi99/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kshivi99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kshivi99/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kshivi99"
}
|
[] |
closed
| false
| null |
[] | null | 2
| 2020-09-14T17:31:20Z
| 2020-09-15T01:33:00Z
| 2020-09-14T20:26:01Z
|
CONTRIBUTOR
| null |
DOC: Added docstring for storage_options GH36361
- [x] closes #36361
- [ ] 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/36364/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36364/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36364.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36364",
"merged_at": "2020-09-14T20:26:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36364.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36364"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36365
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36365/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36365/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36365/events
|
https://github.com/pandas-dev/pandas/pull/36365
| 701,299,812
|
MDExOlB1bGxSZXF1ZXN0NDg2Nzc5NDU3
| 36,365
|
BUG: Python Parser skipping over items if BOM present in first element of header
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1978117?v=4",
"events_url": "https://api.github.com/users/asishm/events{/privacy}",
"followers_url": "https://api.github.com/users/asishm/followers",
"following_url": "https://api.github.com/users/asishm/following{/other_user}",
"gists_url": "https://api.github.com/users/asishm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/asishm",
"id": 1978117,
"login": "asishm",
"node_id": "MDQ6VXNlcjE5NzgxMTc=",
"organizations_url": "https://api.github.com/users/asishm/orgs",
"received_events_url": "https://api.github.com/users/asishm/received_events",
"repos_url": "https://api.github.com/users/asishm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/asishm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/asishm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/asishm"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 7
| 2020-09-14T17:44:48Z
| 2020-09-20T03:35:30Z
| 2020-09-19T20:14:06Z
|
CONTRIBUTOR
| null |
- [x] closes #36343
- [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/36365/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36365/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36365.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36365",
"merged_at": "2020-09-19T20:14:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36365.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36365"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36366
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36366/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36366/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36366/events
|
https://github.com/pandas-dev/pandas/pull/36366
| 701,321,698
|
MDExOlB1bGxSZXF1ZXN0NDg2Nzk3MTI0
| 36,366
|
REF: share code for __setitem__
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-14T18:20:09Z
| 2020-09-15T02:28:19Z
| 2020-09-15T02:02:28Z
|
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/36366/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36366/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36366.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36366",
"merged_at": "2020-09-15T02:02:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36366.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36366"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36367
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36367/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36367/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36367/events
|
https://github.com/pandas-dev/pandas/pull/36367
| 701,334,812
|
MDExOlB1bGxSZXF1ZXN0NDg2ODA3OTc5
| 36,367
|
REF: _assert_can_do_op -> _validate_scalar
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-14T18:39:08Z
| 2020-09-15T02:29:00Z
| 2020-09-15T02:01:37Z
|
MEMBER
| null |
We have a lot of methods that do something like this; trying to consolidate them with consistent naming conventions.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36367/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36367/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36367.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36367",
"merged_at": "2020-09-15T02:01:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36367.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36367"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36368
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36368/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36368/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36368/events
|
https://github.com/pandas-dev/pandas/issues/36368
| 701,374,768
|
MDU6SXNzdWU3MDEzNzQ3Njg=
| 36,368
|
CI: exclude directories from ci/code_checks.sh
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18049056?v=4",
"events_url": "https://api.github.com/users/plammens/events{/privacy}",
"followers_url": "https://api.github.com/users/plammens/followers",
"following_url": "https://api.github.com/users/plammens/following{/other_user}",
"gists_url": "https://api.github.com/users/plammens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/plammens",
"id": 18049056,
"login": "plammens",
"node_id": "MDQ6VXNlcjE4MDQ5MDU2",
"organizations_url": "https://api.github.com/users/plammens/orgs",
"received_events_url": "https://api.github.com/users/plammens/received_events",
"repos_url": "https://api.github.com/users/plammens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/plammens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plammens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/plammens"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"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"
}
] |
open
| false
| null |
[] | null | 0
| 2020-09-14T19:42:44Z
| 2021-08-13T02:50:27Z
| null |
CONTRIBUTOR
| null |
I'm using a virtual environment to contribute to pandas that sits in a `venv` directory in the repository root. When I run `./ci/code_checks.sh`, all of the linters and checks start to check every single `.py` file in the virtual environment's site packages, which is a pain. Same happens with the documenation checks and the generated `.rst` files in `doc/source/reference/api`.
It would be nice to ensure that the script only runs on files that are being tracked by git, or at least have an option to exclude a directory when doing the checks.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36368/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36368/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36369
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36369/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36369/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36369/events
|
https://github.com/pandas-dev/pandas/pull/36369
| 701,387,901
|
MDExOlB1bGxSZXF1ZXN0NDg2ODUxNDk4
| 36,369
|
DOC: Enhance asfreq docs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18049056?v=4",
"events_url": "https://api.github.com/users/plammens/events{/privacy}",
"followers_url": "https://api.github.com/users/plammens/followers",
"following_url": "https://api.github.com/users/plammens/following{/other_user}",
"gists_url": "https://api.github.com/users/plammens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/plammens",
"id": 18049056,
"login": "plammens",
"node_id": "MDQ6VXNlcjE4MDQ5MDU2",
"organizations_url": "https://api.github.com/users/plammens/orgs",
"received_events_url": "https://api.github.com/users/plammens/received_events",
"repos_url": "https://api.github.com/users/plammens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/plammens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plammens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/plammens"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 18
| 2020-09-14T20:02:42Z
| 2020-12-21T20:15:23Z
| 2020-12-21T20:14:39Z
|
CONTRIBUTOR
| null |
- [n/a] closes #xxxxx
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] tests added
Enhanced some docstrings for time-series related methods; mainly `asfreq`. Namely:
- Converted `NDFrame.asfreq` into a template to use the specific `klass` in `Series.asfreq` and `DataFrame.asfreq`
- Fully explain the behaviour of `NDFrame.asfreq` in the extended summary.
- Add an extended summary to `asfreq` in `PeriodArray`/`PeriodIndex`
- Use `klass` kwarg in docstring template for `PeriodAray.asfreq`\`PeriodIndex.asfreq`
- Add an extended summary to `date_range`
- Other very minor fixes/enhancements
The original motivator for this PR was [this question](https://stackoverflow.com/q/63860589/6117426), in particular the confusion of the asker.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36369/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36369/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36369.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36369",
"merged_at": "2020-12-21T20:14:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36369.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36369"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36370
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36370/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36370/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36370/events
|
https://github.com/pandas-dev/pandas/pull/36370
| 701,418,730
|
MDExOlB1bGxSZXF1ZXN0NDg2ODc2OTMw
| 36,370
|
DOC: Add dataframe_sql to eco system page
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39153813?v=4",
"events_url": "https://api.github.com/users/zbrookle/events{/privacy}",
"followers_url": "https://api.github.com/users/zbrookle/followers",
"following_url": "https://api.github.com/users/zbrookle/following{/other_user}",
"gists_url": "https://api.github.com/users/zbrookle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zbrookle",
"id": 39153813,
"login": "zbrookle",
"node_id": "MDQ6VXNlcjM5MTUzODEz",
"organizations_url": "https://api.github.com/users/zbrookle/orgs",
"received_events_url": "https://api.github.com/users/zbrookle/received_events",
"repos_url": "https://api.github.com/users/zbrookle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zbrookle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zbrookle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zbrookle"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-14T20:53:47Z
| 2020-09-15T22:40:59Z
| 2020-09-15T22:40:56Z
|
CONTRIBUTOR
| null |
Adds dataframe_sql, a package for querying pandas dataframes with SQL, to the ECO system page. Also closes #30480
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36370/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36370/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36370.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36370",
"merged_at": "2020-09-15T22:40:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36370.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36370"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36371
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36371/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36371/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36371/events
|
https://github.com/pandas-dev/pandas/pull/36371
| 701,426,137
|
MDExOlB1bGxSZXF1ZXN0NDg2ODgzMTA1
| 36,371
|
BUG: Fix MultiIndex column stacking with dupe names
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 2
| 2020-09-14T21:06:39Z
| 2020-09-16T09:53:02Z
| 2020-09-15T22:35:41Z
|
MEMBER
| null |
- [x] closes #36353
- [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/36371/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36371/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36371.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36371",
"merged_at": "2020-09-15T22:35:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36371.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36371"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36372
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36372/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36372/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36372/events
|
https://github.com/pandas-dev/pandas/pull/36372
| 701,450,157
|
MDExOlB1bGxSZXF1ZXN0NDg2OTA0Mjgw
| 36,372
|
REF: de-duplicate IntervalIndex 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": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-14T21:41:47Z
| 2020-09-17T23:49:47Z
| 2020-09-17T23:21:40Z
|
MEMBER
| null |
cc @jschendel can you suggest a sentence for a docstring on why is_overlapping is the relevant check for these behaviors?
Maybe something related to `index.get_loc(some_int)` can be a non-integer?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36372/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36372/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36372.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36372",
"merged_at": "2020-09-17T23:21:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36372.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36372"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36373
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36373/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36373/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36373/events
|
https://github.com/pandas-dev/pandas/issues/36373
| 701,522,113
|
MDU6SXNzdWU3MDE1MjIxMTM=
| 36,373
|
REGR: inplace arithmetic operation on Series no longer updating parent DataFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6610704?v=4",
"events_url": "https://api.github.com/users/hjweide/events{/privacy}",
"followers_url": "https://api.github.com/users/hjweide/followers",
"following_url": "https://api.github.com/users/hjweide/following{/other_user}",
"gists_url": "https://api.github.com/users/hjweide/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hjweide",
"id": 6610704,
"login": "hjweide",
"node_id": "MDQ6VXNlcjY2MTA3MDQ=",
"organizations_url": "https://api.github.com/users/hjweide/orgs",
"received_events_url": "https://api.github.com/users/hjweide/received_events",
"repos_url": "https://api.github.com/users/hjweide/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hjweide/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hjweide/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hjweide"
}
|
[
{
"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": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
}
| 6
| 2020-09-15T00:45:16Z
| 2020-10-30T08:59:45Z
| 2020-10-30T08:59:45Z
|
NONE
| null |
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [X] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
df = pd.DataFrame({"A": [1, 2, 3]})
a = df["A"]
a += 999
print(df)
print(df["A"])
assert a is df["A"]
```
#### Problem description
I expect `print(df)` and `print(df["A"])` to show identical values for column `A`. This is not the case. The output of the code above:
```
A
0 1
1 2
2 3
0 1000
1 1001
2 1002
Name: A, dtype: int64
```
#### Expected Output
```
A
0 1000
1 1001
2 1002
0 1000
1 1001
2 1002
Name: A, dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : fd20f7d34b8601a99b450a615241c233f034fc88
python : 3.8.2.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-47-generic
Version : #51-Ubuntu SMP Fri Sep 4 19:50:52 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.0.dev0+379.gfd20f7d34
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 44.0.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
None
</details>
Possibly related to https://github.com/pandas-dev/pandas/pull/36051?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36373/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36373/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36374
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36374/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36374/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36374/events
|
https://github.com/pandas-dev/pandas/pull/36374
| 701,570,353
|
MDExOlB1bGxSZXF1ZXN0NDg3MDAxODYz
| 36,374
|
BUG: FooIndex.insert casting datetimelike NAs 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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-15T03:10:16Z
| 2020-09-17T23:50:12Z
| 2020-09-17T23:20:30Z
|
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/36374/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36374/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36374.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36374",
"merged_at": "2020-09-17T23:20:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36374.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36374"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36375
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36375/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36375/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36375/events
|
https://github.com/pandas-dev/pandas/issues/36375
| 701,591,230
|
MDU6SXNzdWU3MDE1OTEyMzA=
| 36,375
|
BUG: MultiIndex.from_tuples() fails to infer dtype from nan-only values from an index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7367411?v=4",
"events_url": "https://api.github.com/users/ssche/events{/privacy}",
"followers_url": "https://api.github.com/users/ssche/followers",
"following_url": "https://api.github.com/users/ssche/following{/other_user}",
"gists_url": "https://api.github.com/users/ssche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ssche",
"id": 7367411,
"login": "ssche",
"node_id": "MDQ6VXNlcjczNjc0MTE=",
"organizations_url": "https://api.github.com/users/ssche/orgs",
"received_events_url": "https://api.github.com/users/ssche/received_events",
"repos_url": "https://api.github.com/users/ssche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ssche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ssche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ssche"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
open
| false
| null |
[] | null | 3
| 2020-09-15T04:09:50Z
| 2021-01-02T01:31:45Z
| null |
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
In [23]: df2 = pd.DataFrame({'a': [np.nan, 1, 2, 1], 'b': [1, 1, 2, 1], 'd': [np.nan, np.nan, np.nan, np.nan], 'c': [1, 1, 1, 1]})
In [24]: df2.dtypes
Out[24]:
a float64
b int64
d float64
c int64
dtype: object
In [29]: s2 = df2.groupby(['a', 'b', 'd'], dropna=False)['c'].sum()
In [30]: s2.index
Out[30]:
MultiIndex([(1.0, 1, nan),
(2.0, 2, nan),
(nan, 1, nan)],
names=['a', 'b', 'd'])
In [31]: s2.index.get_level_values(2).dtype
Out[31]: dtype('float64')
In [32]: pd.MultiIndex.from_tuples(s2.index)
Out[32]:
MultiIndex([(1.0, 1, nan),
(2.0, 2, nan),
(nan, 1, nan)],
)
In [34]: pd.MultiIndex.from_tuples(s2.index).get_level_values(2).dtype
Out[34]: dtype('O')
```
#### Problem description
When a `MultiIndex` is re-created from another `MultiIndex` which contains a nan-only column by using `.from_tuples()`, the dtype of the nan-only level is `object` when it should be `float64`.
As a workaround, the dtype can be inferred correctly when the original index is wrapped in a `tuple`:
```python
In [35]: pd.MultiIndex.from_tuples(tuple(s2.index)).get_level_values(2).dtype
Out[35]: dtype('float64')
```
This problem also doesn't occur when there is at least one non-nan value in the index column:
```python
In [36]: df3 = pd.DataFrame({'a': [np.nan, 1, 2, 1], 'b': [1, 1, 2, 1], 'd': [np.nan, np.nan, np.nan, 1], 'c': [1, 1, 1, 1]})
In [37]: pd.MultiIndex.from_tuples(df3.groupby(['a', 'b', 'd'], dropna=False)['c'].sum().index).get_level_values(2).dtype
Out[37]: dtype('float64')
```
#### Expected Output
The dtype is inferred correctly even without wrapping the source index into a tuple.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_AU.UTF-8
LOCALE : en_AU.UTF-8
pandas : 1.1.2
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 46.4.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36375/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36375/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36376
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36376/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36376/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36376/events
|
https://github.com/pandas-dev/pandas/pull/36376
| 701,661,490
|
MDExOlB1bGxSZXF1ZXN0NDg3MDc3MjQ0
| 36,376
|
CLN: Numba internal routines
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-09-15T06:48:02Z
| 2020-09-16T16:54:58Z
| 2020-09-16T15:08:34Z
|
MEMBER
| null |
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- Remove some leftover implementation after https://github.com/pandas-dev/pandas/pull/36240
- Delegate numba func caching to methods in `numba_.py`
- Combine some helper 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/36376/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36376/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36376.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36376",
"merged_at": "2020-09-16T15:08:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36376.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36376"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36377
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36377/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36377/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36377/events
|
https://github.com/pandas-dev/pandas/issues/36377
| 701,687,192
|
MDU6SXNzdWU3MDE2ODcxOTI=
| 36,377
|
BUG: Weird behavior for comparison operations `eq` and `ne`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26389732?v=4",
"events_url": "https://api.github.com/users/YarShev/events{/privacy}",
"followers_url": "https://api.github.com/users/YarShev/followers",
"following_url": "https://api.github.com/users/YarShev/following{/other_user}",
"gists_url": "https://api.github.com/users/YarShev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/YarShev",
"id": 26389732,
"login": "YarShev",
"node_id": "MDQ6VXNlcjI2Mzg5NzMy",
"organizations_url": "https://api.github.com/users/YarShev/orgs",
"received_events_url": "https://api.github.com/users/YarShev/received_events",
"repos_url": "https://api.github.com/users/YarShev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/YarShev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/YarShev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/YarShev"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "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-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 5
| 2020-09-15T07:31:17Z
| 2020-09-18T21:55:06Z
| 2020-09-18T21:55:06Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
random_state = np.random.RandomState(seed=42)
ncols = 64
nrows = 156
test_data = {
"col{}".format(int(i)): random_state.randint(
0, 100, size=(nrows)
)
for i in range(ncols)
}
df = pd.DataFrame(test_data)
df.eq("a") # it works good
nrows = 157 # change row count
test_data = {
"col{}".format(int(i)): random_state.randint(
0, 100, size=(nrows)
)
for i in range(ncols)
}
df = pd.DataFrame(test_data)
df.eq("a") # it doesn't work
# ValueError: unknown type str32
nrows = 156 # return row count to valid value
ncols = 65 # change col count
test_data = {
"col{}".format(int(i)): random_state.randint(
0, 100, size=(nrows)
)
for i in range(ncols)
}
df = pd.DataFrame(test_data)
df.eq("a") # it doesn't work as well
# ValueError: unknown type str32
```
#### Problem description
Looks like the problem is related to size of operands for comparison operations. Could anyone explain please? Is it normal behavior?
#### Output of ``pd.show_versions()``
<details>
pandas : 1.1.2
numpy : 1.18.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 41.2.0
Cython : None
pytest : 5.4.2
hypothesis : None
sphinx : None
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.14.0
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fsspec : 0.7.3
fastparquet : None
gcsfs : None
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.4.1
sqlalchemy : 1.3.17
tables : 3.6.1
tabulate : None
xarray : 0.15.1
xlrd : 1.2.0
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36377/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36377/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36378
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36378/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36378/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36378/events
|
https://github.com/pandas-dev/pandas/pull/36378
| 701,690,423
|
MDExOlB1bGxSZXF1ZXN0NDg3MTAxMTM3
| 36,378
|
DOC: move release note for #36175 (pt1)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 1
| 2020-09-15T07:36:25Z
| 2020-09-16T15:31:17Z
| 2020-09-16T15:09:11Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/pull/36363/files#r488227748
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36378/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36378/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36378.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36378",
"merged_at": "2020-09-16T15:09:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36378.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36378"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36379
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36379/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36379/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36379/events
|
https://github.com/pandas-dev/pandas/pull/36379
| 701,692,747
|
MDExOlB1bGxSZXF1ZXN0NDg3MTAzMDE1
| 36,379
|
DOC: move release note for #36175 (pt2)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-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-09-15T07:40:23Z
| 2020-09-16T15:23:57Z
| 2020-09-16T15:09:45Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/pull/36363#pullrequestreview-488151435
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36379/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36379/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36379.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36379",
"merged_at": "2020-09-16T15:09:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36379.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36379"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36380
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36380/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36380/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36380/events
|
https://github.com/pandas-dev/pandas/issues/36380
| 701,719,497
|
MDU6SXNzdWU3MDE3MTk0OTc=
| 36,380
|
ENH: Make non-aggregating methods on groupby groups optionally return groups
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32000243?v=4",
"events_url": "https://api.github.com/users/kaiogu/events{/privacy}",
"followers_url": "https://api.github.com/users/kaiogu/followers",
"following_url": "https://api.github.com/users/kaiogu/following{/other_user}",
"gists_url": "https://api.github.com/users/kaiogu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kaiogu",
"id": 32000243,
"login": "kaiogu",
"node_id": "MDQ6VXNlcjMyMDAwMjQz",
"organizations_url": "https://api.github.com/users/kaiogu/orgs",
"received_events_url": "https://api.github.com/users/kaiogu/received_events",
"repos_url": "https://api.github.com/users/kaiogu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kaiogu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kaiogu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kaiogu"
}
|
[
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
open
| false
| null |
[] | null | 5
| 2020-09-15T08:20:58Z
| 2020-11-26T23:07:13Z
| null |
NONE
| null |
#### Is your feature request related to a problem?
I want to apply chained operations on the same groupby groups without having to actually make identical costly groupby calls before each operation. The Related problem is available on the following SO question:
https://codereview.stackexchange.com/questions/249222/get-exactly-n-unique-randomly-sampled-rows-per-category-in-a-dataframe
#### Describe the solution you'd like
Add and optional argument that changes the behavior of non-aggregating methods on groupby groups to return groups instead of DataFrames.
This is useful if you want to make multiple chained operations on the Groups without having to do a GroupBy each time (split once, apply multiple times, combine once). This would also have the benefit of actually decoupling the apply and combine parts of the split-apply-combine paradigm when possible. This does not make sense for aggregating methods, but for something like `groupby.DataFrameGroupBy.filter` or `groupby.DataFrameGroupBy.sample` (maybe anything that does not reduce the groups to a single value) returning groups was actually the expected behavior for me and for at least the person who answered the SO question above.
#### API breaking implications
This would not break the API afaik, as the current behavior can be set as the default i.e. `return_groups=False`.
#### Describe alternatives you've considered
The alternatives that I could come up with all involved multiple groupby calls (I think there is an implicit call in `value_counts`). For my specific use case (see SO question), an option to drop groups with insufficient rows would actually suffice, but I think the proposed solution is more general and decoupled.
#### Additional context
Here is the code to randomly sample exactly `n` rows per group, dropping groups with insufficient rows:
```python
n = 4
df = pd.DataFrame({'category': [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 1],
'value' : range(12)})
# sample exactly x rows per category
df = df.groupby('category').filter(lambda x: len(x) >= n).groupby('category').sample(n)
# proposed alternative solution:
df = df.groupby('category').filter(lambda x: len(x) >= n, return_groups=True).sample(n)
```
I also expected `filter` to actually pass groups instead of DataFrames to the lambda.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 2,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36380/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36380/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36381
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36381/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36381/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36381/events
|
https://github.com/pandas-dev/pandas/issues/36381
| 701,855,583
|
MDU6SXNzdWU3MDE4NTU1ODM=
| 36,381
|
Strange behaviour of `delim_whitespace` in `pd.read_table`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15892408?v=4",
"events_url": "https://api.github.com/users/mcocdawc/events{/privacy}",
"followers_url": "https://api.github.com/users/mcocdawc/followers",
"following_url": "https://api.github.com/users/mcocdawc/following{/other_user}",
"gists_url": "https://api.github.com/users/mcocdawc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mcocdawc",
"id": 15892408,
"login": "mcocdawc",
"node_id": "MDQ6VXNlcjE1ODkyNDA4",
"organizations_url": "https://api.github.com/users/mcocdawc/orgs",
"received_events_url": "https://api.github.com/users/mcocdawc/received_events",
"repos_url": "https://api.github.com/users/mcocdawc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mcocdawc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mcocdawc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mcocdawc"
}
|
[
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false
| null |
[] |
{
"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"
}
| 8
| 2020-09-15T11:37:56Z
| 2020-09-23T12:07:04Z
| 2020-09-15T11:52:36Z
|
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
# The error persists with non-empty files
! touch test_file
pd.read_table('./test_file', delim_whitespace=True)
```
#### Problem description
```
~/.local/lib/python3.6/site-packages/pandas/io/parsers.py in read_csv(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision)
623 if delim_whitespace and delimiter != default_sep:
624 raise ValueError(
--> 625 "Specified a delimiter with both sep and "
626 "delim_whitespace=True; you can only specify one."
627 )
ValueError: Specified a delimiter with both sep and delim_whitespace=True; you can only specify one.
```
#### Expected Output
Parsed dataframe.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.6.10.final.0
python-bits : 64
OS : Linux
OS-release : 4.12.14-lp151.28.67-default
Version : #1 SMP Fri Sep 4 15:23:21 UTC 2020 (2c5a14f)
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.17.3
pytz : 2018.5
dateutil : 2.7.3
pip : 19.3.1
setuptools : 40.5.0
Cython : 0.27.3
pytest : None
hypothesis : None
sphinx : 1.7.6
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.0.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.4.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 2.0.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.2.0
sqlalchemy : 1.2.14
tables : None
tabulate : 0.8.5
xarray : None
xlrd : None
xlwt : None
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36381/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36381/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36382
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36382/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36382/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36382/events
|
https://github.com/pandas-dev/pandas/pull/36382
| 701,877,627
|
MDExOlB1bGxSZXF1ZXN0NDg3MjUzNTc0
| 36,382
|
ADMIN: Update stale PR action
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "DDDDDD",
"default": false,
"description": "Administrative tasks related to the pandas project",
"id": 32933285,
"name": "Admin",
"node_id": "MDU6TGFiZWwzMjkzMzI4NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-15T12:13:44Z
| 2020-09-17T22:03:07Z
| 2020-09-17T22:03:04Z
|
MEMBER
| null |
I think also that it could be good to skip the PR message for when debugging is turned off and only label / manually review the labeled PRs to start (until we're comfortable with the tagging logic and message)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36382/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36382/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36382.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36382",
"merged_at": "2020-09-17T22:03:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36382.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36382"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36383
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36383/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36383/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36383/events
|
https://github.com/pandas-dev/pandas/issues/36383
| 701,933,813
|
MDU6SXNzdWU3MDE5MzM4MTM=
| 36,383
|
BUG: df.sort_values w/ key function fails with multiple sort columns and Categorical sorting
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18007191?v=4",
"events_url": "https://api.github.com/users/kmatarese/events{/privacy}",
"followers_url": "https://api.github.com/users/kmatarese/followers",
"following_url": "https://api.github.com/users/kmatarese/following{/other_user}",
"gists_url": "https://api.github.com/users/kmatarese/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kmatarese",
"id": 18007191,
"login": "kmatarese",
"node_id": "MDQ6VXNlcjE4MDA3MTkx",
"organizations_url": "https://api.github.com/users/kmatarese/orgs",
"received_events_url": "https://api.github.com/users/kmatarese/received_events",
"repos_url": "https://api.github.com/users/kmatarese/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kmatarese/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kmatarese/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kmatarese"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-15T13:32:56Z
| 2020-09-17T02:31:09Z
| 2020-09-17T02:31:09Z
|
NONE
| null |
- [ X] I have checked that this issue has not already been reported.
- [ X] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
df = pd.DataFrame(
{
"Name": ["baz", "foo", "baz", "foo", "bar", "bar", "bar"],
"Criticality": ["High", "Critical", "Low", "Medium", "High", "Low", "Medium"],
}
)
SEVERITY = ["Critical", "High", "Medium", "Low"]
def sorter(column):
if column.name != "Criticality":
return column
cat = pd.Categorical(column, categories=SEVERITY, ordered=True)
return pd.Series(cat)
df.sort_values(by=["Name", "Criticality"], key=sorter)
```
#### Problem description
This raises AttributeError: 'Series' object has no attribute 'categories'. If I sort by just Name, or just Criticality there are no issues. Likewise if I replace the sorter with the following it works sorting on both columns:
```python
def sorter(column):
if column.name != "Criticality":
return column
mapper = {name: order for order, name in enumerate(SEVERITY)}
return column.map(mapper)
```
#### Expected Output
I expected to be able to do a multi-column sort when one or more of them are Categorical, or at least being sorted categorically.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.7.5.final.0
python-bits : 64
OS : Darwin
OS-release : 18.0.0
Version : Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.18.2
pytz : 2019.3
dateutil : 2.8.1
pip : 19.2.3
setuptools : 41.2.0
Cython : None
pytest : 5.4.1
hypothesis : None
sphinx : 2.4.4
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : 0.9.3
psycopg2 : 2.8.5 (dt dec pq3 ext lo64)
jinja2 : 2.11.1
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : 1.3.15
tables : None
tabulate : 0.8.7
xarray : None
xlrd : 1.2.0
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36383/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36383/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36384
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36384/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36384/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36384/events
|
https://github.com/pandas-dev/pandas/pull/36384
| 702,014,869
|
MDExOlB1bGxSZXF1ZXN0NDg3MzY1MDY5
| 36,384
|
REF: _is_compatible_with_other -> _can_union_without_object_cast
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 6
| 2020-09-15T15:07:29Z
| 2020-09-18T23:18:17Z
| 2020-09-18T22:18:03Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Changes the behavior in one test where ATM we behave differently for Series/ndarray than we do for Index arg
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36384/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36384/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36384.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36384",
"merged_at": "2020-09-18T22:18:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36384.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36384"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36385
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36385/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36385/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36385/events
|
https://github.com/pandas-dev/pandas/pull/36385
| 702,063,403
|
MDExOlB1bGxSZXF1ZXN0NDg3NDAzMTU4
| 36,385
|
BUG: Always cast to Categorical in lexsort_indexer
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 7
| 2020-09-15T16:06:37Z
| 2020-09-19T19:39:03Z
| 2020-09-17T02:31:09Z
|
MEMBER
| null |
- [x] closes #36383
- [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/36385/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36385/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36385.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36385",
"merged_at": "2020-09-17T02:31:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36385.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36385"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36386
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36386/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36386/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36386/events
|
https://github.com/pandas-dev/pandas/pull/36386
| 702,179,908
|
MDExOlB1bGxSZXF1ZXN0NDg3NDk3MzQz
| 36,386
|
CI/BLD: Restrict ci/code_checks.sh to tracked repo files
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18049056?v=4",
"events_url": "https://api.github.com/users/plammens/events{/privacy}",
"followers_url": "https://api.github.com/users/plammens/followers",
"following_url": "https://api.github.com/users/plammens/following{/other_user}",
"gists_url": "https://api.github.com/users/plammens/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/plammens",
"id": 18049056,
"login": "plammens",
"node_id": "MDQ6VXNlcjE4MDQ5MDU2",
"organizations_url": "https://api.github.com/users/plammens/orgs",
"received_events_url": "https://api.github.com/users/plammens/received_events",
"repos_url": "https://api.github.com/users/plammens/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/plammens/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plammens/subscriptions",
"type": "User",
"url": "https://api.github.com/users/plammens"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] | null | 14
| 2020-09-15T19:05:11Z
| 2020-11-03T14:42:09Z
| 2020-11-03T14:42:09Z
|
CONTRIBUTOR
| null |
- [x] closes #36368
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Previously, some of the checks in `code_checks.sh` ran unrestricted on all the
contents of the repository root (recursively), so that if any files extraneous
to the repo were present (e.g. a virtual environment directory, or generated source files), they were
checked too, potentially causing many false positives when a developer runs
`./ci/code_checks.sh` locally to check that the code is ready to be put in a PR.
The checker invocations that were already scoped (i.e. they were already
restricted, in one way or another, to the actual pandas code, e.g. by
restricting the search to the `pandas` subfolder) have been left as-is,
while those that weren't are now given an explicit list of files that are
tracked in the repo.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36386/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36386/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36386.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36386",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36386.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36386"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36387
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36387/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36387/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36387/events
|
https://github.com/pandas-dev/pandas/pull/36387
| 702,196,880
|
MDExOlB1bGxSZXF1ZXN0NDg3NTEyMTIw
| 36,387
|
Updated files inside the pandas/tests/scalar folder
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/29831947?v=4",
"events_url": "https://api.github.com/users/Abishek15592/events{/privacy}",
"followers_url": "https://api.github.com/users/Abishek15592/followers",
"following_url": "https://api.github.com/users/Abishek15592/following{/other_user}",
"gists_url": "https://api.github.com/users/Abishek15592/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Abishek15592",
"id": 29831947,
"login": "Abishek15592",
"node_id": "MDQ6VXNlcjI5ODMxOTQ3",
"organizations_url": "https://api.github.com/users/Abishek15592/orgs",
"received_events_url": "https://api.github.com/users/Abishek15592/received_events",
"repos_url": "https://api.github.com/users/Abishek15592/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Abishek15592/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Abishek15592/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Abishek15592"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-09-15T19:26:03Z
| 2020-09-15T20:23:16Z
| 2020-09-15T20:17:40Z
|
NONE
| null |
Successfully removed the unnecessary trailing commas from the below files:
1. pandas/tests/scalar/test_na_scalar.py
2. pandas/tests/scalar/timestamp/test_arithmetic.py
3. pandas/tests/scalar/timestamp/test_constructors.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/36387/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36387/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36387.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36387",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36387.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36387"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36388
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36388/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36388/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36388/events
|
https://github.com/pandas-dev/pandas/pull/36388
| 702,233,982
|
MDExOlB1bGxSZXF1ZXN0NDg3NTQzMzgw
| 36,388
|
CLN: Made final changes to /pandas/tests/scalar
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/29831947?v=4",
"events_url": "https://api.github.com/users/Abishek15592/events{/privacy}",
"followers_url": "https://api.github.com/users/Abishek15592/followers",
"following_url": "https://api.github.com/users/Abishek15592/following{/other_user}",
"gists_url": "https://api.github.com/users/Abishek15592/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Abishek15592",
"id": 29831947,
"login": "Abishek15592",
"node_id": "MDQ6VXNlcjI5ODMxOTQ3",
"organizations_url": "https://api.github.com/users/Abishek15592/orgs",
"received_events_url": "https://api.github.com/users/Abishek15592/received_events",
"repos_url": "https://api.github.com/users/Abishek15592/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Abishek15592/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Abishek15592/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Abishek15592"
}
|
[
{
"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 | 9
| 2020-09-15T20:24:54Z
| 2020-09-22T13:45:06Z
| 2020-09-22T13:45:05Z
|
NONE
| 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/36388/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36388/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36388.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36388",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36388.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36388"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36389
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36389/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36389/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36389/events
|
https://github.com/pandas-dev/pandas/pull/36389
| 702,244,487
|
MDExOlB1bGxSZXF1ZXN0NDg3NTUyMzIx
| 36,389
|
[TST]: Groupby raised error with duplicate column names
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-15T20:41:42Z
| 2020-09-16T11:58:56Z
| 2020-09-15T22:33:48Z
|
MEMBER
| null |
- [x] closes #31735
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Added a test to avoid regression
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36389/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36389/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36389.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36389",
"merged_at": "2020-09-15T22:33:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36389.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36389"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36390
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36390/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36390/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36390/events
|
https://github.com/pandas-dev/pandas/pull/36390
| 702,291,936
|
MDExOlB1bGxSZXF1ZXN0NDg3NTk0NjY5
| 36,390
|
CLN: Clean test_arithmetic.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "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-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-15T21:38:34Z
| 2020-09-15T23:25:07Z
| 2020-09-15T23:08:23Z
|
MEMBER
| null |
General cleaning (i.e., replacing for loops) trying to make these easier to follow / debug
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36390/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36390/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36390.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36390",
"merged_at": "2020-09-15T23:08:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36390.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36390"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36391
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36391/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36391/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36391/events
|
https://github.com/pandas-dev/pandas/pull/36391
| 702,299,571
|
MDExOlB1bGxSZXF1ZXN0NDg3NjAxMDkw
| 36,391
|
REF: share __getitem__ for Categorical/PandasArray/DTA/TDA/PA
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-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-09-15T21:54:39Z
| 2020-09-17T16:51:50Z
| 2020-09-17T16:46:12Z
|
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/36391/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36391/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36391.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36391",
"merged_at": "2020-09-17T16:46:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36391.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36391"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36392
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36392/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36392/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36392/events
|
https://github.com/pandas-dev/pandas/issues/36392
| 702,369,265
|
MDU6SXNzdWU3MDIzNjkyNjU=
| 36,392
|
ENH: read_hdf() - support for generic buffers has not been implemented
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50808857?v=4",
"events_url": "https://api.github.com/users/lucasthahn/events{/privacy}",
"followers_url": "https://api.github.com/users/lucasthahn/followers",
"following_url": "https://api.github.com/users/lucasthahn/following{/other_user}",
"gists_url": "https://api.github.com/users/lucasthahn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lucasthahn",
"id": 50808857,
"login": "lucasthahn",
"node_id": "MDQ6VXNlcjUwODA4ODU3",
"organizations_url": "https://api.github.com/users/lucasthahn/orgs",
"received_events_url": "https://api.github.com/users/lucasthahn/received_events",
"repos_url": "https://api.github.com/users/lucasthahn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lucasthahn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lucasthahn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lucasthahn"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-09-16T01:03:03Z
| 2020-09-16T01:39:07Z
| 2020-09-16T01:38:55Z
|
NONE
| null |
#### Is your feature request related to a problem?
As of the latest verison of master, `read_hdf()` does not support generic buffers as input, and raises a `NotImplementedError` if one is passed in. This stems from line 374 of `pandas/pandas/io/pytables.py`.
#### Describe the solution you'd like
There's already a nice stub in which to insert this code; somebody just needs to implement it. If nobody is currently working on this, I'm happy to give a try myself!
#### API breaking implications
Shouldn't break anything; just would be adding more functionality.
#### Describe alternatives you've considered
For my specific use case I've found a workaround which involves not writing to a generic buffer, but if `pandas` were to have this functionality, my own code would certainly be more elegant.
#### Additional context
As I said above, happy to try to do this myself - seems like a good first contribution and not really any potential to break anything else! But if someone's already working on this, please let me know and I will spare myself the effort. 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/36392/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36392/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36393
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36393/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36393/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36393/events
|
https://github.com/pandas-dev/pandas/pull/36393
| 702,372,470
|
MDExOlB1bGxSZXF1ZXN0NDg3NjYxNjg4
| 36,393
|
BLD/CI: fix py39 ci #36296
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "72e24d",
"default": false,
"description": "",
"id": 1971420228,
"name": "Python 3.9",
"node_id": "MDU6TGFiZWwxOTcxNDIwMjI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 15
| 2020-09-16T01:12:16Z
| 2020-09-23T19:39:34Z
| 2020-09-16T15:06:58Z
|
MEMBER
| null |
closes #36296
Need #36298 first.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36393/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36393/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36393.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36393",
"merged_at": "2020-09-16T15:06:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36393.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36393"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36394
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36394/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36394/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36394/events
|
https://github.com/pandas-dev/pandas/pull/36394
| 702,406,902
|
MDExOlB1bGxSZXF1ZXN0NDg3Njg5MjEz
| 36,394
|
CLN: remove unnecessary _convert_index_indexer
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-09-16T02:55:20Z
| 2020-09-17T16:51:05Z
| 2020-09-17T16:47:21Z
|
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/36394/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36394/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36394.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36394",
"merged_at": "2020-09-17T16:47:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36394.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36394"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36395
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36395/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36395/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36395/events
|
https://github.com/pandas-dev/pandas/issues/36395
| 702,598,333
|
MDU6SXNzdWU3MDI1OTgzMzM=
| 36,395
|
BUG: indexing with DataFrame with nullable boolean dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/35444811?v=4",
"events_url": "https://api.github.com/users/lgelmi/events{/privacy}",
"followers_url": "https://api.github.com/users/lgelmi/followers",
"following_url": "https://api.github.com/users/lgelmi/following{/other_user}",
"gists_url": "https://api.github.com/users/lgelmi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lgelmi",
"id": 35444811,
"login": "lgelmi",
"node_id": "MDQ6VXNlcjM1NDQ0ODEx",
"organizations_url": "https://api.github.com/users/lgelmi/orgs",
"received_events_url": "https://api.github.com/users/lgelmi/received_events",
"repos_url": "https://api.github.com/users/lgelmi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lgelmi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lgelmi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lgelmi"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] | null | 5
| 2020-09-16T09:16:22Z
| 2021-01-05T09:09:31Z
| 2021-01-05T09:09:31Z
|
NONE
| null |
Premise: I tried to look for similar issues (closed or not), but (to my surprise) I couldn't find any.
#### Problem
I often filter my data through comparison with given values, this breaks using pd.NA.
```python
import pandas as pd
from numpy import nan
from pandas import NA
NA == 1, nan == 1
>> (<NA>, False)
NA != 1, nan != 1
>> (<NA>, True)
NA > 1, nan > 1
>> (<NA>, False)
NA < 1, nan < 1
>> (<NA>, False)
```
Which implies:
```python
import pandas as pd
df = pd.DataFrame([1,2,NA], dtype="Int8")
df == 2
>>
0
0 1
1 2
2 <NA>
```
and, even worse:
```python
df[df == 2]
>>
Traceback (most recent call last):
[ ... ]
File "../lib/python3.7/site-packages/pandas/core/internals/blocks.py", line 2861, in _extract_bool_array
assert mask.dtype == bool, mask.dtype
AssertionError: object
```
As you surely know, this would have worked flawlessly with numpy.nan.
#### The solution I'd like
pd.NA and numpy.nan should behave the same, especially in regards of comparisons.
#### API breaking implications
As far as I know pd.NA has been declared experimental, so this should not break much, but may greatly simplify the transition to it for performance and type consistency purposes (which are, from my point of view, the main advantages).
#### Describe alternatives you've considered
I'm not entirely sure pd.NA should be the same as nan in all regards. The documentation itself does not imply it at all.
That being said, I'd still like to be able to filter my data without so much pain. :)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36395/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36395/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36396
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36396/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36396/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36396/events
|
https://github.com/pandas-dev/pandas/pull/36396
| 702,623,731
|
MDExOlB1bGxSZXF1ZXN0NDg3ODY5Njkz
| 36,396
|
Backport PR #36371 on branch 1.1.x (BUG: Fix MultiIndex column stacking with dupe names)
|
{
"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": "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": "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-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 1
| 2020-09-16T09:53:39Z
| 2020-09-19T10:18:19Z
| 2020-09-19T10:18:19Z
|
NONE
| null |
Backport PR #36371: BUG: Fix MultiIndex column stacking with dupe names
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36396/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36396/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36396.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36396",
"merged_at": "2020-09-19T10:18:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36396.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36396"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36397
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36397/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36397/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36397/events
|
https://github.com/pandas-dev/pandas/issues/36397
| 702,803,596
|
MDU6SXNzdWU3MDI4MDM1OTY=
| 36,397
|
BLD/CI: fix arm64 builds
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-16T14:14:45Z
| 2020-09-17T23:12:10Z
| 2020-09-17T23:11:44Z
|
CONTRIBUTOR
| null |
https://travis-ci.org/github/pandas-dev/pandas/jobs/727691006
these are failing (and have been for a while).
I believe we *can* now use the numpy wheels so this should make this build fast enough to include in the main matrix (and avoid using the often ignored allow_failures).
- [ ] use wheels for numpy
- [ ] remove from the allow_failures matrix
this could be for 1.1.3 or 1.2
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36397/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36397/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36398
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36398/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36398/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36398/events
|
https://github.com/pandas-dev/pandas/pull/36398
| 702,864,792
|
MDExOlB1bGxSZXF1ZXN0NDg4MDcyMDUy
| 36,398
|
Backport PR #36378: DOC: move release note for #36175 (pt1)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 0
| 2020-09-16T15:30:46Z
| 2020-09-18T15:31:05Z
| 2020-09-18T15:30:54Z
|
MEMBER
| null |
#36378
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36398/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36398/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36398.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36398",
"merged_at": "2020-09-18T15:30:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36398.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36398"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36399
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36399/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36399/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36399/events
|
https://github.com/pandas-dev/pandas/pull/36399
| 702,909,469
|
MDExOlB1bGxSZXF1ZXN0NDg4MTA5MTky
| 36,399
|
CLN: remove trailing commas for black update
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11150412?v=4",
"events_url": "https://api.github.com/users/cjlynch278/events{/privacy}",
"followers_url": "https://api.github.com/users/cjlynch278/followers",
"following_url": "https://api.github.com/users/cjlynch278/following{/other_user}",
"gists_url": "https://api.github.com/users/cjlynch278/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cjlynch278",
"id": 11150412,
"login": "cjlynch278",
"node_id": "MDQ6VXNlcjExMTUwNDEy",
"organizations_url": "https://api.github.com/users/cjlynch278/orgs",
"received_events_url": "https://api.github.com/users/cjlynch278/received_events",
"repos_url": "https://api.github.com/users/cjlynch278/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cjlynch278/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cjlynch278/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cjlynch278"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-09-16T16:32:48Z
| 2020-09-16T17:59:27Z
| 2020-09-16T17:59:18Z
|
CONTRIBUTOR
| null |
Working on: CLN remove unnecessary trailing commas to get ready for new version of black #35925.
Checked the following files to make sure they are ready for black :
pandas/tests/scalar/timestamp/test_arithmetic.py
pandas/tests/scalar/timestamp/test_constructors.py
pandas/tests/series/methods/test_argsort.py
pandas/tests/series/methods/test_convert_dtypes.py
pandas/tests/series/methods/test_drop_duplicates.py
pandas/tests/series/methods/test_interpolate.py
pandas/tests/series/methods/test_unstack.py
pandas/tests/series/test_cumulative.py
pandas/tests/test_algos.py
- [ ] 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/36399/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36399/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36399.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36399",
"merged_at": "2020-09-16T17:59:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36399.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36399"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36400
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36400/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36400/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36400/events
|
https://github.com/pandas-dev/pandas/pull/36400
| 702,910,595
|
MDExOlB1bGxSZXF1ZXN0NDg4MTEwMTEw
| 36,400
|
REF: implement putmask for CI/DTI/TDI/PI
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-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-09-16T16:34:35Z
| 2020-09-17T23:20:00Z
| 2020-09-17T16:40:49Z
|
MEMBER
| null |
Avoids casting to ndarray which in some cases means an object-dtype cast.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36400/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36400/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36400.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36400",
"merged_at": "2020-09-17T16:40:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36400.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36400"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36401
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36401/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36401/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36401/events
|
https://github.com/pandas-dev/pandas/pull/36401
| 702,934,132
|
MDExOlB1bGxSZXF1ZXN0NDg4MTI5Mzgx
| 36,401
|
TYP: alias IndexLabel without Optional
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 5
| 2020-09-16T17:12:58Z
| 2020-12-03T07:52:52Z
| 2020-09-17T16:39:10Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Previously in ``_typing.py`` we had the alias ``IndexLabel``, which contained ``Optional``.
The present PR eliminates ``Optional`` from the alias, but adds it in the code where necessary.
Related to the issue raised by @simonjayhawkins in https://github.com/pandas-dev/pandas/pull/36046#discussion_r485510442
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36401/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36401/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36401.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36401",
"merged_at": "2020-09-17T16:39:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36401.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36401"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36402
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36402/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36402/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36402/events
|
https://github.com/pandas-dev/pandas/pull/36402
| 702,942,654
|
MDExOlB1bGxSZXF1ZXN0NDg4MTM2NDUw
| 36,402
|
BLD/CI: support for 3.9
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "72e24d",
"default": false,
"description": "",
"id": 1971420228,
"name": "Python 3.9",
"node_id": "MDU6TGFiZWwxOTcxNDIwMjI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 1
| 2020-09-16T17:27:27Z
| 2020-09-18T21:58:06Z
| 2020-09-18T21:58:01Z
|
MEMBER
| null |
backport #36393 to 1.1.x
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36402/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36402/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36402.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36402",
"merged_at": "2020-09-18T21:58:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36402.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36402"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36403
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36403/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36403/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36403/events
|
https://github.com/pandas-dev/pandas/pull/36403
| 702,979,701
|
MDExOlB1bGxSZXF1ZXN0NDg4MTY3NjA1
| 36,403
|
BLD/CI fix arm64 build #36397
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-05T18:41:57Z",
"closed_issues": 106,
"created_at": "2020-09-07T09:13:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-09-29T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/77",
"id": 5850626,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77/labels",
"node_id": "MDk6TWlsZXN0b25lNTg1MDYyNg==",
"number": 77,
"open_issues": 0,
"state": "closed",
"title": "1.1.3",
"updated_at": "2020-10-29T13:15:36Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/77"
}
| 9
| 2020-09-16T18:22:07Z
| 2020-12-22T19:02:35Z
| 2020-09-17T23:11:44Z
|
MEMBER
| null |
- [x] closes #36397 and
closes #34149 and
closes #30041
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36403/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36403/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36403.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36403",
"merged_at": "2020-09-17T23:11:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36403.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36403"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36404
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36404/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36404/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36404/events
|
https://github.com/pandas-dev/pandas/pull/36404
| 703,023,139
|
MDExOlB1bGxSZXF1ZXN0NDg4MjAzNTcz
| 36,404
|
BUG: Categorical.sort_values inplace breaking views
|
{
"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": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-09-16T19:37:25Z
| 2020-09-17T17:06:36Z
| 2020-09-17T16:38:35Z
|
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/36404/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36404/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36404.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36404",
"merged_at": "2020-09-17T16:38:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36404.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36404"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36405
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36405/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36405/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36405/events
|
https://github.com/pandas-dev/pandas/issues/36405
| 703,026,382
|
MDU6SXNzdWU3MDMwMjYzODI=
| 36,405
|
BUG: duplicated() returns rows that are not duplicated
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10718277?v=4",
"events_url": "https://api.github.com/users/bnojavan/events{/privacy}",
"followers_url": "https://api.github.com/users/bnojavan/followers",
"following_url": "https://api.github.com/users/bnojavan/following{/other_user}",
"gists_url": "https://api.github.com/users/bnojavan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bnojavan",
"id": 10718277,
"login": "bnojavan",
"node_id": "MDQ6VXNlcjEwNzE4Mjc3",
"organizations_url": "https://api.github.com/users/bnojavan/orgs",
"received_events_url": "https://api.github.com/users/bnojavan/received_events",
"repos_url": "https://api.github.com/users/bnojavan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bnojavan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bnojavan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bnojavan"
}
|
[
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-09-16T19:43:19Z
| 2020-09-23T12:15:03Z
| 2020-09-23T12:15:03Z
|
NONE
| null |
I have a matrix of 1000*285 where 285 is my feature size which contain numerical and categorical features. The range of values are in (-15,32). When I use "dups = df.duplicated()" It is returning rows that are NOT duplicate.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36405/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36405/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36406
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36406/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36406/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36406/events
|
https://github.com/pandas-dev/pandas/pull/36406
| 703,036,599
|
MDExOlB1bGxSZXF1ZXN0NDg4MjE0ODYx
| 36,406
|
CLN: Clean series/test_arithmetic.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "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-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-09-16T20:01:22Z
| 2020-09-17T16:39:49Z
| 2020-09-17T16:36:46Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36406/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36406/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36406.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36406",
"merged_at": "2020-09-17T16:36:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36406.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36406"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36407
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36407/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36407/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36407/events
|
https://github.com/pandas-dev/pandas/issues/36407
| 703,041,602
|
MDU6SXNzdWU3MDMwNDE2MDI=
| 36,407
|
REF: pandas/io/formats/format.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 1
| 2020-09-16T20:10:05Z
| 2020-09-17T07:54:29Z
| null |
MEMBER
| null |
#### Is your feature request related to a problem?
class DataFrameFormatter seems mostly to target console formatting, while it plays a role of the mediator for ``to_latex`` and ``to_html`` conversions.
It is noticeable, that some kwargs, like ``table_id``, ``render_links`` are pertaining to html only. Meanwhile dataframe truncation (present in init) is not applicable to latex formatting.
Probably needs refactoring.
#### Describe the solution you'd like
I suggest creating ``TableFormatterAbstract`` class.
Inherit from it: ``ConsoleFormatter``, ``HTMLFormatter`` and ``LatexFormatter``.
Put all the required input parameters into the corresponding init of each class (would not need to provide unnecessary kwargs).
Generic functionality like dataframe truncation can be shared via a mixin class ``TruncateMixin``.
Drop ``DataFrameFormatter`` and instead of it call proper ``XFormatter`` where required.
#### API breaking implications
Should not affect public API, as will deal only with the internal implementation.
#### Describe alternatives you've considered
Separate ``ConsoleFormatter``, similarly to ``HTMLFormatter`` and ``LatexFormatter`` and call it from ``DataFrameFormatter.to_string`` method.
This, however will leave ``DataFrameFormatter`` with only three public methods ``to_string``, ``to_html`` and ``to_latex``.
The problem here is that we still carry unnecessary kwargs, which are not applicable to a particular formatting.
#### Additional context
I would be interested to work on this. Would the team be interested in such refactoring?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36407/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36407/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36408
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36408/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36408/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36408/events
|
https://github.com/pandas-dev/pandas/issues/36408
| 703,120,844
|
MDU6SXNzdWU3MDMxMjA4NDQ=
| 36,408
|
CLN: err.orig in DataFrame.to_sql seems redundant
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
}
|
[] |
closed
| false
| null |
[] | null | 4
| 2020-09-16T22:40:22Z
| 2020-09-17T09:31:23Z
| 2020-09-17T09:31:22Z
|
CONTRIBUTOR
| null |
When going through the `DataFrame.sql` code in version `1.1.2` I found a part of the code confusing and seems redundant:
```python
except exc.SQLAlchemyError as err:
# GH34431
msg = "(1054, \"Unknown column 'inf' in 'field list'\")"
err_text = str(err.orig)
if re.search(msg, err_text):
raise ValueError("inf cannot be used with MySQL") from err
else:
raise err
```
This is in pandas.io.sql line 1400-1407.
`err.orig` part seems wrong, and does not exist as a method in the sqlalchemy class `SQLAlchemyError`.
Should I remove it or am I missing something?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36408/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36408/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36409
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36409/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36409/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36409/events
|
https://github.com/pandas-dev/pandas/pull/36409
| 703,131,191
|
MDExOlB1bGxSZXF1ZXN0NDg4MjkwMTc5
| 36,409
|
BUG: Concat typing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 8
| 2020-09-16T23:08:20Z
| 2020-09-19T11:37:54Z
| 2020-09-19T00:56:48Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
cc @simonjayhawkins
Attempting to add typing to results in aggregation.transform. Here, the obj can be a Series but the list passed into concat contain frames. mypy correctly identifies this as an issue, I think concat needs to be typed as FrameOrSeriesUnion for this purpose.
When I try just typing the function definition and not the overload, mypy complains:
error: Overloaded function implementation does not accept all possible arguments of signature 2 [misc]
so I've changed the type of the overload to FrameOrSeriesUnion as well. I don't believe this is any weaker than the current state because it is an overload.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36409/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36409/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36409.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36409",
"merged_at": "2020-09-19T00:56:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36409.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36409"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36410
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36410/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36410/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36410/events
|
https://github.com/pandas-dev/pandas/pull/36410
| 703,131,292
|
MDExOlB1bGxSZXF1ZXN0NDg4MjkwMjUz
| 36,410
|
CLN: sql static method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] |
closed
| false
| null |
[] | null | 4
| 2020-09-16T23:08:35Z
| 2020-09-19T10:15:10Z
| 2020-09-19T10:15:10Z
|
CONTRIBUTOR
| null |
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36410/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36410/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36410.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36410",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/36410.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36410"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36411
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36411/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36411/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36411/events
|
https://github.com/pandas-dev/pandas/issues/36411
| 703,219,982
|
MDU6SXNzdWU3MDMyMTk5ODI=
| 36,411
|
DOC: add searchsorted examples
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17353992?v=4",
"events_url": "https://api.github.com/users/2796gaurav/events{/privacy}",
"followers_url": "https://api.github.com/users/2796gaurav/followers",
"following_url": "https://api.github.com/users/2796gaurav/following{/other_user}",
"gists_url": "https://api.github.com/users/2796gaurav/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/2796gaurav",
"id": 17353992,
"login": "2796gaurav",
"node_id": "MDQ6VXNlcjE3MzUzOTky",
"organizations_url": "https://api.github.com/users/2796gaurav/orgs",
"received_events_url": "https://api.github.com/users/2796gaurav/received_events",
"repos_url": "https://api.github.com/users/2796gaurav/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/2796gaurav/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/2796gaurav/subscriptions",
"type": "User",
"url": "https://api.github.com/users/2796gaurav"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/17353992?v=4",
"events_url": "https://api.github.com/users/2796gaurav/events{/privacy}",
"followers_url": "https://api.github.com/users/2796gaurav/followers",
"following_url": "https://api.github.com/users/2796gaurav/following{/other_user}",
"gists_url": "https://api.github.com/users/2796gaurav/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/2796gaurav",
"id": 17353992,
"login": "2796gaurav",
"node_id": "MDQ6VXNlcjE3MzUzOTky",
"organizations_url": "https://api.github.com/users/2796gaurav/orgs",
"received_events_url": "https://api.github.com/users/2796gaurav/received_events",
"repos_url": "https://api.github.com/users/2796gaurav/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/2796gaurav/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/2796gaurav/subscriptions",
"type": "User",
"url": "https://api.github.com/users/2796gaurav"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/51502428?v=4",
"events_url": "https://api.github.com/users/Ayushihelloworld/events{/privacy}",
"followers_url": "https://api.github.com/users/Ayushihelloworld/followers",
"following_url": "https://api.github.com/users/Ayushihelloworld/following{/other_user}",
"gists_url": "https://api.github.com/users/Ayushihelloworld/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Ayushihelloworld",
"id": 51502428,
"login": "Ayushihelloworld",
"node_id": "MDQ6VXNlcjUxNTAyNDI4",
"organizations_url": "https://api.github.com/users/Ayushihelloworld/orgs",
"received_events_url": "https://api.github.com/users/Ayushihelloworld/received_events",
"repos_url": "https://api.github.com/users/Ayushihelloworld/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Ayushihelloworld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ayushihelloworld/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Ayushihelloworld"
}
] |
{
"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"
}
| 10
| 2020-09-17T02:42:49Z
| 2020-10-25T18:43:14Z
| 2020-10-25T18:43:14Z
|
CONTRIBUTOR
| null |
in this PR: https://github.com/pandas-dev/pandas/pull/36346
we updated `.searchsorted()` on the datetimelike indexes to accept string and a list-like, we should add some examples to the doc-string.
cc @jbrockmendel
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36411/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36411/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/36412
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36412/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36412/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36412/events
|
https://github.com/pandas-dev/pandas/pull/36412
| 703,229,648
|
MDExOlB1bGxSZXF1ZXN0NDg4MzczNjU3
| 36,412
|
Bump flake8 version in pre-commit-config.yaml
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "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 | 1
| 2020-09-17T03:11:47Z
| 2020-09-17T12:13:21Z
| 2020-09-17T08:11:01Z
|
MEMBER
| null |
The flake8 version used in pre-commit-config.yaml seems to emit spurious errors when there are mypy comments for ignoring specific kinds of type errors. Bumping to the latest version of flake8 seems to fix this.
```
flake8...................................................................Failed
- hook id: flake8
- exit code: 1
pandas/core/generic.py:701:36: F821 undefined name 'ignore'
pandas/core/generic.py:701:36: F821 undefined name 'arg'
pandas/core/generic.py:4220:39: F723 syntax error in type comment 'ignore[return-value, arg-type]'
pandas/core/generic.py:4283:39: F723 syntax error in type comment 'ignore[return-value, arg-type]'
```
For reference this is line 701 that it's complaining about:
```python
new_values, *new_axes # type: ignore[arg-type]
```
ref https://github.com/PyCQA/pyflakes/pull/455
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36412/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36412/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36412.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36412",
"merged_at": "2020-09-17T08:11:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36412.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36412"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36413
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36413/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36413/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36413/events
|
https://github.com/pandas-dev/pandas/pull/36413
| 703,230,020
|
MDExOlB1bGxSZXF1ZXN0NDg4MzczOTYz
| 36,413
|
fix inconsistent index naming with union/intersect #35847
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953300?v=4",
"events_url": "https://api.github.com/users/iamlemec/events{/privacy}",
"followers_url": "https://api.github.com/users/iamlemec/followers",
"following_url": "https://api.github.com/users/iamlemec/following{/other_user}",
"gists_url": "https://api.github.com/users/iamlemec/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iamlemec",
"id": 953300,
"login": "iamlemec",
"node_id": "MDQ6VXNlcjk1MzMwMA==",
"organizations_url": "https://api.github.com/users/iamlemec/orgs",
"received_events_url": "https://api.github.com/users/iamlemec/received_events",
"repos_url": "https://api.github.com/users/iamlemec/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iamlemec/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iamlemec/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iamlemec"
}
|
[
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 9
| 2020-09-17T03:12:58Z
| 2020-10-07T18:46:01Z
| 2020-10-07T11:33:29Z
|
CONTRIBUTOR
| null |
- [X] closes #35847
- [X] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This takes care of some inconsistency in how names are handled by `Index` functions `union` and `intersection`, as discussed in #35847. I believe this covers all index types, either through the base class or in the subclass when necessary.
What I've implemented here actually uses the unanimous convention, wherein all input names must match to get assigned to the output. Originally, I was thinking consensus would be better (assign if there is only one non-None input name), but looking through the existing tests, it seems that unanimous was usually expected. I also had some worries about whether index names would become too "contagious" with consensus. Anyway, it's easy to change between the two if people have strong opinions on this.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36413/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36413/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36413.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36413",
"merged_at": "2020-10-07T11:33:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36413.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36413"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36414
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36414/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36414/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36414/events
|
https://github.com/pandas-dev/pandas/pull/36414
| 703,236,633
|
MDExOlB1bGxSZXF1ZXN0NDg4Mzc5Mzc0
| 36,414
|
REF: _validate_foo pattern for IntervalArray
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-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-09-17T03:32:13Z
| 2020-09-17T16:52:21Z
| 2020-09-17T16:10:35Z
|
MEMBER
| null |
Makes clear that these have very similar logic, can be shared after a few tweaks.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36414/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36414/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36414.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36414",
"merged_at": "2020-09-17T16:10:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36414.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36414"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36415
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36415/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36415/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36415/events
|
https://github.com/pandas-dev/pandas/pull/36415
| 703,247,294
|
MDExOlB1bGxSZXF1ZXN0NDg4Mzg4MTYw
| 36,415
|
REF: re-use validate_listlike for _convert_arr_indexer
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"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"
}
| 0
| 2020-09-17T04:04:58Z
| 2020-09-17T16:54:33Z
| 2020-09-17T16:06:48Z
|
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/36415/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36415/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36415.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36415",
"merged_at": "2020-09-17T16:06:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36415.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36415"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/36416
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/36416/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36416/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/36416/events
|
https://github.com/pandas-dev/pandas/pull/36416
| 703,247,402
|
MDExOlB1bGxSZXF1ZXN0NDg4Mzg4MjQz
| 36,416
|
REF: re-use _maybe_promote for _is_convertible_to_index_for_join
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-09-17T04:05:15Z
| 2020-09-17T17:07:09Z
| 2020-09-17T16:08:30Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/36416/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/36416/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/36416.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/36416",
"merged_at": "2020-09-17T16:08:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/36416.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/36416"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.