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/15708
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15708/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15708/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15708/events
|
https://github.com/pandas-dev/pandas/pull/15708
| 214,878,199 |
MDExOlB1bGxSZXF1ZXN0MTExMTkzOTIy
| 15,708 |
TST: remove rest of yield warnings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-03-17T00:41:09Z | 2017-03-17T15:03:20Z | 2017-03-17T14:08:49Z |
CONTRIBUTOR
| null |
xref https://github.com/pandas-dev/pandas/issues/15341
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15708/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15708/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15708.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15708",
"merged_at": "2017-03-17T14:08:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15708.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15708"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15709
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15709/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15709/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15709/events
|
https://github.com/pandas-dev/pandas/pull/15709
| 214,879,453 |
MDExOlB1bGxSZXF1ZXN0MTExMTk0ODAy
| 15,709 |
TST: Reorganize package_check and skip_if_no_package
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-03-17T00:51:16Z | 2017-03-17T13:11:46Z | 2017-03-17T12:50:27Z |
MEMBER
| null |
`skip_if_no_package` literally just calls `package_check` with no additional decorations and with confusing `*args` and `**kwargs`. However, `skip_if_no_package` is a better name than `package_check`.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15709/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15709/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15709.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15709",
"merged_at": "2017-03-17T12:50:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15709.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15709"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15710
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15710/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15710/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15710/events
|
https://github.com/pandas-dev/pandas/pull/15710
| 214,879,592 |
MDExOlB1bGxSZXF1ZXN0MTExMTk0ODk2
| 15,710 |
MAINT: Drop take_last kwarg from method signatures
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 7 | 2017-03-17T00:52:22Z | 2017-03-18T01:27:14Z | 2017-03-18T00:13:21Z |
MEMBER
| null |
Affected methods:
1) `nlargest`
2) `nsmallest`
3) `duplicated`
4) `drop_duplicates`
xref #10236, #10792, #10920.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15710/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15710/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15710.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15710",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15710.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15710"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15711
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15711/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15711/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15711/events
|
https://github.com/pandas-dev/pandas/pull/15711
| 214,902,806 |
MDExOlB1bGxSZXF1ZXN0MTExMjEwNTUw
| 15,711 |
BUG: TZ-aware Series.where() appropriately handles default other=nan (#15701)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/453745?v=4",
"events_url": "https://api.github.com/users/chrisaycock/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisaycock/followers",
"following_url": "https://api.github.com/users/chrisaycock/following{/other_user}",
"gists_url": "https://api.github.com/users/chrisaycock/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chrisaycock",
"id": 453745,
"login": "chrisaycock",
"node_id": "MDQ6VXNlcjQ1Mzc0NQ==",
"organizations_url": "https://api.github.com/users/chrisaycock/orgs",
"received_events_url": "https://api.github.com/users/chrisaycock/received_events",
"repos_url": "https://api.github.com/users/chrisaycock/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chrisaycock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrisaycock/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chrisaycock"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-17T04:07:18Z | 2017-03-17T13:23:43Z | 2017-03-17T13:11:05Z |
CONTRIBUTOR
| null |
- [x] closes #15701
- [x] tests added / passed
- [x] passes ``git diff upstream/master | 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/15711/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15711/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15711.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15711",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15711.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15711"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15712
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15712/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15712/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15712/events
|
https://github.com/pandas-dev/pandas/pull/15712
| 214,911,451 |
MDExOlB1bGxSZXF1ZXN0MTExMjE2MzU2
| 15,712 |
DOC: Add gotcha about flake8-ing diff
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-17T05:29:23Z | 2017-03-17T13:11:44Z | 2017-03-17T12:51:41Z |
MEMBER
| null |
The `flake8`-ing the diff will not catch any import style errors. I put an alternative check that is more comprehensive but will take longer to run since you will be checking entire files instead of the 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/15712/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15712/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15712.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15712",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15712.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15712"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15713
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15713/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15713/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15713/events
|
https://github.com/pandas-dev/pandas/issues/15713
| 214,955,698 |
MDU6SXNzdWUyMTQ5NTU2OTg=
| 15,713 |
BUG: Series.asof fails when series is all nans
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7279321?v=4",
"events_url": "https://api.github.com/users/adbull/events{/privacy}",
"followers_url": "https://api.github.com/users/adbull/followers",
"following_url": "https://api.github.com/users/adbull/following{/other_user}",
"gists_url": "https://api.github.com/users/adbull/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adbull",
"id": 7279321,
"login": "adbull",
"node_id": "MDQ6VXNlcjcyNzkzMjE=",
"organizations_url": "https://api.github.com/users/adbull/orgs",
"received_events_url": "https://api.github.com/users/adbull/received_events",
"repos_url": "https://api.github.com/users/adbull/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adbull/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adbull/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adbull"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-03-17T09:53:56Z | 2017-03-29T09:27:17Z | 2017-03-29T00:46:47Z |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
>>> import pandas as pd
>>> import numpy as np
>>> pd.Series([np.nan]).asof([0])
Traceback (most recent call last):
File "<ipython-input-268-2b0f8084a393>", line 1, in <module>
pd.Series([np.nan]).asof([0])
File "~/anaconda3/lib/python3.5/site-packages/pandas/core/generic.py", line 3985, in asof
locs = self.index.asof_locs(where, ~(nulls.values))
File "~/anaconda3/lib/python3.5/site-packages/pandas/indexes/base.py", line 1837, in asof_locs
result = np.arange(len(self))[mask].take(locs)
IndexError: cannot do a non-empty take from an empty axes.
```
#### Problem description
When calling `Series.asof()`, if the series happens to contain all nans, an error is raised. See #10343.
#### Expected Output
```python
0 NaN
dtype: float64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.9.8-100.fc24.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: C
LANG: C
LOCALE: None.None
pandas: 0.19.0+579.g4ce9c0c
pytest: 3.0.5
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.11.3
scipy: 0.18.1
xarray: 0.9.1
IPython: 4.2.0
sphinx: 1.5.1
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.2
feather: None
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.2
bs4: 4.5.3
html5lib: 0.999
sqlalchemy: 1.1.5
pymysql: None
psycopg2: None
jinja2: 2.9.4
s3fs: None
pandas_gbq: None
pandas_datareader: 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/15713/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15713/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15714
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15714/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15714/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15714/events
|
https://github.com/pandas-dev/pandas/issues/15714
| 214,961,131 |
MDU6SXNzdWUyMTQ5NjExMzE=
| 15,714 |
Mode should be defined if the Series consist of only one object
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5368302?v=4",
"events_url": "https://api.github.com/users/buyology/events{/privacy}",
"followers_url": "https://api.github.com/users/buyology/followers",
"following_url": "https://api.github.com/users/buyology/following{/other_user}",
"gists_url": "https://api.github.com/users/buyology/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/buyology",
"id": 5368302,
"login": "buyology",
"node_id": "MDQ6VXNlcjUzNjgzMDI=",
"organizations_url": "https://api.github.com/users/buyology/orgs",
"received_events_url": "https://api.github.com/users/buyology/received_events",
"repos_url": "https://api.github.com/users/buyology/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/buyology/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/buyology/subscriptions",
"type": "User",
"url": "https://api.github.com/users/buyology"
}
|
[
{
"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"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-03-17T10:17:02Z | 2017-04-12T10:29:20Z | 2017-04-12T10:29:20Z |
CONTRIBUTOR
| null |
#### Code Sample
```python
>>> import pandas.core.algorithms as algos
>>> algos.mode([5])
Series([], dtype: int64)
```
#### Problem description
Currently the `mode` of a series is not defined if the series consist of only one object. This limits the use of the mode as an aggregation method.
Compare this with the behaviour of other libraries, e.g. `scipy`:
```python
>>> from scipy import stats
>>> scipy.stats.mode([5])
(array([ 5.]), array([ 1.]))
```
#### Expected Output
```python
0 5
dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Darwin
OS-release: 14.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 34.3.1
Cython: None
numpy: 1.8.0rc1
scipy: 0.13.0b1
statsmodels: None
xarray: None
IPython: 5.1.0
sphinx: 1.4.8
patsy: None
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.3.1
openpyxl: 2.3.0-b1
xlrd: 1.0.0
xlwt: None
xlsxwriter: 0.9.3
lxml: 3.7.3
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.1.6
pymysql: None
psycopg2: 2.6.2 (dt dec pq3 ext lo64)
jinja2: 2.9.5
boto: 2.42.0
pandas_datareader: 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/15714/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15714/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15715
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15715/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15715/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15715/events
|
https://github.com/pandas-dev/pandas/issues/15715
| 214,968,846 |
MDU6SXNzdWUyMTQ5Njg4NDY=
| 15,715 |
json encoding for python 2
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15201622?v=4",
"events_url": "https://api.github.com/users/mbochk/events{/privacy}",
"followers_url": "https://api.github.com/users/mbochk/followers",
"following_url": "https://api.github.com/users/mbochk/following{/other_user}",
"gists_url": "https://api.github.com/users/mbochk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mbochk",
"id": 15201622,
"login": "mbochk",
"node_id": "MDQ6VXNlcjE1MjAxNjIy",
"organizations_url": "https://api.github.com/users/mbochk/orgs",
"received_events_url": "https://api.github.com/users/mbochk/received_events",
"repos_url": "https://api.github.com/users/mbochk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mbochk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mbochk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mbochk"
}
|
[
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
closed
| false | null |
[] |
{
"closed_at": 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 | 2017-03-17T10:50:27Z | 2018-04-04T13:41:48Z | 2018-04-04T13:41:47Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
# not working
pd.read_json(path, encoding='cp1251')
# that works
import json
with open(path, 'r') as f:
js = json.load(f, encoding='cp1251')
pd.DataFrame(js)
```
#### Problem description
It is not mentioned explicitly in docstring that `encoding` option used in py3 only.
Currently `pd.read_json` mostly ignores `encoding=` option in python2.
Function `pd.common._get_handle` warns about using encoding with compression, but silently continues without actually using `encoding` otherwise.
It looks like subtasks are split in unfavourable way to pass encoding up to `json.loads` call.
#### Expected Output
One might expect pandas use encoding, to get life easier (as pandas usually do ;) ).
Or at least properly warn that option is ignored.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.12.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 28.8.0.post20161110
Cython: 0.24.1
numpy: 1.12.0
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.4.6
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: 1.0.0
tables: 3.2.2
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.2
lxml: 3.6.4
bs4: 4.3.2
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: 0.7.6.None
psycopg2: None
jinja2: 2.8
boto: 2.40.0
pandas_datareader: 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/15715/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15715/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15716
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15716/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15716/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15716/events
|
https://github.com/pandas-dev/pandas/issues/15716
| 214,974,927 |
MDU6SXNzdWUyMTQ5NzQ5Mjc=
| 15,716 |
to_json float precision bug
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6506878?v=4",
"events_url": "https://api.github.com/users/amirshavit/events{/privacy}",
"followers_url": "https://api.github.com/users/amirshavit/followers",
"following_url": "https://api.github.com/users/amirshavit/following{/other_user}",
"gists_url": "https://api.github.com/users/amirshavit/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amirshavit",
"id": 6506878,
"login": "amirshavit",
"node_id": "MDQ6VXNlcjY1MDY4Nzg=",
"organizations_url": "https://api.github.com/users/amirshavit/orgs",
"received_events_url": "https://api.github.com/users/amirshavit/received_events",
"repos_url": "https://api.github.com/users/amirshavit/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amirshavit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amirshavit/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amirshavit"
}
|
[
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-03-17T11:18:26Z | 2020-06-30T13:16:17Z | 2017-04-03T12:43:26Z |
NONE
| null |
xref #15864 for more tests
#### Code Sample, a copy-pastable example if possible
```python
>>> pd.DataFrame([dict(a_float=0.99999999999999944)]).to_json(double_precision=14)
'{"a_float":{"0":1.0}}'
>>> pd.DataFrame([dict(a_float=0.99999999999999944)]).to_json(double_precision=15)
'{"a_float":{"0":0.1}}'
```
#### Problem description
...
#### Expected Output
```python
'{"a_float":{"0":1.0}}'
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.12.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-66-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 34.3.2
Cython: 0.24.1
numpy: 1.12.0
scipy: 0.18.1
statsmodelsdouble_precision: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.4.6
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.1.0
tables: 3.2.3.1
numexpr: 2.6.1
matplotlib: 1.5.3
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.3
lxml: 3.6.4
bs4: 4.5.1
html5lib: None
httplib2: 0.10.3
apiclient: 1.5.3
sqlalchemy: 1.1.2
pymysql: None
psycopg2: None
jinja2: 2.7.3
boto: 2.42.0
pandas_datareader: 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/15716/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15716/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15717
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15717/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15717/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15717/events
|
https://github.com/pandas-dev/pandas/issues/15717
| 215,020,783 |
MDU6SXNzdWUyMTUwMjA3ODM=
| 15,717 |
`date_range` with CustomBusinessDay receives TypeError
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1199853?v=4",
"events_url": "https://api.github.com/users/bspeice/events{/privacy}",
"followers_url": "https://api.github.com/users/bspeice/followers",
"following_url": "https://api.github.com/users/bspeice/following{/other_user}",
"gists_url": "https://api.github.com/users/bspeice/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bspeice",
"id": 1199853,
"login": "bspeice",
"node_id": "MDQ6VXNlcjExOTk4NTM=",
"organizations_url": "https://api.github.com/users/bspeice/orgs",
"received_events_url": "https://api.github.com/users/bspeice/received_events",
"repos_url": "https://api.github.com/users/bspeice/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bspeice/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bspeice/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bspeice"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] |
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"
}
| 6 | 2017-03-17T14:33:00Z | 2017-03-17T17:20:12Z | 2017-03-17T14:38:47Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import datetime
from pandas.tseries.offsets import CustomBusinessDay
from pandas.tseries.holiday import AbstractHolidayCalendar, Holiday, \
USMartinLutherKingJr, USPresidentsDay, USMemorialDay, USLaborDay, \
USThanksgivingDay, GoodFriday, nearest_workday
import pandas as pd
from pandas.tseries.offsets import BDay
class TradingCalendar(AbstractHolidayCalendar):
"""Calendar of trading holidays in the US"""
rules = [
Holiday('New Years Day', month=1, day=1, observance=nearest_workday),
USMartinLutherKingJr,
USPresidentsDay,
USMemorialDay,
Holiday('July 4th', month=7, day=4, observance=nearest_workday),
USLaborDay,
USThanksgivingDay,
GoodFriday,
Holiday('Christmas', month=12, day=25, observance=nearest_workday)
]
class TradingDay(CustomBusinessDay):
def __init__(self, n=1):
super(TradingDay, self).__init__(n, calendar=TradingCalendar())
r = pd.date_range(datetime.datetime(2017, 12, 26), datetime.datetime(2017, 1, 6), TradingDay(1))
len(r) == 9
```
#### Problem description
If you use a standard `BDay()` in the `date_range()` call, everything works as expected. However, if you use a `CustomBusinessDay`, it ends with a TypeError:
```
Traceback (most recent call last):
File "/Users/bspeice/Development/datemath.py", line 102, in trading_range
return pd.date_range(start, end, freq=TradingDay(skip))
File "/Users/bspeice/venvs/scientific/lib/python2.7/site-packages/pandas/tseries/index.py", line 2023, in date_range
closed=closed, **kwargs)
File "/Users/bspeice/venvs/scientific/lib/python2.7/site-packages/pandas/util/decorators.py", line 91, in wrapper
return func(*args, **kwargs)
File "/Users/bspeice/venvs/scientific/lib/python2.7/site-packages/pandas/tseries/index.py", line 301, in __new__
ambiguous=ambiguous)
File "/Users/bspeice/venvs/scientific/lib/python2.7/site-packages/pandas/tseries/index.py", line 506, in _generate
index = _generate_regular_range(start, end, periods, offset)
File "/Users/bspeice/venvs/scientific/lib/python2.7/site-packages/pandas/tseries/index.py", line 1976, in _generate_regular_range
dates = list(xdr)
File "/Users/bspeice/venvs/scientific/lib/python2.7/site-packages/pandas/tseries/offsets.py", line 2881, in generate_range
start = offset.rollforward(start)
File "/Users/bspeice/venvs/scientific/lib/python2.7/site-packages/pandas/tseries/offsets.py", line 432, in rollforward
dt = dt + self.__class__(1, normalize=self.normalize, **self.kwds)
TypeError: __init__() got an unexpected keyword argument 'normalize'
```
This error happens with every release from 0.18.0 - 0.19.2, I haven't tested outside this range.
#### Expected Output
True
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.13.final.0
python-bits: 64
OS: Darwin
OS-release: 16.4.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 34.3.0
Cython: None
numpy: 1.12.0
scipy: 0.18.1
statsmodels: None
xarray: None
IPython: 5.2.2
sphinx: 1.5.2
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 2.0.0
openpyxl: None
xlrd: 1.0.0
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.5.3
html5lib: 0.9999999
httplib2: 0.10.3
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: None
pandas_datareader: 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/15717/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15717/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15718
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15718/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15718/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15718/events
|
https://github.com/pandas-dev/pandas/pull/15718
| 215,028,213 |
MDExOlB1bGxSZXF1ZXN0MTExMjk4NjEx
| 15,718 |
TST: only catch deprecation warnings for top-level module imports
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 5 | 2017-03-17T14:58:28Z | 2017-03-21T00:18:42Z | 2017-03-17T14:58:35Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15718/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15718/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15718.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15718",
"merged_at": "2017-03-17T14:58:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15718.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15718"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15719
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15719/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15719/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15719/events
|
https://github.com/pandas-dev/pandas/issues/15719
| 215,037,770 |
MDU6SXNzdWUyMTUwMzc3NzA=
| 15,719 |
Segmentation fault when ast and tables are imported before pandas
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/325954?v=4",
"events_url": "https://api.github.com/users/bburan/events{/privacy}",
"followers_url": "https://api.github.com/users/bburan/followers",
"following_url": "https://api.github.com/users/bburan/following{/other_user}",
"gists_url": "https://api.github.com/users/bburan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bburan",
"id": 325954,
"login": "bburan",
"node_id": "MDQ6VXNlcjMyNTk1NA==",
"organizations_url": "https://api.github.com/users/bburan/orgs",
"received_events_url": "https://api.github.com/users/bburan/received_events",
"repos_url": "https://api.github.com/users/bburan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bburan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bburan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bburan"
}
|
[] |
closed
| false | null |
[] | null | 10 | 2017-03-17T15:30:10Z | 2017-03-20T17:36:29Z | 2017-03-20T17:34:34Z |
NONE
| null |
```python
import tables
import ast
import pandas
```
This results in a segmentation fault using Anaconda 64 bit under Python 2 and Python 3.
* Pandas version 0.19.2 as obtained from conda-forge (np112py27_1).
* Pytables version 3.3.0 as obtained from conda0forge (np112py27_0).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15719/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15719/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15720
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15720/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15720/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15720/events
|
https://github.com/pandas-dev/pandas/pull/15720
| 215,040,553 |
MDExOlB1bGxSZXF1ZXN0MTExMzA3NDE4
| 15,720 |
DOC: Update broken link in cookbook.rst #15605
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8112352?v=4",
"events_url": "https://api.github.com/users/lorenzocestaro/events{/privacy}",
"followers_url": "https://api.github.com/users/lorenzocestaro/followers",
"following_url": "https://api.github.com/users/lorenzocestaro/following{/other_user}",
"gists_url": "https://api.github.com/users/lorenzocestaro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lorenzocestaro",
"id": 8112352,
"login": "lorenzocestaro",
"node_id": "MDQ6VXNlcjgxMTIzNTI=",
"organizations_url": "https://api.github.com/users/lorenzocestaro/orgs",
"received_events_url": "https://api.github.com/users/lorenzocestaro/received_events",
"repos_url": "https://api.github.com/users/lorenzocestaro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lorenzocestaro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lorenzocestaro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lorenzocestaro"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-17T15:39:33Z | 2018-12-12T21:40:25Z | 2017-03-17T15:42:26Z |
CONTRIBUTOR
| null |
- [ ] closes #15605
- [ ] tests added / passed
- [ ] passes ``git diff upstream/master | 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/15720/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15720/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15720.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15720",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15720.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15720"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15721
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15721/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15721/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15721/events
|
https://github.com/pandas-dev/pandas/issues/15721
| 215,065,960 |
MDU6SXNzdWUyMTUwNjU5NjA=
| 15,721 |
groupby ignores rows containing the number -9223372036854775808
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5818210?v=4",
"events_url": "https://api.github.com/users/ReSqAr/events{/privacy}",
"followers_url": "https://api.github.com/users/ReSqAr/followers",
"following_url": "https://api.github.com/users/ReSqAr/following{/other_user}",
"gists_url": "https://api.github.com/users/ReSqAr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ReSqAr",
"id": 5818210,
"login": "ReSqAr",
"node_id": "MDQ6VXNlcjU4MTgyMTA=",
"organizations_url": "https://api.github.com/users/ReSqAr/orgs",
"received_events_url": "https://api.github.com/users/ReSqAr/received_events",
"repos_url": "https://api.github.com/users/ReSqAr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ReSqAr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ReSqAr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ReSqAr"
}
|
[
{
"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"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-03-17T17:07:42Z | 2017-03-17T17:21:08Z | 2017-03-17T17:20:49Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```
In [1]: import pandas as pd
In [2]: import numpy as np
In [3]: np.iinfo(np.int64).min == -9223372036854775808
True
In [4]: data = []
In [5]: data.append(-9223372036854775808)
In [6]: data.append(-9223372036854775808+1)
In [7]: data.append(0)
In [8]: df = pd.DataFrame( data, columns=["x"] ); df
Out[8]:
x
0 -9223372036854775808
1 -9223372036854775807
2 0
In [9]: df.groupby("x").groups
Out[9]:
{-9223372036854775807: Int64Index([1], dtype='int64'),
0: Int64Index([2], dtype='int64')}
In [10]: df.groupby("x")["x"].count()
x
-9223372036854775807 1
0 1
Name: x, dtype: int64
```
#### Problem description
The groupby operation ignores the row containing -9223372036854775808.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.8.0-41-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
LOCALE: en_GB.UTF-8
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 34.3.1
Cython: None
numpy: 1.11.1rc1
scipy: None
statsmodels: None
xarray: None
IPython: 5.3.0
sphinx: None
patsy: None
dateutil: 2.6.0
pytz: 2014.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.5.1
html5lib: 0.999999999
httplib2: 0.9.1
apiclient: None
sqlalchemy: 1.0.14
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: None
pandas_datareader: 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/15721/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15721/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15722
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15722/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15722/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15722/events
|
https://github.com/pandas-dev/pandas/pull/15722
| 215,066,738 |
MDExOlB1bGxSZXF1ZXN0MTExMzI2MDM2
| 15,722 |
CI: remove caching for miniconda itself
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-03-17T17:10:53Z | 2017-03-17T17:11:56Z | 2017-03-17T17:11:56Z |
CONTRIBUTOR
| null |
well got this to work, and it *does* cache, but the cache file is so huge that its just not worth it. going back to clean installs for miniconda itself.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15722/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15722/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15722.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15722",
"merged_at": "2017-03-17T17:11:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15722.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15722"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15723
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15723/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15723/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15723/events
|
https://github.com/pandas-dev/pandas/issues/15723
| 215,076,026 |
MDU6SXNzdWUyMTUwNzYwMjY=
| 15,723 |
ERR: validate encoding on to_stata
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/650534?v=4",
"events_url": "https://api.github.com/users/ozak/events{/privacy}",
"followers_url": "https://api.github.com/users/ozak/followers",
"following_url": "https://api.github.com/users/ozak/following{/other_user}",
"gists_url": "https://api.github.com/users/ozak/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ozak",
"id": 650534,
"login": "ozak",
"node_id": "MDQ6VXNlcjY1MDUzNA==",
"organizations_url": "https://api.github.com/users/ozak/orgs",
"received_events_url": "https://api.github.com/users/ozak/received_events",
"repos_url": "https://api.github.com/users/ozak/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ozak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ozak/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ozak"
}
|
[
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
},
{
"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"
},
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 15 | 2017-03-17T17:48:10Z | 2017-09-05T12:34:28Z | 2017-03-21T21:54:22Z |
NONE
| null |
It seems ``pandas`` in ``python3.5`` causes issues due to encoding. For example the following generates a corrupt output file
```python
import pandas as pd
df1 = pd.DataFrame(np.array([1,2,3,4]), columns=['var1'])
df1.to_stata('corrupt.dta', write_index=False, encoding='utf8')
```
while
```python
df1.to_stata('not-corrupt.dta', write_index=False)
```
generates a correct file. I imagine this may be due to use of encoding and the difference in the treatment between ``python 2`` and ``python 3``, which breaks compatibility of scripts across ``python`` versions. I guess it would be nice if it does not take this option into account on ``python 3``, unless the error is caused by something else.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15723/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15723/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15724
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15724/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15724/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15724/events
|
https://github.com/pandas-dev/pandas/issues/15724
| 215,079,497 |
MDU6SXNzdWUyMTUwNzk0OTc=
| 15,724 |
to_hdf5 copies data, causes MemoryError
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/102322?v=4",
"events_url": "https://api.github.com/users/jgarvin/events{/privacy}",
"followers_url": "https://api.github.com/users/jgarvin/followers",
"following_url": "https://api.github.com/users/jgarvin/following{/other_user}",
"gists_url": "https://api.github.com/users/jgarvin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jgarvin",
"id": 102322,
"login": "jgarvin",
"node_id": "MDQ6VXNlcjEwMjMyMg==",
"organizations_url": "https://api.github.com/users/jgarvin/orgs",
"received_events_url": "https://api.github.com/users/jgarvin/received_events",
"repos_url": "https://api.github.com/users/jgarvin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jgarvin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jgarvin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jgarvin"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-03-17T18:00:59Z | 2017-03-17T18:03:23Z | 2017-03-17T18:02:41Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
result.to_hdf(op.join(args.output_dir, "merged.hd5"), "data", mode='w')
```
#### Problem description
Even though my data fits in memory, I run out of memory when trying to save it to disk apparently because pandas makes copies:
```
Traceback (most recent call last):
File "source/prof/merge_prof.py", line 144, in <module>
main()
File "source/prof/merge_prof.py", line 131, in main
result.to_hdf(op.join(args.output_dir, "merged.hd5"), "data", mode='w')
File "/home/jgarvin/.local/lib/python3.4/site-packages/pandas/core/generic.py", line 1138, in to_hdf
return pytables.to_hdf(path_or_buf, key, self, **kwargs)
File "/home/jgarvin/.local/lib/python3.4/site-packages/pandas/io/pytables.py", line 270, in to_hdf
f(store)
File "/home/jgarvin/.local/lib/python3.4/site-packages/pandas/io/pytables.py", line 264, in <lambda>
f = lambda store: store.put(key, value, **kwargs)
File "/home/jgarvin/.local/lib/python3.4/site-packages/pandas/io/pytables.py", line 873, in put
self._write_to_group(key, value, append=append, **kwargs)
File "/home/jgarvin/.local/lib/python3.4/site-packages/pandas/io/pytables.py", line 1315, in _write_to_group
s.write(obj=value, append=append, complib=complib, **kwargs)
File "/home/jgarvin/.local/lib/python3.4/site-packages/pandas/io/pytables.py", line 2877, in write
self.write_array('block%d_values' % i, blk.values, items=blk_items)
File "/home/jgarvin/.local/lib/python3.4/site-packages/pandas/io/pytables.py", line 2670, in write_array
self._handle.create_array(self.group, key, value)
File "/home/jgarvin/.local/lib/python3.4/site-packages/tables/file.py", line 1145, in create_array
obj=obj, title=title, byteorder=byteorder)
File "/home/jgarvin/.local/lib/python3.4/site-packages/tables/array.py", line 187, in __init__
byteorder, _log)
File "/home/jgarvin/.local/lib/python3.4/site-packages/tables/leaf.py", line 270, in __init__
super(Leaf, self).__init__(parentnode, name, _log)
File "/home/jgarvin/.local/lib/python3.4/site-packages/tables/node.py", line 266, in __init__
self._v_objectid = self._g_create()
File "/home/jgarvin/.local/lib/python3.4/site-packages/tables/array.py", line 196, in _g_create
nparr = array_as_internal(self._obj, flavor)
File "/home/jgarvin/.local/lib/python3.4/site-packages/tables/flavor.py", line 180, in array_as_internal
return array_of_flavor2(array, src_flavor, internal_flavor)
File "/home/jgarvin/.local/lib/python3.4/site-packages/tables/flavor.py", line 133, in array_of_flavor2
return convfunc(array)
File "/home/jgarvin/.local/lib/python3.4/site-packages/tables/flavor.py", line 373, in conv_to_numpy
nparr = nparr.copy() # copying the array makes it contiguous
MemoryError
```
#### Expected Output
no exception ;)
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-85-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.19.2
nose: None
pip: 1.5.4
setuptools: 3.3
Cython: None
numpy: 1.12.0
scipy: 0.18.1
statsmodels: 0.8.0
xarray: None
IPython: None
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: 3.3.0
numexpr: 2.6.2
matplotlib: 2.0.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999
httplib2: 0.8
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: None
pandas_datareader: 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/15724/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15724/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15725
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15725/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15725/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15725/events
|
https://github.com/pandas-dev/pandas/issues/15725
| 215,122,344 |
MDU6SXNzdWUyMTUxMjIzNDQ=
| 15,725 |
BUG: HDFStore fixed format not decoding meta-data in PY3
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"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_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
open
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 3 | 2017-03-17T21:06:22Z | 2021-05-08T01:30:56Z | null |
MEMBER
| null |
#### Code Sample, a copy-pastable example if possible
In Python 2:
```python
df = pd.DataFrame([[1, 2], [3, 4]])
df.index.name = "date"
df.to_hdf('/tmp/test.hdf', 'test')
```
In Python 3:
```python
In [2]: pd.read_hdf('/tmp/test.hdf', 'test')
Out[2]:
0 1
b'date'
0 1 2
1 3 4
```
#### Problem description
``b'date'`` should actually be just ``date``
#### Expected Output
``` python
Out[2]:
0 1
date
0 1 2
1 3 4
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.7.0-1-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: it_IT.utf8
LOCALE: it_IT.UTF-8
pandas: 0.19.0+603.g2cad4dd0b
pytest: 3.0.6
pip: 9.0.1
setuptools: 33.1.1
Cython: 0.25.2
numpy: 1.12.0
scipy: 0.18.1
xarray: 0.9.1
IPython: 5.1.0.dev
sphinx: 1.4.9
patsy: 0.3.0-dev
dateutil: 2.5.3
pytz: 2016.7
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.1
feather: 0.3.1
matplotlib: 2.0.0
openpyxl: 2.3.0
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.6
lxml: 3.7.1
bs4: 4.5.3
html5lib: 0.999999999
sqlalchemy: 1.0.15
pymysql: None
psycopg2: None
jinja2: 2.8
s3fs: None
pandas_gbq: None
pandas_datareader: 0.2.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15725/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15725/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15726
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15726/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15726/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15726/events
|
https://github.com/pandas-dev/pandas/issues/15726
| 215,131,860 |
MDU6SXNzdWUyMTUxMzE4NjA=
| 15,726 |
Groupby on date component results in corrupt DataFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "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": 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"
}
| 6 | 2017-03-17T21:54:34Z | 2017-03-18T10:59:38Z | 2017-03-17T22:01:26Z |
MEMBER
| null |
#### Code Sample, a copy-pastable example if possible
```python
In [3]: df1 = pd.DataFrame({c : np.random.random(4) for c in ['a', 'b']})
In [4]: date = pd.DataFrame({'day' : 15, 'month' : df1.index + 1, 'year' : 2009})
In [5]: df1['date'] = pd.to_datetime(date)
In [6]: df1['month'] = df1['date'].dt.month
In [7]: df2 = df1.groupby('month').max()
In [8]: df2.transpose().mean()
Out[8]:
Series([], dtype: float64)
```
#### Problem description
``df2`` had strictly positive dimensions, its mean cannot be an empty ``Series``.
#### Expected Output
The same as
``` python
In [9]: df2.mean(axis=1)
Out[9]:
month
1 0.649630
2 0.392446
3 0.693638
12 0.381830
dtype: float64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.7.0-1-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: it_IT.utf8
LOCALE: it_IT.UTF-8
pandas: 0.19.0+603.g2cad4dd0b
pytest: 3.0.6
pip: 9.0.1
setuptools: 33.1.1
Cython: 0.25.2
numpy: 1.12.0
scipy: 0.18.1
xarray: 0.9.1
IPython: 5.1.0.dev
sphinx: 1.4.9
patsy: 0.3.0-dev
dateutil: 2.5.3
pytz: 2016.7
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.1
feather: 0.3.1
matplotlib: 2.0.0
openpyxl: 2.3.0
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.6
lxml: 3.7.1
bs4: 4.5.3
html5lib: 0.999999999
sqlalchemy: 1.0.15
pymysql: None
psycopg2: None
jinja2: 2.8
s3fs: None
pandas_gbq: None
pandas_datareader: 0.2.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15726/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15726/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15727
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15727/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15727/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15727/events
|
https://github.com/pandas-dev/pandas/issues/15727
| 215,142,605 |
MDU6SXNzdWUyMTUxNDI2MDU=
| 15,727 |
data input column name
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11541770?v=4",
"events_url": "https://api.github.com/users/zhanghaoyue/events{/privacy}",
"followers_url": "https://api.github.com/users/zhanghaoyue/followers",
"following_url": "https://api.github.com/users/zhanghaoyue/following{/other_user}",
"gists_url": "https://api.github.com/users/zhanghaoyue/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zhanghaoyue",
"id": 11541770,
"login": "zhanghaoyue",
"node_id": "MDQ6VXNlcjExNTQxNzcw",
"organizations_url": "https://api.github.com/users/zhanghaoyue/orgs",
"received_events_url": "https://api.github.com/users/zhanghaoyue/received_events",
"repos_url": "https://api.github.com/users/zhanghaoyue/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zhanghaoyue/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhanghaoyue/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zhanghaoyue"
}
|
[
{
"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": "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"
}
| 2 | 2017-03-17T23:00:29Z | 2017-03-18T10:24:48Z | 2017-03-18T00:10:23Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```
a = df[(df.Gold>=1)&(df.Gold.1>=1)]
```
#### Problem description
when I input a data series, it automatically name the variable name to 'Gold' and 'Gold 1' because the input has two 'Gold' column.
which leads to an issue when I want to use indexing. The dot is recognized as "Invalid Syntax".
My solution is to rename the column but I wonder if I miss anything or actually we can automatically name them as 'Gold_1' instead of 'Gold.1' when this situation occur.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15727/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15727/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15728
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15728/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15728/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15728/events
|
https://github.com/pandas-dev/pandas/pull/15728
| 215,159,527 |
MDExOlB1bGxSZXF1ZXN0MTExMzkyNzc0
| 15,728 |
CI: install nomkl to speed building
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-03-18T02:10:56Z | 2017-03-18T02:51:36Z | 2017-03-18T02:51:36Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15728/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15728/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15728.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15728",
"merged_at": "2017-03-18T02:51:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15728.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15728"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15729
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15729/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15729/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15729/events
|
https://github.com/pandas-dev/pandas/pull/15729
| 215,163,182 |
MDExOlB1bGxSZXF1ZXN0MTExMzk1MDA5
| 15,729 |
DOC: Fix typos in merge_asof() docstring
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/453745?v=4",
"events_url": "https://api.github.com/users/chrisaycock/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisaycock/followers",
"following_url": "https://api.github.com/users/chrisaycock/following{/other_user}",
"gists_url": "https://api.github.com/users/chrisaycock/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chrisaycock",
"id": 453745,
"login": "chrisaycock",
"node_id": "MDQ6VXNlcjQ1Mzc0NQ==",
"organizations_url": "https://api.github.com/users/chrisaycock/orgs",
"received_events_url": "https://api.github.com/users/chrisaycock/received_events",
"repos_url": "https://api.github.com/users/chrisaycock/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chrisaycock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrisaycock/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chrisaycock"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-18T03:29:38Z | 2017-03-18T04:00:32Z | 2017-03-18T03:32:47Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15729/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15729/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15729.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15729",
"merged_at": "2017-03-18T03:32:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15729.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15729"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15730
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15730/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15730/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15730/events
|
https://github.com/pandas-dev/pandas/pull/15730
| 215,202,261 |
MDExOlB1bGxSZXF1ZXN0MTExNDE0NTc5
| 15,730 |
CI: remove 3.5 appveyor build
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-03-18T15:45:35Z | 2017-03-18T16:02:10Z | 2017-03-18T16:02:10Z |
CONTRIBUTOR
| null |
not really necessary & just makes the building take longer
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15730/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15730/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15730.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15730",
"merged_at": "2017-03-18T16:02:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15730.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15730"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15731
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15731/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15731/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15731/events
|
https://github.com/pandas-dev/pandas/pull/15731
| 215,202,337 |
MDExOlB1bGxSZXF1ZXN0MTExNDE0NjIx
| 15,731 |
TST: move conftest.py to top-level
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 7 | 2017-03-18T15:46:43Z | 2017-03-21T00:14:28Z | 2017-03-18T16:01:20Z |
CONTRIBUTOR
| null |
xref #15341
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15731/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15731/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15731.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15731",
"merged_at": "2017-03-18T16:01:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15731.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15731"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15732
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15732/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15732/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15732/events
|
https://github.com/pandas-dev/pandas/issues/15732
| 215,202,886 |
MDU6SXNzdWUyMTUyMDI4ODY=
| 15,732 |
OverflowError converting str to int in dataframe on win32
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10881376?v=4",
"events_url": "https://api.github.com/users/marcomayer/events{/privacy}",
"followers_url": "https://api.github.com/users/marcomayer/followers",
"following_url": "https://api.github.com/users/marcomayer/following{/other_user}",
"gists_url": "https://api.github.com/users/marcomayer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/marcomayer",
"id": 10881376,
"login": "marcomayer",
"node_id": "MDQ6VXNlcjEwODgxMzc2",
"organizations_url": "https://api.github.com/users/marcomayer/orgs",
"received_events_url": "https://api.github.com/users/marcomayer/received_events",
"repos_url": "https://api.github.com/users/marcomayer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/marcomayer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marcomayer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/marcomayer"
}
|
[
{
"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": "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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-03-18T15:56:47Z | 2017-03-18T16:22:04Z | 2017-03-18T16:04:38Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
df = pd.DataFrame()
df.loc[1, 'timestamp'] = '1489687200000'
df.timestamp.astype(int)
```
#### Problem description
Results in error:
```
OverflowError Traceback (most recent call last)
<ipython-input-51-aa072084e764> in <module>()
1 df = pd.DataFrame()
2 df.loc[1, 'timestamp'] = '1489687200000'
----> 3 df.timestamp.astype(int)
C:\Users\Marco\anaconda\lib\site-packages\pandas\core\generic.py in astype(self, dtype, copy, raise_on_error, **kwargs)
3052 # else, only a single dtype is given
3053 new_data = self._data.astype(dtype=dtype, copy=copy,
-> 3054 raise_on_error=raise_on_error, **kwargs)
3055 return self._constructor(new_data).__finalize__(self)
3056
C:\Users\Marco\anaconda\lib\site-packages\pandas\core\internals.py in astype(self, dtype, **kwargs)
3187
3188 def astype(self, dtype, **kwargs):
-> 3189 return self.apply('astype', dtype=dtype, **kwargs)
3190
3191 def convert(self, **kwargs):
C:\Users\Marco\anaconda\lib\site-packages\pandas\core\internals.py in apply(self, f, axes, filter, do_integrity_check, consolidate, **kwargs)
3054
3055 kwargs['mgr'] = self
-> 3056 applied = getattr(b, f)(**kwargs)
3057 result_blocks = _extend_blocks(applied, result_blocks)
3058
C:\Users\Marco\anaconda\lib\site-packages\pandas\core\internals.py in astype(self, dtype, copy, raise_on_error, values, **kwargs)
459 **kwargs):
460 return self._astype(dtype, copy=copy, raise_on_error=raise_on_error,
--> 461 values=values, **kwargs)
462
463 def _astype(self, dtype, copy=False, raise_on_error=True, values=None,
C:\Users\Marco\anaconda\lib\site-packages\pandas\core\internals.py in _astype(self, dtype, copy, raise_on_error, values, klass, mgr, **kwargs)
502
503 # _astype_nansafe works fine with 1-d only
--> 504 values = _astype_nansafe(values.ravel(), dtype, copy=True)
505 values = values.reshape(self.shape)
506
C:\Users\Marco\anaconda\lib\site-packages\pandas\types\cast.py in _astype_nansafe(arr, dtype, copy)
532 elif arr.dtype == np.object_ and np.issubdtype(dtype.type, np.integer):
533 # work around NumPy brokenness, #1987
--> 534 return lib.astype_intsafe(arr.ravel(), dtype).reshape(arr.shape)
535
536 if copy:
pandas\lib.pyx in pandas.lib.astype_intsafe (pandas\lib.c:17409)()
pandas\src\util.pxd in util.set_value_at_unsafe (pandas\lib.c:72777)()
OverflowError: Python int too large to convert to C long
```
#### Expected Output
On macos this works fine, but unfortunately I have to migrate a project to windows and there it does not work. I'm running the latest anaconda for win32 on windows 7.
int('1489687200000') works fine, also using df.timestamp.astype(np.int64) instead of astype(int) works. That's also my workaround right now.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.0.final.0
python-bits: 32
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 70 Stepping 1, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.11.3
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.5.1
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: 3.2.2
numexpr: 2.6.1
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.2
bs4: 4.5.3
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.1.5
pymysql: None
psycopg2: None
jinja2: 2.9.4
boto: 2.45.0
pandas_datareader: 0.2.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15732/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15732/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15733
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15733/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15733/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15733/events
|
https://github.com/pandas-dev/pandas/pull/15733
| 215,206,162 |
MDExOlB1bGxSZXF1ZXN0MTExNDE2Njkw
| 15,733 |
CI: turn on cache for osx
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-03-18T16:50:20Z | 2017-03-18T16:50:27Z | 2017-03-18T16:50:27Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15733/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15733/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15733.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15733",
"merged_at": "2017-03-18T16:50:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15733.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15733"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15734
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15734/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15734/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15734/events
|
https://github.com/pandas-dev/pandas/pull/15734
| 215,229,573 |
MDExOlB1bGxSZXF1ZXN0MTExNDMwMzEw
| 15,734 |
TST: clean up build testing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "a2bca7",
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-18T23:38:48Z | 2017-03-19T02:01:31Z | 2017-03-19T02:00:54Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15734/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15734/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15734.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15734",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15734.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15734"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15735
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15735/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15735/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15735/events
|
https://github.com/pandas-dev/pandas/pull/15735
| 215,233,610 |
MDExOlB1bGxSZXF1ZXN0MTExNDMyNjE3
| 15,735 |
MAINT: Drop order and sort from pandas objects
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-03-19T01:16:36Z | 2017-03-19T02:08:50Z | 2017-03-19T02:02:21Z |
MEMBER
| null |
Affected classes:
1) `Index`
2) `Series`
2) `DataFrame`
xref #10726
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15735/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15735/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15735.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15735",
"merged_at": "2017-03-19T02:02:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15735.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15735"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15736
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15736/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15736/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15736/events
|
https://github.com/pandas-dev/pandas/pull/15736
| 215,290,818 |
MDExOlB1bGxSZXF1ZXN0MTExNDY1NDg3
| 15,736 |
Value returns ndarray for dataframes with a single column with datetime64 tz-aware
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1304950?v=4",
"events_url": "https://api.github.com/users/sdementen/events{/privacy}",
"followers_url": "https://api.github.com/users/sdementen/followers",
"following_url": "https://api.github.com/users/sdementen/following{/other_user}",
"gists_url": "https://api.github.com/users/sdementen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sdementen",
"id": 1304950,
"login": "sdementen",
"node_id": "MDQ6VXNlcjEzMDQ5NTA=",
"organizations_url": "https://api.github.com/users/sdementen/orgs",
"received_events_url": "https://api.github.com/users/sdementen/received_events",
"repos_url": "https://api.github.com/users/sdementen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sdementen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sdementen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sdementen"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] | null | 6 | 2017-03-19T20:08:37Z | 2017-07-26T23:57:54Z | 2017-07-26T23:57:53Z |
CONTRIBUTOR
| null |
- [x] closes #14052
- [x] tests added / passed
- [x] passes ``git diff upstream/master | 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/15736/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15736/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15736.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15736",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15736.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15736"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15737
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15737/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15737/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15737/events
|
https://github.com/pandas-dev/pandas/issues/15737
| 215,309,477 |
MDU6SXNzdWUyMTUzMDk0Nzc=
| 15,737 |
BUG: concat with sparse not propogating default_fill_value
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 2 | 2017-03-20T00:26:46Z | 2019-09-18T14:02:15Z | 2019-09-18T14:02:15Z |
CONTRIBUTOR
| null |
from https://github.com/pandas-dev/pandas/issues/12174#issuecomment-287594124
```
In [1]: df = pd.SparseDataFrame(np.random.choice([0., 1.], size=(5,5)), default_fill_value=0.)
...:
In [2]: df
Out[2]:
0 1 2 3 4
0 0.0 1.0 1.0 0.0 0.0
1 1.0 1.0 1.0 0.0 1.0
2 0.0 1.0 0.0 1.0 0.0
3 1.0 1.0 1.0 0.0 1.0
4 1.0 0.0 0.0 1.0 1.0
In [3]: df.default_fill_value
Out[3]: 0.0
In [4]: pd.concat((df, df), axis=1)
Out[4]:
0 1 2 3 4 0 1 2 3 4
0 0.0 1.0 1.0 0.0 0.0 0.0 1.0 1.0 0.0 0.0
1 1.0 1.0 1.0 0.0 1.0 1.0 1.0 1.0 0.0 1.0
2 0.0 1.0 0.0 1.0 0.0 0.0 1.0 0.0 1.0 0.0
3 1.0 1.0 1.0 0.0 1.0 1.0 1.0 1.0 0.0 1.0
4 1.0 0.0 0.0 1.0 1.0 1.0 0.0 0.0 1.0 1.0
In [5]: pd.concat((df, df), axis=1).default_fill_value
Out[5]: nan
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15737/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15737/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15738
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15738/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15738/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15738/events
|
https://github.com/pandas-dev/pandas/pull/15738
| 215,316,030 |
MDExOlB1bGxSZXF1ZXN0MTExNDgwMzUy
| 15,738 |
PERF: Improve drop_duplicates for bool columns (#12963)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 14 | 2017-03-20T02:05:03Z | 2017-12-20T02:00:38Z | 2017-03-20T22:47:22Z |
MEMBER
| null |
- [x] closes #12963
- [x] tests passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Converts `bool` columns to `int` when calling `drop_duplicates()` so the factorization does not go down the `object` path.
```
before after ratio
[9ab57dc5] [4b05fccb]
- 10.2±0.01ms 4.68±0.01ms 0.46 reindex.Duplicates.time_frame_drop_dups_bool
SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15738/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15738/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15738.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15738",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15738.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15738"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15739
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15739/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15739/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15739/events
|
https://github.com/pandas-dev/pandas/pull/15739
| 215,334,655 |
MDExOlB1bGxSZXF1ZXN0MTExNDkyMjEy
| 15,739 |
DOC: Fix typo in docstring param name
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1216791?v=4",
"events_url": "https://api.github.com/users/jzwinck/events{/privacy}",
"followers_url": "https://api.github.com/users/jzwinck/followers",
"following_url": "https://api.github.com/users/jzwinck/following{/other_user}",
"gists_url": "https://api.github.com/users/jzwinck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jzwinck",
"id": 1216791,
"login": "jzwinck",
"node_id": "MDQ6VXNlcjEyMTY3OTE=",
"organizations_url": "https://api.github.com/users/jzwinck/orgs",
"received_events_url": "https://api.github.com/users/jzwinck/received_events",
"repos_url": "https://api.github.com/users/jzwinck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jzwinck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jzwinck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jzwinck"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-20T05:45:44Z | 2017-03-20T08:14:00Z | 2017-03-20T08:13:53Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15739/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15739/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15739.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15739",
"merged_at": "2017-03-20T08:13:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15739.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15739"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/15740
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15740/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15740/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15740/events
|
https://github.com/pandas-dev/pandas/pull/15740
| 215,337,892 |
MDExOlB1bGxSZXF1ZXN0MTExNDk0NDQw
| 15,740 |
BUG: tz aware Timestamp field accessors returns local values (#13303)
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-03-20T06:20:20Z | 2017-12-20T02:00:47Z | 2017-03-20T17:51:28Z |
MEMBER
| null |
- [x] closes #13303
- [x] tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Previously, calling a date/time attribute with Timestamp that's tz aware (e.g. `Timestamp('...', tz='...').dayofyear`) would return the attribute in UTC instead of the local tz.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15740/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15740/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15740.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15740",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15740.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15740"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15741
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15741/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15741/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15741/events
|
https://github.com/pandas-dev/pandas/pull/15741
| 215,434,009 |
MDExOlB1bGxSZXF1ZXN0MTExNTYxOTQz
| 15,741 |
BUG: .replace coerces incorrect dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[] |
closed
| false | null |
[] | null | 0 | 2017-03-20T14:17:19Z | 2017-03-20T14:17:36Z | 2017-03-20T14:17:36Z |
CONTRIBUTOR
| null |
closes #12747
supersedes 12780
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15741/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15741/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15741.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15741",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15741.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15741"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15742
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15742/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15742/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15742/events
|
https://github.com/pandas-dev/pandas/pull/15742
| 215,435,551 |
MDExOlB1bGxSZXF1ZXN0MTExNTYzMDQ5
| 15,742 |
BUG: replace coerces incorrect dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-20T14:22:06Z | 2017-03-20T17:22:51Z | 2017-03-20T16:25:54Z |
CONTRIBUTOR
| null |
closes #12747
Author: sinhrks <[email protected]>
This patch had conflicts when merged, resolved by
Committer: Jeff Reback <[email protected]>
closes #15742
Closes #12780 from sinhrks/replace_type and squashes the following commits:
f9154e8 [sinhrks] remove unnecessary comments
279fdf6 [sinhrks] remove import failure
de44877 [sinhrks] BUG: replace coerces incorrect 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/15742/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15742/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15742.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15742",
"merged_at": "2017-03-20T16:25:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15742.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15742"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15743
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15743/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15743/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15743/events
|
https://github.com/pandas-dev/pandas/issues/15743
| 215,439,278 |
MDU6SXNzdWUyMTU0MzkyNzg=
| 15,743 |
BUG: replace of numeric by string / dtype coversion
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-03-20T14:33:55Z | 2017-03-28T18:27:00Z | 2017-03-28T18:27:00Z |
CONTRIBUTOR
| null |
xref #12747
This was an item not closed by #12780 (but listed in #12747)
```
In [2]: pd.Series([1,2,3]).replace('1', np.nan)
Out[2]:
0 NaN
1 2.0
2 3.0
dtype: float64
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15743/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15743/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15744
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15744/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15744/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15744/events
|
https://github.com/pandas-dev/pandas/pull/15744
| 215,467,718 |
MDExOlB1bGxSZXF1ZXN0MTExNTg2NTUz
| 15,744 |
Return mode even if single value (#15714)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5368302?v=4",
"events_url": "https://api.github.com/users/buyology/events{/privacy}",
"followers_url": "https://api.github.com/users/buyology/followers",
"following_url": "https://api.github.com/users/buyology/following{/other_user}",
"gists_url": "https://api.github.com/users/buyology/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/buyology",
"id": 5368302,
"login": "buyology",
"node_id": "MDQ6VXNlcjUzNjgzMDI=",
"organizations_url": "https://api.github.com/users/buyology/orgs",
"received_events_url": "https://api.github.com/users/buyology/received_events",
"repos_url": "https://api.github.com/users/buyology/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/buyology/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/buyology/subscriptions",
"type": "User",
"url": "https://api.github.com/users/buyology"
}
|
[
{
"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"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 6 | 2017-03-20T15:59:20Z | 2017-03-29T23:54:14Z | 2017-03-29T23:53:57Z |
CONTRIBUTOR
| null |
- [X] Please accept this PR which closes #15714
- [X] Tests added — `test_mode_single`
- [X] Passes ``git diff upstream/master | flake8 --diff`` (however: it complains about some non-changed rows in hashtable_func_helper.pxi.in)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15744/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15744/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15744.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15744",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15744.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15744"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15745
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15745/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15745/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15745/events
|
https://github.com/pandas-dev/pandas/issues/15745
| 215,481,804 |
MDU6SXNzdWUyMTU0ODE4MDQ=
| 15,745 |
CLN: define .mode in terms of value_counts
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
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"
}
| 6 | 2017-03-20T16:42:47Z | 2021-05-08T01:31:16Z | null |
CONTRIBUTOR
| null |
we have quite a lot of code to support .mode (internally we use pretty much the same algos as ``.value_counts()``)
but unless I am not understanding isn't.
``x.mode() == x.value_counts(sort=True).index[0]`` ?
if ties, then return a slice of the result
e.g.
```
In [17]: Series([1, 1, 1, 2, 2, 2, 3]).value_counts()
Out[17]:
2 3
1 3
3 1
dtype: int64
In [18]: Series([1, 1, 1, 2, 2, 2, 3]).mode()
Out[18]:
0 1
1 2
dtype: int64
```
cc @TomAugspurger
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15745/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15745/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15746
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15746/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15746/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15746/events
|
https://github.com/pandas-dev/pandas/issues/15746
| 215,494,307 |
MDU6SXNzdWUyMTU0OTQzMDc=
| 15,746 |
CLN: make _Indexer.obj a weak ref
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
}
| 9 | 2017-03-20T17:22:09Z | 2017-10-27T20:33:42Z | 2017-10-27T20:33:42Z |
CONTRIBUTOR
| null |
This will allow pandas objects to be collected on the first generation of the gc rather than wait for it to break cycles. Practically I am not sure this will have much of a user change.
https://github.com/dask/distributed/issues/956#issuecomment-287783490
The idea is to change this code [here](https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexing.py#L93)
from
```
class _NDFrameIndexer(object):
_valid_types = None
_exception = KeyError
axis = None
def __init__(self, obj, name):
self.obj = obj
self.ndim = obj.ndim
self.name = name
```
to
```
class _NDFrameIndexer(object):
_valid_types = None
_exception = KeyError
axis = None
def __init__(self, obj, name):
self.obj = weakref.ref(obj)
self.ndim = obj.ndim
self.name = name
```
and corresponding ``self.obj`` to ``self.obj()``
it 'works' in that gc collection happens immedately upon object deletion (IOW ``del df``). but a few fails on caching / chaining. In particular tests like: https://github.com/pandas-dev/pandas/blob/master/pandas/tests/indexing/test_chaining_and_caching.py#L31 I think were relying upon the reference NOT being collected (so that they can check it).
So this would require some internal reworking to remove / fix this. I suspect we will still achieve the same user effects (meaning of detection of chaining etc).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15746/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15746/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15747
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15747/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15747/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15747/events
|
https://github.com/pandas-dev/pandas/issues/15747
| 215,512,897 |
MDU6SXNzdWUyMTU1MTI4OTc=
| 15,747 |
Proposal to change behaviour with .loc and missing keys
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"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": "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": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
}
| 31 | 2017-03-20T18:25:07Z | 2020-05-12T16:39:37Z | 2017-10-03T10:55:51Z |
MEMBER
| null |
```python
In [2]: pd.Series([1, 2, 3]).loc[[2,3]]
Out[2]:
2 3.0
3 NaN
dtype: float64
In [3]: pd.Series([1, 2, 3]).loc[[3]]
[...]
KeyError: 'None of [[3]] are in the [index]'
```
#### Problem description
Although coherent (except for some unfortunate side-effects - some of them below) with the [docs](http://pandas.pydata.org/pandas-docs/stable/indexing.html#selection-by-label) where they say "At least 1 of the labels for which you ask, must be in the index or a ``KeyError`` will be raised!", the current behavior is - I claim - a terrible choice for both developers and users.
There are (at least) three ways to behave with missing labels:
1. you raise an error if requested at least one missing label
2. you raise an error if requested _only_ missing labels
2a ... while if at least one label is present, missing labels become ``NaN`` __(current)__
2b. ... while if at least one label is present, missing labels are silently dropped
3. you never raise an error for missing labels
3a ... and they become ``NaN``
3b. ... and they are silently dropped
#### For developers
Options 1. and 3. are both much easier to implement, because in both cases you can reduce the question "am I going to get an error?" in smaller pieces - e.g. when indexing a ``MultiIndex``, you will get an error if you get an error on any of its levels. Option 2. is instead more complicated (and computationally expensive), because you need to first aggregate in some way across levels/axes, and only then can you decide whether to raise an error or not. Several incoherences came out as a consequence of this choice, some of them still unsolved, such as #15452, [this](https://github.com/pandas-dev/pandas/pull/15615#issuecomment-287826997), the fact that ``pd.Series(range(2)).loc[[]]`` does not raise, and the fact that ``pd.DataFrame.ix[[missing_label]]`` doesn't either.
#### Other consequences of 2.
Additionally, it was decided that the behavior with missing labels would be to introduce ``NaN``s (rather than to drop them), and I think this was also not a good choice (and indeed partial indexing ``MultiIndex``es does not behave this way - it couldn't). I think it is also undocumented.
And finally, since the above wouldn't always tell you what to do when there are missing labels in a ``MultiIndex``, it was decided that ``.loc`` would rather behave as ``.reindex`` when there are missing _and incomplete_ labels, which is totally unexpected and, I think, undocumented.
Notice that these further issues (and more in general, the question "what to do when some labels are missing and you are not raising an error") would partially still hold with 3, but could be dealt with, I think, more elegantly.
#### For users
I think the current behavior is annoying to users not just because of those "__Other consequences__", but also because it is more complicated to describe in terms of set operation on labels/indices. For instance, with options 1. and 3.
``pd.concat([chunk.loc[something] for chunk in chunks])``
and
``pd.concat(chunks).loc[something]``
both return the same result (or raise). Instead with 2. it actually depends on how missing labels are distributed across chunks.
#### (Why this?)
It is worth understanding why 2. was picked in the first place, and I think the answer is "to be coherent with intervals". But I think it's not worth the damage - after all, an iterable and an interval are different objects. And moreover, introducing ``NaN``s for missing labels is anyway incoherent with intervals.
#### Backward incompatibility
Option 1. is, I think, the best, because it is also coherent with numpy's behavior with out-of-bounds indices (e.g. ``np.array([[1,2], [3,4]])[0,[1,3]]`` raises an ``IndexError``).
But while clearly both 1. and 3. could break some existing code, 3. would be better from this point of view, in the sense that it would break only code _assuming_ that an error is raised. Although one might even claim that 1., by breaking code which looks for missing labels, can help discover bugs in user code (not a great argument, I know).
So overall I am not sure about what we should pick between 1. and 3. But I really think we should leave 2., and that the later it is done, the worse. @jreback , @jorisvandenbossche if you want to tell me your thoughts about this, I can elaborate on what we could do with the "__Other consequences__" in the desired option.
Then if you approve the change, I'm willing to help in implementing 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/15747/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15747/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15748
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15748/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15748/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15748/events
|
https://github.com/pandas-dev/pandas/pull/15748
| 215,513,402 |
MDExOlB1bGxSZXF1ZXN0MTExNjE5ODcz
| 15,748 |
MAINT: Remove Long and WidePanel
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 6 | 2017-03-20T18:26:53Z | 2017-03-21T00:39:17Z | 2017-03-20T19:47:49Z |
MEMBER
| null |
Deprecated since 0.17.0.
xref #10892
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15748/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15748/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15748.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15748",
"merged_at": "2017-03-20T19:47:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15748.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15748"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15749
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15749/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15749/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15749/events
|
https://github.com/pandas-dev/pandas/pull/15749
| 215,522,969 |
MDExOlB1bGxSZXF1ZXN0MTExNjI2OTI4
| 15,749 |
DOC: Patch new flake8 command grep
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-20T19:01:50Z | 2017-03-21T00:39:14Z | 2017-03-20T19:39:25Z |
MEMBER
| null |
The grep was initially matching to "pandas," which is incorrect because that was also matching files containing "pandas" in the name but that were not in the main `pandas` directory (e.g. performance test code). This change enforces that we match to any Python files in the main `pandas` directory.
Also picked up compatibility issue with OSX, in which the `-r` flag does not exist. However, `xargs` terminates if the argument list is empty, which was the whole point of passing in `-r` in the first place.
Follow-up to #15712
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15749/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15749/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15749.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15749",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15749.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15749"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15750
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15750/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15750/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15750/events
|
https://github.com/pandas-dev/pandas/issues/15750
| 215,529,844 |
MDU6SXNzdWUyMTU1Mjk4NDQ=
| 15,750 |
API: Series.values with tz-aware should return object array of Timestamps
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
closed
| false | null |
[] |
{
"closed_at": 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"
}
| 7 | 2017-03-20T19:28:20Z | 2019-01-05T14:51:12Z | 2019-01-05T14:51:12Z |
CONTRIBUTOR
| null |
xref #14052
discussed at bit in the original PR: https://github.com/pandas-dev/pandas/pull/10477
I think was a mistake to return a ``datetime64[ns]`` in UTC for a tz-aware Series. we should
simply return an object array of ``Timestamps``, as it round-trips correctly. IOW, you don't lose the timezones.
```
tz-naive
In [9]: Series(pd.date_range('20130101',periods=3)).values
Out[9]:
array(['2013-01-01T00:00:00.000000000', '2013-01-02T00:00:00.000000000',
'2013-01-03T00:00:00.000000000'], dtype='datetime64[ns]')
tz-aware - currently
In [10]: Series(pd.date_range('20130101',periods=3, tz='US/Eastern')).values
Out[10]:
array(['2013-01-01T05:00:00.000000000', '2013-01-02T05:00:00.000000000',
'2013-01-03T05:00:00.000000000'], dtype='datetime64[ns]')
```
what we should do
```
In [15]: np.array(Series(pd.date_range('20130101',periods=3, tz='US/Eastern')).tolist())
Out[15]:
array([Timestamp('2013-01-01 00:00:00-0500', tz='US/Eastern'),
Timestamp('2013-01-02 00:00:00-0500', tz='US/Eastern'),
Timestamp('2013-01-03 00:00:00-0500', tz='US/Eastern')], dtype=object)
```
round trips are plainly wrong (current)
```
In [5]: arr = Series(pd.date_range('20130101',periods=3, tz='US/Eastern'))
In [6]: Series(arr.values)
Out[6]:
0 2013-01-01 05:00:00
1 2013-01-02 05:00:00
2 2013-01-03 05:00:00
dtype: datetime64[ns]
```
round-trips are preserved (proposed)
```
In [3]: arr = np.array(Series(pd.date_range('20130101',periods=3, tz='US/Eastern')).tolist())
In [4]: Series(arr)
Out[4]:
0 2013-01-01 00:00:00-05:00
1 2013-01-02 00:00:00-05:00
2 2013-01-03 00:00:00-05:00
dtype: datetime64[ns, US/Eastern]
```
I don't think there is any way to transition to this and we simply have to change 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/15750/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15750/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15751
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15751/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15751/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15751/events
|
https://github.com/pandas-dev/pandas/issues/15751
| 215,579,353 |
MDU6SXNzdWUyMTU1NzkzNTM=
| 15,751 |
PERF: BoolHashTable
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1924092?v=4",
"events_url": "https://api.github.com/users/chris-b1/events{/privacy}",
"followers_url": "https://api.github.com/users/chris-b1/followers",
"following_url": "https://api.github.com/users/chris-b1/following{/other_user}",
"gists_url": "https://api.github.com/users/chris-b1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chris-b1",
"id": 1924092,
"login": "chris-b1",
"node_id": "MDQ6VXNlcjE5MjQwOTI=",
"organizations_url": "https://api.github.com/users/chris-b1/orgs",
"received_events_url": "https://api.github.com/users/chris-b1/received_events",
"repos_url": "https://api.github.com/users/chris-b1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chris-b1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chris-b1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chris-b1"
}
|
[
{
"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": "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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
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"
}
| 1 | 2017-03-20T22:52:19Z | 2021-05-08T01:31:34Z | null |
CONTRIBUTOR
| null |
xref https://github.com/pandas-dev/pandas/pull/15738#issuecomment-287843016
Currently bool data is passed to the generic python object hashtable for the following methods, making them all very slow.
- [ ] `value_counts`
- [ ] `rank`
- [ ] `unique`
Linked PR casts to int for `factorize`, `duplicated`, `drop_duplicates`
We could skip the hashing altogether and take advantage of the fixed set of values, e.g. below is a fastpath for unique.
```python
%%cython
from numpy cimport uint8_t
cimport cython
import numpy as np
@cython.boundscheck(False)
@cython.wraparound(False)
def unique(uint8_t[:] data):
cdef:
bint seen_true = False
bint seen_false = False
Py_ssize_t i, N = len(data)
uint8_t val
with nogil:
for i in range(N):
val = data[i]
if val == 0:
seen_false = True
elif val == 1:
seen_true = True
if seen_true and seen_false:
break
if seen_true and seen_false:
return np.array([True, False])
elif seen_true:
return np.array([True])
elif seen_false:
return np.array([False])
else:
return np.array([], dtype=bool)
In [35]: bools = np.array([False, True] * 100000)
In [36]: %timeit pd.unique(bools.view('uint8')).astype(bool)
1000 loops, best of 3: 1.74 ms per loop
In [37]: %timeit unique(bools.view('uint8'))
100000 loops, best of 3: 3.47 µs per loop
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15751/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15751/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15752
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15752/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15752/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15752/events
|
https://github.com/pandas-dev/pandas/issues/15752
| 215,582,303 |
MDU6SXNzdWUyMTU1ODIzMDM=
| 15,752 |
TST: full dtype tests for .drop_duplicates and .duplicated
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
},
{
"color": "fc6feb",
"default": false,
"description": "duplicated, drop_duplicates",
"id": 1633019538,
"name": "duplicated",
"node_id": "MDU6TGFiZWwxNjMzMDE5NTM4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/duplicated"
}
] |
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"
}
| 1 | 2017-03-20T23:08:42Z | 2021-05-08T01:31:58Z | null |
CONTRIBUTOR
| null |
https://github.com/pandas-dev/pandas/pull/15738#issuecomment-287925070
xref #15738
we exercise tests for ``.drop_duplicates`` & ``.duplicated`` in various places
- for series -> ``pandas/tests/series/test_analytics.py``
- for dataframe -> ``pandas/test/frame/test_analytics.py``
- for index -> ``pandas/tests/test_base.py``
- ``datetimes`` -> ``pandas/tests//indexes/datetimes/test_ops.py``
- ``period`` -> ``pandas/tests//indexes/period/test_ops.py``
- ``categorical`` -> ``pandas/tests//test_categorical.py``
- ``timedelta`` -> ``pandas/tests//indexes/timedeltas/test_ops.py``
I think we are a little light on the ``categorical`` ones (esp need to exercise with categories of int, datetime, timedelta, bool)
``bool`` and a battery that covers all ``int`` & ``uint`` & ``float`` would be nice as well.
could certainly take multiple PR's to close this issue (if multiple people want to do 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/15752/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15752/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15753
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15753/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15753/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15753/events
|
https://github.com/pandas-dev/pandas/issues/15753
| 215,589,735 |
MDU6SXNzdWUyMTU1ODk3MzU=
| 15,753 |
BUG: PandasAutoDateLocator num_days calculation is wrong
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/507004?v=4",
"events_url": "https://api.github.com/users/dadkins/events{/privacy}",
"followers_url": "https://api.github.com/users/dadkins/followers",
"following_url": "https://api.github.com/users/dadkins/following{/other_user}",
"gists_url": "https://api.github.com/users/dadkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dadkins",
"id": 507004,
"login": "dadkins",
"node_id": "MDQ6VXNlcjUwNzAwNA==",
"organizations_url": "https://api.github.com/users/dadkins/orgs",
"received_events_url": "https://api.github.com/users/dadkins/received_events",
"repos_url": "https://api.github.com/users/dadkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dadkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dadkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dadkins"
}
|
[
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 7 | 2017-03-20T23:51:57Z | 2017-03-21T15:49:03Z | 2017-03-21T08:53:20Z |
NONE
| null |
This line in PandasAutoDateLocator looks like it's missing some parentheses.
https://github.com/pandas-dev/pandas/blob/master/pandas/tseries/converter.py#L264
num_days = ((delta.years * 12.0) + delta.months * 31.0) + delta.days
I stepped through here and with a delta of 5 years, num_days was 60! It's easy enough to fix:
num_days = (((delta.years * 12.0) + delta.months) * 31.0) + delta.days
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15753/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15753/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15754
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15754/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15754/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15754/events
|
https://github.com/pandas-dev/pandas/issues/15754
| 215,593,012 |
MDU6SXNzdWUyMTU1OTMwMTI=
| 15,754 |
BUG: Series.plot x-axis labels are off by one year when a timezone is involved
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/507004?v=4",
"events_url": "https://api.github.com/users/dadkins/events{/privacy}",
"followers_url": "https://api.github.com/users/dadkins/followers",
"following_url": "https://api.github.com/users/dadkins/following{/other_user}",
"gists_url": "https://api.github.com/users/dadkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dadkins",
"id": 507004,
"login": "dadkins",
"node_id": "MDQ6VXNlcjUwNzAwNA==",
"organizations_url": "https://api.github.com/users/dadkins/orgs",
"received_events_url": "https://api.github.com/users/dadkins/received_events",
"repos_url": "https://api.github.com/users/dadkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dadkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dadkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dadkins"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
open
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 2 | 2017-03-21T00:13:25Z | 2017-03-21T16:50:08Z | null |
NONE
| null |
```python
%matplotlib inline
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
pd.show_versions()
index = np.array([
'2011-10-01 09:00',
'2016-10-01 09:00',
], dtype='datetime64[ns]')
values = np.array([
-0.26,
-0.01,
])
data_utc = pd.Series(values, index)
data_utc.index = data_utc.index.tz_localize('UTC')
data_eastern = pd.Series(values, index)
data_eastern.index = data_eastern.index.tz_localize('UTC').tz_convert('US/Eastern')
data_utc.plot(title='UTC')
plt.figure()
data_eastern.plot(title='US/Eastern')
plt.figure()
```
With the Eastern time zone, the x-axis labels are off by a year.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.13.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.0-229.4.2.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: C
LOCALE: None.None
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 27.2.0
Cython: None
numpy: 1.12.0
scipy: None
statsmodels: None
xarray: None
IPython: 5.3.0
sphinx: None
patsy: None
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 2.0.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.9.5
boto: None
pandas_datareader: 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/15754/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15754/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15755
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15755/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15755/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15755/events
|
https://github.com/pandas-dev/pandas/issues/15755
| 215,594,653 |
MDU6SXNzdWUyMTU1OTQ2NTM=
| 15,755 |
nrows incompatible with chunksize in read_csv
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-03-21T00:25:11Z | 2017-03-21T18:06:01Z | 2017-03-21T18:06:01Z |
MEMBER
| null |
#### Code Sample, a copy-pastable example if possible
```python
In [2]: pd.read_csv('/tmp/boh.csv', nrows=10, chunksize=2)
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
<ipython-input-2-c652c48282ad> in <module>()
----> 1 pd.read_csv('/tmp/boh.csv', nrows=10, chunksize=2)
/home/nobackup/repo/pandas/pandas/io/parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, escapechar, comment, encoding, dialect, tupleize_cols, error_bad_lines, warn_bad_lines, skipfooter, skip_footer, doublequote, delim_whitespace, as_recarray, compact_ints, use_unsigned, low_memory, buffer_lines, memory_map, float_precision)
651 skip_blank_lines=skip_blank_lines)
652
--> 653 return _read(filepath_or_buffer, kwds)
654
655 parser_f.__name__ = name
/home/nobackup/repo/pandas/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
391
392 if (nrows is not None) and (chunksize is not None):
--> 393 raise NotImplementedError("'nrows' and 'chunksize' cannot be used"
394 " together yet.")
395 elif nrows is not None:
NotImplementedError: 'nrows' and 'chunksize' cannot be used together yet.
```
(as introduced by #6774 )
#### Problem description
Supporting them together is not complicated - PR on its way.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15755/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15755/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15756
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15756/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15756/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15756/events
|
https://github.com/pandas-dev/pandas/pull/15756
| 215,596,826 |
MDExOlB1bGxSZXF1ZXN0MTExNjgwODkx
| 15,756 |
ENH: support "nrows" and "chunksize" together
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 12 | 2017-03-21T00:41:13Z | 2017-03-21T18:54:48Z | 2017-03-21T18:06:01Z |
MEMBER
| null |
- [x] closes #15755
- [x] tests added / passed
- [x] passes ``git diff master | flake8 --diff`` (except for ``whatsnew/v0.20.0.txt``, I don't know why)
- [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/15756/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15756/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15756.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15756",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15756.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15756"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15757
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15757/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15757/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15757/events
|
https://github.com/pandas-dev/pandas/pull/15757
| 215,605,372 |
MDExOlB1bGxSZXF1ZXN0MTExNjg2ODgz
| 15,757 |
MAINT: Drop convert_objects from NDFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] | null | 27 | 2017-03-21T01:46:21Z | 2017-07-13T14:49:37Z | 2017-07-13T14:34:28Z |
MEMBER
| null |
Deprecated since 0.17.0
xref #11173
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15757/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15757/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15757.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15757",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15757.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15757"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15758
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15758/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15758/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15758/events
|
https://github.com/pandas-dev/pandas/pull/15758
| 215,616,065 |
MDExOlB1bGxSZXF1ZXN0MTExNjk0MjM2
| 15,758 |
BUG: Series.asof fails for all NaN Series (GH15713)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19690196?v=4",
"events_url": "https://api.github.com/users/ucals/events{/privacy}",
"followers_url": "https://api.github.com/users/ucals/followers",
"following_url": "https://api.github.com/users/ucals/following{/other_user}",
"gists_url": "https://api.github.com/users/ucals/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ucals",
"id": 19690196,
"login": "ucals",
"node_id": "MDQ6VXNlcjE5NjkwMTk2",
"organizations_url": "https://api.github.com/users/ucals/orgs",
"received_events_url": "https://api.github.com/users/ucals/received_events",
"repos_url": "https://api.github.com/users/ucals/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ucals/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ucals/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ucals"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 6 | 2017-03-21T03:05:24Z | 2017-03-26T04:01:09Z | 2017-03-26T02:31:15Z |
CONTRIBUTOR
| null |
- [x] closes bug #15713
- [x] 1 tests added / passed
- [x] passes ``git diff upstream/master | flake8 --diff``
- [x] whatsnew entry
Added the test if the series is all nans
Added the code that check if that's the case: if yes, return the expected output
As this is my first contribution, please comment if I did it right :)
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/15758/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15758/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15758.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15758",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15758.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15758"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15759
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15759/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15759/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15759/events
|
https://github.com/pandas-dev/pandas/issues/15759
| 215,634,781 |
MDU6SXNzdWUyMTU2MzQ3ODE=
| 15,759 |
Pandas ticker to ohlc
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8144089?v=4",
"events_url": "https://api.github.com/users/631068264/events{/privacy}",
"followers_url": "https://api.github.com/users/631068264/followers",
"following_url": "https://api.github.com/users/631068264/following{/other_user}",
"gists_url": "https://api.github.com/users/631068264/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/631068264",
"id": 8144089,
"login": "631068264",
"node_id": "MDQ6VXNlcjgxNDQwODk=",
"organizations_url": "https://api.github.com/users/631068264/orgs",
"received_events_url": "https://api.github.com/users/631068264/received_events",
"repos_url": "https://api.github.com/users/631068264/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/631068264/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/631068264/subscriptions",
"type": "User",
"url": "https://api.github.com/users/631068264"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-03-21T05:41:06Z | 2017-03-21T10:19:05Z | 2017-03-21T10:19:05Z |
NONE
| null |
pandas (0.19.2)
rows is a list of dict from mysql.
rows example
[{'date': datetime.datetime(2017, 3, 21, 13, 27, 20), 'tid': 648605515L, 'price': Decimal('1080.04000000'), 'type': 1, 'amount': Decimal('10.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 20), 'tid': 648605549L, 'price': Decimal('1081.55000000'), 'type': 1, 'amount': Decimal('16.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 20), 'tid': 648605547L, 'price': Decimal('1081.33000000'), 'type': 1, 'amount': Decimal('20.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 20), 'tid': 648605545L, 'price': Decimal('1081.30000000'), 'type': 1, 'amount': Decimal('16.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 20), 'tid': 648605543L, 'price': Decimal('1081.29000000'), 'type': 1, 'amount': Decimal('20.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 20), 'tid': 648605541L, 'price': Decimal('1080.46000000'), 'type': 1, 'amount': Decimal('26.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 20), 'tid': 648605517L, 'price': Decimal('1080.04000000'), 'type': 1, 'amount': Decimal('8.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 22), 'tid': 648605601L, 'price': Decimal('1079.69000000'), 'type': -1, 'amount': Decimal('70.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 25), 'tid': 648605686L, 'price': Decimal('1079.72000000'), 'type': -1, 'amount': Decimal('4.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 26), 'tid': 648605765L, 'price': Decimal('1079.45000000'), 'type': 1, 'amount': Decimal('6.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 26), 'tid': 648605753L, 'price': Decimal('1079.60000000'), 'type': -1, 'amount': Decimal('106.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 26), 'tid': 648605751L, 'price': Decimal('1079.60000000'), 'type': -1, 'amount': Decimal('80.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 26), 'tid': 648605749L, 'price': Decimal('1079.67000000'), 'type': -1, 'amount': Decimal('430.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 26), 'tid': 648605747L, 'price': Decimal('1079.70000000'), 'type': -1, 'amount': Decimal('66.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 26), 'tid': 648605745L, 'price': Decimal('1079.74000000'), 'type': -1, 'amount': Decimal('12.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 27), 'tid': 648605785L, 'price': Decimal('1079.45000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 27), 'tid': 648605774L, 'price': Decimal('1079.45000000'), 'type': 1, 'amount': Decimal('6.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 27), 'tid': 648605771L, 'price': Decimal('1079.45000000'), 'type': 1, 'amount': Decimal('14.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 28), 'tid': 648605827L, 'price': Decimal('1079.45000000'), 'type': 1, 'amount': Decimal('42.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 28), 'tid': 648605842L, 'price': Decimal('1079.45000000'), 'type': 1, 'amount': Decimal('10.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 32), 'tid': 648605973L, 'price': Decimal('1079.45000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 37), 'tid': 648606114L, 'price': Decimal('1079.44000000'), 'type': 1, 'amount': Decimal('24.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 37), 'tid': 648606116L, 'price': Decimal('1079.45000000'), 'type': 1, 'amount': Decimal('40.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 42), 'tid': 648606258L, 'price': Decimal('1079.45000000'), 'type': 1, 'amount': Decimal('56.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 45), 'tid': 648606345L, 'price': Decimal('1079.46000000'), 'type': -1, 'amount': Decimal('10.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 46), 'tid': 648606392L, 'price': Decimal('1079.69000000'), 'type': 1, 'amount': Decimal('44.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 48), 'tid': 648606418L, 'price': Decimal('1079.60000000'), 'type': -1, 'amount': Decimal('40.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 48), 'tid': 648606420L, 'price': Decimal('1079.46000000'), 'type': -1, 'amount': Decimal('36.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 48), 'tid': 648606422L, 'price': Decimal('1079.46000000'), 'type': -1, 'amount': Decimal('94.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 50), 'tid': 648606499L, 'price': Decimal('1079.31000000'), 'type': 1, 'amount': Decimal('80.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 50), 'tid': 648606478L, 'price': Decimal('1079.31000000'), 'type': -1, 'amount': Decimal('6.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 50), 'tid': 648606476L, 'price': Decimal('1079.31000000'), 'type': -1, 'amount': Decimal('34.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 50), 'tid': 648606474L, 'price': Decimal('1079.55000000'), 'type': -1, 'amount': Decimal('8.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 55), 'tid': 648606666L, 'price': Decimal('1079.31000000'), 'type': 1, 'amount': Decimal('44.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 55), 'tid': 648606650L, 'price': Decimal('1079.17000000'), 'type': 1, 'amount': Decimal('8.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 27, 55), 'tid': 648606648L, 'price': Decimal('1079.17000000'), 'type': 1, 'amount': Decimal('8.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 1), 'tid': 648606820L, 'price': Decimal('1079.03000000'), 'type': -1, 'amount': Decimal('28.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 2), 'tid': 648606825L, 'price': Decimal('1079.03000000'), 'type': 1, 'amount': Decimal('30.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 2), 'tid': 648606836L, 'price': Decimal('1079.02000000'), 'type': -1, 'amount': Decimal('22.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 5), 'tid': 648606945L, 'price': Decimal('1078.58000000'), 'type': -1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 5), 'tid': 648606943L, 'price': Decimal('1078.61000000'), 'type': -1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 5), 'tid': 648606941L, 'price': Decimal('1078.63000000'), 'type': -1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 5), 'tid': 648606939L, 'price': Decimal('1078.88000000'), 'type': -1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 5), 'tid': 648606926L, 'price': Decimal('1078.88000000'), 'type': -1, 'amount': Decimal('428.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 6), 'tid': 648606984L, 'price': Decimal('1078.58000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 6), 'tid': 648606982L, 'price': Decimal('1078.05000000'), 'type': -1, 'amount': Decimal('10.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 6), 'tid': 648606971L, 'price': Decimal('1078.58000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 6), 'tid': 648606957L, 'price': Decimal('1078.05000000'), 'type': -1, 'amount': Decimal('74.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 6), 'tid': 648606955L, 'price': Decimal('1078.15000000'), 'type': -1, 'amount': Decimal('6.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 6), 'tid': 648606953L, 'price': Decimal('1078.15000000'), 'type': -1, 'amount': Decimal('14.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 6), 'tid': 648606951L, 'price': Decimal('1078.42000000'), 'type': -1, 'amount': Decimal('16.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 7), 'tid': 648606992L, 'price': Decimal('1078.05000000'), 'type': -1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 7), 'tid': 648606995L, 'price': Decimal('1078.58000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 7), 'tid': 648607023L, 'price': Decimal('1078.06000000'), 'type': -1, 'amount': Decimal('4.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 8), 'tid': 648607047L, 'price': Decimal('1078.86000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 10), 'tid': 648607113L, 'price': Decimal('1078.06000000'), 'type': -1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 10), 'tid': 648607115L, 'price': Decimal('1078.03000000'), 'type': -1, 'amount': Decimal('148.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 12), 'tid': 648607192L, 'price': Decimal('1079.00000000'), 'type': -1, 'amount': Decimal('10.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 13), 'tid': 648607218L, 'price': Decimal('1078.99000000'), 'type': 1, 'amount': Decimal('98.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 13), 'tid': 648607220L, 'price': Decimal('1079.00000000'), 'type': 1, 'amount': Decimal('42.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 13), 'tid': 648607222L, 'price': Decimal('1079.03000000'), 'type': 1, 'amount': Decimal('342.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 13), 'tid': 648607224L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('512.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 14), 'tid': 648607250L, 'price': Decimal('1078.98000000'), 'type': 1, 'amount': Decimal('44.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 14), 'tid': 648607252L, 'price': Decimal('1078.98000000'), 'type': 1, 'amount': Decimal('12.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 14), 'tid': 648607254L, 'price': Decimal('1079.00000000'), 'type': 1, 'amount': Decimal('106.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 14), 'tid': 648607256L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('40.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 20), 'tid': 648607431L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('28.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 20), 'tid': 648607429L, 'price': Decimal('1079.01000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 20), 'tid': 648607427L, 'price': Decimal('1079.01000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 23), 'tid': 648607518L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('8.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 24), 'tid': 648607544L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('344.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 25), 'tid': 648607593L, 'price': Decimal('1078.79000000'), 'type': -1, 'amount': Decimal('6.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 26), 'tid': 648607631L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('430.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 26), 'tid': 648607623L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('18.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 26), 'tid': 648607621L, 'price': Decimal('1078.79000000'), 'type': 1, 'amount': Decimal('14.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 29), 'tid': 648607695L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('776.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 32), 'tid': 648607803L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 32), 'tid': 648607805L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('10.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 36), 'tid': 648607905L, 'price': Decimal('1079.16000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 37), 'tid': 648607940L, 'price': Decimal('1079.31000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 42), 'tid': 648608110L, 'price': Decimal('1079.46000000'), 'type': -1, 'amount': Decimal('12.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 46), 'tid': 648608211L, 'price': Decimal('1079.88000000'), 'type': -1, 'amount': Decimal('12.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 46), 'tid': 648608213L, 'price': Decimal('1079.88000000'), 'type': -1, 'amount': Decimal('6.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 57), 'tid': 648608534L, 'price': Decimal('1080.29000000'), 'type': 1, 'amount': Decimal('14.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 28, 57), 'tid': 648608536L, 'price': Decimal('1080.30000000'), 'type': 1, 'amount': Decimal('2.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 29, 2), 'tid': 648608683L, 'price': Decimal('1080.59000000'), 'type': 1, 'amount': Decimal('40.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 29, 3), 'tid': 648608733L, 'price': Decimal('1080.59000000'), 'type': 1, 'amount': Decimal('360.00000000')}, {'date': datetime.datetime(2017, 3, 21, 13, 29, 7), 'tid': 648608838L, 'price': Decimal('1080.90000000'), 'type': 1, 'amount': Decimal('82.00000000')}]
if I didn't use set_index ,it will have an `TypeError: Only valid with DatetimeIndex, TimedeltaIndex or PeriodIndex, but got an instance of 'RangeIndex'`
if rows:
df = pd.DataFrame(rows)
print df.head()
# TypeError: Only valid with DatetimeIndex, TimedeltaIndex or PeriodIndex, but got an instance of 'RangeIndex'
df = df.set_index("date")
print df.head()
resample_data = df.resample("1min", how={"price": "ohlc", "amount": "sum"})
print resample_data
Result :
Connected to pydev debugger (build 162.1967.10)
amount date price tid type
0 2.00000000 2017-03-21 11:15:12 1075.83000000 648370156 -1
1 10.00000000 2017-03-21 11:15:15 1076.00000000 648370241 -1
2 10.00000000 2017-03-21 11:15:17 1075.83000000 648370297 -1
3 10.00000000 2017-03-21 11:15:17 1075.83000000 648370311 1
4 8.00000000 2017-03-21 11:15:19 1076.13000000 648370370 1
amount price tid type
date
2017-03-21 11:15:12 2.00000000 1075.83000000 648370156 -1
2017-03-21 11:15:15 10.00000000 1076.00000000 648370241 -1
2017-03-21 11:15:17 10.00000000 1075.83000000 648370297 -1
2017-03-21 11:15:17 10.00000000 1075.83000000 648370311 1
2017-03-21 11:15:19 8.00000000 1076.13000000 648370370 1
/Users/wyx/bitcoin_workspace/fibo-strategy/ticker.py:45: FutureWarning: how in .resample() is deprecated
the new syntax is .resample(...)..apply(<func>)
resample_data = df.resample("1min", how={"price": "ohlc", "amount": "sum"})
Traceback (most recent call last):
File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1580, in <module>
globals = debugger.run(setup['file'], None, None, is_module)
File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 964, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/Users/wyx/bitcoin_workspace/fibo-strategy/ticker.py", line 45, in <module>
resample_data = df.resample("1min", how={"price": "ohlc", "amount": "sum"})
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/core/generic.py", line 4216, in resample
limit=limit)
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/tseries/resample.py", line 582, in _maybe_process_deprecations
r = r.aggregate(how)
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/tseries/resample.py", line 320, in aggregate
result, how = self._aggregate(arg, *args, **kwargs)
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/core/base.py", line 549, in _aggregate
result = _agg(arg, _agg_1dim)
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/core/base.py", line 500, in _agg
result[fname] = func(fname, agg_how)
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/core/base.py", line 483, in _agg_1dim
return colg.aggregate(how, _level=(_level or 0) + 1)
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/core/groupby.py", line 2652, in aggregate
return getattr(self, func_or_funcs)(*args, **kwargs)
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/core/groupby.py", line 1128, in ohlc
lambda x: x._cython_agg_general('ohlc'))
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/core/groupby.py", line 3103, in _apply_to_column_groupbys
return func(self)
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/core/groupby.py", line 1128, in <lambda>
lambda x: x._cython_agg_general('ohlc'))
File "/Users/wyx/bitcoin_workspace/fibo-strategy/.env/lib/python2.7/site-packages/pandas/core/groupby.py", line 808, in _cython_agg_general
raise DataError('No numeric types to aggregate')
pandas.core.base.DataError: No numeric types to aggregate
Process finished with exit code 1
I am a rookie for pandas.
1. How solve the error?
2. And if I want to use the last close price to fill the NaN of next
min ohlc. How to do that?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15759/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15759/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15760
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15760/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15760/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15760/events
|
https://github.com/pandas-dev/pandas/issues/15760
| 215,639,085 |
MDU6SXNzdWUyMTU2MzkwODU=
| 15,760 |
BUG: to_datetime with utc=True for Series
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",
"gists_url": "https://api.github.com/users/albertvillanova/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/albertvillanova",
"id": 8515462,
"login": "albertvillanova",
"node_id": "MDQ6VXNlcjg1MTU0NjI=",
"organizations_url": "https://api.github.com/users/albertvillanova/orgs",
"received_events_url": "https://api.github.com/users/albertvillanova/received_events",
"repos_url": "https://api.github.com/users/albertvillanova/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/albertvillanova/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/albertvillanova/subscriptions",
"type": "User",
"url": "https://api.github.com/users/albertvillanova"
}
|
[
{
"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": "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"
}
| 1 | 2017-03-21T06:15:42Z | 2017-03-21T21:28:05Z | 2017-03-21T08:49:03Z |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```javascript
In [2]: ts = 1.4884427244831782e+18
In [3]: pd.to_datetime(ts, utc=True)
Out[3]: Timestamp('2017-03-02 08:18:44.483178240+0000', tz='UTC')
In [4]: pd.to_datetime([ts], utc=True)
Out[4]: DatetimeIndex(['2017-03-02 08:18:44.483178240+00:00'], dtype='datetime64[ns, UTC]', freq=None)
In [5]: pd.to_datetime(pd.Series([ts]), utc=True)
Out[5]:
0 2017-03-02 08:18:44.483178240
dtype: datetime64[ns]
```
#### Problem description
The argument ``utc=True`` in function ``to_datetime`` is not working when passing a ``Series``, differently from other case, e.g. when passing a list or a scalar Unix timestamp.
#### Expected Output
The expected output is the same as the one given by
```javascript
In [6]: pd.to_datetime(pd.Series([ts])).dt.tz_localize('UTC')
Out[6]:
0 2017-03-02 08:18:44.483178240+00:00
dtype: datetime64[ns, UTC]
```
#### Another example: `tz_convert`
It is straightforward to convert to another time zone from a Unix timestamp or list:
```javascript
In [7]: pd.to_datetime(ts, utc=True).tz_convert('Europe/Paris')
Out[7]: Timestamp('2017-03-02 09:18:44.483178240+0100', tz='Europe/Paris')
In [8]: pd.to_datetime([ts], utc=True).tz_convert('Europe/Paris')
Out[8]: DatetimeIndex(['2017-03-02 09:18:44.483178240+01:00'], dtype='datetime64[ns, Europe/Paris]', freq=None)
```
whereas for a `Series`:
```javascript
In [9]: pd.to_datetime(pd.Series([ts])).dt.tz_localize('UTC').dt.tz_convert('Europe/Paris')
Out[9]:
0 2017-03-02 09:18:44.483178240+01:00
dtype: datetime64[ns, Europe/Paris]
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 3.13.0-113-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: ca_ES.UTF-8
LOCALE: ca_ES.UTF-8
pandas: 0.19.2
nose: 1.3.7
pip: 8.1.2
setuptools: 27.2.0.post20161106
Cython: 0.24.1
numpy: 1.11.1
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.4.6
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: 1.1.0
tables: 3.2.3.1
numexpr: 2.6.1
matplotlib: 1.5.3
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.3
lxml: 3.6.4
bs4: 4.5.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.42.0
pandas_datareader: 0.2.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15760/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15760/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15761
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15761/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15761/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15761/events
|
https://github.com/pandas-dev/pandas/issues/15761
| 215,641,423 |
MDU6SXNzdWUyMTU2NDE0MjM=
| 15,761 |
groupby aggregate function with a dictionary argument mishandles datetime64 columns with TZ info
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2011994?v=4",
"events_url": "https://api.github.com/users/viveshok/events{/privacy}",
"followers_url": "https://api.github.com/users/viveshok/followers",
"following_url": "https://api.github.com/users/viveshok/following{/other_user}",
"gists_url": "https://api.github.com/users/viveshok/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/viveshok",
"id": 2011994,
"login": "viveshok",
"node_id": "MDQ6VXNlcjIwMTE5OTQ=",
"organizations_url": "https://api.github.com/users/viveshok/orgs",
"received_events_url": "https://api.github.com/users/viveshok/received_events",
"repos_url": "https://api.github.com/users/viveshok/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/viveshok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/viveshok/subscriptions",
"type": "User",
"url": "https://api.github.com/users/viveshok"
}
|
[
{
"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": "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": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 3 | 2017-03-21T06:32:20Z | 2017-03-21T09:56:46Z | 2017-03-21T09:25:30Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
from datetime import datetime
import pandas as pd
import pytz
tz = pytz.timezone('Asia/Hong_Kong')
datetimes = [datetime(2017, 3, 21, 1, 0, 0, 0, tz), datetime(2017, 3, 21, 2, 0, 0, 0, tz),
datetime(2017, 3, 21, 3, 0, 0, 0, tz), datetime(2017, 3, 21, 4, 0, 0, 0, tz)]
df = pd.DataFrame.from_dict({'groups': ['a', 'a', 'b', 'b'], 'dt': datetimes})
print('Expected output:')
print(df.groupby('groups').aggregate('max'))
print('Observed output:')
print(df.groupby('groups').aggregate({'dt': 'max'}))
```
#### Problem description

#### Expected Output
`df.groupby('some_column').aggregate({'some_datetime64_column': 'some_aggregate_function'})` and `df.groupby('some_column').aggregate('some_aggregate_function')` should return the same result for `some_datetime64_column` of type `datetime64` with specified timezones
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.103
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.19.2
nose: 1.3.7
pip: 8.1.2
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.11.1
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.3.0
sphinx: 1.4.6
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: 1.1.0
tables: 3.2.3.1
numexpr: 2.6.1
matplotlib: 1.5.1
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.3
lxml: 3.6.4
bs4: 4.5.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: 0.7.9.None
psycopg2: 2.6.2 (dt dec pq3 ext lo64)
jinja2: 2.8
boto: 2.42.0
pandas_datareader: 0.2.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15761/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15761/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15762
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15762/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15762/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15762/events
|
https://github.com/pandas-dev/pandas/issues/15762
| 215,666,638 |
MDU6SXNzdWUyMTU2NjY2Mzg=
| 15,762 |
different view when index a panel with multiindex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26566847?v=4",
"events_url": "https://api.github.com/users/ianzhy/events{/privacy}",
"followers_url": "https://api.github.com/users/ianzhy/followers",
"following_url": "https://api.github.com/users/ianzhy/following{/other_user}",
"gists_url": "https://api.github.com/users/ianzhy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ianzhy",
"id": 26566847,
"login": "ianzhy",
"node_id": "MDQ6VXNlcjI2NTY2ODQ3",
"organizations_url": "https://api.github.com/users/ianzhy/orgs",
"received_events_url": "https://api.github.com/users/ianzhy/received_events",
"repos_url": "https://api.github.com/users/ianzhy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ianzhy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ianzhy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ianzhy"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "009800",
"default": false,
"description": "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": "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": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-03-21T08:51:41Z | 2018-07-06T20:21:16Z | 2017-03-21T12:58:37Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
#### Problem description
I find a bug when using panel.apply(), and with some digging, I find an interesting indexing problem caused by multiindex in Panel Object. It is demonstrated below:
```python
#
import pandas as pd
pn1 = pd.Panel(pd.np.random.random(size=(3,4,5)),items=['AAA','BBB','CCC'])
print pn1.loc[:,:,1]
pn2 = pn1.copy()
pn2.major_axis = pd.MultiIndex.from_product([list('AB'),list('ab')])
print pn2.loc[:,:,1]
```
#### Output:
```
AAA BBB CCC
0 0.182982 0.774812 0.894589
1 0.654716 0.695453 0.790078
2 0.340826 0.941283 0.938544
3 0.351851 0.971896 0.362317
A B
a b a b
AAA 0.182982 0.654716 0.340826 0.351851
BBB 0.774812 0.695453 0.941283 0.971896
CCC 0.894589 0.790078 0.938544 0.362317
```
With a multiindex as the major_axis of Panel object, the indexing result is transposed. And because of that, when using ``` pn.apply(func, axis=('items','major'))```, it give you the wrong results when the major_axis is a multiindex.
Is this a bug? if not, then what is the purpose that it is designed like this?
Thanks for help.
</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/15762/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15762/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15763
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15763/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15763/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15763/events
|
https://github.com/pandas-dev/pandas/issues/15763
| 215,688,657 |
MDU6SXNzdWUyMTU2ODg2NTc=
| 15,763 |
Call save,Prompt list index out of range
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26569315?v=4",
"events_url": "https://api.github.com/users/xiaoqi7s/events{/privacy}",
"followers_url": "https://api.github.com/users/xiaoqi7s/followers",
"following_url": "https://api.github.com/users/xiaoqi7s/following{/other_user}",
"gists_url": "https://api.github.com/users/xiaoqi7s/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xiaoqi7s",
"id": 26569315,
"login": "xiaoqi7s",
"node_id": "MDQ6VXNlcjI2NTY5MzE1",
"organizations_url": "https://api.github.com/users/xiaoqi7s/orgs",
"received_events_url": "https://api.github.com/users/xiaoqi7s/received_events",
"repos_url": "https://api.github.com/users/xiaoqi7s/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xiaoqi7s/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xiaoqi7s/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xiaoqi7s"
}
|
[
{
"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": 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"
}
| 2 | 2017-03-21T10:20:56Z | 2017-03-22T01:51:55Z | 2017-03-21T12:07:56Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
import openpyxl
path = r'C:\Users\hcb\Desktop\test.xlsx'
wb = openpyxl.load_workbook(path)
wb.save('test.xlsx')
#### Problem description
Call save,Prompt list index out of range
#### Expected Output
Traceback (most recent call last):
File "D:/python3/test1/myPackge/test2.py", line 4, in <module>
wb.save('test.xlsx')
File "C:\Python36\lib\site-packages\openpyxl\workbook\workbook.py", line 342, in save
save_workbook(self, filename)
File "C:\Python36\lib\site-packages\openpyxl\writer\excel.py", line 267, in save_workbook
writer.save(filename)
File "C:\Python36\lib\site-packages\openpyxl\writer\excel.py", line 248, in save
self.write_data()
File "C:\Python36\lib\site-packages\openpyxl\writer\excel.py", line 81, in write_data
self._write_worksheets()
File "C:\Python36\lib\site-packages\openpyxl\writer\excel.py", line 197, in _write_worksheets
xml = ws._write()
File "C:\Python36\lib\site-packages\openpyxl\worksheet\worksheet.py", line 870, in _write
return write_worksheet(self)
File "C:\Python36\lib\site-packages\openpyxl\writer\worksheet.py", line 99, in write_worksheet
cols = ws.column_dimensions.to_tree()
File "C:\Python36\lib\site-packages\openpyxl\worksheet\dimensions.py", line 230, in to_tree
obj = col.to_tree()
File "C:\Python36\lib\site-packages\openpyxl\worksheet\dimensions.py", line 182, in to_tree
attrs = dict(self)
File "C:\Python36\lib\site-packages\openpyxl\worksheet\dimensions.py", line 51, in __iter__
value = getattr(self, key, None)
File "C:\Python36\lib\site-packages\openpyxl\styles\styleable.py", line 95, in __get__
return coll.names[idx]
IndexError: list index out of range
<details>
</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/15763/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15763/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15764
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15764/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15764/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15764/events
|
https://github.com/pandas-dev/pandas/issues/15764
| 215,728,925 |
MDU6SXNzdWUyMTU3Mjg5MjU=
| 15,764 |
CLN/INT: rename *possibly* -> *maybe* functions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-03-21T12:50:34Z | 2017-03-22T11:57:12Z | 2017-03-22T11:57:12Z |
CONTRIBUTOR
| null |
we have a mixed bag on naming this. Let's change ``possibly`` -> ``maybe``. Keep everything else the same. (if you do the same search for ``maybe`` you will fine it to be far more common). Note that the *usage* of these functions will have to be renamed as well :>
```
(pandas) bash-3.2$ grep --include '*.py' -R possibly pandas |grep def
pandas/computation/expr.py: def _possibly_transform_eq_ne(self, node, left=None, right=None):
pandas/computation/expr.py: def _possibly_downcast_constants(self, left, right):
pandas/computation/expr.py: def _possibly_eval(self, binop, eval_in_python):
pandas/computation/expr.py: def _possibly_evaluate_binop(self, op, op_class, lhs, rhs,
pandas/core/internals.py:def _possibly_compare(a, b, op):
pandas/indexes/base.py: def _possibly_promote(self, other):
pandas/tests/types/test_cast.py: def test_possibly_convert_objects_copy(self):
pandas/tseries/index.py: def _possibly_promote(self, other):
pandas/tseries/tdi.py: def _possibly_promote(self, other):
pandas/types/cast.py:def _possibly_convert_platform(values):
pandas/types/cast.py:def _possibly_downcast_to_dtype(result, dtype):
pandas/types/cast.py:def _possibly_cast_item(obj, item, dtype):
pandas/types/cast.py:def _possibly_convert_objects(values, convert_dates=True, convert_numeric=True,
pandas/types/cast.py:def _possibly_castable(arr):
pandas/types/cast.py:def _possibly_infer_to_datetimelike(value, convert_dates=False):
pandas/types/cast.py:def _possibly_cast_to_datetime(value, dtype, errors='raise'):
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15764/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15764/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15765
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15765/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15765/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15765/events
|
https://github.com/pandas-dev/pandas/pull/15765
| 215,741,151 |
MDExOlB1bGxSZXF1ZXN0MTExNzc5MDE4
| 15,765 |
CLN: replace _interleave_dtype with _find_common_type
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-03-21T13:35:18Z | 2017-03-21T14:53:08Z | 2017-03-21T14:50:13Z |
CONTRIBUTOR
| null |
xref #15736
xref #12780
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15765/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15765/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15765.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15765",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15765.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15765"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15766
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15766/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15766/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15766/events
|
https://github.com/pandas-dev/pandas/pull/15766
| 215,763,564 |
MDExOlB1bGxSZXF1ZXN0MTExNzk1MDc1
| 15,766 |
BUG: various 32bit compat issues
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-21T14:43:53Z | 2017-03-21T17:41:58Z | 2017-03-21T17:41:03Z |
CONTRIBUTOR
| null |
closes #14866
xref #14183
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15766/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15766/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15766.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15766",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15766.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15766"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15767
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15767/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15767/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15767/events
|
https://github.com/pandas-dev/pandas/issues/15767
| 215,801,367 |
MDU6SXNzdWUyMTU4MDEzNjc=
| 15,767 |
Proper checks on nrows and chunksize for read_csv
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "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"
},
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-03-21T16:33:14Z | 2017-03-22T08:03:51Z | 2017-03-22T08:03:32Z |
MEMBER
| null |
From #15755 (e.g. [this comment](https://github.com/pandas-dev/pandas/pull/15756#issuecomment-288108170)).
Current status:
- there is a check on ``nrows``, which ensure floats are converted to int with no loss of precision, but not that the resulting/passed value is non-negative
- there is no check on ``chunksize``, so that a ``pd.concat`` based on ``chunksize=0`` will enter an infinite loop
I guess we want to ensure ``chunksize > 0`` and ``nrows >= 0``.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15767/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15767/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15768
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15768/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15768/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15768/events
|
https://github.com/pandas-dev/pandas/pull/15768
| 215,814,352 |
MDExOlB1bGxSZXF1ZXN0MTExODMyNDQ3
| 15,768 |
BUG: Enforce correct encoding in stata
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
}
|
[
{
"color": "444444",
"default": false,
"description": "Unicode strings",
"id": 36380025,
"name": "Unicode",
"node_id": "MDU6TGFiZWwzNjM4MDAyNQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unicode"
},
{
"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"
},
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 6 | 2017-03-21T17:14:27Z | 2018-04-22T21:12:04Z | 2017-03-21T21:54:22Z |
CONTRIBUTOR
| null |
Ensure StataReader and StataWriter have the correct encoding.
Standardized default encoding to 'latin-1'
closes #15723
- [x] closes #15723
- [x] tests added / passed
- [x] passes ``git diff upstream/master | 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/15768/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15768/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15768.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15768",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15768.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15768"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15769
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15769/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15769/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15769/events
|
https://github.com/pandas-dev/pandas/pull/15769
| 215,827,271 |
MDExOlB1bGxSZXF1ZXN0MTExODQyMDIw
| 15,769 |
DOC: Ensure basic flake8 diff checks only Python
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-21T17:56:49Z | 2017-03-21T18:00:58Z | 2017-03-21T18:00:11Z |
MEMBER
| null |
Let's make sure all of the `flake8` commands in our documentation check only Python files (will be applicable to majority of contributions and PR's).
Follow-up to #15749
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15769/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15769/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15769.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15769",
"merged_at": "2017-03-21T18:00:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15769.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15769"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15770
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15770/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15770/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15770/events
|
https://github.com/pandas-dev/pandas/issues/15770
| 215,832,163 |
MDU6SXNzdWUyMTU4MzIxNjM=
| 15,770 |
Writing custom series to HDF store
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5131271?v=4",
"events_url": "https://api.github.com/users/achapkowski/events{/privacy}",
"followers_url": "https://api.github.com/users/achapkowski/followers",
"following_url": "https://api.github.com/users/achapkowski/following{/other_user}",
"gists_url": "https://api.github.com/users/achapkowski/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/achapkowski",
"id": 5131271,
"login": "achapkowski",
"node_id": "MDQ6VXNlcjUxMzEyNzE=",
"organizations_url": "https://api.github.com/users/achapkowski/orgs",
"received_events_url": "https://api.github.com/users/achapkowski/received_events",
"repos_url": "https://api.github.com/users/achapkowski/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/achapkowski/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/achapkowski/subscriptions",
"type": "User",
"url": "https://api.github.com/users/achapkowski"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] |
closed
| false | null |
[] |
{
"closed_at": 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"
}
| 5 | 2017-03-21T18:14:01Z | 2017-03-22T10:28:10Z | 2017-03-21T19:09:09Z |
NONE
| null |
How do you write custom objects to an HDF file store?
Is there any guidelines for writing custom series to an HDF store? If so where?
Thank you
Andrew
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15770/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15770/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15771
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15771/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15771/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15771/events
|
https://github.com/pandas-dev/pandas/pull/15771
| 215,855,828 |
MDExOlB1bGxSZXF1ZXN0MTExODYyODkw
| 15,771 |
CLN/INT: Rename _possibly to _maybe (GH15764)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11289391?v=4",
"events_url": "https://api.github.com/users/StanczakDominik/events{/privacy}",
"followers_url": "https://api.github.com/users/StanczakDominik/followers",
"following_url": "https://api.github.com/users/StanczakDominik/following{/other_user}",
"gists_url": "https://api.github.com/users/StanczakDominik/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/StanczakDominik",
"id": 11289391,
"login": "StanczakDominik",
"node_id": "MDQ6VXNlcjExMjg5Mzkx",
"organizations_url": "https://api.github.com/users/StanczakDominik/orgs",
"received_events_url": "https://api.github.com/users/StanczakDominik/received_events",
"repos_url": "https://api.github.com/users/StanczakDominik/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/StanczakDominik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/StanczakDominik/subscriptions",
"type": "User",
"url": "https://api.github.com/users/StanczakDominik"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 6 | 2017-03-21T19:42:54Z | 2017-03-22T12:24:35Z | 2017-03-22T11:57:12Z |
CONTRIBUTOR
| null |
Also rename "private" functions in pandas.type.cast
- [x] closes #15764
- [x] tests passed
- [x] passes ``git diff upstream/master --name-only -- '*.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/15771/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15771/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15771.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15771",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15771.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15771"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15772
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15772/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15772/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15772/events
|
https://github.com/pandas-dev/pandas/pull/15772
| 215,868,242 |
MDExOlB1bGxSZXF1ZXN0MTExODcyMTI3
| 15,772 |
skipna added to groupby numeric ops
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10487167?v=4",
"events_url": "https://api.github.com/users/mayukh18/events{/privacy}",
"followers_url": "https://api.github.com/users/mayukh18/followers",
"following_url": "https://api.github.com/users/mayukh18/following{/other_user}",
"gists_url": "https://api.github.com/users/mayukh18/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mayukh18",
"id": 10487167,
"login": "mayukh18",
"node_id": "MDQ6VXNlcjEwNDg3MTY3",
"organizations_url": "https://api.github.com/users/mayukh18/orgs",
"received_events_url": "https://api.github.com/users/mayukh18/received_events",
"repos_url": "https://api.github.com/users/mayukh18/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mayukh18/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mayukh18/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mayukh18"
}
|
[
{
"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": 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"
}
| 26 | 2017-03-21T20:30:36Z | 2021-05-09T15:32:20Z | 2017-10-28T00:26:40Z |
NONE
| null |
- [x] closes #15675
- [x] tests added / passed
- [ ] passes ``git diff upstream/master --name-only -- '*.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/15772/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15772/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15772.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15772",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15772.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15772"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15773
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15773/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15773/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15773/events
|
https://github.com/pandas-dev/pandas/pull/15773
| 215,872,590 |
MDExOlB1bGxSZXF1ZXN0MTExODc1MzY5
| 15,773 |
CLN: relocate lib.ismember* to hashtable space
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-21T20:46:35Z | 2017-03-21T23:23:16Z | 2017-03-21T23:20:44Z |
CONTRIBUTOR
| null |
- fixes ``.isin`` on 32-bit (hopefully)
- perf about 30% better (but this is a small number anyhow) & releases GIL
- more generic framework
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15773/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15773/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15773.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15773",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15773.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15773"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15774
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15774/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15774/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15774/events
|
https://github.com/pandas-dev/pandas/pull/15774
| 215,898,068 |
MDExOlB1bGxSZXF1ZXN0MTExODk0MTQ1
| 15,774 |
BUG: Check that values for "nrows" and "chunksize" are valid
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"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"
},
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 5 | 2017-03-21T22:29:22Z | 2017-03-22T08:33:23Z | 2017-03-22T08:03:33Z |
MEMBER
| null |
- [x] closes #15767
- [x] tests added / passed
- [x] passes ``git diff master --name-only -- '*.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/15774/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15774/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15774.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15774",
"merged_at": "2017-03-22T08:03:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15774.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15774"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15775
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15775/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15775/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15775/events
|
https://github.com/pandas-dev/pandas/pull/15775
| 215,899,154 |
MDExOlB1bGxSZXF1ZXN0MTExODk0OTUz
| 15,775 |
CLN: separate out groupby algos
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-21T22:34:24Z | 2017-03-22T12:08:16Z | 2017-03-22T12:07:06Z |
CONTRIBUTOR
| null |
- separate out groupby algorithms to separate lib
- release GIL on median
- release GIL on is_lexsorted / fix memory leak
- release GIL on nancorr
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15775/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15775/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15775.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15775",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15775.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15775"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15776
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15776/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15776/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15776/events
|
https://github.com/pandas-dev/pandas/pull/15776
| 215,919,572 |
MDExOlB1bGxSZXF1ZXN0MTExOTA5Nzc4
| 15,776 |
COMPAT: 32-bit skips
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-22T00:33:54Z | 2017-03-22T11:54:43Z | 2017-03-22T11:53:46Z |
CONTRIBUTOR
| null |
closes #14183
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15776/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15776/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15776.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15776",
"merged_at": "2017-03-22T11:53:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15776.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15776"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15777
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15777/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15777/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15777/events
|
https://github.com/pandas-dev/pandas/issues/15777
| 215,959,066 |
MDU6SXNzdWUyMTU5NTkwNjY=
| 15,777 |
Bug: Timestamp removes timezone localization
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 7 | 2017-03-22T05:44:04Z | 2017-04-08T21:59:13Z | 2017-04-08T21:59:13Z |
MEMBER
| null |
```python
In [2]: tz = pd.DatetimeIndex(['2013-01-01 06:00'], tz='US/Pacific').tz
In [3]: tz
Out[3]: <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>
In [4]: pd.Timestamp('2013-01-01 06:00', tz=tz).tz
Out[4]: <DstTzInfo 'US/Pacific' PST-1 day, 16:00:00 STD>
```
#### Problem description
Localization of the timezone should be maintained when creating a Timestamp. I also believe this is the root issue of #13238 since `resample()` calls `groupby()` which (I think) reconstructs the index with Timestamps.
```python
In [10]: s = pd.Series(index=pd.DatetimeIndex(['2013-01-01 06:00', '2013-01-01 07:00', '2013-01-02 06:00'],
tz='America/Los_Angeles'),
data=[1, 2, 3])
In [13]: s.index.tz
Out[13]: <DstTzInfo 'America/Los_Angeles' LMT-1 day, 16:07:00 STD>
In [14]: s.resample('D').max().index.tz
Out[14]: <DstTzInfo 'America/Los_Angeles' PST-1 day, 16:00:00 STD>
```
#### Expected Output
```python
<DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: 92239f5dcfb02f97b5b1eed651895fe70dfd7eb1
python: 2.7.12.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-45-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: None.None
pandas: 0.19.0+644.g92239f5.dirty
pytest: 3.0.6
pip: 8.1.2
setuptools: 27.2.0
Cython: 0.24.1
numpy: 1.11.2
scipy: None
xarray: None
IPython: 5.1.0
sphinx: 1.4.8
patsy: None
dateutil: 2.5.3
pytz: 2016.7
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 1.5.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
s3fs: None
pandas_gbq: None
pandas_datareader: 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/15777/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15777/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15778
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15778/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15778/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15778/events
|
https://github.com/pandas-dev/pandas/pull/15778
| 216,013,923 |
MDExOlB1bGxSZXF1ZXN0MTExOTc0MDQ5
| 15,778 |
Fix scalar iloc
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://api.github.com/users/toobaz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/toobaz",
"id": 1224492,
"login": "toobaz",
"node_id": "MDQ6VXNlcjEyMjQ0OTI=",
"organizations_url": "https://api.github.com/users/toobaz/orgs",
"received_events_url": "https://api.github.com/users/toobaz/received_events",
"repos_url": "https://api.github.com/users/toobaz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/toobaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/toobaz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/toobaz"
}
|
[
{
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false | null |
[] | null | 12 | 2017-03-22T10:22:51Z | 2017-08-07T22:26:15Z | 2017-08-01T22:56:27Z |
MEMBER
| null |
- [x] closes #15686
- [x] tests added / passed
- [x] passes ``git diff master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
Unless I'm missing anything, all code for indexers (inside ``pandas/core/indexing.py``) resorts to one of the following for setting values:
- if we can work directly on ``BlockManager.setitem`` (simple case, e.g. no multiple dtypes involved), do so
- otherwise, rely on methods provided by the object (mainly ``__setitem__``), _which are label based_
This makes it impossible, in the "non-simple case", to index positionally in the correct way with duplicated labels (by the way, it's also plain ugly).
I can see three (four) possible solutions:
1. temporarily strip an object from (some of) its labels - what this PR does. Arguably the simplest approach (doesn't require changing objects/``BlockManager`` code), arguably not very elegant (although we could already expect some efficiency gains compared to current master, since this removes some equality checks on labels)
2. add methods to the different objects that do position-based setting. Not trivial as it sounds, I'm afraid - such methods should talk directly the the ``BlockManager``s, hence for instance taking care of dtype changes
3. seriously improving ``BlockManager.setitem`` so that it is able to take care of multiple dtypes. Probably the best approach (would allow to enormously simplify indexing code), and the one requiring most work
4. (completely rewrite all setting code in ``indexing.py`` currently relying on ``self.obj.__setitem__`` so it directly talks to ``BlockManager.setitem``)
Notice that ``BlockManager.setitem`` must be fixed in order to fix #12991, but the fix for that bug is significantly simpler than 3. (it is just a matter of shifting indices, not of working with different dtypes).
The current PR... works, and does clean a bit the ``_setter`` interface (i.e. concerning the difference between ``iloc`` and ``loc``), which might be a good thing even in case we later decide to drop the less elegant ``InfoCleaner``. My preferred approach would be to apply it, then start working on 3., then come back to the indexing code and simplify it by profiting of 3. But if you prefer to start directly with 2. or 3., I can have a try in that direction. I don't think I'm willing to try 4. because current indexing code is already too complicated.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15778/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15778/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15778.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15778",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15778.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15778"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15779
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15779/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15779/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15779/events
|
https://github.com/pandas-dev/pandas/issues/15779
| 216,042,706 |
MDU6SXNzdWUyMTYwNDI3MDY=
| 15,779 |
PERF: cythonize groupby-rank
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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": "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": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
}
| 2 | 2017-03-22T12:17:55Z | 2018-02-10T16:05:52Z | 2018-02-10T16:05:52Z |
CONTRIBUTOR
| null |
This dispatches to each group individually. Better to have a combined group_rank to do this. It is a bit of code and ideally would share some with the actual rank algos.
```
In [7]: ngroups = 1000
In [8]: N = 100000
In [9]: np.random.seed(1234)
In [10]: df = DataFrame({'key': np.random.randint(0, ngroups, size=N), 'value': np.arange(N)})
In [11]: %timeit df.groupby('key').rank()
1 loop, best of 3: 392 ms per loop
# comparision with group_shift_indexer, a transforming operator
In [13]: %timeit df.groupby('key').shift()
100 loops, best of 3: 3.15 ms per loop
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15779/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15779/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15780
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15780/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15780/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15780/events
|
https://github.com/pandas-dev/pandas/pull/15780
| 216,051,153 |
MDExOlB1bGxSZXF1ZXN0MTEyMDAxMzA4
| 15,780 |
travis deduping on prs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-03-22T12:52:37Z | 2017-03-22T15:38:39Z | 2017-03-22T13:58:05Z |
CONTRIBUTOR
| null |
closes #12438
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15780/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15780/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15780.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15780",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15780.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15780"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15781
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15781/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15781/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15781/events
|
https://github.com/pandas-dev/pandas/issues/15781
| 216,082,874 |
MDU6SXNzdWUyMTYwODI4NzQ=
| 15,781 |
Return value of boolean datetime fields of NaT: False or NaN ?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-22T14:29:18Z | 2017-03-27T19:22:23Z | 2017-03-27T19:22:23Z |
MEMBER
| null |
From discussion in https://github.com/pandas-dev/pandas/pull/15589, the handling of NaT is different for different datetime fields.
On a scalar value, `is_leap_year` returns False, the others are not defined:
```
In [1]: pd.Timestamp('NaT').is_month_start
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-654cc4e613aa> in <module>()
----> 1 pd.Timestamp('NaT').is_month_start
AttributeError: 'NaTType' object has no attribute 'is_month_start'
In [2]: pd.Timestamp('NaT').is_leap_year
Out[2]: False
```
On an index (or series `.dt` accessor), `is_leap_year` returns False, the others propagate NaN (with the consequence it is no longer a boolean array/series):
```
In [3]: pd.DatetimeIndex(['2012-01-01', 'NaT']).is_month_start
Out[3]: array([ 1., nan])
In [4]: pd.DatetimeIndex(['2012-01-01', 'NaT']).is_leap_year
Out[4]: array([ True, False], dtype=bool)
```
So when `is_leap_year` was introduced in #13739, this was done on purpose, citing @sinhrks "pd.NaT.is_leap_year results in False, as I think users want bool array.".
This seems indeed the more logical thing to return (certainly for arrays/series), so you can eg use it for indexing. For scalars it is a bit less clear what is the preferable option (return False or NaN), but probably best to be consistent.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15781/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15781/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15782
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15782/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15782/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15782/events
|
https://github.com/pandas-dev/pandas/pull/15782
| 216,089,402 |
MDExOlB1bGxSZXF1ZXN0MTEyMDI3MDM4
| 15,782 |
COMPAT: NaT accessors
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-03-22T14:47:23Z | 2017-03-27T19:23:35Z | 2017-03-27T19:22:23Z |
CONTRIBUTOR
| null |
closes #15781
PR
```
In [1]: idx = DatetimeIndex(['1/1/2000', None, None, '1/4/2000'])
In [2]: idx.is_month_start
Out[2]: array([ True, False, False, False], dtype=bool)
In [3]: idx.is_leap_year
Out[3]: array([ True, False, False, True], dtype=bool)
```
0.19.2
```
In [1]: idx = DatetimeIndex(['1/1/2000', None, None, '1/4/2000'])
In [3]: idx.is_month_start
Out[3]: array([ 1., nan, nan, 0.])
In [2]: idx.is_leap_year
Out[2]: array([ True, False, False, True], dtype=bool)
```
mimics ``is_leap_year`` to return a boolean (inlcuding for ``NaT``).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15782/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15782/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15782.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15782",
"merged_at": "2017-03-27T19:22:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15782.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15782"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15783
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15783/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15783/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15783/events
|
https://github.com/pandas-dev/pandas/pull/15783
| 216,185,775 |
MDExOlB1bGxSZXF1ZXN0MTEyMDk0NTA1
| 15,783 |
CI: remove travis dedupe as enabled auto-cancellation
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 0 | 2017-03-22T19:43:40Z | 2017-03-23T19:07:23Z | 2017-03-23T19:07:23Z |
CONTRIBUTOR
| null |
xref https://github.com/pandas-dev/pandas/commit/79581ffe6fb73089dfa8394c2f4e44677acfe1ce
of course Travis just announced auto-cancellation / it looks good when I enabled it. so removing 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/15783/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15783/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15783.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15783",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15783.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15783"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15784
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15784/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15784/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15784/events
|
https://github.com/pandas-dev/pandas/pull/15784
| 216,209,783 |
MDExOlB1bGxSZXF1ZXN0MTEyMTExODM2
| 15,784 |
Update testing.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6774676?v=4",
"events_url": "https://api.github.com/users/eumiro/events{/privacy}",
"followers_url": "https://api.github.com/users/eumiro/followers",
"following_url": "https://api.github.com/users/eumiro/following{/other_user}",
"gists_url": "https://api.github.com/users/eumiro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/eumiro",
"id": 6774676,
"login": "eumiro",
"node_id": "MDQ6VXNlcjY3NzQ2NzY=",
"organizations_url": "https://api.github.com/users/eumiro/orgs",
"received_events_url": "https://api.github.com/users/eumiro/received_events",
"repos_url": "https://api.github.com/users/eumiro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/eumiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eumiro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/eumiro"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-22T21:12:48Z | 2017-03-22T21:36:56Z | 2017-03-22T21:36:54Z |
CONTRIBUTOR
| null |
Tiny docs typo fix
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15784/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15784/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15784.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15784",
"merged_at": "2017-03-22T21:36:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15784.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15784"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15785
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15785/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15785/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15785/events
|
https://github.com/pandas-dev/pandas/issues/15785
| 216,431,725 |
MDU6SXNzdWUyMTY0MzE3MjU=
| 15,785 |
BUG: melt changes type of tz-aware columns
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2065487?v=4",
"events_url": "https://api.github.com/users/stigviaene/events{/privacy}",
"followers_url": "https://api.github.com/users/stigviaene/followers",
"following_url": "https://api.github.com/users/stigviaene/following{/other_user}",
"gists_url": "https://api.github.com/users/stigviaene/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stigviaene",
"id": 2065487,
"login": "stigviaene",
"node_id": "MDQ6VXNlcjIwNjU0ODc=",
"organizations_url": "https://api.github.com/users/stigviaene/orgs",
"received_events_url": "https://api.github.com/users/stigviaene/received_events",
"repos_url": "https://api.github.com/users/stigviaene/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stigviaene/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stigviaene/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stigviaene"
}
|
[
{
"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": "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": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2018-05-16T03:09:58Z",
"closed_issues": 1645,
"created_at": "2017-10-20T10:17:09Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.22",
"due_on": "2018-05-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/53",
"id": 2853937,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels",
"node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==",
"number": 53,
"open_issues": 0,
"state": "closed",
"title": "0.23.0",
"updated_at": "2018-08-20T06:48:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53"
}
| 1 | 2017-03-23T13:43:32Z | 2018-03-13T10:31:10Z | 2018-03-13T10:31:10Z |
NONE
| null |
#### Code Samples
```python
import pandas as pd
frame = pd.DataFrame({'klass':range(5), 'ts': [pd.Timestamp('2017-03-23 08:22:42.173378+01'), pd.Timestamp('2017-03-23 08:22:42.178578+01'), pd.Timestamp('2017-03-23 08:22:42.173578+01'), pd.Timestamp('2017-03-23 08:22:42.178378+01'), pd.Timestamp('2017-03-23 08:22:42.163378+01')], 'attribute':['att1', 'att2', 'att3', 'att4', 'att5'], 'value': ['a', 'b', 'c', 'd', 'd']})
# At this point, frame.ts is of dtype datetime64[ns, pytz.FixedOffset(60)]
frame.set_index(['ts', 'klass'], inplace=True)
queried_index = frame.query('value=="d"').index
pivoted_frame = frame.reset_index().pivot_table(index=['klass', 'ts'], columns='attribute', values='value', aggfunc='first')
melted_frame = pd.melt(pivoted_frame.reset_index(), id_vars=['klass', 'ts'], var_name='attribute', value_name='value')
# At this point, melted_frame.ts is of dtype datetime64[ns]
queried_after_melted_index = melted_frame.query('value=="d"').set_index(['ts', 'klass']).index
frame.loc[queried_index] # Works
frame.loc[queried_index] = 'test' # Works
frame.loc[queried_after_melted_index] # Works
frame.loc[queried_after_melted_index] = 'test' # Breaks
```
The last statement gives:
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/pandas/core/indexing.py", line 140, in __setitem__
indexer = self._get_setitem_indexer(key)
File "/usr/local/lib/python3.5/dist-packages/pandas/core/indexing.py", line 127, in _get_setitem_indexer
return self._convert_to_indexer(key, is_setter=True)
File "/usr/local/lib/python3.5/dist-packages/pandas/core/indexing.py", line 1230, in _convert_to_indexer
raise KeyError('%s not in index' % objarr[mask])
KeyError: "MultiIndex(levels=[[2017-03-23 07:22:42.163378, 2017-03-23 07:22:42.173378, 2017-03-23 07:22:42.173578, 2017-03-23 07:22:42.178378, 2017-03-23 07:22:42.178578], [0, 1, 2, 3, 4]],\n labels=[[3, 0], [3, 4]],\n names=['ts', 'klass']) not in index"
```
#### Problem description
- It is counter-intuitive that any operation (which does not explicitly mention in its docs that it does) alters the type of any column.
- Also counter-intuitive is that ```frame.loc``` has different behavior in a statement than it has in an assignment.
#### Expected Output
- ```melted_frame.ts``` and ```frame.ts``` have the same dtype.
- ```DataFrame.loc``` fails in both cases, not just in an assignment, or succeeds in both.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-66-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 20.7.0
Cython: None
numpy: 1.12.0
scipy: None
statsmodels: None
xarray: None
IPython: 5.3.0
sphinx: None
patsy: None
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: 0.7.3
lxml: 3.5.0
bs4: 4.4.1
html5lib: 0.999
httplib2: 0.9.1
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: 2.6.1 (dt dec pq3 ext lo64)
jinja2: 2.8
boto: None
pandas_datareader: 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/15785/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15785/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15786
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15786/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15786/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15786/events
|
https://github.com/pandas-dev/pandas/issues/15786
| 216,453,969 |
MDU6SXNzdWUyMTY0NTM5Njk=
| 15,786 |
Values with the same indexes as x,y from np.array and pd.DataFrame aren't equal.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4077026?v=4",
"events_url": "https://api.github.com/users/zhpmatrix/events{/privacy}",
"followers_url": "https://api.github.com/users/zhpmatrix/followers",
"following_url": "https://api.github.com/users/zhpmatrix/following{/other_user}",
"gists_url": "https://api.github.com/users/zhpmatrix/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zhpmatrix",
"id": 4077026,
"login": "zhpmatrix",
"node_id": "MDQ6VXNlcjQwNzcwMjY=",
"organizations_url": "https://api.github.com/users/zhpmatrix/orgs",
"received_events_url": "https://api.github.com/users/zhpmatrix/received_events",
"repos_url": "https://api.github.com/users/zhpmatrix/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zhpmatrix/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zhpmatrix/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zhpmatrix"
}
|
[
{
"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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-03-23T14:45:37Z | 2017-03-23T15:16:19Z | 2017-03-23T15:16:05Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
arr = np.array([[1,2,3],[4,5,6]])
df = pd.DataFrame(arr)
```
#### Problem description
the expected output is arr[0][1] equals df[0][1],but the real thing is that two elems aren't equal in value.I have seen the source code,a code line as following
```python
#other code
value = value.T
/#other code
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.11.final.0
python-bits: 64
OS: Darwin
OS-release: 14.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: zh_CN.UTF-8
LOCALE: None.None
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 29.0.1
Cython: 0.24
numpy: 1.12.1
scipy: 0.17.0
statsmodels: 0.6.1
xarray: None
IPython: 4.1.2
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: 2.6.1
matplotlib: 1.5.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: 3.6.0
bs4: 4.4.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15786/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15786/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15787
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15787/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15787/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15787/events
|
https://github.com/pandas-dev/pandas/issues/15787
| 216,477,548 |
MDU6SXNzdWUyMTY0Nzc1NDg=
| 15,787 |
BUG: concat of MultiIndex with names passed
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/12515766?v=4",
"events_url": "https://api.github.com/users/seth-a/events{/privacy}",
"followers_url": "https://api.github.com/users/seth-a/followers",
"following_url": "https://api.github.com/users/seth-a/following{/other_user}",
"gists_url": "https://api.github.com/users/seth-a/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seth-a",
"id": 12515766,
"login": "seth-a",
"node_id": "MDQ6VXNlcjEyNTE1NzY2",
"organizations_url": "https://api.github.com/users/seth-a/orgs",
"received_events_url": "https://api.github.com/users/seth-a/received_events",
"repos_url": "https://api.github.com/users/seth-a/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seth-a/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seth-a/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seth-a"
}
|
[
{
"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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 18 | 2017-03-23T15:51:42Z | 2017-04-10T12:10:24Z | 2017-04-10T12:10:24Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import numpy as np
import pandas as pd
res = []
for _ in range(2):
res1 = []
# Only occurs when dataframe is used with measure
data = np.zeros((30, 21))
idx = np.random.randint(0, 5, 30)
df = pd.DataFrame(data, index=idx).loc[3]
#df = pd.DataFrame(data[::5, :]) # Uncomment for example of correct behavior
res1.append(pd.DataFrame(sum(data.dot(df.T))))
tmp = pd.concat(res1, keys=[1], names=['level1'])
res.append(tmp)
final = pd.concat(res, keys=[i for i in range(2)], names=['level2'])
print(final)
```
#### Problem description
In python, datatypes generally don't matter. A dataframe is a dataframe, but as shown in the example code concat'ing dataframes with an index does not have the same behavior as dataframes without an index. The label for a level of the index is dropped. This is a small bug. Run it several times (10-12 seems to do it) and you will see a much more worrisome issue: on occasion, the label is not dropped. Yes, the output of concat is random.
#### Expected Output
```
level2 level1
0 1 0 0.0
1 0.0
2 0.0
3 0.0
4 0.0
5 0.0
1 1 0 0.0
1 0.0
2 0.0
3 0.0
4 0.0
5 0.0
```
#### Output of ``pd.show_versions()``
```
level2
0 1 0 0.0
1 0.0
2 0.0
3 0.0
4 0.0
5 0.0
1 1 0 0.0
1 0.0
2 0.0
3 0.0
````
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15787/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15787/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15788
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15788/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15788/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15788/events
|
https://github.com/pandas-dev/pandas/issues/15788
| 216,491,227 |
MDU6SXNzdWUyMTY0OTEyMjc=
| 15,788 |
DataFrame.apply() returns DataFrame unexpectedly when length of list stored in cell matches DF-dimensions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/585505?v=4",
"events_url": "https://api.github.com/users/FlorianR/events{/privacy}",
"followers_url": "https://api.github.com/users/FlorianR/followers",
"following_url": "https://api.github.com/users/FlorianR/following{/other_user}",
"gists_url": "https://api.github.com/users/FlorianR/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/FlorianR",
"id": 585505,
"login": "FlorianR",
"node_id": "MDQ6VXNlcjU4NTUwNQ==",
"organizations_url": "https://api.github.com/users/FlorianR/orgs",
"received_events_url": "https://api.github.com/users/FlorianR/received_events",
"repos_url": "https://api.github.com/users/FlorianR/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/FlorianR/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/FlorianR/subscriptions",
"type": "User",
"url": "https://api.github.com/users/FlorianR"
}
|
[
{
"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": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] |
closed
| false | null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 1 | 2017-03-23T16:30:19Z | 2017-03-23T18:31:04Z | 2017-03-23T18:30:49Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
# list length does NOT match DataFrame dimensions, works as expected:
df = pd.DataFrame()
df['A'] = [[1, 2], [1, 2], [1, 2]]
df['B'] = [[3, 4], [3, 4], [3, 4]]
df['C'] = [[4, 6], [4, 6], [4, 6]]
print(df)
# A B C
# 0 [1, 2] [3, 4] [4, 6]
# 1 [1, 2] [3, 4] [4, 6]
# 2 [1, 2] [3, 4] [4, 6]
D = df.apply(lambda row: [a+b for a, b in zip(row.A, row.B)], axis=1)
print(D)
# 0 [4, 6]
# 1 [4, 6]
# 2 [4, 6]
# dtype: object
df['D'] = D
print(df)
# A B C D
# 0 [1, 2] [3, 4] [4, 6] [4, 6]
# 1 [1, 2] [3, 4] [4, 6] [4, 6]
# 2 [1, 2] [3, 4] [4, 6] [4, 6]
# list length DOES match DataFrame dimensions, does not work as expected:
df = pd.DataFrame()
df['A'] = [[1, 2, 3], [1, 2, 3], [1, 2, 3]]
df['B'] = [[3, 4, 5], [3, 4, 5], [3, 4, 5]]
df['C'] = [[4, 6, 8], [4, 6, 8], [4, 6, 8]]
print(df)
# A B C
# 0 [1, 2, 3] [3, 4, 5] [4, 6, 8]
# 1 [1, 2, 3] [3, 4, 5] [4, 6, 8]
# 2 [1, 2, 3] [3, 4, 5] [4, 6, 8]
# unwanted result:
D = df.apply(lambda row: [a+b for a, b in zip(row.A, row.B)], axis=1)
print(D)
# A B C
# 0 4 6 8
# 1 4 6 8
# 2 4 6 8
# correct:
df['D'] = [[a+b for a, b in zip(row.A, row.B)] for row in df.itertuples()]
print(df)
# A B C D
# 0 [1, 2, 3] [3, 4, 5] [4, 6, 8] [4, 6, 8]
# 1 [1, 2, 3] [3, 4, 5] [4, 6, 8] [4, 6, 8]
# 2 [1, 2, 3] [3, 4, 5] [4, 6, 8] [4, 6, 8]
```
#### Problem description
This behavior came up in a bigger project, when the length of a stored list incidentally met the DataFrame's dimension and resulted in an exception raised. I didn't expect apply() to return a DataFrame at all. I tried to find a parameter to change this behavior, but didn't have any luck there.
May be related to https://github.com/pandas-dev/pandas/issues/5299
#### Expected Output
see above
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.0.final.0
python-bits: 64
OS: Linux
OS-release: 4.9.11-1-ARCH
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.19.2
nose: None
pip: 9.0.1
setuptools: 34.3.2
Cython: None
numpy: 1.12.1
scipy: 0.19.0
statsmodels: 0.8.0
xarray: None
IPython: 5.3.0
sphinx: 1.5.3
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 2.0.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999999999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: 2.7.1 (dt dec pq3 ext lo64)
jinja2: 2.9.5
boto: None
pandas_datareader: 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/15788/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15788/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15789
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15789/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15789/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15789/events
|
https://github.com/pandas-dev/pandas/pull/15789
| 216,516,012 |
MDExOlB1bGxSZXF1ZXN0MTEyMjk5MDIz
| 15,789 |
DOC: .groupby() aligns Series, accepts ndarray
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/684364?v=4",
"events_url": "https://api.github.com/users/kernc/events{/privacy}",
"followers_url": "https://api.github.com/users/kernc/followers",
"following_url": "https://api.github.com/users/kernc/following{/other_user}",
"gists_url": "https://api.github.com/users/kernc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kernc",
"id": 684364,
"login": "kernc",
"node_id": "MDQ6VXNlcjY4NDM2NA==",
"organizations_url": "https://api.github.com/users/kernc/orgs",
"received_events_url": "https://api.github.com/users/kernc/received_events",
"repos_url": "https://api.github.com/users/kernc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kernc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kernc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kernc"
}
|
[
{
"color": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 3 | 2017-03-23T17:46:49Z | 2017-03-23T19:10:45Z | 2017-03-23T19:10:25Z |
CONTRIBUTOR
| null |
- [x] closes https://github.com/pandas-dev/pandas/issues/15244
- [ ] tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.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/15789/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15789/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15789.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15789",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15789.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15789"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15790
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15790/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15790/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15790/events
|
https://github.com/pandas-dev/pandas/pull/15790
| 216,522,198 |
MDExOlB1bGxSZXF1ZXN0MTEyMzAzMzU3
| 15,790 |
COMPAT: 3.6.1 compat for change in PySlice_GetIndices_Ex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-23T18:06:49Z | 2017-03-23T19:13:08Z | 2017-03-23T19:11:33Z |
CONTRIBUTOR
| null |
This doesn't actually matter to any tests except for some internal consistency ones.
Bonus is that it eliminates a warning :<
note that we aren't actually testing this (yet) on Travis as our 3.6 build uses conda-forge and 3.6.1 is not there as of yet. Its in defaults though (and shows up on appveyor build).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15790/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15790/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15790.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15790",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15790.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15790"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15791
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15791/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15791/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15791/events
|
https://github.com/pandas-dev/pandas/issues/15791
| 216,553,658 |
MDU6SXNzdWUyMTY1NTM2NTg=
| 15,791 |
jupyter notebook kernel crashes when doing groupby, having one row with NaN
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5225437?v=4",
"events_url": "https://api.github.com/users/rojour/events{/privacy}",
"followers_url": "https://api.github.com/users/rojour/followers",
"following_url": "https://api.github.com/users/rojour/following{/other_user}",
"gists_url": "https://api.github.com/users/rojour/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rojour",
"id": 5225437,
"login": "rojour",
"node_id": "MDQ6VXNlcjUyMjU0Mzc=",
"organizations_url": "https://api.github.com/users/rojour/orgs",
"received_events_url": "https://api.github.com/users/rojour/received_events",
"repos_url": "https://api.github.com/users/rojour/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rojour/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rojour/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rojour"
}
|
[
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
closed
| false | null |
[] | null | 10 | 2017-03-23T19:57:20Z | 2021-05-08T01:34:36Z | 2021-05-08T01:34:36Z |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
df.groupby('City').count()['Bib'].sort_values(ascending=False).head(20)
```
#### Problem description
Data set has 26630 rows and one row of df["City"] has a NaN. The jupyter notebook kernel crashes.
#### Expected Output
A list of the top 20 cities is expected here.
df[df['City'].notnull()].groupby('City').count()['Bib'].sort_values(ascending=False).head(20)
produces the expected output.
https://github.com/rojour/boston_results
#### Output of ``pd.show_versions()``
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Darwin
OS-release: 16.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.19.2
nose: 1.3.7
pip: 9.0.1
setuptools: 27.2.0
Cython: 0.25.2
numpy: 1.11.3
scipy: 0.18.1
statsmodels: 0.6.1
xarray: None
IPython: 5.1.0
sphinx: 1.5.1
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2016.10
blosc: None
bottleneck: 1.2.0
tables: 3.3.0
numexpr: 2.6.1
matplotlib: 2.0.0
openpyxl: 2.4.1
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: 3.7.2
bs4: 4.5.3
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.1.5
pymysql: None
psycopg2: None
jinja2: 2.9.4
boto: 2.45.0
pandas_datareader: 0.2.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15791/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15791/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15792
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15792/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15792/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15792/events
|
https://github.com/pandas-dev/pandas/pull/15792
| 216,575,891 |
MDExOlB1bGxSZXF1ZXN0MTEyMzQwNTg3
| 15,792 |
CI: fix coverage file location
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-23T21:18:45Z | 2017-03-25T15:57:32Z | 2017-03-25T15:56:49Z |
CONTRIBUTOR
| null |
CI: clean up some unused env 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/15792/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15792/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15792.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15792",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15792.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15792"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15793
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15793/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15793/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15793/events
|
https://github.com/pandas-dev/pandas/issues/15793
| 216,578,173 |
MDU6SXNzdWUyMTY1NzgxNzM=
| 15,793 |
CLN/DEPR: html.border option -> display.html.border
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
}
| 1 | 2017-03-23T21:27:50Z | 2017-07-16T15:32:45Z | 2017-07-16T15:32:45Z |
CONTRIBUTOR
| null |
xref #11784
```
html.border : int
A ``border=value`` attribute is inserted in the ``<table>`` tag
for the DataFrame HTML repr.
[default: 1] [currently: 1]
```
should migrate this (by deprecation) and moving to a new option ``display.html.border`` to keep in-line with our namespacing.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15793/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15793/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15794
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15794/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15794/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15794/events
|
https://github.com/pandas-dev/pandas/issues/15794
| 216,580,313 |
MDU6SXNzdWUyMTY1ODAzMTM=
| 15,794 |
Add .nunique method to DataFrame and .groupby
|
{
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"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": "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"
}
| 3 | 2017-03-23T21:37:03Z | 2017-03-24T06:36:34Z | 2017-03-23T21:40:21Z |
CONTRIBUTOR
| null |
#### Currently, pd.DataFrame does not have a ``.nunique`` method
``DataFrames`` have various aggregation methods that they share with ``series``, examples being ``.sum``, ``.count`` etc. Likewise with ``DataFrame.groupby``-objects.
In many cases, a ``.nunique`` would be useful as on ``DataFrame`` and ``DataFrame.groupby``-objects, for example when you're trying to assess the diversity of data in a DataFrame.
#### Expected Output
When you're using ``DataFrame.nunique``, with ``n`` columns, you should get back a ``series`` where the index values are the dataframe.columns values, and the series values are the count of unique values, for each column.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15794/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15794/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15795
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15795/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15795/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15795/events
|
https://github.com/pandas-dev/pandas/pull/15795
| 216,591,712 |
MDExOlB1bGxSZXF1ZXN0MTEyMzUyMjM0
| 15,795 |
Rolling window endpoints inclusion
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/25321864?v=4",
"events_url": "https://api.github.com/users/carlosdanielcsantos/events{/privacy}",
"followers_url": "https://api.github.com/users/carlosdanielcsantos/followers",
"following_url": "https://api.github.com/users/carlosdanielcsantos/following{/other_user}",
"gists_url": "https://api.github.com/users/carlosdanielcsantos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/carlosdanielcsantos",
"id": 25321864,
"login": "carlosdanielcsantos",
"node_id": "MDQ6VXNlcjI1MzIxODY0",
"organizations_url": "https://api.github.com/users/carlosdanielcsantos/orgs",
"received_events_url": "https://api.github.com/users/carlosdanielcsantos/received_events",
"repos_url": "https://api.github.com/users/carlosdanielcsantos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/carlosdanielcsantos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/carlosdanielcsantos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/carlosdanielcsantos"
}
|
[
{
"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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 26 | 2017-03-23T22:29:19Z | 2017-04-13T11:39:51Z | 2017-04-13T11:39:15Z |
CONTRIBUTOR
| null |
- [x] closes #13965
- [x] time-based window tests added / passed
- [x] fixed window tests added / passed
- [x] passes ``git diff upstream/master --name-only -- '*.py' | flake8 --diff``
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 1,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15795/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15795/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15795.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15795",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15795.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15795"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15796
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15796/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15796/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15796/events
|
https://github.com/pandas-dev/pandas/issues/15796
| 216,598,270 |
MDU6SXNzdWUyMTY1OTgyNzA=
| 15,796 |
ERR: better error message for trying to concat non-pandas objects
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "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"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-10-28T18:54:27Z",
"closed_issues": 764,
"created_at": "2017-03-23T13:26:25Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2017-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/46",
"id": 2406656,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46/labels",
"node_id": "MDk6TWlsZXN0b25lMjQwNjY1Ng==",
"number": 46,
"open_issues": 0,
"state": "closed",
"title": "0.21.0",
"updated_at": "2018-07-08T21:53:21Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/46"
}
| 4 | 2017-03-23T23:03:41Z | 2017-10-18T10:27:57Z | 2017-10-18T10:27:57Z |
CONTRIBUTOR
| null |
```
In [3]: pd.concat([Series(), 'foo'])
TypeError: cannot concatenate a non-NDFrame object
```
trivially ``non-NDFrame`` -> ``non-pandas``. but I think even better would be something like
```
In [4]: objs = [Series(), 'foo']
In [7]: "cannot concatenate [{pandas}] with non-pandas objects of type [{non_pandas}]".format(
...: pandas=','.join(set([str(o.__class__.__name__) for o in objs if isinstance(o, pandas.core.generic.NDFrame)])),
...: non_pandas=','.join(set([str(type(o)) for o in objs if not isinstance(o, pandas.core.generic.NDFrame)])))
Out[7]: "cannot concatenate [Series] with non-pandas objects of type [<class 'str'>]"
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15796/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15796/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15797
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15797/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15797/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15797/events
|
https://github.com/pandas-dev/pandas/issues/15797
| 216,606,506 |
MDU6SXNzdWUyMTY2MDY1MDY=
| 15,797 |
BUG/API: degenerate monotonic but not lexsorted MultiIndexes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-23T23:55:09Z | 2017-04-22T02:58:17Z | 2017-04-22T02:58:17Z |
CONTRIBUTOR
| null |
after #15694. There are still some degenerate cases where even after ``.sort_index()`` a MI is not lexsorted (nor monotonic).
xref https://github.com/pandas-dev/pandas/pull/15694#issuecomment-288894362
We have a bunch of tests which assert this in ``test_multilevel.py``
```
In [1]: idx = MultiIndex([['A', 'B', 'C'], ['c', 'b', 'a']],
...: [[0,1,2,0,1,2], [0,2,1,1,0,2]])
...:
...: df = DataFrame({'col': range(len(idx))}, index=idx)
...:
In [2]: df
Out[2]:
col
A c 0
B a 1
C b 2
A b 3
B c 4
C a 5
In [3]: df.sort_index()
Out[3]:
col
A b 3
c 0
B a 1
c 4
C a 5
b 2
In [4]: df.sort_index().index.is_lexsorted()
Out[4]: False
In [5]: df.sort_index().index.is_monotonic
Out[5]: True
```
This can be fixed by the diff above. In essence, rather than ``.sort_index()`` *just* computing indexers off of _reconstructed index, we actually _reconnstruct the index on the returned object.
But this breaks a few things, namely some tests involving ``.stack()`` as that does ``.sort_index()`` internally. So would need to compensate. (and of course this subtley *changes* the actual returned values, in that they are actually sorted :>)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15797/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15797/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15798
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15798/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15798/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15798/events
|
https://github.com/pandas-dev/pandas/pull/15798
| 216,709,126 |
MDExOlB1bGxSZXF1ZXN0MTEyNDEyODMz
| 15,798 |
MAINT: Enforce string type for where parameter
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 5 | 2017-03-24T09:05:39Z | 2017-03-25T20:49:21Z | 2017-03-25T15:59:49Z |
MEMBER
| null |
Deprecated in 0.11.0.
xref #12027.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15798/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15798/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15798.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15798",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15798.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15798"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15799
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15799/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15799/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15799/events
|
https://github.com/pandas-dev/pandas/issues/15799
| 216,813,122 |
MDU6SXNzdWUyMTY4MTMxMjI=
| 15,799 |
read_csv arguments: can we have skipcols and userows?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3540347?v=4",
"events_url": "https://api.github.com/users/pseth/events{/privacy}",
"followers_url": "https://api.github.com/users/pseth/followers",
"following_url": "https://api.github.com/users/pseth/following{/other_user}",
"gists_url": "https://api.github.com/users/pseth/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pseth",
"id": 3540347,
"login": "pseth",
"node_id": "MDQ6VXNlcjM1NDAzNDc=",
"organizations_url": "https://api.github.com/users/pseth/orgs",
"received_events_url": "https://api.github.com/users/pseth/received_events",
"repos_url": "https://api.github.com/users/pseth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pseth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pseth/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pseth"
}
|
[
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "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": "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 |
[] | null | 4 | 2017-03-24T15:04:59Z | 2017-03-27T11:59:25Z | 2017-03-27T11:02:44Z |
NONE
| null |
Is there a reason why `read_csv` has a `usecols` and `skiprows` as arguments, but not `skipcols` and `userows`? Is this to avoid parameter checks or something more fundamental than that?
It would be nice to have all four options to avoid clunky inversions of the type `usecols = columns.remove(unwanted_col)`.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15799/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15799/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15800
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15800/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15800/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15800/events
|
https://github.com/pandas-dev/pandas/issues/15800
| 216,853,213 |
MDU6SXNzdWUyMTY4NTMyMTM=
| 15,800 |
ERR: need a better error message when trying to compare incompat types on merge
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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": "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"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false | null |
[] |
{
"closed_at": 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"
}
| 0 | 2017-03-24T17:23:16Z | 2018-02-03T20:30:30Z | 2018-02-03T20:30:30Z |
CONTRIBUTOR
| null |
xref https://github.com/pandas-dev/pandas/pull/11410#issuecomment-289083481
These are *both* datetimes, but *not* compatible.
```
In [8]: df = DataFrame({'A':pd.date_range('20130101',periods=3),'B':pd.date_range('20130101',periods=3,tz='US/Eastern')})
In [9]: pd.merge(df, df, left_on='A', right_on='B')
TypeError: Argument 'values' has incorrect type (expected numpy.ndarray, got Index)
```
|
{
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 1,
"laugh": 0,
"rocket": 0,
"total_count": 5,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15800/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15800/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15801
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15801/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15801/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15801/events
|
https://github.com/pandas-dev/pandas/issues/15801
| 216,988,754 |
MDU6SXNzdWUyMTY5ODg3NTQ=
| 15,801 |
TST/BUG: HDFStore.append_to_multiple with dropna=False buggy
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "5319e7",
"default": false,
"description": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
}
] |
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"
}
| 0 | 2017-03-25T17:13:15Z | 2021-05-08T01:36:08Z | null |
CONTRIBUTOR
| null |
xfaile this test: https://github.com/pandas-dev/pandas/pull/15601/commits/4dc2ef8b0af84e60e8ec1dcc070dc9e478defdf8
in ``pandas/tests/io/test_pytables.py``
```
@pytest.mark.xfail(run=False,
reason="append_to_multiple_dropna_false "
"is not raising as failed")
def test_append_to_multiple_dropna_false(self):
df1 = tm.makeTimeDataFrame()
df2 = tm.makeTimeDataFrame().rename(columns=lambda x: "%s_2" % x)
df1.iloc[1, df1.columns.get_indexer(['A', 'B'])] = np.nan
df = concat([df1, df2], axis=1)
with ensure_clean_store(self.path) as store:
# dropna=False shouldn't synchronize row indexes
store.append_to_multiple(
{'df1a': ['A', 'B'], 'df2a': None}, df, selector='df1a',
dropna=False)
with pytest.raises(ValueError):
store.select_as_multiple(['df1a', 'df2a'])
assert not store.select('df1a').index.equals(
store.select('df2a').index)
```
This sometimes succeed and sometimes fails. Needs some investigation.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15801/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15801/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/15802
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15802/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15802/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15802/events
|
https://github.com/pandas-dev/pandas/pull/15802
| 217,012,386 |
MDExOlB1bGxSZXF1ZXN0MTEyNjA2ODg5
| 15,802 |
Revert "MAINT: Remove Long and WidePanel (#15748)"
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-03-25T23:11:14Z | 2017-03-26T02:17:11Z | 2017-03-26T02:16:32Z |
CONTRIBUTOR
| null |
This reverts commit bff47f2302a0be4dcbf7e5055e525d5652e08fb5.
xref #15748
we will have to push this to a later pandas major version as statsmodels not fully compat: https://github.com/statsmodels/statsmodels/issues/3580
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15802/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15802/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15802.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15802",
"merged_at": "2017-03-26T02:16:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15802.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15802"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15803
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15803/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15803/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15803/events
|
https://github.com/pandas-dev/pandas/pull/15803
| 217,013,239 |
MDExOlB1bGxSZXF1ZXN0MTEyNjA3MzAz
| 15,803 |
CI: cleanup / linting
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-25T23:28:34Z | 2017-03-26T02:16:47Z | 2017-03-26T02:16:11Z |
CONTRIBUTOR
| null |
CI: typo in .travis.yml for print_skipped
CI: linted .travis.yml
CI: removed CLIPBOARD env variables as not used
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15803/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15803/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15803.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15803",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15803.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15803"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15804
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15804/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15804/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15804/events
|
https://github.com/pandas-dev/pandas/pull/15804
| 217,018,522 |
MDExOlB1bGxSZXF1ZXN0MTEyNjA5OTk4
| 15,804 |
DOC: Explain differences further for sep parameter
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "read_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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 1 | 2017-03-26T01:25:12Z | 2017-03-26T20:02:53Z | 2017-03-26T17:02:46Z |
MEMBER
| null |
Per comment in <a href="https://github.com/pandas-dev/pandas/issues/12686#issuecomment-288843261">#12686</a>. This is the only documentation issue that I found amongst the differences that still exist between the C and Python engines in `parsers.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/15804/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15804/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15804.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15804",
"merged_at": "2017-03-26T17:02:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15804.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15804"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15805
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15805/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15805/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15805/events
|
https://github.com/pandas-dev/pandas/pull/15805
| 217,018,987 |
MDExOlB1bGxSZXF1ZXN0MTEyNjEwMjEy
| 15,805 |
MAINT: Remove combineAdd and combineMult
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-03-26T01:36:12Z | 2017-03-26T20:02:49Z | 2017-03-26T16:58:59Z |
MEMBER
| null |
Deprecated in 0.17.0.
xref #10735
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15805/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15805/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15805.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15805",
"merged_at": "2017-03-26T16:58:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/15805.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15805"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15806
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15806/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15806/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15806/events
|
https://github.com/pandas-dev/pandas/pull/15806
| 217,019,796 |
MDExOlB1bGxSZXF1ZXN0MTEyNjEwNTEy
| 15,806 |
Drop support for NaN categories in Categorical
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
}
|
[
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false | null |
[] |
{
"closed_at": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 4 | 2017-03-26T01:48:11Z | 2017-03-27T19:16:59Z | 2017-03-27T14:47:02Z |
MEMBER
| null |
Deprecated in 0.17.0.
xref #10748
xref #13648
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15806/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15806/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15806.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15806",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15806.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15806"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15807
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/15807/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15807/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/15807/events
|
https://github.com/pandas-dev/pandas/pull/15807
| 217,053,731 |
MDExOlB1bGxSZXF1ZXN0MTEyNjI4MjU3
| 15,807 |
CI: simplify ci setup a bit
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": "2017-05-06T10:20:19Z",
"closed_issues": 987,
"created_at": "2016-02-08T15:30:21Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.19.x series",
"due_on": "2017-05-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/39",
"id": 1570595,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels",
"node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==",
"number": 39,
"open_issues": 0,
"state": "closed",
"title": "0.20.0",
"updated_at": "2018-10-28T08:18:42Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39"
}
| 2 | 2017-03-26T13:54:43Z | 2017-03-27T10:48:44Z | 2017-03-26T15:12:20Z |
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/15807/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/15807/timeline
| null | 0 |
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/15807.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/15807",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/15807.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/15807"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.