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/37319
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37319/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37319/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37319/events
|
https://github.com/pandas-dev/pandas/pull/37319
| 726,738,626
|
MDExOlB1bGxSZXF1ZXN0NTA3NzU4MDI1
| 37,319
|
TST/REF: misplaced frame.indexing tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-21T17:59:06Z
| 2020-10-22T23:49:11Z
| 2020-10-22T23:33:10Z
|
MEMBER
| null |
I've been saving the indexing tests for last-ish because they are some of the hardest to organize consistently. This starts in on 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/37319/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37319/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37319.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37319",
"merged_at": "2020-10-22T23:33:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37319.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37319"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37320
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37320/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37320/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37320/events
|
https://github.com/pandas-dev/pandas/pull/37320
| 726,802,322
|
MDExOlB1bGxSZXF1ZXN0NTA3ODEyMjE2
| 37,320
|
ENH: enable Series.info()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
] |
open
| false
| null |
[] | null | 14
| 2020-10-21T19:26:28Z
| 2021-10-05T15:39:35Z
| null |
MEMBER
| null |
- [ ] closes #5167
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
I took over https://github.com/pandas-dev/pandas/pull/31796 from @MarcoGorelli.
In this PR I took the tests and the docstring from https://github.com/pandas-dev/pandas/pull/31796, refactored tests (separated into dataframe and series-related only test classes).
Then on top of the recent changes (https://github.com/pandas-dev/pandas/pull/36752) I implemented series info.
New classes:
- ``SeriesInfo`` (store data, which will be used in the outputs)
- ``SeriesInfoPrinter`` (basically creator of the appropriate table builder)
- ``SeriesTableBuilder`` (both Verbose and NonVerbose)
- ``TableBuilderVerboseMixin`` (shared functionality for verbose info builders of both dataframe and series)
It seems to me that tests are not sufficient enough.
In particular, it seems that empty series info should be covered.
Currently there is a special empty dataframe info, but for series info there is just a generic verbose info with zero items.
If there is a need for a dedicated empty series info, then I would need to add method ``_fill_empty_info`` into ``SeriesTableBuilder``.
Static typing makes code quite verbose. In some cases we have the very same methods/properties, but with different type annotations to satisfy type checking (methods are small, but anyway). If somebody can suggest me a better way to handle it, then that would be great.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37320/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37320/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37320.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37320",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37320.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37320"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37321
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37321/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37321/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37321/events
|
https://github.com/pandas-dev/pandas/pull/37321
| 726,833,019
|
MDExOlB1bGxSZXF1ZXN0NTA3ODM4MDM5
| 37,321
|
BUG: Index._id
|
{
"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": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-10-21T20:16:12Z
| 2020-10-24T08:05:43Z
| 2020-10-22T23:31:02Z
|
CONTRIBUTOR
| null |
Fixes #37213.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37321/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37321/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37321.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37321",
"merged_at": "2020-10-22T23:31:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37321.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37321"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37322
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37322/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37322/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37322/events
|
https://github.com/pandas-dev/pandas/pull/37322
| 726,902,225
|
MDExOlB1bGxSZXF1ZXN0NTA3ODk2MTAy
| 37,322
|
DOC: Add protocol value '5' to pickle #37316
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5007013?v=4",
"events_url": "https://api.github.com/users/botplex/events{/privacy}",
"followers_url": "https://api.github.com/users/botplex/followers",
"following_url": "https://api.github.com/users/botplex/following{/other_user}",
"gists_url": "https://api.github.com/users/botplex/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/botplex",
"id": 5007013,
"login": "botplex",
"node_id": "MDQ6VXNlcjUwMDcwMTM=",
"organizations_url": "https://api.github.com/users/botplex/orgs",
"received_events_url": "https://api.github.com/users/botplex/received_events",
"repos_url": "https://api.github.com/users/botplex/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/botplex/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/botplex/subscriptions",
"type": "User",
"url": "https://api.github.com/users/botplex"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-21T22:18:57Z
| 2020-10-22T16:04:19Z
| 2020-10-22T00:11:03Z
|
CONTRIBUTOR
| null |
- [X] closes #37316
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37322/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37322/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37322.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37322",
"merged_at": "2020-10-22T00:11:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37322.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37322"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37323
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37323/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37323/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37323/events
|
https://github.com/pandas-dev/pandas/issues/37323
| 726,905,901
|
MDU6SXNzdWU3MjY5MDU5MDE=
| 37,323
|
df.groupby(by=["b"], dropna=False).sum() returns"groupby() got an unexpected keyword argument 'dropna'"
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26466421?v=4",
"events_url": "https://api.github.com/users/vahanm01/events{/privacy}",
"followers_url": "https://api.github.com/users/vahanm01/followers",
"following_url": "https://api.github.com/users/vahanm01/following{/other_user}",
"gists_url": "https://api.github.com/users/vahanm01/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vahanm01",
"id": 26466421,
"login": "vahanm01",
"node_id": "MDQ6VXNlcjI2NDY2NDIx",
"organizations_url": "https://api.github.com/users/vahanm01/orgs",
"received_events_url": "https://api.github.com/users/vahanm01/received_events",
"repos_url": "https://api.github.com/users/vahanm01/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vahanm01/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vahanm01/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vahanm01"
}
|
[
{
"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 |
[] | null | 6
| 2020-10-21T22:27:03Z
| 2021-09-30T12:49:10Z
| 2020-10-22T00:26:27Z
|
NONE
| null |
Using the official documentation for groupby: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.groupby.html
the dropna=False argument does not work even with given example.
l = [[1, 2, 3], [1, None, 4], [2, 1, 3], [1, 2, 2]]
df = pd.DataFrame(l, columns=["a", "b", "c"])
df.groupby(by=["b"], dropna=False).sum()
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37323/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37323/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37324
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37324/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37324/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37324/events
|
https://github.com/pandas-dev/pandas/pull/37324
| 726,920,490
|
MDExOlB1bGxSZXF1ZXN0NTA3OTExMzI2
| 37,324
|
TST/REF: collect _libs tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-21T23:03:25Z
| 2020-10-22T22:16:39Z
| 2020-10-22T22:13:36Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37324/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37324/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37324.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37324",
"merged_at": "2020-10-22T22:13:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37324.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37324"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37325
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37325/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37325/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37325/events
|
https://github.com/pandas-dev/pandas/pull/37325
| 726,922,176
|
MDExOlB1bGxSZXF1ZXN0NTA3OTEyNzU1
| 37,325
|
TST/REF: method-specific files for lookup, get_value, set_value
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-21T23:07:54Z
| 2020-10-22T01:12:04Z
| 2020-10-22T00:12:19Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37325/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37325/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37325.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37325",
"merged_at": "2020-10-22T00:12:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37325.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37325"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37326
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37326/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37326/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37326/events
|
https://github.com/pandas-dev/pandas/pull/37326
| 726,944,065
|
MDExOlB1bGxSZXF1ZXN0NTA3OTMxMTg5
| 37,326
|
Backport PR #37288 on branch 1.1.x (Regression in offsets caused offsets to be no longer hashable)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "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": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
}
| 0
| 2020-10-22T00:08:47Z
| 2020-10-22T07:37:38Z
| 2020-10-22T07:37:37Z
|
NONE
| null |
Backport PR #37288: Regression in offsets caused offsets to be no longer hashable
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37326/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37326/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37326.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37326",
"merged_at": "2020-10-22T07:37:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37326.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37326"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37327
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37327/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37327/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37327/events
|
https://github.com/pandas-dev/pandas/issues/37327
| 726,948,064
|
MDU6SXNzdWU3MjY5NDgwNjQ=
| 37,327
|
BUG: uint32 is not being preserved while round-tripping through parquet file
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11664259?v=4",
"events_url": "https://api.github.com/users/galipremsagar/events{/privacy}",
"followers_url": "https://api.github.com/users/galipremsagar/followers",
"following_url": "https://api.github.com/users/galipremsagar/following{/other_user}",
"gists_url": "https://api.github.com/users/galipremsagar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/galipremsagar",
"id": 11664259,
"login": "galipremsagar",
"node_id": "MDQ6VXNlcjExNjY0MjU5",
"organizations_url": "https://api.github.com/users/galipremsagar/orgs",
"received_events_url": "https://api.github.com/users/galipremsagar/received_events",
"repos_url": "https://api.github.com/users/galipremsagar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/galipremsagar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galipremsagar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/galipremsagar"
}
|
[
{
"color": "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": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32043733?v=4",
"events_url": "https://api.github.com/users/allenmac347/events{/privacy}",
"followers_url": "https://api.github.com/users/allenmac347/followers",
"following_url": "https://api.github.com/users/allenmac347/following{/other_user}",
"gists_url": "https://api.github.com/users/allenmac347/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/allenmac347",
"id": 32043733,
"login": "allenmac347",
"node_id": "MDQ6VXNlcjMyMDQzNzMz",
"organizations_url": "https://api.github.com/users/allenmac347/orgs",
"received_events_url": "https://api.github.com/users/allenmac347/received_events",
"repos_url": "https://api.github.com/users/allenmac347/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/allenmac347/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/allenmac347/subscriptions",
"type": "User",
"url": "https://api.github.com/users/allenmac347"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/32043733?v=4",
"events_url": "https://api.github.com/users/allenmac347/events{/privacy}",
"followers_url": "https://api.github.com/users/allenmac347/followers",
"following_url": "https://api.github.com/users/allenmac347/following{/other_user}",
"gists_url": "https://api.github.com/users/allenmac347/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/allenmac347",
"id": 32043733,
"login": "allenmac347",
"node_id": "MDQ6VXNlcjMyMDQzNzMz",
"organizations_url": "https://api.github.com/users/allenmac347/orgs",
"received_events_url": "https://api.github.com/users/allenmac347/received_events",
"repos_url": "https://api.github.com/users/allenmac347/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/allenmac347/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/allenmac347/subscriptions",
"type": "User",
"url": "https://api.github.com/users/allenmac347"
}
] | null | 7
| 2020-10-22T00:19:07Z
| 2021-08-13T05:16:16Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
In[42]: df = pd.DataFrame({'a':pd.Series([1, 2, 3], dtype="uint64")})
In[43]: df.to_parquet('a')
In[44]: pd.read_parquet('a').dtypes
Out[44]:
a uint64
dtype: object
In[45]: df = pd.DataFrame({'a':pd.Series([1, 2, 3], dtype="uint32")})
In[46]: df.to_parquet('a')
In[47]: pd.read_parquet('a').dtypes
Out[47]:
a int64
dtype: object
```
#### Problem description
It appears to be that `uint32` is not being preserved like `uint64` is being preserved while round-tripping through a parquet file.
#### Expected Output
Preserve the `uint32` dtype.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.8.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-52-generic
Version : #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : 6.1.1
hypothesis : 5.37.3
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.4
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.1
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.51.2
</details>
Crosslinking to cudf fuzz-testing for tracking purpose: https://github.com/rapidsai/cudf/issues/6001
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37327/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37327/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37328
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37328/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37328/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37328/events
|
https://github.com/pandas-dev/pandas/issues/37328
| 726,979,467
|
MDU6SXNzdWU3MjY5Nzk0Njc=
| 37,328
|
TST: eval test unreliable
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "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"
},
{
"color": "f3afff",
"default": false,
"description": "pd.eval, query",
"id": 1631985267,
"name": "expressions",
"node_id": "MDU6TGFiZWwxNjMxOTg1MjY3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/expressions"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
}
] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-22T01:54:16Z
| 2020-10-28T12:04:57Z
| 2020-10-28T12:04:57Z
|
MEMBER
| null |
Ran into an unrelated failure I haven't seen before in #37227. Occurs in pandas/tests/computation/test_eval.py:211
https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=45754&view=logs&j=89027c74-d1cd-5e5d-942f-e6a83ebe07fe&t=768a7acf-33bc-5b3d-16e1-da874611990b&l=92
```
E numpy array values are different (2.0 %)
E [left]: [[10.885282508088554, 24.01653292315993, 2.5334764666276754, -26.20850153209755, -9.292195139788854], [4.631505078070531, 0.43305142455418066, 9.796254287558813, -0.817344630073512, -0.22979400652647], [16.964677878827604, 3.69159983714683, 0.16736723603895715, -13.866779975183137, -0.6547978574323233], [0.9332007475405953, 7.326122317479498, 2.2912333245159338, -0.9957313583066364, -0.21968895568980523], [1.2901449066742292, 1.5178122458579082, 0.3101899430985658, -0.3600640963287845, -3.8622009358387115], [1.7324531378555383, 1.6717678316305915, 0.39248288379342006, -2.259323953594114, -13.215192982180358], [60.71781357885021, 13.08256705151808, 3.306197592158367, -2.603163236030203, -0.5783506355776388], [47.71284995565457, 39.508260846448245, 0.16695497225705538, -7.39400467084908, -0.9437156402277913], [0.40861584564047, 611.3601636482858, 0.8350779591410551, -3.034557944041943, -0.33953697203938915], [46.62807235120426, 6.308023182021756, 5.01671850424403, -0.23877079736974396, -0.5460348132251863]]
E [right]: [[10.885282508088554, 24.01653292315993, 2.5334764666276754, -26.20850153209755, -9.292195139788854], [4.631505078070531, 0.43305142455418066, 9.796254287558813, -0.817344630073512, -0.22979400652647], [16.964677878827608, 3.69159983714683, 0.16736723603895715, -13.866779975183137, -0.6547978574323233], [0.9332007475405953, 7.326122317479498, 2.2912333245159338, -0.9957313583066364, -0.21968895568980523], [1.2901449066742292, 1.5178122458579082, 0.3101899430985658, -0.3600640963287845, -3.8622009358387115], [1.7324531378555383, 1.6717678316305915, 0.39248288379342006, -2.259323953594114, -13.215192982180358], [60.71781357885021, 13.08256705151808, 3.306197592158367, -2.603163236030203, -0.5783506355776388], [47.71284995565457, 39.508260846448245, 0.16695497225705538, -7.39400467084908, -0.9437156402277913], [0.40861584564047, 611.3601636482858, 0.8350779591410551, -3.034557944041943, -0.33953697203938915], [46.62807235120426, 6.308023182021756, 5.01671850424403, -0.23877079736974396, -0.5460348132251863]]
```
where one entry is `16.964677878827604` and the other is `16.964677878827608`. Haven't looked into it, but guessing this is a numerical precision issue.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37328/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37328/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37329
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37329/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37329/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37329/events
|
https://github.com/pandas-dev/pandas/pull/37329
| 726,998,999
|
MDExOlB1bGxSZXF1ZXN0NTA3OTc1MjM5
| 37,329
|
#31793 Add support for subtracting datetime from Timestamp
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2414360?v=4",
"events_url": "https://api.github.com/users/AnjoMan/events{/privacy}",
"followers_url": "https://api.github.com/users/AnjoMan/followers",
"following_url": "https://api.github.com/users/AnjoMan/following{/other_user}",
"gists_url": "https://api.github.com/users/AnjoMan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AnjoMan",
"id": 2414360,
"login": "AnjoMan",
"node_id": "MDQ6VXNlcjI0MTQzNjA=",
"organizations_url": "https://api.github.com/users/AnjoMan/orgs",
"received_events_url": "https://api.github.com/users/AnjoMan/received_events",
"repos_url": "https://api.github.com/users/AnjoMan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AnjoMan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnjoMan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AnjoMan"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
open
| false
| null |
[] | null | 25
| 2020-10-22T02:48:06Z
| 2021-11-01T23:56:16Z
| null |
NONE
| null |
- [x] closes #31793
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Based on the discussion in the attached issue, i've made the following changes:
1. add support for subtracting when the two items have different timezones
2. raise an error if one (but not both) timezone is naive
The root cause of 31793 was that the tzinfo objects were from different libraries -- `Timestamp` makes a `pytz.UTC` whereas a datetime object might just have `datetime.timezone.utc`. These objects are not necessarily equal, even if they represent the same timezone.
In addition, this change *adds* support for time-deltas where the timezone of each date is not the same. This follows the behaviour of `datetime` more closely.
I reference the [python `datetime` module documentation](https://docs.python.org/3/library/datetime.html) which defines when a datetime is naive: when its `tzinfo` is `None` or a call to `item.tzinfo.utcoffset(item)` returns `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/37329/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37329/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37329.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37329",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37329.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37329"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37330
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37330/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37330/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37330/events
|
https://github.com/pandas-dev/pandas/pull/37330
| 727,002,182
|
MDExOlB1bGxSZXF1ZXN0NTA3OTc3MzY0
| 37,330
|
BUG: IntervalIndex.take without fill_value
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-22T02:56:01Z
| 2021-01-04T06:19:44Z
| 2020-10-31T18:56:21Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
`IntervalIndex.take([0, 1, -1])` without explicitly passing fill_value should not fill the -1 as NA.
Fixing this allows us to use the base class `take` for `IntervalIndex.take` (the original motivation)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37330/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37330/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37330.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37330",
"merged_at": "2020-10-31T18:56:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37330.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37330"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37331
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37331/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37331/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37331/events
|
https://github.com/pandas-dev/pandas/pull/37331
| 727,095,706
|
MDExOlB1bGxSZXF1ZXN0NTA4MDU0NTY3
| 37,331
|
DOC: Remove confusing description from `core.DataFrame.iterrows`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5734732?v=4",
"events_url": "https://api.github.com/users/TKNGUE/events{/privacy}",
"followers_url": "https://api.github.com/users/TKNGUE/followers",
"following_url": "https://api.github.com/users/TKNGUE/following{/other_user}",
"gists_url": "https://api.github.com/users/TKNGUE/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TKNGUE",
"id": 5734732,
"login": "TKNGUE",
"node_id": "MDQ6VXNlcjU3MzQ3MzI=",
"organizations_url": "https://api.github.com/users/TKNGUE/orgs",
"received_events_url": "https://api.github.com/users/TKNGUE/received_events",
"repos_url": "https://api.github.com/users/TKNGUE/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TKNGUE/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TKNGUE/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TKNGUE"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-22T06:36:01Z
| 2020-10-24T07:31:13Z
| 2020-10-24T07:31:01Z
|
CONTRIBUTOR
| null |
Current [`core.DataFrame.iterrows`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.iterrows.html) is as follows

However, `core.DataFrame.iterrows` actually returns an iterator which yields `(index, data)`, not `(index, data, it)`.
This PRs remove such confusing description like [https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.iteritems.html?highlight=yields]
- [ ] closes #xxxx (no issues found)
- [ ] tests passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37331/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37331/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37331.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37331",
"merged_at": "2020-10-24T07:31:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37331.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37331"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37332
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37332/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37332/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37332/events
|
https://github.com/pandas-dev/pandas/pull/37332
| 727,131,680
|
MDExOlB1bGxSZXF1ZXN0NTA4MDg0MTUx
| 37,332
|
REF: extract dialect validation
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-22T07:36:10Z
| 2020-11-06T15:38:43Z
| 2020-10-23T00:08:28Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Following https://github.com/pandas-dev/pandas/pull/36852, I extracted validation of dialect into a separate function.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37332/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37332/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37332.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37332",
"merged_at": "2020-10-23T00:08:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37332.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37332"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37333
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37333/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37333/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37333/events
|
https://github.com/pandas-dev/pandas/issues/37333
| 727,141,279
|
MDU6SXNzdWU3MjcxNDEyNzk=
| 37,333
|
QST:bug or not? silent fail of df.iloc[].loc[] = newDataType
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7557986?v=4",
"events_url": "https://api.github.com/users/matt32106/events{/privacy}",
"followers_url": "https://api.github.com/users/matt32106/followers",
"following_url": "https://api.github.com/users/matt32106/following{/other_user}",
"gists_url": "https://api.github.com/users/matt32106/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/matt32106",
"id": 7557986,
"login": "matt32106",
"node_id": "MDQ6VXNlcjc1NTc5ODY=",
"organizations_url": "https://api.github.com/users/matt32106/orgs",
"received_events_url": "https://api.github.com/users/matt32106/received_events",
"repos_url": "https://api.github.com/users/matt32106/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/matt32106/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/matt32106/subscriptions",
"type": "User",
"url": "https://api.github.com/users/matt32106"
}
|
[
{
"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": "f2f074",
"default": false,
"description": "Warnings that appear or should be added to pandas",
"id": 1628184320,
"name": "Warnings",
"node_id": "MDU6TGFiZWwxNjI4MTg0MzIw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings"
},
{
"color": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] |
open
| false
| null |
[] | null | 1
| 2020-10-22T07:51:16Z
| 2021-08-13T05:17:49Z
| null |
NONE
| null |
If I use a loc chained to a iloc I can change a value if it is of the same dtype:
```python
df = pd.DataFrame([[0, 2, 3], [0, 4, 1], [10, 20, 30]],
... index=[4, 5, 6], columns=['A', 'B', 'C'])
df.iloc[1].loc["B"] = 999
df
A B C
4 0 2 3
5 0 999 1
6 10 20 30
```
This changes the value to 999.
However, this does not work and fails silently if the dtype is different:
```python
df.iloc[1].loc["B"] = "888"
df
A B C
4 0 2 3
5 0 999 1
6 10 20 30
```
The value is not changed and there is no error raised.
This seems not consistent with the behavior of doing this:
```python
df.iloc[1,1] = "888"
df
A B C
4 0 2 3
5 0 888 1
6 10 20 30
```
the last code above changes the type of the column silently.
```
df.dtypes
A int64
B object
C int64
```
Envirnt:
```
Python 3.8.5
pd.__version__ : '1.1.3'
```
I am only a beginner in pandas so I am wondering if this should be reported as a bug or requesting a feature request or if this behavior is normal.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37333/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37333/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37334
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37334/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37334/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37334/events
|
https://github.com/pandas-dev/pandas/issues/37334
| 727,175,265
|
MDU6SXNzdWU3MjcxNzUyNjU=
| 37,334
|
CLN make namespace usage in tests consistent
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] | null | 5
| 2020-10-22T08:38:06Z
| 2020-10-22T09:16:39Z
| 2020-10-22T09:15:39Z
|
MEMBER
| null |
Currently, there are many test files where we use the pandas namespace inconsistently: for example, we do
```
import pandas as pd
from pandas import DataFrame
```
and then one test function uses `pd.DataFrame`, the other `DataFrame`.
The goal here is to be consistent: each file should either just contain pd.DataFrame, or DataFrame. Same goes for, e.g. `to_timedelta`, `Series`, ...
Here are the files which have such inconsistencies. If you'd like to work on this, please choose 10-15 files at a time.
**There is no need to ask for permission to work on this.** Just open a pull request, and link to this issue: write `xref #` in the pull request description. I'll do my best to keep the checklist up-to-date.
List of files which may need changing (along with an example of an offending line):
- [ ] pandas/tests/api/test_api.py:238: assert datetime(2015, 1, 2, 0, 0) == pd.datetime(2015, 1, 2, 0, 0)
- [ ] pandas/tests/arithmetic/conftest.py:85: Float64Index([nan, inf, inf, inf, inf], dtype='float64')
- [ ] pandas/tests/arithmetic/test_datetime64.py:54: dti = date_range("20130101", periods=3, tz=tz)
- [ ] pandas/tests/arithmetic/test_interval.py:53:def array(left_right_dtypes):
- [ ] pandas/tests/arithmetic/test_numeric.py:138: expected = pd.TimedeltaIndex(["10s", "40s", "90s"])
- [ ] pandas/tests/arithmetic/test_object.py:132: [Timestamp("2011-01-01"), Timestamp("2011-01-02"), pd.NaT],
- [ ] pandas/tests/arithmetic/test_period.py:35: pi = pd.period_range("2000", periods=4)
- [ ] pandas/tests/arithmetic/test_timedelta64.py:57: tdi = pd.timedelta_range("2H", periods=4)
- [ ] pandas/tests/arrays/boolean/test_arithmetic.py:12: return pd.array(
- [ ] pandas/tests/arrays/boolean/test_astype.py:10: arr = pd.array([True, False, None], dtype="boolean")
- [ ] pandas/tests/arrays/boolean/test_comparison.py:12: return pd.array(
- [ ] pandas/tests/arrays/boolean/test_construction.py:11: values = np.array([True, False, True, False], dtype="bool")
- [ ] pandas/tests/arrays/boolean/test_function.py:13: a = pd.array([True, False, None], dtype="boolean")
- [ ] pandas/tests/arrays/boolean/test_logical.py:14: a = pd.array([True, False, None], dtype="boolean")
- [ ] pandas/tests/arrays/categorical/test_constructors.py:35: ordered = np.array([0, 1, 2])
- [ ] pandas/tests/arrays/categorical/test_indexing.py:37: expected = Categorical(["c", "b", "b", "a", "a", "c", "c", "c"], ordered=True)
- [ ] pandas/tests/arrays/categorical/test_missing.py:24: tm.assert_numpy_array_equal(isna(cat), labels == -1)
- [ ] pandas/tests/arrays/categorical/test_operators.py:15: factor = Categorical(["a", "b", "b", "a", "a", "c", "c", "c"], ordered=True)
- [ ] pandas/tests/arrays/floating/test_arithmetic.py:27: a = pd.array([1.0, 2.0, None, 4.0, 5.0], dtype=dtype)
- [ ] pandas/tests/arrays/floating/test_astype.py:10: arr = pd.array([0.1, 0.2, None], dtype="Float64")
- [ ] pandas/tests/arrays/floating/test_construction.py:11: a = pd.array([1, None], dtype=pd.Float64Dtype())
- [ ] pandas/tests/arrays/floating/test_function.py:12: a = pd.array([1, 2, -3, np.nan], dtype="Float64")
- [ ] pandas/tests/arrays/floating/test_to_numpy.py:16: expected = np.array([0.1, 0.2, 0.3], dtype="object")
- [ ] pandas/tests/arrays/integer/test_arithmetic.py:21: a = pd.array([0, 1, None, 3, 4], dtype=dtype)
- [ ] pandas/tests/arrays/integer/test_construction.py:12: a = pd.array([1, None], dtype=pd.Int64Dtype())
- [ ] pandas/tests/arrays/integer/test_dtypes.py:46: {"B": np.array([1.0, 3.0]), "C": integer_array([1, 3], dtype="Int64")},
- [ ] pandas/tests/arrays/integer/test_function.py:48: arr = np.array([1, 2, 3, 4])
- [ ] pandas/tests/arrays/interval/test_interval.py:25: (date_range("20170101", periods=3), date_range("20170102", periods=3)),
- [ ] pandas/tests/arrays/masked/test_arithmetic.py:11:arrays = [pd.array([1, 2, 3, None], dtype=dtype) for dtype in tm.ALL_EA_INT_DTYPES]
- [ ] pandas/tests/arrays/masked/test_arrow_compat.py:8:arrays = [pd.array([1, 2, 3, None], dtype=dtype) for dtype in tm.ALL_EA_INT_DTYPES]
- [ ] pandas/tests/arrays/sparse/test_array.py:19: self.arr_data = np.array([np.nan, np.nan, 1, 2, 3, np.nan, 4, 5, np.nan, 6])
- [ ] pandas/tests/arrays/sparse/test_dtype.py:22: sparse_dtype = SparseDtype(dtype)
- [ ] pandas/tests/arrays/string_/test_string.py:13: df = pd.DataFrame({"A": pd.array(["a", pd.NA, "b"], dtype="string")})
- [ ] pandas/tests/arrays/test_array.py:33: ([1, 2], object, PandasArray(np.array([1, 2], dtype=object))),
- [ ] pandas/tests/arrays/test_datetimelike.py:677: arr.take([-1, 1], allow_fill=True, fill_value=pd.Period("2014Q1"))
- [ ] pandas/tests/arrays/test_datetimes.py:24: arr = np.array([0, 1, 2, 3], dtype="M8[h]").astype("M8[ns]")
- [ ] pandas/tests/base/test_conversion.py:126: i = CategoricalIndex([Timestamp("1999-12-31"), Timestamp("2000-12-31")])
- [ ] pandas/tests/base/test_misc.py:112: assert Index([1]).item() == 1
- [ ] pandas/tests/base/test_value_counts.py:36: expected.index = pd.Index(expected.index)
- [ ] pandas/tests/computation/test_eval.py:191: result = pd.eval(ex, engine=self.engine, parser=self.parser)
- [ ] pandas/tests/dtypes/test_common.py:170: assert com.is_object_dtype(np.array([], dtype=object))
- [ ] pandas/tests/dtypes/test_dtypes.py:313: dr = date_range("20130101", periods=3, tz="US/Eastern")
- [ ] pandas/tests/dtypes/test_inference.py:83: (Index([1]), True, "Index"),
- [ ] pandas/tests/dtypes/test_missing.py:67: assert isna(np.array(np.nan))
- [ ] pandas/tests/extension/arrow/arrays.py:119: pa.chunked_array([pa.array(result, mask=pd.isna(self._data.to_pandas()))])
- [ ] pandas/tests/extension/base/getitem.py:134: expected = data[np.array([], dtype="int64")]
- [ ] pandas/tests/extension/base/methods.py:33: data = data[:10].unique()
- [ ] pandas/tests/extension/base/missing.py:13: result = pd.isna(data_missing)
- [ ] pandas/tests/extension/base/setitem.py:47: data[np.array([], dtype=int)] = []
- [ ] pandas/tests/extension/decimal/test_decimal.py:72: # need to convert array([Decimal(NaN)], dtype='object') to np.NaN
- [ ] pandas/tests/extension/list/array.py:44: if not isinstance(val, self.dtype.type) and not pd.isna(val):
- [ ] pandas/tests/extension/test_boolean.py:36: return pd.array(make_data(), dtype=dtype)
- [ ] pandas/tests/extension/test_categorical.py:51: return Categorical(make_data())
- [ ] pandas/tests/extension/test_floating.py:44: return pd.array(make_data(), dtype=dtype)
- [ ] pandas/tests/extension/test_numpy.py:48: return PandasArray(np.array([np.nan, (1,)], dtype=object))
- [ ] pandas/tests/extension/test_sparse.py:29: return SparseDtype()
- [ ] pandas/tests/frame/apply/test_frame_apply.py:67: "A": date_range("20130101", periods=3),
- [ ] pandas/tests/frame/indexing/test_categorical.py:17: labels = Categorical([f"{i} - {i + 499}" for i in range(0, 10000, 500)])
- [ ] pandas/tests/frame/indexing/test_indexing.py:65: msg = "\"None of [Index(['baf'], dtype='object')] are in the [columns]\""
- [ ] pandas/tests/frame/indexing/test_sparse.py:50: expected = np.full(cols, SparseDtype(dtype, fill_value=0))
- [ ] pandas/tests/frame/indexing/test_xs.py:59: # no columns but Index(dtype=object)
- [ ] pandas/tests/frame/methods/test_align.py:89: tm.assert_index_equal(bf.index, Index([]))
- [ ] pandas/tests/frame/methods/test_append.py:132: df1 = DataFrame({"bar": Timestamp("20130101")}, index=range(5))
- [ ] pandas/tests/frame/methods/test_cov_corr.py:73: "other_column", [pd.array([1, 2, 3]), np.array([1.0, 2.0, 3.0])]
- [ ] pandas/tests/frame/methods/test_describe.py:249: start = Timestamp(2018, 1, 1)
- [ ] pandas/tests/frame/methods/test_diff.py:78: dti = pd.date_range("2016-01-01", periods=4, tz=tz)
- [ ] pandas/tests/frame/methods/test_drop.py:90: expected = Index(["a", "b", "c"], name="first")
- [ ] pandas/tests/frame/methods/test_quantile.py:247: [Timestamp("2010-07-02 12:00:00"), 2.5], index=["a", "b"], name=0.5
- [ ] pandas/tests/frame/methods/test_replace.py:964: Timestamp("20130102", tz="US/Eastern"),
- [ ] pandas/tests/frame/methods/test_reset_index.py:42: expected["idx"] = expected["idx"].apply(lambda d: Timestamp(d, tz=tz))
- [ ] pandas/tests/frame/methods/test_sort_values.py:243: df = DataFrame({"x": pd.Categorical(np.repeat([1, 2, 3, 4], 5), ordered=True)})
- [ ] pandas/tests/frame/test_analytics.py:68: df = DataFrame({"b": date_range("1/1/2001", periods=2)})
- [ ] pandas/tests/frame/test_constructors.py:94: ([[]], RangeIndex(1), RangeIndex(0)),
- [ ] pandas/tests/frame/test_dtypes.py:62: "A": date_range("20130101", periods=3),
- [ ] pandas/tests/frame/test_query_eval.py:46: result = df.eval("A+1")
- [ ] pandas/tests/frame/test_reshape.py:64: tm.assert_index_equal(result.columns, Index(["A", "B"], name=0))
- [ ] pandas/tests/frame/test_to_csv.py:40: def read_csv(self, path, **kwargs):
- [ ] pandas/tests/generic/test_finalize.py:35: (np.array([0], dtype="float64")),
- [ ] pandas/tests/generic/test_generic.py:792: df1["start"] = date_range("2000-1-1", periods=10, freq="T")
- [ ] pandas/tests/generic/test_series.py:65: o = Series(date_range("20130101", periods=3))
- [ ] pandas/tests/groupby/aggregate/test_aggregate.py:135: exp = Series([], dtype=np.float64, index=pd.Index([], dtype=np.float64))
- [ ] pandas/tests/groupby/aggregate/test_other.py:109: "time": date_range("1/1/2011", periods=8, freq="H"),
- [ ] pandas/tests/groupby/test_apply.py:43: exp_idx = pd.Index(
- [ ] pandas/tests/groupby/test_categorical.py:88: cats = Categorical(
- [ ] pandas/tests/groupby/test_counting.py:240: index=Index([0.0, 3.0, 4.0, 5.0], name="B"), data={"A": [1, 1, 1, 1]}
- [ ] pandas/tests/groupby/test_function.py:66: exp_df = DataFrame([exp] * 2, columns=["val"], index=Index(["a", "b"], name="key"))
- [ ] pandas/tests/groupby/test_groupby.py:19: result = repr(pd.Grouper(key="A", level="B"))
- [ ] pandas/tests/groupby/test_grouping.py:159: dates = date_range(d0, date.today())
- [ ] pandas/tests/groupby/test_missing.py:14: columns=pd.Index(["type", "a", "b"], name="idx"),
- [ ] pandas/tests/groupby/test_nth.py:14: expected.index = Index(["bar", "foo"], name="A")
- [ ] pandas/tests/groupby/test_pipe.py:35: index = Index(["bar", "foo"], dtype="object", name="A")
- [ ] pandas/tests/groupby/test_quantile.py:48: [a_expected, b_expected], columns=["val"], index=Index(["a", "b"], name="key")
- [ ] pandas/tests/groupby/test_timegrouper.py:54: index=date_range(
- [ ] pandas/tests/groupby/transform/test_transform.py:103: "d": pd.date_range("2014-1-1", "2014-1-4"),
- [ ] pandas/tests/indexes/base_class/test_reshape.py:14: index = pd.Index([1, 2, 3])
- [ ] pandas/tests/indexes/base_class/test_setops.py:15: idx1 = pd.Index(["a", "b"])
- [ ] pandas/tests/indexes/categorical/test_category.py:24: return CategoricalIndex(list("aabbca"), categories=categories, ordered=ordered)
- [ ] pandas/tests/indexes/categorical/test_formats.py:12: idx = pd.CategoricalIndex(["a", "bb", "ccc"])
- [ ] pandas/tests/indexes/categorical/test_indexing.py:14: idx = pd.CategoricalIndex([1, 2, 3], name="xxx")
- [ ] pandas/tests/indexes/categorical/test_map.py:20: index = CategoricalIndex(data, categories=categories, ordered=ordered)
- [ ] pandas/tests/indexes/common.py:96: result = pd.Index(expected)
- [ ] pandas/tests/indexes/datetimes/test_astype.py:24: idx = DatetimeIndex(["2016-05-16", "NaT", NaT, np.NaN], name="idx")
- [ ] pandas/tests/indexes/datetimes/test_constructors.py:30: dt_cls([pd.NaT, pd.Timestamp("2011-01-01")], freq="D")
- [ ] pandas/tests/indexes/datetimes/test_date_range.py:32: rng = date_range("20090415", "20090519", tz="US/Eastern")
- [ ] pandas/tests/indexes/datetimes/test_datetime.py:17: index = date_range("20130101", periods=3, tz="US/Eastern")
- [ ] pandas/tests/indexes/datetimes/test_indexing.py:20: idx = pd.date_range(
- [ ] pandas/tests/indexes/datetimes/test_misc.py:17: idx = pd.date_range(
- [ ] pandas/tests/indexes/datetimes/test_ops.py:44: rng = date_range("1/1/2000", "1/1/2001")
- [ ] pandas/tests/indexes/datetimes/test_setops.py:57: rng1 = pd.date_range("1/1/2000", freq="D", periods=5, tz=tz)
- [ ] pandas/tests/indexes/datetimes/test_shift.py:23: idx = pd.DatetimeIndex([], name="xxx", tz=tz)
- [ ] pandas/tests/indexes/datetimes/test_timezones.py:55: idx = DatetimeIndex(dates)
- [ ] pandas/tests/indexes/interval/test_interval.py:57: ivs = [Interval(l, r, closed) for l, r in zip(range(10), range(1, 11))]
- [ ] pandas/tests/indexes/multi/test_analytics.py:35: major_axis = Index(list(range(4)))
- [ ] pandas/tests/indexes/multi/test_constructors.py:21: expected = Index(["foo", "bar", "baz", "qux"], name="first")
- [ ] pandas/tests/indexes/multi/test_get_level_values.py:22: expected = Index(["foo", "foo", "bar", "baz", "qux", "qux"], name="first")
- [ ] pandas/tests/indexes/multi/test_get_set.py:289: expected = pd.MultiIndex(levels=[[0, 1]], codes=[[0, 1]], names=["first"])
- [ ] pandas/tests/indexes/multi/test_indexing.py:67: index = MultiIndex(
- [ ] pandas/tests/indexes/multi/test_integrity.py:161: # isna(MI)
- [ ] pandas/tests/indexes/multi/test_join.py:10: "other", [Index(["three", "one", "two"]), Index(["one"]), Index(["one", "three"])]
- [ ] pandas/tests/indexes/multi/test_missing.py:42: idx = MultiIndex(
- [ ] pandas/tests/indexes/multi/test_monotonic.py:37: i = MultiIndex(
- [ ] pandas/tests/indexes/multi/test_sorting.py:178: mi = MultiIndex(
- [ ] pandas/tests/indexes/period/test_formats.py:117: exp1 = """Series([], dtype: period[D])"""
- [ ] pandas/tests/indexes/period/test_indexing.py:28: idx = period_range("2011-01-01", "2011-01-31", freq="D", name="idx")
- [ ] pandas/tests/indexes/period/test_ops.py:32: idx = PeriodIndex(np.repeat(idx._values, range(1, len(idx) + 1)), freq="H")
- [ ] pandas/tests/indexes/ranges/test_indexing.py:11: index = RangeIndex(start=0, stop=20, step=2)
- [ ] pandas/tests/indexes/ranges/test_range.py:108: expected = pd.Index([0, pd.NaT, 1, 2, 3, 4], dtype=object)
- [ ] pandas/tests/indexes/test_base.py:50: return Index(list("abcde"))
- [ ] pandas/tests/indexes/test_numeric.py:42: expected = Float64Index(arr)
- [ ] pandas/tests/indexes/timedeltas/test_astype.py:21: idx = timedelta_range(start="1 days", periods=4, freq="D", name="idx")
- [ ] pandas/tests/indexes/timedeltas/test_constructors.py:17: TimedeltaIndex([1, 3, 7], unit)
- [ ] pandas/tests/indexes/timedeltas/test_formats.py:46: exp1 = """Series([], dtype: timedelta64[ns])"""
- [ ] pandas/tests/indexes/timedeltas/test_indexing.py:15: idx = timedelta_range("1 day", "31 day", freq="D", name="idx")
- [ ] pandas/tests/indexes/timedeltas/test_ops.py:16: idx = timedelta_range("1 days 09:00:00", freq="H", periods=10)
- [ ] pandas/tests/indexes/timedeltas/test_scalar_compat.py:19: rng = timedelta_range("1 days, 10:11:12.100123456", periods=2, freq="s")
- [ ] pandas/tests/indexes/timedeltas/test_setops.py:14: i1 = timedelta_range("1day", periods=5)
- [ ] pandas/tests/indexes/timedeltas/test_shift.py:17: idx = pd.TimedeltaIndex([], name="xxx")
- [ ] pandas/tests/indexing/multiindex/test_multiindex.py:63: Index(["R1", "R2", np.nan, "R4"], name="a"),
- [ ] pandas/tests/indexing/test_categorical.py:101: exp = np.array([4, 3, 2, 1], dtype=np.int64)
- [ ] pandas/tests/indexing/test_check_indexer.py:13: ([1, 2], np.array([1, 2], dtype=np.intp)),
- [ ] pandas/tests/indexing/test_datetime.py:18: idx = date_range("20010101", periods=4, tz="UTC")
- [ ] pandas/tests/indexing/test_iloc.py:238: df = concat([df1, df2], axis=1)
- [ ] pandas/tests/indexing/test_indexing.py:39: df.loc[df.index[2:5], "bar"] = np.array([2.33j, 1.23 + 0.1j, 2.2, 1.0])
- [ ] pandas/tests/indexing/test_loc.py:332: expected = df.loc[np.array(mask)]
- [ ] pandas/tests/internals/test_internals.py:108: values = Categorical([1, 1, 2, 2, 3, 3, 3, 3, 4, 4])
- [ ] pandas/tests/io/excel/test_readers.py:842: si = Index(
- [ ] pandas/tests/io/excel/test_xlrd.py:30: with ExcelFile(book, engine=engine) as xl:
- [ ] pandas/tests/io/formats/test_format.py:185: with option_context(
- [ ] pandas/tests/io/formats/test_printing.py:112: with cf.option_context("display.unicode.ambiguous_as_wide", True):
- [ ] pandas/tests/io/formats/test_to_html.py:197: with option_context("display.multi_sparse", multi_sparse):
- [ ] pandas/tests/io/json/test_pandas.py:72: result = read_json(df.to_json(orient=orient), orient=orient)
- [ ] pandas/tests/io/json/test_readlines.py:21: result = read_json('{"a": 1, "b": 2}\n{"b":2, "a" :1}\n', lines=True)
- [ ] pandas/tests/io/parser/test_c_parser_only.py:35: parser.read_csv(StringIO(malformed))
- [ ] pandas/tests/io/parser/test_parse_dates.py:448: Timestamp("05/31/2012, 15:30:00.029"),
- [ ] pandas/tests/io/parser/test_read_fwf.py:30: result = read_fwf(StringIO(data))
- [ ] pandas/tests/io/pytables/test_store.py:69: with HDFStore(path) as store:
- [ ] pandas/tests/io/pytables/test_timezones.py:47: Timestamp("20130102 2:00:00", tz=gettz("US/Eastern"))
- [ ] pandas/tests/io/test_clipboard.py:152: result = read_clipboard(sep=sep or "\t", index_col=0, encoding=encoding)
- [ ] pandas/tests/io/test_feather.py:40: result = read_feather(path, **read_kwargs)
- [ ] pandas/tests/io/test_parquet.py:191: actual = read_parquet(path, **read_kwargs)
- [ ] pandas/tests/io/test_sql.py:607: iris_frame = sql.read_sql_query("SELECT * FROM iris", self.conn)
- [ ] pandas/tests/io/test_stata.py:52: parsed_114 = read_stata(dta14_114, convert_dates=True)
- [ ] pandas/tests/plotting/test_frame.py:508: idx = date_range(start="2014-07-01", freq="M", periods=10)
- [ ] pandas/tests/reductions/test_reductions.py:58: expected = pd.Period(ordinal=getattr(obj.asi8, opname)(), freq=obj.freq)
- [ ] pandas/tests/resample/test_datetime_index.py:44: b = Grouper(freq=Minute(5))
- [ ] pandas/tests/resample/test_deprecated.py:43: idx = pd.date_range("2001-01-01", periods=4, freq="T")
- [ ] pandas/tests/resample/test_period_index.py:45: new_index = date_range(start=start, end=end, freq=freq, closed="left")
- [ ] pandas/tests/resample/test_resample_api.py:11:dti = date_range(start=datetime(2005, 1, 1), end=datetime(2005, 1, 10), freq="Min")
- [ ] pandas/tests/resample/test_resampler_grouper.py:16: index=date_range("1/1/2000", freq="s", periods=40),
- [ ] pandas/tests/resample/test_time_grouper.py:13:test_series = Series(np.random.randn(1000), index=date_range("1/1/2000", periods=1000))
- [ ] pandas/tests/resample/test_timedelta.py:17: index=timedelta_range("0 day", periods=4, freq="1T"),
- [ ] pandas/tests/reshape/merge/test_join.py:412: ex_index = Index(index1.values).union(Index(index2.values))
- [ ] pandas/tests/reshape/merge/test_merge.py:127: result = pd.merge(df_empty, df_a, left_index=True, right_index=True)
- [ ] pandas/tests/reshape/merge/test_merge_asof.py:21: x.time = to_datetime(x.time)
- [ ] pandas/tests/reshape/merge/test_multi.py:110: expected = pd.merge(left, right.reset_index(), on=on_cols, how=join_type)
- [ ] pandas/tests/reshape/test_concat.py:50: pd.Timestamp("2011-01-01"),
- [ ] pandas/tests/reshape/test_cut.py:29: result = cut(data, 4, labels=False)
- [ ] pandas/tests/reshape/test_melt.py:29: result = melt(self.df)
- [ ] pandas/tests/reshape/test_pivot.py:31: return Categorical(pd.IntervalIndex.from_arrays(left, right, closed))
- [ ] pandas/tests/reshape/test_qcut.py:127: exp_levels = np.array(
- [ ] pandas/tests/reshape/test_union_categoricals.py:42: result = union_categoricals([box(Categorical(a)), box(Categorical(b))])
- [ ] pandas/tests/scalar/period/test_period.py:22: i1 = Period("1/1/2005", freq="M")
- [ ] pandas/tests/scalar/test_na_scalar.py:102: value = np.array([value])
- [ ] pandas/tests/scalar/timedelta/test_arithmetic.py:29: Timedelta(10, unit="s"),
- [ ] pandas/tests/scalar/timestamp/test_unary_ops.py:327: # datetime.timestamp() converts in the local timezone
- [ ] pandas/tests/series/apply/test_series_apply.py:28: s = Series(dtype=object, name="foo", index=pd.Index([], name="bar"))
- [ ] pandas/tests/series/indexing/test_datetime.py:29: assert s[Timestamp(datetime(2009, 1, 2))] == 48
- [ ] pandas/tests/series/indexing/test_indexing.py:73: pd.date_range("2011-01-01", periods=3, tz="US/Eastern"), index=["a", "b", "c"]
- [ ] pandas/tests/series/indexing/test_where.py:182: [Timestamp("2017-01-01"), pd.NaT, Timestamp("2017-01-02")],
- [ ] pandas/tests/series/methods/test_interpolate.py:552: [1, np.nan, 3], index=date_range("1/1/2000", periods=3, tz=tz_naive_fixture)
- [ ] pandas/tests/series/methods/test_quantile.py:28: assert q == Timestamp("2000-01-10 19:12:00")
- [ ] pandas/tests/series/methods/test_shift.py:76: index = date_range("2000-01-01", periods=5)
- [ ] pandas/tests/series/methods/test_truncate.py:76: rng = pd.date_range("2011-01-01", "2012-01-01", freq="W")
- [ ] pandas/tests/series/methods/test_value_counts.py:88: values = pd.Categorical([1, 2, 3, 1, 1, 3], ordered=True)
- [ ] pandas/tests/series/test_api.py:158: [x[1] for x in _d], index=pd.Index([x[0] for x in _d], tupleize_cols=False)
- [ ] pandas/tests/series/test_arithmetic.py:244: dt = Series(date_range("2012-1-1", periods=3, freq="D"))
- [ ] pandas/tests/series/test_constructors.py:137: # these are Index() and RangeIndex() which don't compare type equal
- [ ] pandas/tests/series/test_datetime_values.py:85: Series(date_range("20130101", periods=5), name="xxx"),
- [ ] pandas/tests/series/test_io.py:15: def read_csv(self, path, **kwargs):
- [ ] pandas/tests/series/test_logical_ops.py:164: result = left & pd.Index(right)
- [ ] pandas/tests/series/test_missing.py:215: tm.assert_series_equal(result, ts[pd.notna(ts)])
- [ ] pandas/tests/series/test_period.py:19: [pd.Period("2011-01-01", freq="D"), pd.Period("2011-02-01", freq="D")]
- [ ] pandas/tests/series/test_repr.py:169: with pd.option_context("max_rows", None):
- [ ] pandas/tests/series/test_timeseries.py:19: rng = date_range("1/1/2000", "3/1/2000", freq="B")
- [ ] pandas/tests/series/test_ufunc.py:246: arr = np.array([Dummy(0), Dummy(1)])
- [ ] pandas/tests/test_algos.py:43: codes, uniques = algos.factorize(["a", "b", "b", "a", "a", "c", "c", "c"])
- [ ] pandas/tests/test_multilevel.py:307: index=pd.Index([2], name="ix1"),
- [ ] pandas/tests/test_strings.py:189: values = np.array(values, dtype=object) # object dtype to avoid casting
- [ ] pandas/tests/tools/test_to_datetime.py:43: results1 = [Timestamp("20000101"), Timestamp("20000201"), Timestamp("20000301")]
- [ ] pandas/tests/tools/test_to_numeric.py:58: result = to_numeric(ser, **input_kwargs)
- [ ] pandas/tests/tools/test_to_timedelta.py:14: result = to_timedelta(["", ""])
- [ ] pandas/tests/window/test_expanding.py:53: e = Expanding(Series([2, 4, 6]), window=2)
- [ ] pandas/tests/window/test_rolling.py:81: {"value": np.arange(n)}, index=pd.date_range("2015-12-24", periods=n, freq="D")
----
See #37335 for an example pull request
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37334/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37334/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37335
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37335/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37335/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37335/events
|
https://github.com/pandas-dev/pandas/pull/37335
| 727,199,476
|
MDExOlB1bGxSZXF1ZXN0NTA4MTM3MjEx
| 37,335
|
CLN make namespace usage in tests consistent
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-10-22T09:09:17Z
| 2020-10-22T09:18:56Z
| 2020-10-22T09:16:21Z
|
MEMBER
| null |
Example pull request for #37334
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37335/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37335/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37335.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37335",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37335.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37335"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37336
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37336/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37336/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37336/events
|
https://github.com/pandas-dev/pandas/pull/37336
| 727,200,741
|
MDExOlB1bGxSZXF1ZXN0NTA4MTM4MDQw
| 37,336
|
[WIP] Arrow string array: Split array and dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-10-22T09:10:43Z
| 2020-10-22T19:14:47Z
| 2020-10-22T19:14:47Z
|
MEMBER
| null |
CI testing before considering including in #35259
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37336/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37336/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37336.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37336",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37336.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37336"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37337
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37337/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37337/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37337/events
|
https://github.com/pandas-dev/pandas/pull/37337
| 727,237,950
|
MDExOlB1bGxSZXF1ZXN0NTA4MTY3MTkz
| 37,337
|
[WIP] Arrow string array: Common base class
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] | null | 0
| 2020-10-22T09:57:56Z
| 2020-10-22T19:14:35Z
| 2020-10-22T19:14:35Z
|
MEMBER
| null |
CI testing alternative to #37336
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37337/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37337/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37337.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37337",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37337.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37337"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37338
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37338/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37338/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37338/events
|
https://github.com/pandas-dev/pandas/issues/37338
| 727,313,875
|
MDU6SXNzdWU3MjczMTM4NzU=
| 37,338
|
CI: test_binary_arith_ops failing in travis-38-slow
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-10-22T11:46:37Z
| 2020-10-22T19:36:25Z
| 2020-10-22T19:36:11Z
|
MEMBER
| null |
```
=========================== short test summary info ============================
FAILED pandas/tests/computation/test_eval.py::TestEvalNumexprPandas::test_binary_arith_ops
= 1 failed, 14730 passed, 11 skipped, 1 xfailed, 37 warnings in 672.01s (0:11:12) =
```
e.g. https://travis-ci.org/github/pandas-dev/pandas/jobs/737965996
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37338/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37338/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37339
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37339/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37339/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37339/events
|
https://github.com/pandas-dev/pandas/pull/37339
| 727,488,962
|
MDExOlB1bGxSZXF1ZXN0NTA4MzczMTA2
| 37,339
|
TST: parametrize slow test
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-22T15:21:28Z
| 2020-10-22T23:48:29Z
| 2020-10-22T23:47:08Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37339/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37339/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37339.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37339",
"merged_at": "2020-10-22T23:47:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37339.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37339"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37340
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37340/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37340/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37340/events
|
https://github.com/pandas-dev/pandas/pull/37340
| 727,498,082
|
MDExOlB1bGxSZXF1ZXN0NTA4MzgwNDI0
| 37,340
|
TYP: is_dtype_compat
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-22T15:32:20Z
| 2020-10-23T15:37:31Z
| 2020-10-23T15:37:15Z
|
MEMBER
| null |
Broken off from #37224
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37340/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37340/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37340.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37340",
"merged_at": "2020-10-23T15:37:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37340.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37340"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37341
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37341/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37341/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37341/events
|
https://github.com/pandas-dev/pandas/pull/37341
| 727,529,588
|
MDExOlB1bGxSZXF1ZXN0NTA4NDA1Mzg1
| 37,341
|
1.1.x
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5007013?v=4",
"events_url": "https://api.github.com/users/botplex/events{/privacy}",
"followers_url": "https://api.github.com/users/botplex/followers",
"following_url": "https://api.github.com/users/botplex/following{/other_user}",
"gists_url": "https://api.github.com/users/botplex/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/botplex",
"id": 5007013,
"login": "botplex",
"node_id": "MDQ6VXNlcjUwMDcwMTM=",
"organizations_url": "https://api.github.com/users/botplex/orgs",
"received_events_url": "https://api.github.com/users/botplex/received_events",
"repos_url": "https://api.github.com/users/botplex/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/botplex/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/botplex/subscriptions",
"type": "User",
"url": "https://api.github.com/users/botplex"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-10-22T16:11:39Z
| 2020-10-22T16:15:02Z
| 2020-10-22T16:14:32Z
|
CONTRIBUTOR
| null |
- [X] closes #37316
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37341/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37341/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37341.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37341",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37341.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37341"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37342
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37342/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37342/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37342/events
|
https://github.com/pandas-dev/pandas/pull/37342
| 727,545,731
|
MDExOlB1bGxSZXF1ZXN0NTA4NDE4MDQ1
| 37,342
|
TST/REF: collect tests by method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-22T16:32:45Z
| 2020-10-22T22:18:51Z
| 2020-10-22T22:11:21Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37342/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37342/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37342.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37342",
"merged_at": "2020-10-22T22:11:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37342.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37342"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37343
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37343/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37343/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37343/events
|
https://github.com/pandas-dev/pandas/issues/37343
| 727,594,339
|
MDU6SXNzdWU3Mjc1OTQzMzk=
| 37,343
|
BUG: groupby __iter__ on pandas 1.1.x not propagating _metadata on DataFrame subclasses
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/14908618?v=4",
"events_url": "https://api.github.com/users/dektoud/events{/privacy}",
"followers_url": "https://api.github.com/users/dektoud/followers",
"following_url": "https://api.github.com/users/dektoud/following{/other_user}",
"gists_url": "https://api.github.com/users/dektoud/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dektoud",
"id": 14908618,
"login": "dektoud",
"node_id": "MDQ6VXNlcjE0OTA4NjE4",
"organizations_url": "https://api.github.com/users/dektoud/orgs",
"received_events_url": "https://api.github.com/users/dektoud/received_events",
"repos_url": "https://api.github.com/users/dektoud/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dektoud/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dektoud/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dektoud"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "56efc9",
"default": false,
"description": "_metadata, .attrs",
"id": 1539579994,
"name": "metadata",
"node_id": "MDU6TGFiZWwxNTM5NTc5OTk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 6
| 2020-10-22T17:43:41Z
| 2020-11-04T13:22:55Z
| 2020-11-04T13:22:55Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
In [1]: import pandas as pd
...:
...: class SubclassedDataFrame2(pd.DataFrame):
...:
...: # temporary properties
...: _internal_names = pd.DataFrame._internal_names + ['internal_cache']
...: _internal_names_set = set(_internal_names)
...:
...: # normal properties
...: _metadata = ['added_property']
...:
...: @property
...: def _constructor(self):
...: return SubclassedDataFrame2
...:
In [2]: df = SubclassedDataFrame2({'A': [1, 2, 3], 'B': [1, 1, 2], 'C': [7, 8, 9]})
...: df.added_property = "hello"
...: for i, d in df.groupby("B"):
...: assert d.added_property == "hello"
...:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-2-bf64fc505324> in <module>
2 df.added_property = "hello"
3 for i, d in df.groupby("B"):
----> 4 assert d.added_property == "hello"
5
~\RMS-Python\lib\site-packages\pandas\core\generic.py in __getattr__(self, name)
5133 or name in self._accessors
5134 ):
-> 5135 return object.__getattribute__(self, name)
5136 else:
5137 if self._info_axis._can_hold_identifiers_and_holds_name(name):
AttributeError: 'SubclassedDataFrame2' object has no attribute 'added_property'
```
#### Problem description
Under pandas 1.0.x the above is working, on 1.1.x, the _metadata is not propagated to the split frames. I think this is a known issue with groupby and `__finalize__`, but this specific behavior with `__iter__` is a regression from 1.0.x behavior on DataFrame subclasses.
#### Expected Output
Assert statements above are passing, with metadata propagated to the split dataframe
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.7.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.1.3
numpy : 1.18.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.1.3.post20200330
Cython : 0.29.17
pytest : 5.4.1
hypothesis : 5.36.1
sphinx : 2.4.4
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.13.0
pandas_datareader: None
bs4 : 4.9.0
bottleneck : 1.3.2
fsspec : 0.8.0
fastparquet : None
gcsfs : None
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.16
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.49.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37343/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37343/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37344
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37344/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37344/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37344/events
|
https://github.com/pandas-dev/pandas/issues/37344
| 727,612,877
|
MDU6SXNzdWU3Mjc2MTI4Nzc=
| 37,344
|
ENH: support different integer types in sql
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/36243295?v=4",
"events_url": "https://api.github.com/users/pilotjoe/events{/privacy}",
"followers_url": "https://api.github.com/users/pilotjoe/followers",
"following_url": "https://api.github.com/users/pilotjoe/following{/other_user}",
"gists_url": "https://api.github.com/users/pilotjoe/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pilotjoe",
"id": 36243295,
"login": "pilotjoe",
"node_id": "MDQ6VXNlcjM2MjQzMjk1",
"organizations_url": "https://api.github.com/users/pilotjoe/orgs",
"received_events_url": "https://api.github.com/users/pilotjoe/received_events",
"repos_url": "https://api.github.com/users/pilotjoe/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pilotjoe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pilotjoe/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pilotjoe"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] |
open
| false
| null |
[] | null | 1
| 2020-10-22T18:11:29Z
| 2021-06-22T19:31:13Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Problem description
I ran across a situation where I needed to ensure that a PostgreSQL database table retained the same data types when being read using pd.read_sql() or pd.read_sql_table(). I found that reading a table with a column type of INTEGER (sqlalchemy.types.Integer), it was converted to dtype('int64') in pandas, which subsequently got written back to the database ( df.to_sql() ) as a BigInt (sqlalchemy.types.BigInteger). I saw that “refining integer size” was listed as a TODO item in the code, and would be happy to provide a PR if it would be accepted. I was able to resolve this with minor modifications to io/sql.py in _harmonize_columns() and _get_dtype():
```
def _harmonize_columns(self, parse_dates=None):
…
elif len(df_col) == df_col.count():
# No NA values, can convert ints and bools
if col_type is np.dtype("int64") or col_type is np.dtype("int32") or col_type is bool:
self.frame[col_name] = df_col.astype(col_type, copy=False)
def _get_dtype(self, sqltype):
from sqlalchemy.types import TIMESTAMP, Boolean, Date, DateTime, Float, Integer, BigInteger, SmallInteger
…
elif isinstance(sqltype, BigInteger):
return np.dtype("int64")
elif isinstance(sqltype, Integer):
return np.dtype("int32")
elif isinstance(sqltype, SmallInteger):
return np.dtype("int16")
…
````

|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37344/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37344/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37345
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37345/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37345/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37345/events
|
https://github.com/pandas-dev/pandas/pull/37345
| 727,621,017
|
MDExOlB1bGxSZXF1ZXN0NTA4NDc3MzAw
| 37,345
|
Update sql.py to distinguish between BigInt, Integer, and SmallInt
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/36243295?v=4",
"events_url": "https://api.github.com/users/pilotjoe/events{/privacy}",
"followers_url": "https://api.github.com/users/pilotjoe/followers",
"following_url": "https://api.github.com/users/pilotjoe/following{/other_user}",
"gists_url": "https://api.github.com/users/pilotjoe/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pilotjoe",
"id": 36243295,
"login": "pilotjoe",
"node_id": "MDQ6VXNlcjM2MjQzMjk1",
"organizations_url": "https://api.github.com/users/pilotjoe/orgs",
"received_events_url": "https://api.github.com/users/pilotjoe/received_events",
"repos_url": "https://api.github.com/users/pilotjoe/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pilotjoe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pilotjoe/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pilotjoe"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
},
{
"color": "78bced",
"default": false,
"description": "Waiting for review/response from a maintainer.",
"id": 2324533627,
"name": "Needs Review",
"node_id": "MDU6TGFiZWwyMzI0NTMzNjI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 4
| 2020-10-22T18:24:12Z
| 2021-01-09T23:02:01Z
| 2021-01-09T23:01:54Z
|
NONE
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This is to resolve #37344. I've never contributed to Pandas before, so may need guidance to proceed.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37345/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37345/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37345.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37345",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37345.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37345"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37346
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37346/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37346/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37346/events
|
https://github.com/pandas-dev/pandas/issues/37346
| 727,634,854
|
MDU6SXNzdWU3Mjc2MzQ4NTQ=
| 37,346
|
BUG: .values upcasts dtype in non-mixed-dtype subset of mixed-dtype DataFrames
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4",
"events_url": "https://api.github.com/users/twoertwein/events{/privacy}",
"followers_url": "https://api.github.com/users/twoertwein/followers",
"following_url": "https://api.github.com/users/twoertwein/following{/other_user}",
"gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twoertwein",
"id": 6618166,
"login": "twoertwein",
"node_id": "MDQ6VXNlcjY2MTgxNjY=",
"organizations_url": "https://api.github.com/users/twoertwein/orgs",
"received_events_url": "https://api.github.com/users/twoertwein/received_events",
"repos_url": "https://api.github.com/users/twoertwein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twoertwein"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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"
}
] |
open
| false
| null |
[] | null | 1
| 2020-10-22T18:45:17Z
| 2021-08-13T05:19:06Z
| null |
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
data = pd.DataFrame({"a": [1], "b": [0.1]})
print(type(data.loc[0, "a"])) # <class 'numpy.int64'>
print(data.loc[0, ["a"]].values.dtype) # float64
```
#### Problem description
`.values` seems to upcast dtype to a common dtype even when only a subset of columns (with the same dtype) are exported?
#### Expected Output
int64 for the second print.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.13.0-36-generic
Version : #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.1
setuptools : 49.2.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.3
sqlalchemy : None
tables : 3.6.1
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37346/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37346/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37347
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37347/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37347/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37347/events
|
https://github.com/pandas-dev/pandas/pull/37347
| 727,668,921
|
MDExOlB1bGxSZXF1ZXN0NTA4NTE1NzQ4
| 37,347
|
CI: xfail test_binary_arith_ops
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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 |
[] | null | 2
| 2020-10-22T19:37:39Z
| 2020-10-22T23:50:48Z
| 2020-10-22T22:41:06Z
|
MEMBER
| null |
xref #37328, #37338
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37347/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37347/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37347.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37347",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37347.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37347"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37348
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37348/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37348/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37348/events
|
https://github.com/pandas-dev/pandas/issues/37348
| 727,690,825
|
MDU6SXNzdWU3Mjc2OTA4MjU=
| 37,348
|
BUG: comparison of int dataframe to string yield unpredictable error (ValueError: unknown type str128)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15996180?v=4",
"events_url": "https://api.github.com/users/kenissur/events{/privacy}",
"followers_url": "https://api.github.com/users/kenissur/followers",
"following_url": "https://api.github.com/users/kenissur/following{/other_user}",
"gists_url": "https://api.github.com/users/kenissur/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kenissur",
"id": 15996180,
"login": "kenissur",
"node_id": "MDQ6VXNlcjE1OTk2MTgw",
"organizations_url": "https://api.github.com/users/kenissur/orgs",
"received_events_url": "https://api.github.com/users/kenissur/received_events",
"repos_url": "https://api.github.com/users/kenissur/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kenissur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kenissur/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kenissur"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/29053090?v=4",
"events_url": "https://api.github.com/users/gabrieldi95/events{/privacy}",
"followers_url": "https://api.github.com/users/gabrieldi95/followers",
"following_url": "https://api.github.com/users/gabrieldi95/following{/other_user}",
"gists_url": "https://api.github.com/users/gabrieldi95/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gabrieldi95",
"id": 29053090,
"login": "gabrieldi95",
"node_id": "MDQ6VXNlcjI5MDUzMDkw",
"organizations_url": "https://api.github.com/users/gabrieldi95/orgs",
"received_events_url": "https://api.github.com/users/gabrieldi95/received_events",
"repos_url": "https://api.github.com/users/gabrieldi95/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gabrieldi95/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gabrieldi95/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gabrieldi95"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/29053090?v=4",
"events_url": "https://api.github.com/users/gabrieldi95/events{/privacy}",
"followers_url": "https://api.github.com/users/gabrieldi95/followers",
"following_url": "https://api.github.com/users/gabrieldi95/following{/other_user}",
"gists_url": "https://api.github.com/users/gabrieldi95/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gabrieldi95",
"id": 29053090,
"login": "gabrieldi95",
"node_id": "MDQ6VXNlcjI5MDUzMDkw",
"organizations_url": "https://api.github.com/users/gabrieldi95/orgs",
"received_events_url": "https://api.github.com/users/gabrieldi95/received_events",
"repos_url": "https://api.github.com/users/gabrieldi95/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gabrieldi95/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gabrieldi95/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gabrieldi95"
}
] |
{
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
}
| 3
| 2020-10-22T20:14:04Z
| 2021-10-16T14:46:40Z
| 2021-10-16T14:46:40Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample
```python
import pandas as pd
import numpy as np
pd.DataFrame(range(10**1), dtype=np.int64)=='' # OK, just a FutureWarning
pd.DataFrame(range(10**2), dtype=np.int64)=='' # OK, just a FutureWarning
pd.DataFrame(range(10**3), dtype=np.int64)=='' # OK, just a FutureWarning
pd.DataFrame(range(10**4), dtype=np.int64)=='' # OK, just a FutureWarning
# pd.DataFrame(range(10**5), dtype=np.int64)=='' # ValueError: unknown type str32
# pd.DataFrame(range(10**5), dtype=np.int64)==' ' # ValueError: unknown type str64
pd.DataFrame(range(10**5), dtype=np.int64)==' ' # ValueError: unknown type str128
/home/ubuntu/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/computation/expressions.py:68: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
return op(a, b)
/home/ubuntu/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/computation/expressions.py:68: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
return op(a, b)
/home/ubuntu/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/computation/expressions.py:68: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
return op(a, b)
/home/ubuntu/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/computation/expressions.py:68: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
return op(a, b)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-104-1641071c93d2> in <module>
5 # pd.DataFrame(range(10**5), dtype=np.int64)=='' # ValueError: unknown type str32
6 # pd.DataFrame(range(10**5), dtype=np.int64)==' ' # ValueError: unknown type str64
----> 7 pd.DataFrame(range(10**5), dtype=np.int64)==' ' # ValueError: unknown type str128
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/ops/__init__.py in f(self, other)
702
703 # See GH#4537 for discussion of scalar op behavior
--> 704 new_data = dispatch_to_series(self, other, op, axis=axis)
705 return self._construct_result(new_data)
706
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/ops/__init__.py in dispatch_to_series(left, right, func, axis)
263 if not is_list_like(right):
264 # i.e. scalar, faster than checking np.ndim(right) == 0
--> 265 bm = left._mgr.apply(array_op, right=right)
266 return type(left)(bm)
267
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/internals/managers.py in apply(self, f, align_keys, **kwargs)
402
403 if callable(f):
--> 404 applied = b.apply(f, **kwargs)
405 else:
406 applied = getattr(b, f)(**kwargs)
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/internals/blocks.py in apply(self, func, **kwargs)
343 """
344 with np.errstate(all="ignore"):
--> 345 result = func(self.values, **kwargs)
346
347 return self._split_op_result(result)
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/ops/array_ops.py in comparison_op(left, right, op)
244 warnings.simplefilter("ignore", DeprecationWarning)
245 with np.errstate(all="ignore"):
--> 246 res_values = na_arithmetic_op(lvalues, rvalues, op, is_cmp=True)
247
248 return res_values
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/ops/array_ops.py in na_arithmetic_op(left, right, op, is_cmp)
140
141 try:
--> 142 result = expressions.evaluate(op, left, right)
143 except TypeError:
144 if is_cmp:
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/computation/expressions.py in evaluate(op, a, b, use_numexpr)
228 use_numexpr = use_numexpr and _bool_arith_check(op_str, a, b)
229 if use_numexpr:
--> 230 return _evaluate(op, op_str, a, b) # type: ignore
231 return _evaluate_standard(op, op_str, a, b)
232
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/pandas/core/computation/expressions.py in _evaluate_numexpr(op, op_str, a, b)
110 f"a_value {op_str} b_value",
111 local_dict={"a_value": a_value, "b_value": b_value},
--> 112 casting="safe",
113 )
114
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/numexpr/necompiler.py in evaluate(ex, local_dict, global_dict, out, order, casting, **kwargs)
820 # Create a signature
821 signature = [(name, getType(arg)) for (name, arg) in
--> 822 zip(names, arguments)]
823
824 # Look up numexpr if possible.
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/numexpr/necompiler.py in <listcomp>(.0)
819
820 # Create a signature
--> 821 signature = [(name, getType(arg)) for (name, arg) in
822 zip(names, arguments)]
823
~/miniconda3/envs/genomics.py3/lib/python3.7/site-packages/numexpr/necompiler.py in getType(a)
701 if kind == 'S':
702 return bytes
--> 703 raise ValueError("unknown type %s" % a.dtype.name)
704
705
ValueError: unknown type str128
```
#### Problem description
There is an error with an unclear message raised in unpredictable conditions (has to do with dataframe size). Either an informative error message should be raised (the error message itself seems buggy and somehow converts the string size to a supposed data type)
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-1028-aws
Version : #29~18.04.1-Ubuntu SMP Tue Oct 6 17:14:23 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.19.1
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1.1
setuptools : 41.0.1
Cython : None
pytest : None
hypothesis : None
sphinx : 2.1.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.3.4
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.8.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.4
fastparquet : 0.4.1
gcsfs : None
matplotlib : 3.1.0
numexpr : 2.6.9
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.9
tables : 3.5.2
tabulate : None
xarray : 0.14.1
xlrd : 1.2.0
xlwt : None
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37348/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37348/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37349
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37349/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37349/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37349/events
|
https://github.com/pandas-dev/pandas/pull/37349
| 727,728,397
|
MDExOlB1bGxSZXF1ZXN0NTA4NTY1MDEy
| 37,349
|
TST: fixturize/parametrize test_eval to the bone
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-22T21:19:39Z
| 2020-10-22T23:50:18Z
| 2020-10-22T23:30:07Z
|
MEMBER
| null |
Might help us track down the failing test there.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37349/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37349/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37349.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37349",
"merged_at": "2020-10-22T23:30:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37349.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37349"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37350
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37350/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37350/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37350/events
|
https://github.com/pandas-dev/pandas/issues/37350
| 727,746,132
|
MDU6SXNzdWU3Mjc3NDYxMzI=
| 37,350
|
DISC: Use of assertions in user-facing code
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "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": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
closed
| false
| null |
[] | null | 7
| 2020-10-22T21:54:58Z
| 2020-12-07T11:16:50Z
| 2020-10-31T01:21:06Z
|
MEMBER
| null |
There are a variety of places in the code base where we have some bare assertions that can be somewhat confusing when encountered by end-users (e.g., https://github.com/pandas-dev/pandas/issues/35509). As @WillAyd pointed out these are sometimes useful in convincing mypy of something's type, but is this nonetheless something we want to avoid as a general rule? If indeed the assertion is valid then it shouldn't actually raise, but if it can then probably we could come up with a more appropriate error type / message than an empty assertion.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37350/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37350/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37351
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37351/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37351/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37351/events
|
https://github.com/pandas-dev/pandas/pull/37351
| 727,814,959
|
MDExOlB1bGxSZXF1ZXN0NTA4NjM2NjYw
| 37,351
|
CI/CLN: Add more test file linting
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-10-23T01:00:41Z
| 2020-10-23T17:05:23Z
| 2020-10-23T03:16:50Z
|
MEMBER
| null |
Fixing use of pd.Index when Index is imported directly
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37351/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37351/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37351.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37351",
"merged_at": "2020-10-23T03:16:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37351.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37351"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37352
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37352/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37352/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37352/events
|
https://github.com/pandas-dev/pandas/pull/37352
| 727,822,996
|
MDExOlB1bGxSZXF1ZXN0NTA4NjQyNzg0
| 37,352
|
CI: Fix test file lint
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-10-23T01:25:57Z
| 2020-10-23T02:12:31Z
| 2020-10-23T02:12:28Z
|
MEMBER
| null |
Should help fix red CI on master
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37352/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37352/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37352.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37352",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37352.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37352"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37353
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37353/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37353/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37353/events
|
https://github.com/pandas-dev/pandas/pull/37353
| 727,830,145
|
MDExOlB1bGxSZXF1ZXN0NTA4NjQ4MjAx
| 37,353
|
TST: collect indexing tests by method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-23T01:50:05Z
| 2020-10-23T04:04:28Z
| 2020-10-23T03:29:04Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37353/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37353/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37353.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37353",
"merged_at": "2020-10-23T03:29:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37353.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37353"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37354
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37354/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37354/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37354/events
|
https://github.com/pandas-dev/pandas/pull/37354
| 727,842,186
|
MDExOlB1bGxSZXF1ZXN0NTA4NjU3NDk4
| 37,354
|
TST/REF: collect tests by method, some misplaced
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-23T02:26:45Z
| 2020-10-23T18:06:47Z
| 2020-10-23T17:18:33Z
|
MEMBER
| null |
Looking to get rid of some more of the not-obviously-scoped test files
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37354/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37354/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37354.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37354",
"merged_at": "2020-10-23T17:18:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37354.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37354"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37355
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37355/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37355/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37355/events
|
https://github.com/pandas-dev/pandas/pull/37355
| 727,887,275
|
MDExOlB1bGxSZXF1ZXN0NTA4Njk0ODA0
| 37,355
|
PERF/ENH: add fast astyping for Categorical
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 18
| 2020-10-23T04:14:28Z
| 2020-11-18T20:36:45Z
| 2020-11-18T18:21:51Z
|
MEMBER
| null |
- [x] closes #8628
- [ ] tests added / passed
- [x] benchmarks added
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
To illustrate the speed-up, the set-up is (from OP):
```python
import numpy as np
import pandas as pd
rng = np.random.default_rng()
df = pd.DataFrame(
rng.choice(np.array(list("abcde")), 4_000_000).reshape(1_000_000, 4),
columns=list("ABCD"),
)
for col in df.columns:
df[col] = df[col].astype("category")
```
On master
``` python
In [5]: %timeit [df[col].astype('unicode') for col in df.columns]
250 ms ± 601 µs per loop (mean ± std. dev. of 7 runs, 1 loop each)
```
versus on this branch
``` python
In [5]: %timeit [df[col].astype('unicode') for col in df.columns]
5.38 ms ± 47 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
```
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37355/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37355/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37355.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37355",
"merged_at": "2020-11-18T18:21:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37355.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37355"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37356
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37356/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37356/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37356/events
|
https://github.com/pandas-dev/pandas/pull/37356
| 727,897,780
|
MDExOlB1bGxSZXF1ZXN0NTA4NzA0NzUy
| 37,356
|
API: require timezone match in DatetimeArray.take
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "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": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-23T04:23:07Z
| 2020-10-23T18:07:47Z
| 2020-10-23T17:19:47Z
|
MEMBER
| null |
Consistent with #37299
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37356/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37356/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37356.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37356",
"merged_at": "2020-10-23T17:19:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37356.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37356"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37357
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37357/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37357/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37357/events
|
https://github.com/pandas-dev/pandas/pull/37357
| 727,974,491
|
MDExOlB1bGxSZXF1ZXN0NTA4NzY4NTE1
| 37,357
|
DOC: update development documentation for link to built docs #37248
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40813941?v=4",
"events_url": "https://api.github.com/users/aniaan/events{/privacy}",
"followers_url": "https://api.github.com/users/aniaan/followers",
"following_url": "https://api.github.com/users/aniaan/following{/other_user}",
"gists_url": "https://api.github.com/users/aniaan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aniaan",
"id": 40813941,
"login": "aniaan",
"node_id": "MDQ6VXNlcjQwODEzOTQx",
"organizations_url": "https://api.github.com/users/aniaan/orgs",
"received_events_url": "https://api.github.com/users/aniaan/received_events",
"repos_url": "https://api.github.com/users/aniaan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aniaan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aniaan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aniaan"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-23T07:10:36Z
| 2020-10-24T07:28:07Z
| 2020-10-24T07:27:52Z
|
CONTRIBUTOR
| null |
- [x] closes #37248
cc: @jreback
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37357/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37357/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37357.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37357",
"merged_at": "2020-10-24T07:27:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37357.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37357"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37358
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37358/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37358/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37358/events
|
https://github.com/pandas-dev/pandas/issues/37358
| 727,979,161
|
MDU6SXNzdWU3Mjc5NzkxNjE=
| 37,358
|
DOC mention pre-commit as a way to run (some) code checks
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-23T07:18:58Z
| 2020-11-10T09:42:07Z
| 2020-11-10T09:42:07Z
|
MEMBER
| null |
xref this comment https://github.com/pandas-dev/pandas/pull/37240#discussion_r510518893
> as a followup we might want to update the contributing docs to put a pointer to these types of checks here (e.g. rather than just mentioning code_checks.sh) esp as we are using these a lot more now
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37358/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37358/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37359
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37359/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37359/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37359/events
|
https://github.com/pandas-dev/pandas/issues/37359
| 728,035,842
|
MDU6SXNzdWU3MjgwMzU4NDI=
| 37,359
|
REGR: Notebook (html) repr of DataFrame no longer follows min_rows/max_rows settings
|
{
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 10
| 2020-10-23T08:50:45Z
| 2020-11-13T05:45:48Z
| 2020-11-13T05:45:48Z
|
MEMBER
| null |
On master, the html repr in notebooks of a DataFrame is no longer following the min_rows/max_rows logic (see https://pandas.pydata.org/docs/dev/user_guide/options.html#frequently-used-options).
If you have a DataFrame with many rows, it incorrectly shows 60 (max_rows) rows in the truncated repr intead of 10 (min_rows).
cc @ivanovmg (might be related to the refactoring you have been doing, but to be clear, I didn't check if this is actually the case!)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37359/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37359/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37360
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37360/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37360/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37360/events
|
https://github.com/pandas-dev/pandas/pull/37360
| 728,088,231
|
MDExOlB1bGxSZXF1ZXN0NTA4ODU5NTM2
| 37,360
|
TST: moved file test_concat.py to folder ./concat/ (#37243)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/66844934?v=4",
"events_url": "https://api.github.com/users/kamilt5/events{/privacy}",
"followers_url": "https://api.github.com/users/kamilt5/followers",
"following_url": "https://api.github.com/users/kamilt5/following{/other_user}",
"gists_url": "https://api.github.com/users/kamilt5/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kamilt5",
"id": 66844934,
"login": "kamilt5",
"node_id": "MDQ6VXNlcjY2ODQ0OTM0",
"organizations_url": "https://api.github.com/users/kamilt5/orgs",
"received_events_url": "https://api.github.com/users/kamilt5/received_events",
"repos_url": "https://api.github.com/users/kamilt5/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kamilt5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kamilt5/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kamilt5"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 5
| 2020-10-23T10:05:18Z
| 2020-10-23T15:27:44Z
| 2020-10-23T15:27:14Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37360/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37360/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37360.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37360",
"merged_at": "2020-10-23T15:27:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37360.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37360"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37361
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37361/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37361/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37361/events
|
https://github.com/pandas-dev/pandas/pull/37361
| 728,102,253
|
MDExOlB1bGxSZXF1ZXN0NTA4ODcwNzk3
| 37,361
|
CLN Apply style to Jupyter notebook
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] | null | 11
| 2020-10-23T10:26:29Z
| 2021-01-03T18:06:48Z
| 2020-11-26T15:08:02Z
|
MEMBER
| null |
We apply many style checks to our source code files / Python snippets in documentation, so I've applied them to the (lone) Jupyter notebook.
Not adding anything to CI as it's arguably not worth it for just a single file
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37361/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37361/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37361.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37361",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37361.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37361"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37362
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37362/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37362/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37362/events
|
https://github.com/pandas-dev/pandas/pull/37362
| 728,121,959
|
MDExOlB1bGxSZXF1ZXN0NTA4ODg2OTEw
| 37,362
|
CI autoupdate pre-commit versions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-23T10:57:19Z
| 2020-11-01T10:32:02Z
| 2020-10-31T23:06:13Z
|
MEMBER
| null |
Rather than manually updating versions of hooks when new ones come out, we can make a GitHub action to open a PR to do this automatically every Monday.
For this to work, we will need whoever owns the repo to [create an access token](https://github.com/technote-space/create-pr-action#github_token) and add it as secret `ACTION_TRIGGER_TOKEN` to the repo - see screenshot below for an example

|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37362/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37362/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37362.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37362",
"merged_at": "2020-10-31T23:06:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37362.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37362"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37363
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37363/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37363/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37363/events
|
https://github.com/pandas-dev/pandas/pull/37363
| 728,134,218
|
MDExOlB1bGxSZXF1ZXN0NTA4ODk2NTgx
| 37,363
|
REGR: Notebook (html) repr of DataFrame no longer follows min_rows/max_rows settings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "006b75",
"default": false,
"description": "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"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 8
| 2020-10-23T11:16:39Z
| 2020-11-13T05:53:19Z
| 2020-11-13T05:45:48Z
|
MEMBER
| null |
- [ ] closes #37359
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Fix display logic in number of rows,
explained here https://pandas.pydata.org/docs/dev/user_guide/options.html#frequently-used-options
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37363/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37363/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37363.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37363",
"merged_at": "2020-11-13T05:45:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37363.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37363"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37364
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37364/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37364/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37364/events
|
https://github.com/pandas-dev/pandas/pull/37364
| 728,183,420
|
MDExOlB1bGxSZXF1ZXN0NTA4OTM3MzEy
| 37,364
|
Backport PR #37302 on branch 1.1.x (BUG: Allow empty chunksize in stata reader when using iterator)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
}
| 2
| 2020-10-23T12:36:24Z
| 2020-10-24T16:11:09Z
| 2020-10-24T16:11:09Z
|
NONE
| null |
Backport PR #37302: BUG: Allow empty chunksize in stata reader when using iterator
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37364/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37364/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37364.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37364",
"merged_at": "2020-10-24T16:11:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37364.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37364"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37365
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37365/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37365/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37365/events
|
https://github.com/pandas-dev/pandas/pull/37365
| 728,342,215
|
MDExOlB1bGxSZXF1ZXN0NTA5MDY2ODI2
| 37,365
|
TYP: DatetimeIndex, TimedeltaIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-23T16:08:47Z
| 2020-10-29T02:00:11Z
| 2020-10-29T00:57:47Z
|
MEMBER
| null |
Better alternative to parts of #37224
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37365/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37365/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37365.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37365",
"merged_at": "2020-10-29T00:57:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37365.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37365"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37366
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37366/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37366/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37366/events
|
https://github.com/pandas-dev/pandas/issues/37366
| 728,430,479
|
MDU6SXNzdWU3Mjg0MzA0Nzk=
| 37,366
|
Column lookups using str subclasses fail on DataFrames with DateTime indexes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5290430?v=4",
"events_url": "https://api.github.com/users/bkurtz/events{/privacy}",
"followers_url": "https://api.github.com/users/bkurtz/followers",
"following_url": "https://api.github.com/users/bkurtz/following{/other_user}",
"gists_url": "https://api.github.com/users/bkurtz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bkurtz",
"id": 5290430,
"login": "bkurtz",
"node_id": "MDQ6VXNlcjUyOTA0MzA=",
"organizations_url": "https://api.github.com/users/bkurtz/orgs",
"received_events_url": "https://api.github.com/users/bkurtz/received_events",
"repos_url": "https://api.github.com/users/bkurtz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bkurtz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bkurtz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bkurtz"
}
|
[
{
"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"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2020-10-23T18:31:15Z
| 2021-05-11T20:06:13Z
| 2021-05-11T20:06:12Z
|
NONE
| null |
Consider the following code:
```python
x = pd.DataFrame({"a": [1]}, index=pd.DatetimeIndex(["2020-10-22 01:21:00+00:00"]))
x["b"] = 2
class mystring(str):
pass
x[mystring("b")] # works
x[mystring("c")] = 3 # error!
```
We are specifically interested in this because we've been trying to move towards using `enum.Enum` classes to remove column-name string constants from our code, which works well in many cases, but fails badly when there's a datetime index. Just as an example, we might do something like
```python
import enum
@enum.unique
class ColNames(str, enum.Enum):
NAME = "name"
POWER_W = "power (watts)"
```
As far as I can tell, what's going on is:
1. When indexing, pandas (for reasons I'm not sure I understand) [first tries to interpret the key as a row slice](https://github.com/pandas-dev/pandas/blob/f0ecfd87b10d95eb1d328655da9cee1bb9118876/pandas/core/frame.py#L3069)
2. That function will [happily accept str subclasses](https://github.com/pandas-dev/pandas/blob/f0ecfd87b10d95eb1d328655da9cee1bb9118876/pandas/core/indexing.py#L2174) (and works as expected if the column already exists)
3. But with a DateTime index, it eventually [gets here](https://github.com/pandas-dev/pandas/blob/f0ecfd87b10d95eb1d328655da9cee1bb9118876/pandas/_libs/tslibs/parsing.pyx#L281) where apparently str subclasses are no longer accepted and a `TypeError` is raised.
I see two easy solutions (i.e. that I could easily submit a PR for):
1. Convert the key to a normal string either [here](https://github.com/pandas-dev/pandas/blob/f0ecfd87b10d95eb1d328655da9cee1bb9118876/pandas/core/indexing.py#L2184) or in the subclass implementations thereof
2. Watch for `TypeError`s [here](https://github.com/pandas-dev/pandas/blob/f0ecfd87b10d95eb1d328655da9cee1bb9118876/pandas/core/indexing.py#L2193) in addition to the other known types there, allowing it to gracefully continue on and try the key as a column name (which will then succeed)
I can also envision fixing this by
3. extending the low-level parsing function to work better with this case, or
4. finishing the [deprecation of row lookups](https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexing.py#L2186) using regular `frame[indx]` notation
However solution 3 is outside my comfort zone, and 4 seems like it might be more involved anyway.
It feels to me like solution 3 is the "correct" resolution to this problem, and that 1 is almost as good (if applied in all the right places), but since it's not my project, I wanted to get feedback before trying to jump in to any of these.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37366/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37366/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37367
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37367/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37367/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37367/events
|
https://github.com/pandas-dev/pandas/pull/37367
| 728,458,832
|
MDExOlB1bGxSZXF1ZXN0NTA5MTYzOTk5
| 37,367
|
BUG/TST: Fix infer_dtype for Period array-likes and general ExtensionArrays
|
{
"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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 32
| 2020-10-23T19:07:37Z
| 2021-02-12T17:47:22Z
| 2021-02-12T17:45:26Z
|
MEMBER
| null |
Closes #23553
In addition, I also changed to let infer_dtype fall back to inferring from the scalar elements if the array-like is not recognized directly (now it raises an error, which doesn't seem very useful?)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37367/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37367/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37367.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37367",
"merged_at": "2021-02-12T17:45:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37367.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37367"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37368
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37368/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37368/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37368/events
|
https://github.com/pandas-dev/pandas/pull/37368
| 728,471,986
|
MDExOlB1bGxSZXF1ZXN0NTA5MTc0NTI3
| 37,368
|
TST: split up test_concat.py #37243 - follows up
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/66844934?v=4",
"events_url": "https://api.github.com/users/kamilt5/events{/privacy}",
"followers_url": "https://api.github.com/users/kamilt5/followers",
"following_url": "https://api.github.com/users/kamilt5/following{/other_user}",
"gists_url": "https://api.github.com/users/kamilt5/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kamilt5",
"id": 66844934,
"login": "kamilt5",
"node_id": "MDQ6VXNlcjY2ODQ0OTM0",
"organizations_url": "https://api.github.com/users/kamilt5/orgs",
"received_events_url": "https://api.github.com/users/kamilt5/received_events",
"repos_url": "https://api.github.com/users/kamilt5/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kamilt5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kamilt5/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kamilt5"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-23T19:31:48Z
| 2020-10-23T20:42:21Z
| 2020-10-23T20:41:13Z
|
CONTRIBUTOR
| null |
* created test_datetime.py and
split datetime/timezone/period related tests
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37368/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37368/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37368.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37368",
"merged_at": "2020-10-23T20:41:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37368.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37368"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37369
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37369/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37369/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37369/events
|
https://github.com/pandas-dev/pandas/pull/37369
| 728,512,773
|
MDExOlB1bGxSZXF1ZXN0NTA5MjA4MTEz
| 37,369
|
BUG: Call finalize in DataFrame.unstack
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
}
|
[
{
"color": "56efc9",
"default": false,
"description": "_metadata, .attrs",
"id": 1539579994,
"name": "metadata",
"node_id": "MDU6TGFiZWwxNTM5NTc5OTk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-23T20:44:05Z
| 2020-10-24T03:54:08Z
| 2020-10-24T03:09:22Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This commit adds a step to call `__finalize__` in `DataFrame.unstack`, as motivated by #28283. Adding this step also prevents needing a step to call `__finalize__` in `DataFrame.pivot` since `DataFrame.unstack` is called before returning, so the xfail for that test was removed as well.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37369/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37369/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37369.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37369",
"merged_at": "2020-10-24T03:09:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37369.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37369"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37370
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37370/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37370/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37370/events
|
https://github.com/pandas-dev/pandas/pull/37370
| 728,520,593
|
MDExOlB1bGxSZXF1ZXN0NTA5MjE0NDQ1
| 37,370
|
DOC: add searchsorted examples #36411
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-23T20:59:52Z
| 2020-11-05T20:55:07Z
| 2020-10-25T18:43:01Z
|
CONTRIBUTOR
| null |
DOC: add searchsorted examples #36411
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37370/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37370/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37370.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37370",
"merged_at": "2020-10-25T18:43:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37370.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37370"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37371
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37371/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37371/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37371/events
|
https://github.com/pandas-dev/pandas/pull/37371
| 728,526,401
|
MDExOlB1bGxSZXF1ZXN0NTA5MjE5MTc0
| 37,371
|
PERF: ensure_string_array with non-numpy input array
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 6
| 2020-10-23T21:11:34Z
| 2020-10-26T22:45:48Z
| 2020-10-26T17:37:54Z
|
CONTRIBUTOR
| null |
Currently, if the input array to `ensure_string_array` is a python object (e.g. an `ExtensionArray`), the function will constantly switch between python and cython level code, which is slow.
This PR fixes that by ensuring we always have a numpy array, avoiding the trips to python level code.
``` python
>>> n = 50_000
>>> cat = pd.Categorical([*['a', pd.NA] * n])
>>> %timeit cat.astype("string")
447 ms ± 11.9 ms per loop # master
5.43 ms ± 80.5 µs per loop # this PR
```
xref #35519, #36464.
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37371/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37371/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37371.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37371",
"merged_at": "2020-10-26T17:37:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37371.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37371"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37372
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37372/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37372/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37372/events
|
https://github.com/pandas-dev/pandas/pull/37372
| 728,559,718
|
MDExOlB1bGxSZXF1ZXN0NTA5MjQ2Mjkw
| 37,372
|
TST/REF: collect tests by method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-23T22:34:40Z
| 2020-10-24T18:00:19Z
| 2020-10-24T17:53:39Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37372/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37372/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37372.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37372",
"merged_at": "2020-10-24T17:53:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37372.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37372"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37373
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37373/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37373/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37373/events
|
https://github.com/pandas-dev/pandas/pull/37373
| 728,587,233
|
MDExOlB1bGxSZXF1ZXN0NTA5MjcxNzA0
| 37,373
|
CLN: de-duplicate _isnan
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-23T23:03:30Z
| 2020-10-24T03:00:20Z
| 2020-10-24T02:50:42Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37373/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37373/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37373.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37373",
"merged_at": "2020-10-24T02:50:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37373.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37373"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37374
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37374/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37374/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37374/events
|
https://github.com/pandas-dev/pandas/pull/37374
| 728,596,673
|
MDExOlB1bGxSZXF1ZXN0NTA5Mjc5OTA1
| 37,374
|
DEPR: Index.__and__, __or__, __xor__ behaving as set ops
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 5
| 2020-10-23T23:25:38Z
| 2020-11-02T15:00:08Z
| 2020-11-02T01:02:40Z
|
MEMBER
| null |
- [x] closes #36758
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
xref #30228
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37374/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37374/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37374.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37374",
"merged_at": "2020-11-02T01:02:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37374.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37374"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37375
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37375/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37375/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37375/events
|
https://github.com/pandas-dev/pandas/pull/37375
| 728,617,214
|
MDExOlB1bGxSZXF1ZXN0NTA5Mjk2MDk4
| 37,375
|
CI: troubleshoot windows parallel tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-10-24T00:46:31Z
| 2020-10-24T01:07:38Z
| 2020-10-24T01:07:36Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37375/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37375/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37375.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37375",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37375.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37375"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37376
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37376/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37376/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37376/events
|
https://github.com/pandas-dev/pandas/pull/37376
| 728,622,453
|
MDExOlB1bGxSZXF1ZXN0NTA5MzAwMTMw
| 37,376
|
TST: on_offset_implementations closes #34751
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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": "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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-24T01:11:58Z
| 2020-10-24T02:59:55Z
| 2020-10-24T02:55:20Z
|
MEMBER
| null |
- [x] closes #34751
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37376/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37376/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37376.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37376",
"merged_at": "2020-10-24T02:55:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37376.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37376"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37377
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37377/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37377/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37377/events
|
https://github.com/pandas-dev/pandas/pull/37377
| 728,623,495
|
MDExOlB1bGxSZXF1ZXN0NTA5MzAwOTMx
| 37,377
|
ENH/BUG: implement __iter__ for IntegerArray so conversions (to_dict, tolist, etc.) return python native types
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-10-24T01:17:17Z
| 2021-02-11T01:31:17Z
| 2021-02-11T01:31:17Z
|
MEMBER
| null |
- [x] closes #29738
- [x] closes #34665
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Reheating #31328 (as it's been stale for a few months)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37377/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37377/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37377.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37377",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37377.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37377"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37378
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37378/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37378/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37378/events
|
https://github.com/pandas-dev/pandas/issues/37378
| 728,757,093
|
MDU6SXNzdWU3Mjg3NTcwOTM=
| 37,378
|
DOC:Pandas groupby agg example for k-hot encoding
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40588378?v=4",
"events_url": "https://api.github.com/users/Teut2711/events{/privacy}",
"followers_url": "https://api.github.com/users/Teut2711/followers",
"following_url": "https://api.github.com/users/Teut2711/following{/other_user}",
"gists_url": "https://api.github.com/users/Teut2711/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Teut2711",
"id": 40588378,
"login": "Teut2711",
"node_id": "MDQ6VXNlcjQwNTg4Mzc4",
"organizations_url": "https://api.github.com/users/Teut2711/orgs",
"received_events_url": "https://api.github.com/users/Teut2711/received_events",
"repos_url": "https://api.github.com/users/Teut2711/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Teut2711/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Teut2711/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Teut2711"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 32
| 2020-10-24T10:11:08Z
| 2020-10-31T21:39:52Z
| 2020-10-31T21:39:52Z
|
NONE
| null |
#### Location of the documentation
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.DataFrame.aggregate.html#pandas.DataFrame.aggregate
[this should provide the location of the documentation, e.g. "pandas.read_csv" or the URL of the documentation, e.g. "https://dev.pandas.io/docs/reference/api/pandas.read_csv.html"]
**Note**: You can check the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/).
#### Documentation problem
It is strange that even on stackoverflow reverse explode has only a single answer(that too is asked very recently). So adding a few more examples should not be bad.

[this should provide a description of what documentation you believe needs to be fixed/improved]
#### Suggested fix for documentation
The following example tells how to perform k-hot encoding with agg.

```
maximum = df.groupby("ImageId").agg({"ClassId":lambda x:x.tolist()})["ClassId"].max()[0]
df = df.groupby("ImageId").agg({"ClassId":lambda x:x.tolist()})
df["ClassId"] = df["ClassId"].apply(lambda x:[1 if i+1 in x else 0 for i in range(maximum)] )
```

[this should explain the suggested fix and **why** it's better than the existing documentation]
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37378/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37378/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37379
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37379/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37379/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37379/events
|
https://github.com/pandas-dev/pandas/pull/37379
| 728,770,012
|
MDExOlB1bGxSZXF1ZXN0NTA5NDE3Njg2
| 37,379
|
CI move validate unwanted patterns over to pre-commit
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-24T11:29:40Z
| 2020-10-26T12:51:10Z
| 2020-10-26T12:07:18Z
|
MEMBER
| null |
This becomes much simpler with pre-commit :smile: As with other PRs of this kind, the motivation for moving checks like these over to pre-commit is that they become cross-platform and that they provide faster feedback to devs
----
example: if I apply
```diff
diff --git a/pandas/io/formats/info.py b/pandas/io/formats/info.py
index 891b3ea7a..6c1075910 100644
--- a/pandas/io/formats/info.py
+++ b/pandas/io/formats/info.py
@@ -479,7 +479,7 @@ class DataFrameTableBuilder(TableBuilderAbstract):
collected_dtypes = [
f"{key}({val:d})" for key, val in sorted(self.dtype_counts.items())
]
- self._lines.append(f"dtypes: {', '.join(collected_dtypes)}")
+ self._lines.append(" " f"dtypes: {', '.join(collected_dtypes)}")
def add_memory_usage_line(self) -> None:
"""Add line containing memory usage."""
```
then I get
```console
$ pre-commit run unwanted-patterns-strings-to-concatenate --all
Check for use of not concatenated strings................................Failed
- hook id: unwanted-patterns-strings-to-concatenate
- exit code: 1
pandas/io/formats/info.py:482:String unnecessarily split in two by black. Please merge them manually.
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37379/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37379/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37379.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37379",
"merged_at": "2020-10-26T12:07:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37379.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37379"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37380
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37380/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37380/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37380/events
|
https://github.com/pandas-dev/pandas/pull/37380
| 728,797,518
|
MDExOlB1bGxSZXF1ZXN0NTA5NDM3Njc1
| 37,380
|
TST: Update unreliable num precision component of test_binary_arith_ops (GH37328)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 12
| 2020-10-24T14:11:12Z
| 2020-10-28T12:05:00Z
| 2020-10-28T12:04:57Z
|
CONTRIBUTOR
| null |
- [x] closes #37328
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37380/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37380/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37380.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37380",
"merged_at": "2020-10-28T12:04:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37380.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37380"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37381
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37381/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37381/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37381/events
|
https://github.com/pandas-dev/pandas/pull/37381
| 728,811,729
|
MDExOlB1bGxSZXF1ZXN0NTA5NDQ3ODYx
| 37,381
|
Fixed Metadata Propogation in DataFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16848370?v=4",
"events_url": "https://api.github.com/users/jwhitty32/events{/privacy}",
"followers_url": "https://api.github.com/users/jwhitty32/followers",
"following_url": "https://api.github.com/users/jwhitty32/following{/other_user}",
"gists_url": "https://api.github.com/users/jwhitty32/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jwhitty32",
"id": 16848370,
"login": "jwhitty32",
"node_id": "MDQ6VXNlcjE2ODQ4Mzcw",
"organizations_url": "https://api.github.com/users/jwhitty32/orgs",
"received_events_url": "https://api.github.com/users/jwhitty32/received_events",
"repos_url": "https://api.github.com/users/jwhitty32/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jwhitty32/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jwhitty32/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jwhitty32"
}
|
[
{
"color": "56efc9",
"default": false,
"description": "_metadata, .attrs",
"id": 1539579994,
"name": "metadata",
"node_id": "MDU6TGFiZWwxNTM5NTc5OTk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 7
| 2020-10-24T15:25:35Z
| 2021-06-06T19:22:15Z
| 2020-11-04T16:52:45Z
|
CONTRIBUTOR
| null |
In reference to #28283
Added finalize reference to append, merge, eval, diff, applymap, and update. Removed the ignore marks from the associated tests.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37381/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37381/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37381.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37381",
"merged_at": "2020-11-04T16:52:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37381.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37381"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37382
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37382/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37382/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37382/events
|
https://github.com/pandas-dev/pandas/pull/37382
| 728,818,487
|
MDExOlB1bGxSZXF1ZXN0NTA5NDUyNjgw
| 37,382
|
TST: Different tests were collected between gw0 and gw1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-10-24T15:58:59Z
| 2020-10-26T09:40:48Z
| 2020-10-25T21:56:55Z
|
MEMBER
| null |
not sure if anyone else if having issue running tests locally. have created a clean pandas-dev env on a different machine so maybe a transient thing.
https://github.com/pytest-dev/pytest-xdist/issues/432
<details>
```
INSTALLED VERSIONS
------------------
commit : dce547ea2fe7f8c5c51c04d0a87704a2b4abf476
python : 3.8.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : English_United Kingdom.1252
pandas : 1.2.0.dev0+908.gdce547ea2f
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : 6.1.1
hypothesis : 5.37.4
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.1
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.4
fastparquet : 0.4.1
gcsfs : 0.7.1
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.0
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.1
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.51.2
```
</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/37382/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37382/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37382.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37382",
"merged_at": "2020-10-25T21:56:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37382.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37382"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37383
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37383/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37383/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37383/events
|
https://github.com/pandas-dev/pandas/pull/37383
| 728,819,857
|
MDExOlB1bGxSZXF1ZXN0NTA5NDUzNzQ0
| 37,383
|
CI fix failing codecheck
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-24T16:05:58Z
| 2020-10-24T17:23:12Z
| 2020-10-24T17:21:59Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37383/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37383/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37383.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37383",
"merged_at": "2020-10-24T17:21:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37383.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37383"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37384
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37384/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37384/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37384/events
|
https://github.com/pandas-dev/pandas/pull/37384
| 728,833,894
|
MDExOlB1bGxSZXF1ZXN0NTA5NDYzODg0
| 37,384
|
replace Appender decorator with doc
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61093810?v=4",
"events_url": "https://api.github.com/users/smartvinnetou/events{/privacy}",
"followers_url": "https://api.github.com/users/smartvinnetou/followers",
"following_url": "https://api.github.com/users/smartvinnetou/following{/other_user}",
"gists_url": "https://api.github.com/users/smartvinnetou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smartvinnetou",
"id": 61093810,
"login": "smartvinnetou",
"node_id": "MDQ6VXNlcjYxMDkzODEw",
"organizations_url": "https://api.github.com/users/smartvinnetou/orgs",
"received_events_url": "https://api.github.com/users/smartvinnetou/received_events",
"repos_url": "https://api.github.com/users/smartvinnetou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smartvinnetou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smartvinnetou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smartvinnetou"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] | null | 5
| 2020-10-24T17:15:24Z
| 2020-11-11T01:26:46Z
| 2020-11-11T01:26:37Z
|
CONTRIBUTOR
| null |
- [x] ref #31942
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] replaces Appender with doc for NDFrame.compare()
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37384/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37384/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37384.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37384",
"merged_at": "2020-11-11T01:26:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37384.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37384"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37385
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37385/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37385/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37385/events
|
https://github.com/pandas-dev/pandas/issues/37385
| 728,834,277
|
MDU6SXNzdWU3Mjg4MzQyNzc=
| 37,385
|
BUG: pandas 1.1.3 fails to install using pip and clang due to unreachable code
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/12680?v=4",
"events_url": "https://api.github.com/users/Chaz6/events{/privacy}",
"followers_url": "https://api.github.com/users/Chaz6/followers",
"following_url": "https://api.github.com/users/Chaz6/following{/other_user}",
"gists_url": "https://api.github.com/users/Chaz6/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Chaz6",
"id": 12680,
"login": "Chaz6",
"node_id": "MDQ6VXNlcjEyNjgw",
"organizations_url": "https://api.github.com/users/Chaz6/orgs",
"received_events_url": "https://api.github.com/users/Chaz6/received_events",
"repos_url": "https://api.github.com/users/Chaz6/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Chaz6/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Chaz6/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Chaz6"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-10-24T17:17:16Z
| 2020-10-24T17:18:34Z
| 2020-10-24T17:18:34Z
|
NONE
| null |
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
pip3 install -U --user pandas
```
#### Problem description
The installation fails with the following output:-
```
clang -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -I/tmp/
pip-build-env-ikhpgen8/overlay/lib/python3.9/site-packages/numpy/core/include -I/home/chaz/.local/local/python-3.9.0/include/python3.9 -c pandas/_libs/algos.c -o build/temp.linux-x
86_64-3.9/pandas/_libs/algos.o -Werror
pandas/_libs/algos.c:81785:3: error: code will never be executed [-Werror,-Wunreachable-code]
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arr.rcbuffer->pybuffer);
^~~~~~~~~~~~~~~~~~~~~~~
pandas/_libs/algos.c:83402:3: error: code will never be executed [-Werror,-Wunreachable-code]
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arr.rcbuffer->pybuffer);
^~~~~~~~~~~~~~~~~~~~~~~
pandas/_libs/algos.c:84302:3: error: code will never be executed [-Werror,-Wunreachable-code]
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arr.rcbuffer->pybuffer);
^~~~~~~~~~~~~~~~~~~~~~~
pandas/_libs/algos.c:85202:3: error: code will never be executed [-Werror,-Wunreachable-code]
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arr.rcbuffer->pybuffer);
^~~~~~~~~~~~~~~~~~~~~~~
pandas/_libs/algos.c:85385:3: error: code will never be executed [-Werror,-Wunreachable-code]
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arr.rcbuffer->pybuffer);
^~~~~~~~~~~~~~~~~~~~~~~
pandas/_libs/algos.c:86285:3: error: code will never be executed [-Werror,-Wunreachable-code]
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_arr.rcbuffer->pybuffer);
^~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
error: command '/home/chaz/.local/local/clang+llvm/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for pandas
```
#### Expected Output
The module should be installed successfully.
#### Output of ``pd.show_versions()``
N/A
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37385/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37385/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37386
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37386/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37386/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37386/events
|
https://github.com/pandas-dev/pandas/pull/37386
| 728,838,295
|
MDExOlB1bGxSZXF1ZXN0NTA5NDY3MTYy
| 37,386
|
DOC: Improve clarity and fix grammar
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/56120643?v=4",
"events_url": "https://api.github.com/users/sahidvelji/events{/privacy}",
"followers_url": "https://api.github.com/users/sahidvelji/followers",
"following_url": "https://api.github.com/users/sahidvelji/following{/other_user}",
"gists_url": "https://api.github.com/users/sahidvelji/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sahidvelji",
"id": 56120643,
"login": "sahidvelji",
"node_id": "MDQ6VXNlcjU2MTIwNjQz",
"organizations_url": "https://api.github.com/users/sahidvelji/orgs",
"received_events_url": "https://api.github.com/users/sahidvelji/received_events",
"repos_url": "https://api.github.com/users/sahidvelji/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sahidvelji/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sahidvelji/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sahidvelji"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-24T17:38:39Z
| 2020-10-26T14:38:14Z
| 2020-10-25T18:38:23Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This PR improves the "Performance considerations" section of the IO tools user guide:
https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#performance-considerations
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37386/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37386/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37386.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37386",
"merged_at": "2020-10-25T18:38:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37386.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37386"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37387
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37387/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37387/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37387/events
|
https://github.com/pandas-dev/pandas/pull/37387
| 728,847,335
|
MDExOlB1bGxSZXF1ZXN0NTA5NDczOTA1
| 37,387
|
TST: split up test_concat.py #37243 - more follows up
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/66844934?v=4",
"events_url": "https://api.github.com/users/kamilt5/events{/privacy}",
"followers_url": "https://api.github.com/users/kamilt5/followers",
"following_url": "https://api.github.com/users/kamilt5/following{/other_user}",
"gists_url": "https://api.github.com/users/kamilt5/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kamilt5",
"id": 66844934,
"login": "kamilt5",
"node_id": "MDQ6VXNlcjY2ODQ0OTM0",
"organizations_url": "https://api.github.com/users/kamilt5/orgs",
"received_events_url": "https://api.github.com/users/kamilt5/received_events",
"repos_url": "https://api.github.com/users/kamilt5/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kamilt5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kamilt5/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kamilt5"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 9
| 2020-10-24T18:27:03Z
| 2020-10-28T12:31:53Z
| 2020-10-28T12:04:17Z
|
CONTRIBUTOR
| null |
* created test_categorical.py
- [x] closes #37243
- [ ] tests added / passed
- [x] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37387/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37387/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37387.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37387",
"merged_at": "2020-10-28T12:04:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37387.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37387"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37388
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37388/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37388/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37388/events
|
https://github.com/pandas-dev/pandas/pull/37388
| 728,847,946
|
MDExOlB1bGxSZXF1ZXN0NTA5NDc0MzYy
| 37,388
|
PERF: release gil for ewmc_time
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-10-24T18:30:14Z
| 2020-10-24T18:32:01Z
| 2020-10-24T18:31:52Z
|
MEMBER
| null |
no perf change for `rolling.EWMMethods`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37388/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37388/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37388.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37388",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37388.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37388"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37389
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37389/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37389/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37389/events
|
https://github.com/pandas-dev/pandas/pull/37389
| 728,851,734
|
MDExOlB1bGxSZXF1ZXN0NTA5NDc3MDMw
| 37,389
|
PERF: release gil for ewma_time
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-10-24T18:50:04Z
| 2020-11-04T02:57:07Z
| 2020-11-04T02:57:03Z
|
MEMBER
| null |
The performance changes for `rolling.EWMMethods` are not stable. I've seen those and no changes in separate runs.
```
+ 1.35±0.02ms 2.17±0.5ms 1.61 rolling.EWMMethods.time_ewm('Series', 1000, 'float', 'std')
```
```
- 2.58±0.2ms 1.36±0.01ms 0.53 rolling.EWMMethods.time_ewm('Series', 10, 'float', 'std')
```
```
+ 1.39±0.01ms 2.17±0.5ms 1.56 rolling.EWMMethods.time_ewm('DataFrame', 10, 'float', 'std')
- 1.71±0.3ms 1.35±0.01ms 0.79 rolling.EWMMethods.time_ewm('Series', 10, 'float', 'std')
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37389/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37389/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37389.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37389",
"merged_at": "2020-11-04T02:57:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37389.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37389"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37390
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37390/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37390/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37390/events
|
https://github.com/pandas-dev/pandas/pull/37390
| 728,892,259
|
MDExOlB1bGxSZXF1ZXN0NTA5NTA0ODE4
| 37,390
|
CLN: Deprecate dayofweek/hello day_of_week (#9606)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15077162?v=4",
"events_url": "https://api.github.com/users/abhishekmangla/events{/privacy}",
"followers_url": "https://api.github.com/users/abhishekmangla/followers",
"following_url": "https://api.github.com/users/abhishekmangla/following{/other_user}",
"gists_url": "https://api.github.com/users/abhishekmangla/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/abhishekmangla",
"id": 15077162,
"login": "abhishekmangla",
"node_id": "MDQ6VXNlcjE1MDc3MTYy",
"organizations_url": "https://api.github.com/users/abhishekmangla/orgs",
"received_events_url": "https://api.github.com/users/abhishekmangla/received_events",
"repos_url": "https://api.github.com/users/abhishekmangla/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/abhishekmangla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abhishekmangla/subscriptions",
"type": "User",
"url": "https://api.github.com/users/abhishekmangla"
}
|
[
{
"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": "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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 7
| 2020-10-24T22:39:20Z
| 2020-10-29T01:19:03Z
| 2020-10-29T01:18:57Z
|
CONTRIBUTOR
| null |
Rename dayofweek properties in Period, Datetime, and PeriodArray classes.
Add day_of_week property to respective tests for each class.
- [x] closes #9606
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37390/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37390/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37390.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37390",
"merged_at": "2020-10-29T01:18:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37390.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37390"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37391
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37391/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37391/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37391/events
|
https://github.com/pandas-dev/pandas/pull/37391
| 728,902,268
|
MDExOlB1bGxSZXF1ZXN0NTA5NTExNDc2
| 37,391
|
BUG: nanstd with td64 and skipna=False
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-10-24T23:53:22Z
| 2020-10-24T23:55:40Z
| 2020-10-24T23:54:24Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
The actual bugfix is the one line changed in nanops; the test is rolled in to the existing TDA.std test. Everything else is cleanup that was involved in tracking down the bug.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37391/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37391/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37391.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37391",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37391.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37391"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37392
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37392/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37392/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37392/events
|
https://github.com/pandas-dev/pandas/pull/37392
| 728,908,593
|
MDExOlB1bGxSZXF1ZXN0NTA5NTE1OTE5
| 37,392
|
BUG: DataFrame.std(skipna=False) with td64 dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-25T00:36:44Z
| 2020-10-26T03:33:43Z
| 2020-10-26T03:14:07Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37392/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37392/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37392.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37392",
"merged_at": "2020-10-26T03:14:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37392.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37392"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37393
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37393/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37393/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37393/events
|
https://github.com/pandas-dev/pandas/pull/37393
| 728,921,788
|
MDExOlB1bGxSZXF1ZXN0NTA5NTI0NTI2
| 37,393
|
DOC: make RST files conform to pandas token usage
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16039329?v=4",
"events_url": "https://api.github.com/users/LeviMatus/events{/privacy}",
"followers_url": "https://api.github.com/users/LeviMatus/followers",
"following_url": "https://api.github.com/users/LeviMatus/following{/other_user}",
"gists_url": "https://api.github.com/users/LeviMatus/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LeviMatus",
"id": 16039329,
"login": "LeviMatus",
"node_id": "MDQ6VXNlcjE2MDM5MzI5",
"organizations_url": "https://api.github.com/users/LeviMatus/orgs",
"received_events_url": "https://api.github.com/users/LeviMatus/received_events",
"repos_url": "https://api.github.com/users/LeviMatus/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LeviMatus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LeviMatus/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LeviMatus"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-10-25T02:19:23Z
| 2020-12-29T17:17:34Z
| 2020-12-29T17:17:34Z
|
CONTRIBUTOR
| null |
See also: #32316
- [x] closes #32316
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
In #36845 the RST files were updated to normalize usage of the word "pandas". The following tokens were replaced:
+ \`pandas\`
+ \`\`pandas\`\`
+ \*pandas\*
+ \*\*pandas\*\*
+ Pandas
In that PR, I wrongly said that I caught all patterns. I was wrong, and this PR address that (my apologies).
#### Misc Note
I'm also working on a rule for `code_checks.sh` to catch this in the future. I have the logic of the rule, but I'm struggling to get it to output nicely in such a way that it conforms with the rest of the rules in `code_checks.sh`. I want to leave this information here in case someone has any ideas I can bounce of off, or in case anyone else wants to try their hand at this. I could be spinning my wheels there for awhile and don't want it to hold up getting these changes in.
I used the following rule to find the remaining cases:
```shell
MSG='Check doc/source RST files which format pandas incorrectly'; echo $MSG
invgrep -R --include=*.rst -Poz '((\*|`)+)pandas\2|((((\.\. code-block:: ipython\s+)(\s +[^\n]*)+)|.\.\ [^\n]+https?[^\n]+|(`+).*\s+<https?[^\n]+>\8(__)?|`.*`_+\s+~+|.*:ref:`.*`)(*SKIP)(?!)|\bPandas\b(?!-))' doc/source/ | sed 's/\x0/\n/g'
RET=$(($RET + $?)) ; echo $MSG "DONE"
```
This finds easily identifiable formatting errors (\`\`pandas\`\`, for example), but it also respects article titles and code examples in an RST `code-block`s. It uses `grep -v` to get all text on a single line, but that causes error messages to lose the line number of the file that the error occurred on (everything in file `foo.rst` is reported to have happened on line 1). Because of this I'm not including the regex in this PR. If anyone is interested in giving me pointers on getting that bit fixed, or even taking my idea and running with it themselves, please do so.
Edit:
Because its desired to retain \`\`pandas\`\` in some places where it contextually make sense, regex won't be able to capture such uses. The above regex can instead be:
```shell
MSG='Check doc/source RST files which format pandas incorrectly'; echo $MSG
invgrep -R --include=*.rst -Poz '(\*+|`)pandas\1|((((\.\. code-block:: ipython\s+)(\s +[^\n]*)+)|.\.\ [^\n]+https?[^\n]+|(`+).*\s+<https?[^\n]+>\7(__)?|`.*`_+\s+~+|.*:ref:`.*`)(*SKIP)(?!)|\bPandas\b(?!-))' doc/source/ | sed 's/\x0/\n/g'
RET=$(($RET + $?)) ; echo $MSG "DONE"
```
which will ignore \`\`pandas\`\` but catch \`pandas\`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37393/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37393/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37393.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37393",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37393.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37393"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37394
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37394/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37394/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37394/events
|
https://github.com/pandas-dev/pandas/pull/37394
| 728,923,299
|
MDExOlB1bGxSZXF1ZXN0NTA5NTI1NTE1
| 37,394
|
BUG: Series[td64].sum() wrong on empty series, closes #37151
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "547c03",
"default": false,
"description": "sum, mean, min, max, etc.",
"id": 2365504383,
"name": "Reduction Operations",
"node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-25T02:32:00Z
| 2020-10-26T15:19:15Z
| 2020-10-26T12:06:46Z
|
MEMBER
| null |
- [x] closes #37151
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Will handle min_count on the next pass.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37394/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37394/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37394.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37394",
"merged_at": "2020-10-26T12:06:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37394.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37394"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37395
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37395/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37395/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37395/events
|
https://github.com/pandas-dev/pandas/pull/37395
| 728,923,966
|
MDExOlB1bGxSZXF1ZXN0NTA5NTI1OTQ2
| 37,395
|
TST/REF: collect tests by method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-25T02:37:34Z
| 2020-10-26T03:33:00Z
| 2020-10-26T03:07:17Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37395/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37395/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37395.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37395",
"merged_at": "2020-10-26T03:07:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37395.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37395"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37396
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37396/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37396/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37396/events
|
https://github.com/pandas-dev/pandas/pull/37396
| 728,929,300
|
MDExOlB1bGxSZXF1ZXN0NTA5NTI5NTAw
| 37,396
|
CLN: nanops
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-25T03:19:21Z
| 2020-10-26T15:11:01Z
| 2020-10-26T12:13:15Z
|
MEMBER
| null |
This sits on top of #37394. The cleanup in _maybe_get_mask means that we end up getting a correctly-dtyped result instead of object-dtype, which becomes important in the upcoming nanmean PR.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37396/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37396/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37396.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37396",
"merged_at": "2020-10-26T12:13:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37396.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37396"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37397
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37397/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37397/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37397/events
|
https://github.com/pandas-dev/pandas/issues/37397
| 728,972,158
|
MDU6SXNzdWU3Mjg5NzIxNTg=
| 37,397
|
RLS: 1.1.4
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
}
| 39
| 2020-10-25T08:44:41Z
| 2020-10-31T17:46:52Z
| 2020-10-31T15:13:57Z
|
MEMBER
| null |
[](https://github.com/simonjayhawkins/pandas-release/actions?query=workflow%3A%22Tag+Release%22)
Tracking issue for the 1.1.4 release. Scheduled for release October 30, 2020
https://github.com/pandas-dev/pandas/milestone/78
Please do not remove/change milestones from these issues without a note explaining the reasoning (changing milestones doesn't trigger notification)
During issue triage, regressions from 1.0.5 onwards should be milestoned 1.1.4 in the first instance. cc @pandas-dev/pandas-triage
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37397/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37397/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37398
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37398/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37398/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37398/events
|
https://github.com/pandas-dev/pandas/issues/37398
| 728,981,026
|
MDU6SXNzdWU3Mjg5ODEwMjY=
| 37,398
|
test_rolling_var_numerical_issues on linux py_3.8_32 failing on MacPython.pandas-wheels
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "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"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
open
| false
| null |
[] | null | 3
| 2020-10-25T09:37:06Z
| 2021-08-13T05:20:55Z
| null |
MEMBER
| null |
https://dev.azure.com/pandas-dev/pandas-wheels/_build/results?buildId=45987&view=logs&j=bb1c2637-64c6-57bd-9ea6-93823b2df951&t=9c62e7ff-391e-517d-ede1-af63bc6a25da
test_rolling_var_numerical_issues added in #37055 cc @phofl
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37398/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37398/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37399
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37399/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37399/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37399/events
|
https://github.com/pandas-dev/pandas/issues/37399
| 728,983,239
|
MDU6SXNzdWU3Mjg5ODMyMzk=
| 37,399
|
CI: enable 32bit build on CI
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-10-25T09:50:24Z
| 2020-10-25T20:08:49Z
| 2020-10-25T20:08:26Z
|
MEMBER
| null |
the number of failures on the 32bit build on https://github.com/MacPython/pandas-wheels is starting to accumulate
we should consider having a 32bit build on CI to catch these earlier (and can be addressed by the people more familiar with the changes)
a snapshot of the failures on linux py_3.8_32
```
=========================== short test summary info ============================
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/arrays/floating/test_function.py::test_stat_method[var-kwargs1]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/arrays/floating/test_function.py::test_stat_method[var-kwargs0]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/arrays/floating/test_function.py::test_stat_method[kurtosis-kwargs2]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/arrays/floating/test_function.py::test_stat_method[sem-kwargs4]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/base/test_misc.py::test_memory_usage[series-with-empty-index]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/groupby/test_groupby.py::test_groupby_nat_exclude
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/io/formats/test_info.py::test_info_int_columns
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/io/parser/test_c_parser_only.py::test_float_precision_options[c_high]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/io/parser/test_c_parser_only.py::test_float_precision_options[c_low]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/reshape/test_pivot.py::TestPivot::test_pivot_empty
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues[var-1-values0]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues[std-1-values1]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues[var-2-values2]
FAILED ../../venv/lib/python3.8/site-packages/pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues[std-2-values3]
= 14 failed, 80215 passed, 16918 skipped, 1380 xfailed, 13 warnings in 528.07s (0:08:48) =
```
#37398, #36662 and #36429 address some of these.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37399/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37399/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37400
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37400/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37400/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37400/events
|
https://github.com/pandas-dev/pandas/pull/37400
| 728,999,905
|
MDExOlB1bGxSZXF1ZXN0NTA5NTc3MjU3
| 37,400
|
REGR/PERF: Index.is_ performance regression
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-25T11:30:35Z
| 2020-10-26T08:03:30Z
| 2020-10-26T03:06:07Z
|
CONTRIBUTOR
| null |
Fixes https://github.com/pandas-dev/pandas/pull/37321#issuecomment-715878012
The offender is actually #37321. Apparantly is's a bit slow to do the check using a generator like `com.any_none`.
```python
In [1]: from pandas import *
In [2]: idx_large_fast = RangeIndex(100000)
...: idx_small_slow = date_range(start="1/1/2012", periods=1)
...: mi_large_slow = MultiIndex.from_product([idx_large_fast, idx_small_slow])
...:
...: idx_non_object = RangeIndex(1)
In[3]: %timeit mi_large_slow.equals(idx_non_object)
3.13 µs ± 79.4 ns per loop # master
2.09 µs ± 31.1 ns per loop # This PR
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37400/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37400/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37400.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37400",
"merged_at": "2020-10-26T03:06:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37400.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37400"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37401
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37401/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37401/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37401/events
|
https://github.com/pandas-dev/pandas/pull/37401
| 729,035,801
|
MDExOlB1bGxSZXF1ZXN0NTA5NjAzNzcy
| 37,401
|
CI/CLN: Lint more class references in tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] | null | 5
| 2020-10-25T14:43:14Z
| 2020-10-31T00:42:12Z
| 2020-10-30T23:15:23Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37401/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37401/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37401.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37401",
"merged_at": "2020-10-30T23:15:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37401.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37401"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37402
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37402/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37402/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37402/events
|
https://github.com/pandas-dev/pandas/pull/37402
| 729,052,532
|
MDExOlB1bGxSZXF1ZXN0NTA5NjE2MzMw
| 37,402
|
TST: check_comprehensiveness compat for --lf and -k
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-25T16:02:28Z
| 2020-10-29T02:01:57Z
| 2020-10-29T00:58:49Z
|
MEMBER
| null |
- [x] closes #23930
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37402/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37402/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37402.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37402",
"merged_at": "2020-10-29T00:58:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37402.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37402"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37403
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37403/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37403/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37403/events
|
https://github.com/pandas-dev/pandas/pull/37403
| 729,078,784
|
MDExOlB1bGxSZXF1ZXN0NTA5NjM1NzAw
| 37,403
|
TST/REF: collect tests by method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-25T18:11:28Z
| 2020-10-26T15:08:26Z
| 2020-10-26T12:10:55Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37403/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37403/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37403.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37403",
"merged_at": "2020-10-26T12:10:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37403.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37403"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37404
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37404/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37404/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37404/events
|
https://github.com/pandas-dev/pandas/pull/37404
| 729,096,739
|
MDExOlB1bGxSZXF1ZXN0NTA5NjQ5MTY0
| 37,404
|
CLN: Fix unwanted pattern in unittest
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "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": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-10-25T19:38:48Z
| 2020-10-25T19:54:02Z
| 2020-10-25T19:45:50Z
|
MEMBER
| null |
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Introduced with #37090
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37404/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37404/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37404.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37404",
"merged_at": "2020-10-25T19:45:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37404.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37404"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37405
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37405/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37405/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37405/events
|
https://github.com/pandas-dev/pandas/pull/37405
| 729,115,256
|
MDExOlB1bGxSZXF1ZXN0NTA5NjYzMjQ0
| 37,405
|
DEPR: Add FutureWarning when matching NaN with NaN in merge/join
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "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": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 5
| 2020-10-25T21:13:07Z
| 2021-02-12T22:48:25Z
| 2021-02-12T22:48:25Z
|
MEMBER
| null |
- [x] xref #32306 (and a few others, will add them later
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
cc @WillAyd
I started with raising a FutureWarning when merging nan on nan. This works, if ``left_index`` and ``right_index`` are not both True.
If both are True, we are dispatching to the Index methods. Should we deprecate this for indexes too? Additionally, should we remove this for ``intersection`` of index in the future too? Will continue after receiving feedback :)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37405/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37405/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37405.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37405",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37405.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37405"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37406
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37406/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37406/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37406/events
|
https://github.com/pandas-dev/pandas/pull/37406
| 729,127,835
|
MDExOlB1bGxSZXF1ZXN0NTA5NjcyNjU1
| 37,406
|
BUG: Fix inconsistent ordering between left and right in merge
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 6
| 2020-10-25T22:18:48Z
| 2020-11-21T23:50:46Z
| 2020-11-21T22:23:28Z
|
MEMBER
| null |
- [x] closes #35382
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Passed sort through for right join too. Did not see a reason why not.
On a related note: I think outer joins return a inconsistent order too.
```
df = pd.DataFrame({'a': [1, 0, 1]})
print(df.merge(df, on='a', how='outer', sort=False))
a
0 1
1 1
2 1
3 1
4 0
```
instead of
```
a
0 1
1 1
2 0
3 1
4 1
```
like ``left`` and ``right`` now. Would have to add a ``sort`` keyword to outer join. Should I open an issue for 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/37406/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37406/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37406.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37406",
"merged_at": "2020-11-21T22:23:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37406.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37406"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37407
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37407/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37407/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37407/events
|
https://github.com/pandas-dev/pandas/pull/37407
| 729,133,676
|
MDExOlB1bGxSZXF1ZXN0NTA5Njc3MTc1
| 37,407
|
TST: Set timeoffset as the window parameter
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26482095?v=4",
"events_url": "https://api.github.com/users/gabriellm1/events{/privacy}",
"followers_url": "https://api.github.com/users/gabriellm1/followers",
"following_url": "https://api.github.com/users/gabriellm1/following{/other_user}",
"gists_url": "https://api.github.com/users/gabriellm1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gabriellm1",
"id": 26482095,
"login": "gabriellm1",
"node_id": "MDQ6VXNlcjI2NDgyMDk1",
"organizations_url": "https://api.github.com/users/gabriellm1/orgs",
"received_events_url": "https://api.github.com/users/gabriellm1/received_events",
"repos_url": "https://api.github.com/users/gabriellm1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gabriellm1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gabriellm1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gabriellm1"
}
|
[
{
"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": "d80222",
"default": false,
"description": "",
"id": 2402564166,
"name": "hacktoberfest-accepted",
"node_id": "MDU6TGFiZWwyNDAyNTY0MTY2",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/hacktoberfest-accepted"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-10-25T22:51:15Z
| 2020-10-27T15:45:14Z
| 2020-10-26T03:18:19Z
|
CONTRIBUTOR
| null |
- [X] closes #28266
- [X] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Hi guys, just added tests for issue #28266. I'm participating in the Hacktoberfest event and would much appreciate it if someone put the label ‘hacktoberfest-accepted’ on this PR. Any modification needed just hit me up :)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37407/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37407/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37407.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37407",
"merged_at": "2020-10-26T03:18:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37407.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37407"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37408
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37408/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37408/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37408/events
|
https://github.com/pandas-dev/pandas/issues/37408
| 729,145,926
|
MDU6SXNzdWU3MjkxNDU5MjY=
| 37,408
|
BUG: `KeyError: 0` when running `.info()` on a DataFrame with integer column names that do not form a consecutive series starting at 0
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13399445?v=4",
"events_url": "https://api.github.com/users/gsganden/events{/privacy}",
"followers_url": "https://api.github.com/users/gsganden/followers",
"following_url": "https://api.github.com/users/gsganden/following{/other_user}",
"gists_url": "https://api.github.com/users/gsganden/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gsganden",
"id": 13399445,
"login": "gsganden",
"node_id": "MDQ6VXNlcjEzMzk5NDQ1",
"organizations_url": "https://api.github.com/users/gsganden/orgs",
"received_events_url": "https://api.github.com/users/gsganden/received_events",
"repos_url": "https://api.github.com/users/gsganden/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gsganden/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gsganden/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gsganden"
}
|
[
{
"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"
}
| 2
| 2020-10-25T23:59:09Z
| 2020-10-26T07:23:47Z
| 2020-10-26T07:23:42Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
pd.DataFrame({1: [0]}).info()
```
#### Problem description
Stack trace:
```
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
~/.pyenv/versions/3.7.7/envs/ga/lib/python3.7/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
2894 try:
-> 2895 return self._engine.get_loc(casted_key)
2896 except KeyError as err:
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.Int64HashTable.get_item()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.Int64HashTable.get_item()
KeyError: 0
The above exception was the direct cause of the following exception:
KeyError Traceback (most recent call last)
<ipython-input-21-b154f24c816b> in <module>
----> 1 pd.DataFrame({1: [0]}).info()
~/.pyenv/versions/3.7.7/envs/ga/lib/python3.7/site-packages/pandas/core/frame.py in info(self, verbose, buf, max_cols, memory_usage, null_counts)
2588 ) -> None:
2589 return DataFrameInfo(
-> 2590 self, verbose, buf, max_cols, memory_usage, null_counts
2591 ).info()
2592
~/.pyenv/versions/3.7.7/envs/ga/lib/python3.7/site-packages/pandas/io/formats/info.py in info(self)
248 self._non_verbose_repr(lines, ids)
249 else:
--> 250 self._verbose_repr(lines, ids, dtypes, show_counts)
251
252 # groupby dtype.name to collect e.g. Categorical columns
~/.pyenv/versions/3.7.7/envs/ga/lib/python3.7/site-packages/pandas/io/formats/info.py in _verbose_repr(self, lines, ids, dtypes, show_counts)
333
334 for i, col in enumerate(ids):
--> 335 dtype = dtypes[i]
336 col = pprint_thing(col)
337
~/.pyenv/versions/3.7.7/envs/ga/lib/python3.7/site-packages/pandas/core/series.py in __getitem__(self, key)
880
881 elif key_is_scalar:
--> 882 return self._get_value(key)
883
884 if is_hashable(key):
~/.pyenv/versions/3.7.7/envs/ga/lib/python3.7/site-packages/pandas/core/series.py in _get_value(self, label, takeable)
987
988 # Similar to Index.get_value, but we do not fall back to positional
--> 989 loc = self.index.get_loc(label)
990 return self.index._get_values_for_loc(self, loc, label)
991
~/.pyenv/versions/3.7.7/envs/ga/lib/python3.7/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
2895 return self._engine.get_loc(casted_key)
2896 except KeyError as err:
-> 2897 raise KeyError(key) from err
2898
2899 if tolerance is not None:
KeyError: 0
```
It seems that this error arises when calling `.info()` on any DataFrame that has at least one integer column name unless the sorted column names form a sequence of consecutive integers starting at 0.
#### Expected Output
```
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 1 entries, 0 to 0
Data columns (total 1 columns):
1 1 non-null int64
dtypes: int64(1)
memory usage: 136.0 bytes
```
#### Output of ``pd.show_versions()``
```
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.7.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.utf-8
LANG : en_US.utf-8
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.18.2
pytz : 2019.3
dateutil : 2.8.1
pip : 20.1
setuptools : 41.2.0
Cython : None
pytest : 5.4.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.2.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.48.0
```
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37408/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37408/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37409
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37409/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37409/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37409/events
|
https://github.com/pandas-dev/pandas/pull/37409
| 729,155,149
|
MDExOlB1bGxSZXF1ZXN0NTA5NjkzNTQz
| 37,409
|
TST: rename generic/, base/ test directories
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-10-26T00:34:11Z
| 2021-01-04T06:19:33Z
| 2020-10-26T02:13:36Z
|
MEMBER
| null |
base -> index_or_series
generic -> frame_or_series
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37409/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37409/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37409.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37409",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37409.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37409"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37410
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37410/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37410/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37410/events
|
https://github.com/pandas-dev/pandas/pull/37410
| 729,177,450
|
MDExOlB1bGxSZXF1ZXN0NTA5NzEwMjIz
| 37,410
|
TST/REF: misplaced tests in tests.base
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-26T01:56:41Z
| 2020-10-26T15:17:33Z
| 2020-10-26T12:12:24Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37410/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37410/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37410.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37410",
"merged_at": "2020-10-26T12:12:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37410.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37410"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37411
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37411/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37411/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37411/events
|
https://github.com/pandas-dev/pandas/pull/37411
| 729,182,653
|
MDExOlB1bGxSZXF1ZXN0NTA5NzE0MDMy
| 37,411
|
TST/CLN: misplaced factorize tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-10-26T02:15:20Z
| 2020-10-26T15:03:30Z
| 2020-10-26T12:04:12Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37411/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37411/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37411.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37411",
"merged_at": "2020-10-26T12:04:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37411.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37411"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37412
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37412/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37412/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37412/events
|
https://github.com/pandas-dev/pandas/pull/37412
| 729,216,478
|
MDExOlB1bGxSZXF1ZXN0NTA5NzQxMTAx
| 37,412
|
DOC: small clean ups
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4",
"events_url": "https://api.github.com/users/partev/events{/privacy}",
"followers_url": "https://api.github.com/users/partev/followers",
"following_url": "https://api.github.com/users/partev/following{/other_user}",
"gists_url": "https://api.github.com/users/partev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/partev",
"id": 23830955,
"login": "partev",
"node_id": "MDQ6VXNlcjIzODMwOTU1",
"organizations_url": "https://api.github.com/users/partev/orgs",
"received_events_url": "https://api.github.com/users/partev/received_events",
"repos_url": "https://api.github.com/users/partev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/partev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/partev"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-10-26T04:02:40Z
| 2020-10-26T13:47:42Z
| 2020-10-26T13:47:37Z
|
CONTRIBUTOR
| null |
small clean ups
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37412/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37412/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37412.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37412",
"merged_at": "2020-10-26T13:47:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37412.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37412"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37413
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37413/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37413/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37413/events
|
https://github.com/pandas-dev/pandas/issues/37413
| 729,352,931
|
MDU6SXNzdWU3MjkzNTI5MzE=
| 37,413
|
List indexing works for .tail() but not .head()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/54292200?v=4",
"events_url": "https://api.github.com/users/Symeonw/events{/privacy}",
"followers_url": "https://api.github.com/users/Symeonw/followers",
"following_url": "https://api.github.com/users/Symeonw/following{/other_user}",
"gists_url": "https://api.github.com/users/Symeonw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Symeonw",
"id": 54292200,
"login": "Symeonw",
"node_id": "MDQ6VXNlcjU0MjkyMjAw",
"organizations_url": "https://api.github.com/users/Symeonw/orgs",
"received_events_url": "https://api.github.com/users/Symeonw/received_events",
"repos_url": "https://api.github.com/users/Symeonw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Symeonw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Symeonw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Symeonw"
}
|
[
{
"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"
}
| 5
| 2020-10-26T08:14:27Z
| 2020-10-26T16:29:40Z
| 2020-10-26T16:29:24Z
|
NONE
| null |
- [x ] I have checked that this issue has not already been reported.
- [x ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
df.close.head(1)[0]
df.close.tail(1)[0]
```
df.close.head(1)[0] <-- Works just fine
df.close.tail(1)[0] <-- Returns KeyError: 0
Current fix:
list(df.close.tail(1))[0]
[df.close.tail(1)][0] does not work.
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
#### Expected Output
The last number by itself without its index. The current output just returns an error, so, it would be great to have it more consistent with the return of its .head() counterpart.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.7.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 13, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.0.5
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.3.1.post20200622
Cython : 0.29.17
pytest : 5.4.3
hypothesis : 5.18.3
sphinx : 3.1.1
blosc : None
feather : None
xlsxwriter : 1.2.9
lxml.etree : 4.5.1
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : 1.3.2
fastparquet : None
gcsfs : None
lxml.etree : 4.5.1
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.15.1
pytables : None
pytest : 5.4.3
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.15.1
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.9
numba : 0.49.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37413/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37413/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37414
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37414/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37414/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37414/events
|
https://github.com/pandas-dev/pandas/issues/37414
| 729,436,898
|
MDU6SXNzdWU3Mjk0MzY4OTg=
| 37,414
|
BUG: UnicodeDecodeError: 'unicodeescape' codec can't decode byte 0x5c at end of string
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45976948?v=4",
"events_url": "https://api.github.com/users/anmyachev/events{/privacy}",
"followers_url": "https://api.github.com/users/anmyachev/followers",
"following_url": "https://api.github.com/users/anmyachev/following{/other_user}",
"gists_url": "https://api.github.com/users/anmyachev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/anmyachev",
"id": 45976948,
"login": "anmyachev",
"node_id": "MDQ6VXNlcjQ1OTc2OTQ4",
"organizations_url": "https://api.github.com/users/anmyachev/orgs",
"received_events_url": "https://api.github.com/users/anmyachev/received_events",
"repos_url": "https://api.github.com/users/anmyachev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/anmyachev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anmyachev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/anmyachev"
}
|
[
{
"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": "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": "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 | 3
| 2020-10-26T10:21:25Z
| 2021-10-14T10:11:29Z
| 2021-10-14T10:11:29Z
|
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas. Checked 8da70fc36705e9dcf0de28227f4ad4c914d84f78
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas
import numpy as np
row_size = 2*10**5
test_csv_name = "test_df.csv"
dates = pandas.date_range("2000", freq="s", periods=row_size)
df = pandas.DataFrame(
{
"col1": np.arange(row_size),
"col2": [str(x.date()) for x in dates],
"col3": np.arange(row_size),
"col4": [str(x.time()) for x in dates],
}
)
df.to_csv(test_csv_name, sep=",", encoding="unicode_escape")
pandas_df = pandas.read_csv(test_csv_name, encoding="unicode_escape")
print(pandas_df)
```
#### Problem description
This reproducer works well with `row_size = 2*10**4` so I expect similar behaviour for `row_size = 2*10**5`.
<details>
<summary> Traceback for case when row_size = 2*10**5</summary>
```sh
File "reproducer.py", line 18, in <module>
pandas_df = pandas.read_csv(test_csv_name, encoding="unicode_escape")
File "...\pandas\io\parsers.py", line 686, in read_csv
return _read(filepath_or_buffer, kwds)
File "...\pandas\io\parsers.py", line 458, in _read
data = parser.read(nrows)
File "...\pandas\io\parsers.py", line 1196, in read
ret = self._engine.read(nrows)
File "...\pandas\io\parsers.py", line 2155, in read
data = self._reader.read(nrows)
File "pandas\_libs\parsers.pyx", line 847, in pandas._libs.parsers.TextReader.read
File "pandas\_libs\parsers.pyx", line 862, in pandas._libs.parsers.TextReader._read_low_memory
File "pandas\_libs\parsers.pyx", line 918, in pandas._libs.parsers.TextReader._read_rows
File "pandas\_libs\parsers.pyx", line 905, in pandas._libs.parsers.TextReader._tokenize_rows
File "pandas\_libs\parsers.pyx", line 2034, in pandas._libs.parsers.raise_parser_error
UnicodeDecodeError: 'unicodeescape' codec can't decode byte 0x5c in position 8191: \ at end of string
```
</details>
#### Expected Output
Expected output can be computed using workaround:
```python
# workaround
from io import StringIO
with open(test_csv_name, mode="rb") as f:
pandas_df = pandas.read_csv(StringIO(f.read().decode("unicode_escape")))
```
```python
# expected output
Unnamed: 0 col1 col2 col3 col4
0 0 0 2000-01-01 0 00:00:00
1 1 1 2000-01-01 1 00:00:01
2 2 2 2000-01-01 2 00:00:02
3 3 3 2000-01-01 3 00:00:03
4 4 4 2000-01-01 4 00:00:04
... ... ... ... ... ...
199995 199995 199995 2000-01-03 199995 07:33:15
199996 199996 199996 2000-01-03 199996 07:33:16
199997 199997 199997 2000-01-03 199997 07:33:17
199998 199998 199998 2000-01-03 199998 07:33:18
199999 199999 199999 2000-01-03 199999 07:33:19
[200000 rows x 5 columns]
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.8.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : None.None
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
Cython : None
pytest : 6.1.1
hypothesis : None
sphinx : None
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.6.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 0.8.4
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : 0.14.0
pyarrow : 0.16.0
pytables : None
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.2
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : None
xarray : 0.16.1
xlrd : 1.2.0
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37414/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37414/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37415
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37415/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37415/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37415/events
|
https://github.com/pandas-dev/pandas/issues/37415
| 729,471,896
|
MDU6SXNzdWU3Mjk0NzE4OTY=
| 37,415
|
BUG: groupby with std aggregation of pandas integer dtype throws exception: 'IntegerArray' object has no attribute 'reshape'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6768753?v=4",
"events_url": "https://api.github.com/users/hannesdm/events{/privacy}",
"followers_url": "https://api.github.com/users/hannesdm/followers",
"following_url": "https://api.github.com/users/hannesdm/following{/other_user}",
"gists_url": "https://api.github.com/users/hannesdm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hannesdm",
"id": 6768753,
"login": "hannesdm",
"node_id": "MDQ6VXNlcjY3Njg3NTM=",
"organizations_url": "https://api.github.com/users/hannesdm/orgs",
"received_events_url": "https://api.github.com/users/hannesdm/received_events",
"repos_url": "https://api.github.com/users/hannesdm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hannesdm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hannesdm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hannesdm"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
}
| 5
| 2020-10-26T11:11:43Z
| 2020-10-27T12:38:14Z
| 2020-10-27T12:38:14Z
|
NONE
| null |
- [x ] I have checked that this issue has not already been reported.
- [x ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
df = pd.DataFrame({'a': [1,1,1,2,2],'b': [1,2,3,4,5]})
df['b'] = df['b'].astype(pd.Int32Dtype())
df.groupby('a').agg('std') # Error 'IntegerArray' object has no attribute 'reshape'. The same error occurs with all pandas integer types
```
#### Problem description
For all integer pandas dtypes the code expects an IntegerArray to have the reshape function as is the case with numpy arrays.
It is possible that the error will also occur with other operations performed after a groupby, this has only been checked for 'std'.
The error occurs at
pandas\core\groupby\groupby.py", line 2491, in _get_cythonized_result
vals = vals.reshape((-1, 1))
#### Expected Output
The same output as with a numpy data type, for example above this would be:
a b
1 1.000000
2 0.707107
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.6.9.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.112+
Version : #1 SMP Thu Jul 23 08:00:38 PDT 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.3
numpy : 1.18.5
pytz : 2018.9
dateutil : 2.8.1
pip : 19.3.1
setuptools : 50.3.0
Cython : 0.29.21
pytest : 3.6.4
hypothesis : None
sphinx : 1.8.5
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.2.6
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64)
jinja2 : 2.11.2
IPython : 5.5.0
pandas_datareader: 0.9.0
bs4 : 4.6.3
bottleneck : 1.3.2
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 2.5.9
pandas_gbq : 0.13.2
pyarrow : 0.14.1
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.19
tables : 3.4.4
tabulate : 0.8.7
xarray : 0.15.1
xlrd : 1.1.0
xlwt : 1.3.0
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37415/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37415/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37416
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37416/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37416/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37416/events
|
https://github.com/pandas-dev/pandas/pull/37416
| 729,502,968
|
MDExOlB1bGxSZXF1ZXN0NTA5OTgwMTc4
| 37,416
|
Backport PR #35792 on branch 1.1.x: CLN/BUG: Clean/Simplify _wrap_applied_output
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
}
| 2
| 2020-10-26T12:00:57Z
| 2020-10-26T15:41:32Z
| 2020-10-26T15:41:26Z
|
MEMBER
| null |
Backport PR #35792
https://github.com/pandas-dev/pandas/pull/37305#issuecomment-716498455 cc @jreback
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37416/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37416/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37416.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37416",
"merged_at": "2020-10-26T15:41:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37416.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37416"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37417
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37417/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37417/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37417/events
|
https://github.com/pandas-dev/pandas/pull/37417
| 729,561,691
|
MDExOlB1bGxSZXF1ZXN0NTEwMDI4MDY0
| 37,417
|
DOC: move release note for 35792
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
}
| 2
| 2020-10-26T13:26:39Z
| 2020-10-26T15:24:31Z
| 2020-10-26T15:05:40Z
|
MEMBER
| null |
follow-on from #37416
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37417/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37417/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37417.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37417",
"merged_at": "2020-10-26T15:05:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37417.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37417"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37418
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37418/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37418/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37418/events
|
https://github.com/pandas-dev/pandas/pull/37418
| 729,634,283
|
MDExOlB1bGxSZXF1ZXN0NTEwMDg3MDA5
| 37,418
|
Backport PR #37023 on branch 1.1.x (REGR: fix bug in DatetimeIndex slicing with irregular or unsorted indices)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-10-31T15:14:04Z",
"closed_issues": 94,
"created_at": "2020-09-26T01:36:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-10-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/78",
"id": 5919858,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels",
"node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==",
"number": 78,
"open_issues": 0,
"state": "closed",
"title": "1.1.4",
"updated_at": "2020-11-25T22:43:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78"
}
| 0
| 2020-10-26T14:52:40Z
| 2020-10-26T15:46:48Z
| 2020-10-26T15:46:48Z
|
NONE
| null |
Backport PR #37023: REGR: fix bug in DatetimeIndex slicing with irregular or unsorted indices
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37418/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37418/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37418.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37418",
"merged_at": "2020-10-26T15:46:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37418.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37418"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.