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/37919 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37919/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37919/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37919/events | https://github.com/pandas-dev/pandas/pull/37919 | 745,130,187 | MDExOlB1bGxSZXF1ZXN0NTIyNzQyMDg0 | 37,919 | REF: de-duplicate pointwise get_indexer for IntervalIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-17T22:19:56Z | 2020-11-18T16:10:19Z | 2020-11-18T13:23: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/37919/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37919/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37919.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37919",
"merged_at": "2020-11-18T13:23:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37919.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37919"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/37920 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37920/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37920/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37920/events | https://github.com/pandas-dev/pandas/pull/37920 | 745,138,217 | MDExOlB1bGxSZXF1ZXN0NTIyNzQ4ODIy | 37,920 | PERF: Introducing HashTables for datatypes with 8,16 and 32 bits | {
"avatar_url": "https://avatars.githubusercontent.com/u/17513912?v=4",
"events_url": "https://api.github.com/users/realead/events{/privacy}",
"followers_url": "https://api.github.com/users/realead/followers",
"following_url": "https://api.github.com/users/realead/following{/other_user}",
"gists_url": "https://api.github.com/users/realead/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/realead",
"id": 17513912,
"login": "realead",
"node_id": "MDQ6VXNlcjE3NTEzOTEy",
"organizations_url": "https://api.github.com/users/realead/orgs",
"received_events_url": "https://api.github.com/users/realead/received_events",
"repos_url": "https://api.github.com/users/realead/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/realead/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/realead/subscriptions",
"type": "User",
"url": "https://api.github.com/users/realead"
} | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "2020-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-11-17T22:35:22Z | 2020-11-21T22:59:07Z | 2020-11-21T22:22:24Z | CONTRIBUTOR | null | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Starts work on #33287
Proof of concept for 32bit/16bit hash tables. If works it should become blue print for UInt32/Int16/UInt16/Float32-HashTables.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37920/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37920/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37920.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37920",
"merged_at": "2020-11-21T22:22:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37920.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37920"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37921 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37921/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37921/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37921/events | https://github.com/pandas-dev/pandas/pull/37921 | 745,138,564 | MDExOlB1bGxSZXF1ZXN0NTIyNzQ5MTIw | 37,921 | TYP: __getitem__ method of EA (2nd pass) | {
"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": "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": "e... | closed | false | null | [] | null | 5 | 2020-11-17T22:36:03Z | 2021-02-02T09:02:44Z | 2021-02-02T09:02:43Z | MEMBER | null | follow-on from #37898
remove casts and ignores added in #37898 (needed to use typevar in DatetimeLikeArrayMixin in conjunction with overload for slice to return correct DatetimeArray/PeriodArray)
another pass required to
more typevars for return type of type(self)
type \_\_getitem__ in concrete classes (Categorical, IntervalArray and SparseArray)
overloads with Any report overlapping overloads
NAType resolves to `Any` since implemented in cython without stub 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/37921/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37921/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37921.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37921",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37921.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37921"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37922 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37922/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37922/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37922/events | https://github.com/pandas-dev/pandas/pull/37922 | 745,139,651 | MDExOlB1bGxSZXF1ZXN0NTIyNzUwMDQw | 37,922 | CLN: NDFrame._where, comment typos | {
"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": "20... | 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-11-17T22:38:13Z | 2020-11-18T02:52:16Z | 2020-11-18T00:56: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/37922/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37922/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37922.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37922",
"merged_at": "2020-11-18T00:56:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37922.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37922"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/37923 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37923/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37923/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37923/events | https://github.com/pandas-dev/pandas/pull/37923 | 745,144,132 | MDExOlB1bGxSZXF1ZXN0NTIyNzUzNzQw | 37,923 | REF: de-duplicate CategoricalIndex.get_indexer | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "e11d21",
"default": false,
"de... | 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-11-17T22:47:09Z | 2020-11-18T02:53:10Z | 2020-11-18T01:10:05Z | 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/37923/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37923/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37923.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37923",
"merged_at": "2020-11-18T01:10:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37923.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37923"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/37924 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37924/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37924/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37924/events | https://github.com/pandas-dev/pandas/pull/37924 | 745,170,327 | MDExOlB1bGxSZXF1ZXN0NTIyNzc1NDgz | 37,924 | BUG: idxmax/min (and argmax/min) for Series with underlying ExtensionArray | {
"avatar_url": "https://avatars.githubusercontent.com/u/70824089?v=4",
"events_url": "https://api.github.com/users/tonyyyyip/events{/privacy}",
"followers_url": "https://api.github.com/users/tonyyyyip/followers",
"following_url": "https://api.github.com/users/tonyyyyip/following{/other_user}",
"gists_url": "https://api.github.com/users/tonyyyyip/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tonyyyyip",
"id": 70824089,
"login": "tonyyyyip",
"node_id": "MDQ6VXNlcjcwODI0MDg5",
"organizations_url": "https://api.github.com/users/tonyyyyip/orgs",
"received_events_url": "https://api.github.com/users/tonyyyyip/received_events",
"repos_url": "https://api.github.com/users/tonyyyyip/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tonyyyyip/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tonyyyyip/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tonyyyyip"
} | [
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 11 | 2020-11-17T23:44:09Z | 2021-01-02T00:26:01Z | 2021-01-01T21:38:40Z | CONTRIBUTOR | null | - [x] closes #32749, closes #33719, closes #36566
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Currently `pd.Series([1, 2, 3]).astype('Int8').idxmax()` raises an error.
This request proposes a fix.
My first time using Github and opening a pull request. Apologise if it's no good. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37924/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37924/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37924.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37924",
"merged_at": "2021-01-01T21:38:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37924.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37924"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37925 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37925/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37925/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37925/events | https://github.com/pandas-dev/pandas/issues/37925 | 745,210,883 | MDU6SXNzdWU3NDUyMTA4ODM= | 37,925 | CI: mypy error in pandas/core/indexes/datetimelike.py::_simple_new | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been ... | closed | false | null | [] | null | 1 | 2020-11-18T01:19:32Z | 2020-11-18T01:22:04Z | 2020-11-18T01:22:04Z | MEMBER | null | Seeing this in a bunch of unrelated PRs (my own and others'):
```
pandas/core/indexes/datetimelike.py:776: error: Argument 1 to "_simple_new" of "DatetimeIndexOpsMixin" has incompatible type "Union[ExtensionArray, Any]"; expected "Union[DatetimeArray, TimedeltaArray, PeriodArray]" [arg-type]
Found 1 error in 1 file (checked 1119 source files)
Performing static analysis using mypy DONE
```
I wonder if it's a bug 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/37925/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37925/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37926 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37926/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37926/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37926/events | https://github.com/pandas-dev/pandas/pull/37926 | 745,215,785 | MDExOlB1bGxSZXF1ZXN0NTIyODEzNzUz | 37,926 | CLN: tests/window/* | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewm... | 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-11-18T01:26:10Z | 2020-11-18T18:33:29Z | 2020-11-18T18:16:19Z | MEMBER | null | * Renamed `test_window.py` to `test_win_type.py`
* Added `'count'` to `arithmetic_win_operators`
* Reused fixtures
* Used more pytest idioms in `test_moments_consistency_expanding.py`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37926/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37926/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37926.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37926",
"merged_at": "2020-11-18T18:16:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37926.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37926"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37927 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37927/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37927/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37927/events | https://github.com/pandas-dev/pandas/issues/37927 | 745,226,046 | MDU6SXNzdWU3NDUyMjYwNDY= | 37,927 | QST: Does pandas merge guarantee that row order preserved from both tables, even if duplicate keys exist? | {
"avatar_url": "https://avatars.githubusercontent.com/u/723099?v=4",
"events_url": "https://api.github.com/users/ben519/events{/privacy}",
"followers_url": "https://api.github.com/users/ben519/followers",
"following_url": "https://api.github.com/users/ben519/following{/other_user}",
"gists_url": "https://api.github.com/users/ben519/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ben519",
"id": 723099,
"login": "ben519",
"node_id": "MDQ6VXNlcjcyMzA5OQ==",
"organizations_url": "https://api.github.com/users/ben519/orgs",
"received_events_url": "https://api.github.com/users/ben519/received_events",
"repos_url": "https://api.github.com/users/ben519/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ben519/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ben519/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ben519"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stac... | open | false | null | [] | null | 0 | 2020-11-18T01:35:43Z | 2021-08-14T05:16:30Z | null | NONE | null | - [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
---
Suppose I left join a DataFrame `B` onto `A` (with `sort=False`) such that some keys are duplicated in both A and B. Is the resulting DataFrame guaranteed to be lex-sorted based on the occurrence of rows in A and then B? For example...
If I make two DataFrames `A` and `B` like this
```python
N = 1000
np.random.seed(2020)
A = pd.DataFrame({'x': np.random.choice(100, size=N), 'A_row':np.arange(N)})
B = pd.DataFrame({'x': np.random.choice(100, size=N), 'B_row':np.arange(N)})
print(A)
x A_row
0 96 0
1 8 1
2 67 2
.. .. ...
998 52 998
999 55 999
print(B)
x B_row
0 62 0
1 16 1
.. .. ...
998 71 998
999 39 999
```
and then I left-join `B` onto `A`
```python
d1 = pd.merge(left=A, right=B, how='left', on='x')
print(d1)
x A_row B_row
0 96 0 7
1 96 0 94
.. ... ...
10070 55 999 960
10071 55 999 988
```
I can confirm that the result is in lex-sorted via
```python
np.all(d1.index == d1.sort_values(['A_row', 'B_row']).index) # True
```
My question is, *is this guaranteed*? [The docs say](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.merge.html)
> left: use only keys from left frame, similar to a SQL left outer join; preserve key order.
but this doesn't sounds like a guarantee for lex-sort.
Note that if I do the same thing with a right-join, the result is **not** lex-sorted
```python
d2 = pd.merge(left=A, right=B, how='right', on='x')
np.all(d2.index == d2.sort_values(['A_row', 'B_row']).index) # False
```
but I think this is just a bug related to #35382. Thanks
---
```
pd.show_versions()
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 20.1.0
Version : Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 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/37927/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37927/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37928 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37928/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37928/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37928/events | https://github.com/pandas-dev/pandas/issues/37928 | 745,259,001 | MDU6SXNzdWU3NDUyNTkwMDE= | 37,928 | BUG: SingleBlockManager' object has no attribute 'external_vaues' while using drop_duplicate | {
"avatar_url": "https://avatars.githubusercontent.com/u/26242648?v=4",
"events_url": "https://api.github.com/users/Jasonsey/events{/privacy}",
"followers_url": "https://api.github.com/users/Jasonsey/followers",
"following_url": "https://api.github.com/users/Jasonsey/following{/other_user}",
"gists_url": "https://api.github.com/users/Jasonsey/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Jasonsey",
"id": 26242648,
"login": "Jasonsey",
"node_id": "MDQ6VXNlcjI2MjQyNjQ4",
"organizations_url": "https://api.github.com/users/Jasonsey/orgs",
"received_events_url": "https://api.github.com/users/Jasonsey/received_events",
"repos_url": "https://api.github.com/users/Jasonsey/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Jasonsey/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jasonsey/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Jasonsey"
} | [
{
"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 ... | closed | false | null | [] | null | 1 | 2020-11-18T02:14:57Z | 2020-11-18T11:50:15Z | 2020-11-18T11:50:15Z | 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 [1]: import pandas as pd
In [2]: pd.__version
Out[2]: '1.1.3'
In [3]: df = pd.DataFrame({'a': [1,2,3,4,5], 'b': [3,3,3,3,3]})
In [4]: df.drop_duplicates()
```
#### Problem description
The following error occurred when executing the code above
```shell
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-7-c128d71b3023> in <module>
----> 1 df.drop_duplicates()
~/.conda/envs/test/lib/python3.6/site-packages/pandas/core/frame.py in drop_duplicates(self, subset, keep, inplace, ignore_index)
5106
5107 inplace = validate_bool_kwarg(inplace, "inplace")
-> 5108 duplicated = self.duplicated(subset, keep=keep)
5109
5110 result = self[-duplicated]
~/.conda/envs/test/lib/python3.6/site-packages/pandas/core/frame.py in duplicated(self, subset, keep)
5245
5246 vals = (col.values for name, col in self.items() if name in subset)
-> 5247 labels, shape = map(list, zip(*map(f, vals)))
5248
5249 ids = get_group_index(labels, shape, sort=False, xnull=False)
~/.conda/envs/test/lib/python3.6/site-packages/pandas/core/frame.py in <genexpr>(.0)
5244 raise KeyError(diff)
5245
-> 5246 vals = (col.values for name, col in self.items() if name in subset)
5247 labels, shape = map(list, zip(*map(f, vals)))
5248
~/.conda/envs/test/lib/python3.6/site-packages/pandas/core/generic.py in __getattr__(self, name)
5137 if self._info_axis._can_hold_identifiers_and_holds_name(name):
5138 return self[name]
-> 5139 return object.__getattribute__(self, name)
5140
5141 def __setattr__(self, name: str, value) -> None:
~/.conda/envs/test/lib/python3.6/site-packages/pandas/core/series.py in values(self)
536 '2013-01-03T05:00:00.000000000'], dtype='datetime64[ns]')
537 """
--> 538 return self._mgr.external_vaues()
539
540 @property
AttributeError: 'SingleBlockManager' object has no attribute 'external_vaues'
```
#### Expected Output
No error occured
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.6.12.final.0
python-bits : 64
OS : Darwin
OS-release : 20.1.0
Version : Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : zh_CN.UTF-8
LOCALE : zh_CN.UTF-8
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
Cython : None
pytest : 6.1.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : 0.10.1
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.20
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37928/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37928/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37929 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37929/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37929/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37929/events | https://github.com/pandas-dev/pandas/issues/37929 | 745,290,292 | MDU6SXNzdWU3NDUyOTAyOTI= | 37,929 | API: make CategoricalDtype.__eq__ stricter | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
... | open | false | null | [] | null | 3 | 2020-11-18T03:14:41Z | 2021-08-14T05:17:14Z | null | MEMBER | null | We allow for partially-initialized CategoricalDtypes to compare as equal to fully-initialized ones, leading to some surprising behaviors. The one that I stumbled over was this:
```
cat = pd.Categorical(["a", "b", "c"], ordered=True)
dtype = pd.CategoricalDtype()
>>> cat.dtype == dtype
True
cat2 = cat.astype(dtype)
>>> cat2.dtype == cat.dtype
False
```
We should stop special-casing categories=None for this purpose. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37929/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37929/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37930 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37930/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37930/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37930/events | https://github.com/pandas-dev/pandas/issues/37930 | 745,292,242 | MDU6SXNzdWU3NDUyOTIyNDI= | 37,930 | INT: include NA values in Categorical.categories | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "e11d21... | open | false | null | [] | null | 6 | 2020-11-18T03:19:11Z | 2020-11-18T16:18:00Z | null | MEMBER | null | There are a bunch of places in CategoricalIndex where we check something like:
```
codes = self.categories.get_indexer(target)
if (codes == -1).any():
do_something()
```
This leads to ambiguity, as a -1 code can indicate an NA value that is present, or a non-NA value that is not among self.categories. Having to sort out which we're looking at is a hassle which we should try to avoid. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37930/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37930/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37931 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37931/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37931/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37931/events | https://github.com/pandas-dev/pandas/pull/37931 | 745,308,828 | MDExOlB1bGxSZXF1ZXN0NTIyODk0NjI0 | 37,931 | BUG: loc.setitem corner case | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 1 | 2020-11-18T04:03:03Z | 2020-11-26T22:26:54Z | 2020-11-26T22:26:12Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
cc @phofl if you've got any thoughts on how to handle this 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/37931/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37931/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37931.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37931",
"merged_at": "2020-11-26T22:26:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37931.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37931"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37932 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37932/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37932/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37932/events | https://github.com/pandas-dev/pandas/pull/37932 | 745,313,196 | MDExOlB1bGxSZXF1ZXN0NTIyODk3OTg1 | 37,932 | BUG: loc.setitem with expansion expanding rows | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | 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-11-18T04:14:47Z | 2020-11-27T19:52:26Z | 2020-11-27T19:49:44Z | 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
discovered on branch that has dataframe always go through split_path | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37932/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37932/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37932.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37932",
"merged_at": "2020-11-27T19:49:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37932.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37932"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37933 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37933/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37933/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37933/events | https://github.com/pandas-dev/pandas/pull/37933 | 745,325,097 | MDExOlB1bGxSZXF1ZXN0NTIyOTA3ODA0 | 37,933 | ENH: make closed part of IntervalDtype | {
"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": "009... | closed | false | null | [] | null | 2 | 2020-11-18T04:45:09Z | 2021-01-15T18:09:57Z | 2020-11-24T21:07:27Z | MEMBER | null | - [x] closes #19371
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
cc @jschendel
Still need to figure out what to do for backwards compat for unpickled IntervalDtype objects; ATM this just sets closed=None.
This causes IntervalIndex.append to cast to object dtype instead of raising if we try to append a non-matching closed. I think thats the right thing to do, but we haven't fully discussed that xref #37774 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37933/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37933/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37933.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37933",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37933.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37933"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37934 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37934/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37934/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37934/events | https://github.com/pandas-dev/pandas/issues/37934 | 745,453,844 | MDU6SXNzdWU3NDU0NTM4NDQ= | 37,934 | BUG: json_normalize() does not parse floats in scientific notation | {
"avatar_url": "https://avatars.githubusercontent.com/u/43342031?v=4",
"events_url": "https://api.github.com/users/KaiRoesner/events{/privacy}",
"followers_url": "https://api.github.com/users/KaiRoesner/followers",
"following_url": "https://api.github.com/users/KaiRoesner/following{/other_user}",
"gists_url": "https://api.github.com/users/KaiRoesner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/KaiRoesner",
"id": 43342031,
"login": "KaiRoesner",
"node_id": "MDQ6VXNlcjQzMzQyMDMx",
"organizations_url": "https://api.github.com/users/KaiRoesner/orgs",
"received_events_url": "https://api.github.com/users/KaiRoesner/received_events",
"repos_url": "https://api.github.com/users/KaiRoesner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/KaiRoesner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KaiRoesner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/KaiRoesner"
} | [
{
"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 ... | closed | false | null | [] | null | 5 | 2020-11-18T08:39:37Z | 2020-11-18T12:13:12Z | 2020-11-18T11:56:54Z | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import json
import pandas as pd
body = '''[
{ "c1": 1, "c2": "1.01" },
{ "c1": 2, "c2": "1E-3" },
{ "c1": 3, "c2": "3.03" }
]'''
df1 = pd.read_json(body)
df2 = pd.json_normalize(json.loads(body))
print(df1, "\n\n", df1.dtypes)
print("\n\n", df2, "\n\n", df2.dtypes)
```
#### Problem description
When creating a dataframe from json string input via `json.loads()` and `pd.json_normalize()` float values in scientific notation (e.g. "1E-3") are not parsed as floats. When using `pd.read_json()` they are parsed correctly.
Output:
```
c1 c2
0 1 1.010
1 2 0.001
2 3 3.030
c1 int64
c2 float64
dtype: object
c1 c2
0 1 1.01
1 2 1E-3
2 3 3.03
c1 int64
c2 object
dtype: object
```
#### Expected Output
```
c1 c2
0 1 1.010
1 2 0.001
2 3 3.030
c1 int64
c2 float64
dtype: object
c1 c2
0 1 1.010
1 2 0.001
2 3 3.030
c1 int64
c2 float64
dtype: object
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-1019-gcp
Version : #19-Ubuntu SMP Tue Jun 23 15:46:40 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.1.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.19
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37934/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37934/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37935 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37935/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37935/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37935/events | https://github.com/pandas-dev/pandas/issues/37935 | 745,485,788 | MDU6SXNzdWU3NDU0ODU3ODg= | 37,935 | BUG: json_normalize() upcasts column with missing values | {
"avatar_url": "https://avatars.githubusercontent.com/u/43342031?v=4",
"events_url": "https://api.github.com/users/KaiRoesner/events{/privacy}",
"followers_url": "https://api.github.com/users/KaiRoesner/followers",
"following_url": "https://api.github.com/users/KaiRoesner/following{/other_user}",
"gists_url": "https://api.github.com/users/KaiRoesner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/KaiRoesner",
"id": 43342031,
"login": "KaiRoesner",
"node_id": "MDQ6VXNlcjQzMzQyMDMx",
"organizations_url": "https://api.github.com/users/KaiRoesner/orgs",
"received_events_url": "https://api.github.com/users/KaiRoesner/received_events",
"repos_url": "https://api.github.com/users/KaiRoesner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/KaiRoesner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KaiRoesner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/KaiRoesner"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtyp... | open | false | null | [] | null | 0 | 2020-11-18T09:25:13Z | 2021-08-14T05:18:39Z | 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
import pandas as pd
data = [
{ "c1": 1, "c2": 1, "c3": 1.01 },
{ "c1": 2, "c3": 2.02 },
{ "c1": 3, "c2": 3, "c3": 3.03 }
]
df = pd.json_normalize(data)
print(df, "\n\n", df.dtypes)
```
#### Problem description
When creating a dataframe via `pd.json_normalize()` integer columns are upcast to float if column values are missing for some records even when all other values are consistently integer.
Output:
```
c1 c2 c3
0 1 1.0 1.01
1 2 NaN 2.02
2 3 3.0 3.03
c1 int64
c2 float64
c3 float64
```
#### Expected Output
```
c1 c2 c3
0 1 1 1.01
1 2 NaN 2.02
2 3 3 3.03
c1 int64
c2 int64
c3 float64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
commit : 67a3d42
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-1019-gcp
Version : #19-Ubuntu SMP Tue Jun 23 15:46:40 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.1.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.19
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37935/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37935/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37936 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37936/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37936/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37936/events | https://github.com/pandas-dev/pandas/issues/37936 | 745,514,902 | MDU6SXNzdWU3NDU1MTQ5MDI= | 37,936 | BUG: style.background_gradient works in jupyter but not in Github | {
"avatar_url": "https://avatars.githubusercontent.com/u/38601205?v=4",
"events_url": "https://api.github.com/users/alexiska/events{/privacy}",
"followers_url": "https://api.github.com/users/alexiska/followers",
"following_url": "https://api.github.com/users/alexiska/following{/other_user}",
"gists_url": "https://api.github.com/users/alexiska/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexiska",
"id": 38601205,
"login": "alexiska",
"node_id": "MDQ6VXNlcjM4NjAxMjA1",
"organizations_url": "https://api.github.com/users/alexiska/orgs",
"received_events_url": "https://api.github.com/users/alexiska/received_events",
"repos_url": "https://api.github.com/users/alexiska/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexiska/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexiska/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexiska"
} | [
{
"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 ... | closed | false | null | [] | null | 4 | 2020-11-18T10:03:55Z | 2020-11-19T14:02:46Z | 2020-11-18T12:29:53Z | NONE | null | The bakground color gradient works fine in jupyter but when I upload it to Github the color disappears. Is there anyway I can fix this?
From jupyter

After uploading to Github

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37936/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37936/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37937 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37937/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37937/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37937/events | https://github.com/pandas-dev/pandas/issues/37937 | 745,743,852 | MDU6SXNzdWU3NDU3NDM4NTI= | 37,937 | BUG: Concat automatically sorts index when axis=1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/57748216?v=4",
"events_url": "https://api.github.com/users/marlenezw/events{/privacy}",
"followers_url": "https://api.github.com/users/marlenezw/followers",
"following_url": "https://api.github.com/users/marlenezw/following{/other_user}",
"gists_url": "https://api.github.com/users/marlenezw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/marlenezw",
"id": 57748216,
"login": "marlenezw",
"node_id": "MDQ6VXNlcjU3NzQ4MjE2",
"organizations_url": "https://api.github.com/users/marlenezw/orgs",
"received_events_url": "https://api.github.com/users/marlenezw/received_events",
"repos_url": "https://api.github.com/users/marlenezw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/marlenezw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marlenezw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/marlenezw"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stac... | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 3 | 2020-11-18T15:09:48Z | 2021-07-01T21:08:44Z | null | NONE | null | ---
#### Problem description
Hi! I've noticed that when concat'ing DataFrames, along `axis=1`, integer indexes are automatically sorted even when `sort=False`. This is not the case when `axis = 1` and we have a stringIndex. This also diverges from when `axis=0`. This behaviour is a bit confusing and so I thought it might be a bug.
In the [_unique_indices](https://github.com/pandas-dev/pandas/blob/1f6710035a5295b2d3171ab811ae7ffca2344389/pandas/core/indexes/api.py#L187-L207) API, if the indexes are integers they are brought together using a union, `result = result.union(other)` that sorts the numbers by default. So the resulting index is sorted whether or not sort=True.
I think this can be fixed by changing the code to
`result = result.union(other, sort=sort)` or something along those lines.
I've added examples below. Thank you :D
#### Example of difference between stringIndex and intIndex behaviour
```python
#This is what happens with string index (union of indexes ordered)
>>> p1 = pd.DataFrame(
... {"a": [1, 2, 3], "b": [4, 5, 6]}, index=["p", "q", "r"]
... )
>>> p2 = pd.DataFrame(
... {"c": [7, 8, 9], "d": [10, 11, 12]}, index=["r", "p", "z"]
... )
>>> pd.concat([p1,p2], axis=1)
a b c d
p 1.0 4.0 8.0 11.0
q 2.0 5.0 NaN NaN
r 3.0 6.0 7.0 10.0
z NaN NaN 9.0 12.0
>>> pd.concat([p2,p1], axis=1)
c d a b
r 7.0 10.0 3.0 6.0
p 8.0 11.0 1.0 4.0
z 9.0 12.0 NaN NaN
q NaN NaN 2.0 5.0
#This is what happens with an int index (sorted, regardless of order of input)
>>> p_int1 = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]}, index=[1,2,3])
>>> p_int2 = pd.DataFrame({"c": [7, 8, 9], "d": [10, 11, 12]}, index=[3,1,6])
>>> pd.concat([p_int1,p_int2], axis=1)
a b c d
1 1.0 4.0 8.0 11.0
2 2.0 5.0 NaN NaN
3 3.0 6.0 7.0 10.0
6 NaN NaN 9.0 12.0
>>> pd.concat([p_int2,p_int1], axis=1)
c d a b
1 8.0 11.0 1.0 4.0
2 NaN NaN 2.0 5.0
3 7.0 10.0 3.0 6.0
6 9.0 12.0 NaN NaN
```
#### Example of expected output
```
>>> p_int1 = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]}, index=[1,2,3])
>>> p_int2 = pd.DataFrame({"c": [7, 8, 9], "d": [10, 11, 12]}, index=[3,1,6])
>>> pd.concat([p_int2,p_int1], axis=1, sort=False)
c d a b
3 7.0 10.0 3.0 6.0
1 8.0 11.0 1.0 4.0
6 9.0 12.0 NaN NaN
2 NaN NaN 2.0 5.0
#### Output of ``pd.show_versions(1.1.4)``
<details>
>>> pd.concat([p_int2,p_int1], axis=1)
c d a b
1 8.0 11.0 1.0 4.0
2 NaN NaN 2.0 5.0
3 7.0 10.0 3.0 6.0
6 9.0 12.0 NaN NaN
</details>
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37937/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37937/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37938 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37938/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37938/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37938/events | https://github.com/pandas-dev/pandas/pull/37938 | 745,784,143 | MDExOlB1bGxSZXF1ZXN0NTIzMjg2OTE3 | 37,938 | CI: Fix ci flake error | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "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"
} | 10 | 2020-11-18T15:57:35Z | 2020-11-18T16:50:36Z | 2020-11-18T16:47:46Z | MEMBER | null | - [ ] xref #36305
came across it in #36305
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37938/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37938/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37938.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37938",
"merged_at": "2020-11-18T16:47:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37938.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37938"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37939 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37939/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37939/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37939/events | https://github.com/pandas-dev/pandas/issues/37939 | 745,793,224 | MDU6SXNzdWU3NDU3OTMyMjQ= | 37,939 | QST: how to run Pandas tests involving Numba on installed package | {
"avatar_url": "https://avatars.githubusercontent.com/u/41563?v=4",
"events_url": "https://api.github.com/users/esc/events{/privacy}",
"followers_url": "https://api.github.com/users/esc/followers",
"following_url": "https://api.github.com/users/esc/following{/other_user}",
"gists_url": "https://api.github.com/users/esc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/esc",
"id": 41563,
"login": "esc",
"node_id": "MDQ6VXNlcjQxNTYz",
"organizations_url": "https://api.github.com/users/esc/orgs",
"received_events_url": "https://api.github.com/users/esc/received_events",
"repos_url": "https://api.github.com/users/esc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/esc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/esc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/esc"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "be21f2",
"default": false,
"descript... | closed | false | null | [] | null | 6 | 2020-11-18T16:08:07Z | 2021-08-14T05:20:44Z | 2021-08-14T05:20:44Z | CONTRIBUTOR | null | - [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).
---
#### Question about pandas
I am trying to run the Pandas tests involving Numba like so:
```shell
pytest --pyargs pandas.tests.window.test_numba
```
But unfortunately all 49 tests fail with the same error:
```
______________________________________________________________ ERROR at setup of test_use_global_config _______________________________________________________________
self = <_pytest.config.Config object at 0x7fdf2e856190>, name = 'only_slow', default = <NOTSET>, skip = False
def getoption(self, name: str, default=notset, skip: bool = False):
"""Return command line option value.
:param name: Name of the option. You may also specify
the literal ``--OPT`` option instead of the "dest" option name.
:param default: Default value if no option of that name exists.
:param skip: If True, raise pytest.skip if option does not exists
or has a None value.
"""
name = self._opt2dest.get(name, name)
try:
> val = getattr(self.option, name)
E AttributeError: 'Namespace' object has no attribute 'only_slow'
miniconda3/envs/pandas-dev/lib/python3.8/site-packages/_pytest/config/__init__.py:1460: AttributeError
The above exception was the direct cause of the following exception:
item = <Function test_use_global_config>
def pytest_runtest_setup(item):
if "slow" in item.keywords and item.config.getoption("--skip-slow"):
pytest.skip("skipping due to --skip-slow")
> if "slow" not in item.keywords and item.config.getoption("--only-slow"):
E ValueError: no option named 'only_slow'
miniconda3/envs/pandas-dev/lib/python3.8/site-packages/pandas/conftest.py:79: ValueError
```
Perhaps I am not running the tests correctly? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37939/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37939/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37940 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37940/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37940/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37940/events | https://github.com/pandas-dev/pandas/issues/37940 | 745,801,444 | MDU6SXNzdWU3NDU4MDE0NDQ= | 37,940 | CI: flake8 check does not work properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "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 | 0 | 2020-11-18T16:18:27Z | 2020-11-18T16:30:41Z | 2020-11-18T16:30:41Z | MEMBER | null | xref #37938
Have seen it in #37923 and in #37703 , so ci checks ran successfully in those feature PRs, but actually they should have detected this unused import.
Basically flake8 check in CI should detect cases such as `unused imports`, however, right now, observed from those two PRs, it didn't detect them in feature PRs and then resulted in CI failure 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/37940/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37940/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37941 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37941/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37941/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37941/events | https://github.com/pandas-dev/pandas/issues/37941 | 745,855,336 | MDU6SXNzdWU3NDU4NTUzMzY= | 37,941 | ENH: An argument for .query() that returns all rows | {
"avatar_url": "https://avatars.githubusercontent.com/u/13702392?v=4",
"events_url": "https://api.github.com/users/astrowonk/events{/privacy}",
"followers_url": "https://api.github.com/users/astrowonk/followers",
"following_url": "https://api.github.com/users/astrowonk/following{/other_user}",
"gists_url": "https://api.github.com/users/astrowonk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/astrowonk",
"id": 13702392,
"login": "astrowonk",
"node_id": "MDQ6VXNlcjEzNzAyMzky",
"organizations_url": "https://api.github.com/users/astrowonk/orgs",
"received_events_url": "https://api.github.com/users/astrowonk/received_events",
"repos_url": "https://api.github.com/users/astrowonk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/astrowonk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/astrowonk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/astrowonk"
} | [
{
"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": "f3afff",
"default": false,
"description": "pd.eval,... | open | false | null | [] | null | 4 | 2020-11-18T17:21:47Z | 2021-08-14T05:21:12Z | null | NONE | null | #### Is your feature request related to a problem?
Pandas query strings are very useful, however when using a variable to pass in the query, e.g.
```df.query(my_query)```
There is no null or empty `my_query` that will return all rows. An empty string returns a ValueError. Any non-string argument returns an error.
#### Describe the solution you'd like
An empty string or None or some keyword argument (even with an empty `expr` to .query() should return all rows.
#### Additional context
Without the ability to pass something to `.query` that returns all rows you end up with something like this, when `_query` may or may not set. It'd be nice to be able to avoid this conditional by having something to pass to query that returns all rows.
```python
if _query:
dfs = [f(x).query(_query) for x in the_list]
else:
dfs = [f(x) for x in list]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37941/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37941/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37942 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37942/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37942/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37942/events | https://github.com/pandas-dev/pandas/issues/37942 | 745,885,383 | MDU6SXNzdWU3NDU4ODUzODM= | 37,942 | BUG: Area plot overwrites matplotlib's default share y axes behaviour | {
"avatar_url": "https://avatars.githubusercontent.com/u/1005173?v=4",
"events_url": "https://api.github.com/users/lrusnac/events{/privacy}",
"followers_url": "https://api.github.com/users/lrusnac/followers",
"following_url": "https://api.github.com/users/lrusnac/following{/other_user}",
"gists_url": "https://api.github.com/users/lrusnac/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lrusnac",
"id": 1005173,
"login": "lrusnac",
"node_id": "MDQ6VXNlcjEwMDUxNzM=",
"organizations_url": "https://api.github.com/users/lrusnac/orgs",
"received_events_url": "https://api.github.com/users/lrusnac/received_events",
"repos_url": "https://api.github.com/users/lrusnac/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lrusnac/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lrusnac/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lrusnac"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
... | 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-11-18T17:59:26Z | 2020-11-20T09:38:14Z | 2020-11-20T09:38:14Z | 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
import matplotlib.pyplot as plt
df0 = pd.DataFrame([{'a': 10, 'b': 12}, {'a': 13, 'b': 9}])
df1 = pd.DataFrame([{'a': 100, 'b': 120}, {'a': 130, 'b': 90}])
fig, (axes_0, axes_1) = plt.subplots(1, 2, figsize=(12, 6), sharey='row')
df0.plot(ax=axes_0, kind='area')
df1.plot(ax=axes_1, kind='area')
```
#### Problem description
The area plot overwrites matplotlib's share y axes behaviour if `sharey` parameter is not passed to `.plot` and as a result the second plot get's cut off.
<img width="776" alt="Screenshot 2020-11-18 at 18 55 02" src="https://user-images.githubusercontent.com/1005173/99568355-9afa5c00-29cf-11eb-8267-e3f358c4d6f8.png">
#### Expected Output
same plot made directly with matplotlib, expected behaviour:
```python
fig, (axes_0, axes_1) = plt.subplots(1, 2, figsize=(12, 6), sharey='row')
axes_0.stackplot(df0.index, df0['a'], df0['b'])
axes_1.stackplot(df1.index, df1['a'], df1['b'])
```
<img width="773" alt="Screenshot 2020-11-18 at 18 56 54" src="https://user-images.githubusercontent.com/1005173/99568558-db59da00-29cf-11eb-916b-c967c33ec6be.png">
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37942/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37942/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37943 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37943/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37943/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37943/events | https://github.com/pandas-dev/pandas/pull/37943 | 745,886,352 | MDExOlB1bGxSZXF1ZXN0NTIzMzczNDQ3 | 37,943 | BUG: fix sharey overwrite on area plots | {
"avatar_url": "https://avatars.githubusercontent.com/u/1005173?v=4",
"events_url": "https://api.github.com/users/lrusnac/events{/privacy}",
"followers_url": "https://api.github.com/users/lrusnac/followers",
"following_url": "https://api.github.com/users/lrusnac/following{/other_user}",
"gists_url": "https://api.github.com/users/lrusnac/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lrusnac",
"id": 1005173,
"login": "lrusnac",
"node_id": "MDQ6VXNlcjEwMDUxNzM=",
"organizations_url": "https://api.github.com/users/lrusnac/orgs",
"received_events_url": "https://api.github.com/users/lrusnac/received_events",
"repos_url": "https://api.github.com/users/lrusnac/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lrusnac/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lrusnac/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lrusnac"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
... | 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-11-18T18:00:52Z | 2020-12-02T16:32:06Z | 2020-11-20T09:38:15Z | CONTRIBUTOR | null | - [x] closes #37942
- [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/37943/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37943/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37943.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37943",
"merged_at": "2020-11-20T09:38:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37943.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37943"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37944 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37944/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37944/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37944/events | https://github.com/pandas-dev/pandas/pull/37944 | 745,911,272 | MDExOlB1bGxSZXF1ZXN0NTIzMzk0MDM3 | 37,944 | CLN: test_moments_expanding_consistency.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewm... | 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-11-18T18:39:04Z | 2020-11-18T20:07:45Z | 2020-11-18T20:07:40Z | MEMBER | null | - [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Breaking up the predefined `moments_consistency_*` functions into more scoped tests with more pytest idioms. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37944/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37944/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37944.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37944",
"merged_at": "2020-11-18T20:07:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37944.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37944"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37945 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37945/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37945/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37945/events | https://github.com/pandas-dev/pandas/pull/37945 | 745,988,520 | MDExOlB1bGxSZXF1ZXN0NTIzNDU4MzM0 | 37,945 | PERF: use np.putmask instead of ndarray.__setitem__ | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "a1... | 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-11-18T20:41:56Z | 2020-11-19T02:16:36Z | 2020-11-19T02:07:37Z | MEMBER | null | - [x] closes #37833
- [ ] 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/37945/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37945/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37945.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37945",
"merged_at": "2020-11-19T02:07:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37945.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37945"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37946 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37946/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37946/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37946/events | https://github.com/pandas-dev/pandas/pull/37946 | 746,019,251 | MDExOlB1bGxSZXF1ZXN0NTIzNDg0Njk1 | 37,946 | CLN: test_moments_rolling_consistency.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewm... | 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-11-18T21:26:53Z | 2020-11-19T01:10:48Z | 2020-11-18T23:48:16Z | MEMBER | null | Same changes as https://github.com/pandas-dev/pandas/pull/37944
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37946/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37946/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37946.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37946",
"merged_at": "2020-11-18T23:48:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37946.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37946"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37947 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37947/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37947/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37947/events | https://github.com/pandas-dev/pandas/issues/37947 | 746,071,896 | MDU6SXNzdWU3NDYwNzE4OTY= | 37,947 | Slow autocompletion in python/ipython console for large DataFrame containing strings | {
"avatar_url": "https://avatars.githubusercontent.com/u/37801658?v=4",
"events_url": "https://api.github.com/users/flcong/events{/privacy}",
"followers_url": "https://api.github.com/users/flcong/followers",
"following_url": "https://api.github.com/users/flcong/following{/other_user}",
"gists_url": "https://api.github.com/users/flcong/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/flcong",
"id": 37801658,
"login": "flcong",
"node_id": "MDQ6VXNlcjM3ODAxNjU4",
"organizations_url": "https://api.github.com/users/flcong/orgs",
"received_events_url": "https://api.github.com/users/flcong/received_events",
"repos_url": "https://api.github.com/users/flcong/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/flcong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/flcong/subscriptions",
"type": "User",
"url": "https://api.github.com/users/flcong"
} | [
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] | closed | false | null | [] | null | 8 | 2020-11-18T22:28:14Z | 2021-08-14T05:25:50Z | 2021-08-14T05:25:50Z | NONE | null | I'm not sure if this is the right place to ask, but it seems the autocompletion in python or ipython console is especially slow for large DataFrame with strings (object) in it.
For example, consider the following two DataFrames:
```python
import numpy as np
import pandas as pd
df1 = pd.DataFrame(np.random.rand(400000,60))
df2 = pd.DataFrame([["asdfasdf"]*60]*400000)
```
By typing `df1.<TAB>` in the interactive python/ipython session, the autocompletion is quick, but it takes a very long time for `df2.<TAB>` to finish (it gets stucked for many seconds).
I'm not sure if this is due to different implementation of pandas for DataFrames containing numbers vs. strings (object), or this is due to issues in the interactive python/ipython session.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37947/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37947/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37948 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37948/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37948/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37948/events | https://github.com/pandas-dev/pandas/pull/37948 | 746,110,953 | MDExOlB1bGxSZXF1ZXN0NTIzNTY2NDc1 | 37,948 | DOC: Change warning for sort behavior in concat | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, S... | 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-11-18T23:08:14Z | 2020-11-19T19:30:23Z | 2020-11-19T18:11:18Z | MEMBER | null | We should either add a ``versionchanged`` attribute, for when this behavior changed or remove the warning completly. Additionally I removed the ``sort=False`` input for the function, because this is no longer necessary. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37948/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37948/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37948.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37948",
"merged_at": "2020-11-19T18:11:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37948.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37948"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37949 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37949/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37949/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37949/events | https://github.com/pandas-dev/pandas/issues/37949 | 746,134,935 | MDU6SXNzdWU3NDYxMzQ5MzU= | 37,949 | ENH: IntervalIndex as groups in groupby | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
... | open | false | null | [] | null | 12 | 2020-11-19T00:02:13Z | 2021-07-01T21:10:04Z | null | CONTRIBUTOR | null | #### Is your feature request related to a problem?
I often have a list of (variable-size) intervals and I want to aggregate multiple statistics for these intervals.
```py
import numpy as np
import pandas as pd
data = pd.DataFrame({'a': [1]*100, 'b': [2]*100}, index=np.arange(0.0, 10, 0.1))
starts = [0.0, 2.5, 5, 7]
ends = [0.7, 3.8, 6.1, 9.5]
means = []
for start, end in zip(starts, ends):
means.append(data.loc[start:end, :].mean())
```
#### Describe the solution you'd like
It would be cool (and probably faster) to do:
```py
groups = pd.IntervalIndex.from_arrays(starts, ends)
data.groupby(groups).mean() # *** ValueError: Grouper and axis must be same length
# or for multiple statistics
data.groupby(groups).aggregate(['mean', 'sum', lambda x: x.quantile(0.75) - x.quantile(0.25)])
```
| {
"+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/37949/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37949/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37950 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37950/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37950/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37950/events | https://github.com/pandas-dev/pandas/pull/37950 | 746,175,164 | MDExOlB1bGxSZXF1ZXN0NTIzNjE4MTk5 | 37,950 | ENH: 2D compat for DTA tz_localize, to_period | {
"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": "02d7e1",
"default": false,
"description": "Concat, M... | 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"
} | 9 | 2020-11-19T01:43:19Z | 2020-12-17T17:47:48Z | 2020-12-17T17:46:10Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37950/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37950/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37950.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37950",
"merged_at": "2020-12-17T17:46:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37950.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37950"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37951 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37951/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37951/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37951/events | https://github.com/pandas-dev/pandas/pull/37951 | 746,249,197 | MDExOlB1bGxSZXF1ZXN0NTIzNjc2NzY1 | 37,951 | CLN: test_ewm_rolling_consistency.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewm... | 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-11-19T04:58:41Z | 2020-11-19T17:56:57Z | 2020-11-19T15:40:39Z | MEMBER | null | Same changes as https://github.com/pandas-dev/pandas/pull/37944 and https://github.com/pandas-dev/pandas/pull/37946
Additionally allows removal of `moments/conftest.py` and `tests/window/common.py`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37951/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37951/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37951.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37951",
"merged_at": "2020-11-19T15:40:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37951.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37951"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37952 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37952/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37952/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37952/events | https://github.com/pandas-dev/pandas/pull/37952 | 746,270,217 | MDExOlB1bGxSZXF1ZXN0NTIzNjk0Mjcw | 37,952 | TST: add error message match for raise in test_datetimelike.py GH30999 | {
"avatar_url": "https://avatars.githubusercontent.com/u/16770242?v=4",
"events_url": "https://api.github.com/users/liaoaoyuan97/events{/privacy}",
"followers_url": "https://api.github.com/users/liaoaoyuan97/followers",
"following_url": "https://api.github.com/users/liaoaoyuan97/following{/other_user}",
"gists_url": "https://api.github.com/users/liaoaoyuan97/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/liaoaoyuan97",
"id": 16770242,
"login": "liaoaoyuan97",
"node_id": "MDQ6VXNlcjE2NzcwMjQy",
"organizations_url": "https://api.github.com/users/liaoaoyuan97/orgs",
"received_events_url": "https://api.github.com/users/liaoaoyuan97/received_events",
"repos_url": "https://api.github.com/users/liaoaoyuan97/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/liaoaoyuan97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liaoaoyuan97/subscriptions",
"type": "User",
"url": "https://api.github.com/users/liaoaoyuan97"
} | [
{
"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": "ffa0ff",
"d... | 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-11-19T05:49:50Z | 2020-11-20T19:38:53Z | 2020-11-20T09:15:44Z | CONTRIBUTOR | null | Reference #30999
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37952/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37952/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37952.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37952",
"merged_at": "2020-11-20T09:15:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37952.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37952"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37953 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37953/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37953/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37953/events | https://github.com/pandas-dev/pandas/pull/37953 | 746,276,150 | MDExOlB1bGxSZXF1ZXN0NTIzNjk5MTU1 | 37,953 | DOC: re-use storage_options | {
"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": "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-11-19T06:03:21Z | 2020-11-19T21:17:00Z | 2020-11-19T21:16:54Z | CONTRIBUTOR | null | The `{{ }}` are necessary so that `format` doesn't complain about missing keys.
TODO:
- `compression` can be re-used | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37953/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37953/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37953.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37953",
"merged_at": "2020-11-19T21:16:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37953.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37953"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37954 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37954/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37954/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37954/events | https://github.com/pandas-dev/pandas/issues/37954 | 746,464,053 | MDU6SXNzdWU3NDY0NjQwNTM= | 37,954 | BUG: df.__setitem__ can be 10x slower than pd.concat(..., axis=1) | {
"avatar_url": "https://avatars.githubusercontent.com/u/8238804?v=4",
"events_url": "https://api.github.com/users/ivirshup/events{/privacy}",
"followers_url": "https://api.github.com/users/ivirshup/followers",
"following_url": "https://api.github.com/users/ivirshup/following{/other_user}",
"gists_url": "https://api.github.com/users/ivirshup/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivirshup",
"id": 8238804,
"login": "ivirshup",
"node_id": "MDQ6VXNlcjgyMzg4MDQ=",
"organizations_url": "https://api.github.com/users/ivirshup/orgs",
"received_events_url": "https://api.github.com/users/ivirshup/received_events",
"repos_url": "https://api.github.com/users/ivirshup/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivirshup/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivirshup/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivirshup"
} | [
{
"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 s... | 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"
} | 14 | 2020-11-19T10:48:50Z | 2020-12-02T12:10:26Z | 2020-12-02T12:10:26Z | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
* I think so, it's a bit hard to search for though. Nothing under concat and __setindex__
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd, numpy as np
from string import ascii_lowercase
def setitem(x, x_cols, df):
new = pd.DataFrame(index=df.index)
new[x_cols] = x
new[df.columns] = df
return new
def concat(x, x_cols, df):
return pd.concat(
[
pd.DataFrame(x, columns=x_cols, index=df.index),
df,
],
axis=1,
)
x = np.ones((1000, 10))
x_col = list(ascii_lowercase[:10])
df = pd.DataFrame(
{
"str": np.random.choice(np.array(list(ascii_lowercase)), size=1000),
"int": np.arange(1000, dtype=int),
}
)
%timeit setitem(x, x_col, df)
# 3.78 ms ± 193 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
%timeit concat(x, x_col, df)
# 306 µs ± 9.29 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
```
#### Problem description
This seems unintuitive from a performance perspective. I would assume that these would be close to equivalent. The `setitem` implementation might even be expected to have better performance due to less allocation.
While this is a stripped down example, the use case is building a dataframe to return from a function. Making a dataframe, then adding columns seemed like the natural idiom here.
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.2
Cython : 0.29.21
pytest : 6.1.2
hypothesis : None
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.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.4
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 2.0.0
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.4
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.1
xlrd : 1.2.0
xlwt : None
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/37954/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37954/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37955 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37955/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37955/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37955/events | https://github.com/pandas-dev/pandas/issues/37955 | 746,495,539 | MDU6SXNzdWU3NDY0OTU1Mzk= | 37,955 | ENH: Add argument "multiprocessing" to pd.read_csv() method | {
"avatar_url": "https://avatars.githubusercontent.com/u/48623681?v=4",
"events_url": "https://api.github.com/users/nf78/events{/privacy}",
"followers_url": "https://api.github.com/users/nf78/followers",
"following_url": "https://api.github.com/users/nf78/following{/other_user}",
"gists_url": "https://api.github.com/users/nf78/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nf78",
"id": 48623681,
"login": "nf78",
"node_id": "MDQ6VXNlcjQ4NjIzNjgx",
"organizations_url": "https://api.github.com/users/nf78/orgs",
"received_events_url": "https://api.github.com/users/nf78/received_events",
"repos_url": "https://api.github.com/users/nf78/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nf78/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nf78/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nf78"
} | [
{
"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": "0052cc",
"default": false,
"description": "Issue th... | closed | false | null | [] | null | 12 | 2020-11-19T11:27:49Z | 2021-08-14T05:33:03Z | 2021-08-14T05:33:03Z | NONE | null | #### Is your feature request related to a problem?
When the method pd.read_csv() is called, unfortunately this doesn't take advantage of the multiprocessing module, making it inefficient to read multiple datasets, especially when more cores are available to work.
Other modules like modin or dask, already implement this, but I think that pandas should implement by itself, if called for.
#### Describe the solution you'd like
It should be able to work with the multiprocessing module out of the box, as an initial enhancement, and then in the future support other possible backends like joblib.
A list of filenames should be passed:
An example of application would be:
`pd.read_csv(list_of_filenames, multiprocessing=True)`
`pd.read_csv(glob.glob('table_*.csv'), multiprocessing=True)`
#### API breaking implications
This should not change established behavior, considering that the default value for the "multiprocessing" argument should be "None" by default.
The memory consumption should be the same, it just consumes the memory much faster.
For this method option, the indices will be the same from each file, but likely to be in different order, but the user can reset_index() afterwards if needed.
#### Describe alternatives you've considered
[this should provide a description of any alternative solutions or features you've considered]
#### Additional context
I have also considered extra backend options for future enhancements of this implementation, like joblib, ray, dask.
#NOTE: I have already a proof-of-concept for the solution, so I can work a bit further on it, commit and make a 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/37955/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37955/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37956 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37956/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37956/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37956/events | https://github.com/pandas-dev/pandas/issues/37956 | 746,498,162 | MDU6SXNzdWU3NDY0OTgxNjI= | 37,956 | ENH: Add argument "multiprocessing" to DataFrame.apply() method (any axis) | {
"avatar_url": "https://avatars.githubusercontent.com/u/48623681?v=4",
"events_url": "https://api.github.com/users/nf78/events{/privacy}",
"followers_url": "https://api.github.com/users/nf78/followers",
"following_url": "https://api.github.com/users/nf78/following{/other_user}",
"gists_url": "https://api.github.com/users/nf78/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nf78",
"id": 48623681,
"login": "nf78",
"node_id": "MDQ6VXNlcjQ4NjIzNjgx",
"organizations_url": "https://api.github.com/users/nf78/orgs",
"received_events_url": "https://api.github.com/users/nf78/received_events",
"repos_url": "https://api.github.com/users/nf78/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nf78/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nf78/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nf78"
} | [
{
"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": "a10c02",
"default": false,
"description": "Memory o... | open | false | null | [] | null | 5 | 2020-11-19T11:31:35Z | 2021-08-14T05:37:41Z | null | NONE | null | #### Is your feature request related to a problem?
When a function is passed to DataFrame.apply (with any axis) unfortunately, this doesn't take advantage of the multiprocessing module, making it inefficient for large datasets, especially when more cores are available to work.
Other modules like modin or dask, already implement this, but I think that pandas should implement by itself, if called for.
#### Describe the solution you'd like
It should be able to work with the multiprocessing module out of the box, as an initial enhancement, and then in the future support other possible backends like joblib.
An example of application would be:
`df.apply(lambda x: x['A'] * x['B'], axis=1, multiprocessing=True)`
#### API breaking implications
This should not change established behavior, considering that the default value for the "multiprocessing" argument should be "None" by default.
The only concern would be to return the DataFrame without changing indices, and the result be the same as without multiprocessing.
#### Describe alternatives you've considered
I have also considered extra backend options for future enhancements of this implementation, like joblib, ray, dask.
#### Additional context
NOTE: I have already a proof-of-concept for the solution, so I can work a bit further on it.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37956/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37956/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37957 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37957/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37957/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37957/events | https://github.com/pandas-dev/pandas/issues/37957 | 746,697,530 | MDU6SXNzdWU3NDY2OTc1MzA= | 37,957 | STYLE: fail on pd.testing direct usage | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "0e8a16",
"default... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 3 | 2020-11-19T15:44:36Z | 2020-12-27T12:19:33Z | 2020-12-27T12:19:33Z | CONTRIBUTOR | null | `pd.testing.assert_series_equal(result, expected)`
should fail style checks, rather we want `tm.assert_series_equal`
we need to update any usages in the codebase as well as add this to the pre-commit checks. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37957/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37957/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37958 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37958/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37958/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37958/events | https://github.com/pandas-dev/pandas/pull/37958 | 746,834,708 | MDExOlB1bGxSZXF1ZXN0NTI0MTU4NTc3 | 37,958 | BUG: DataFrame.to_html ignores formatters | {
"avatar_url": "https://avatars.githubusercontent.com/u/34522496?v=4",
"events_url": "https://api.github.com/users/ma3da/events{/privacy}",
"followers_url": "https://api.github.com/users/ma3da/followers",
"following_url": "https://api.github.com/users/ma3da/following{/other_user}",
"gists_url": "https://api.github.com/users/ma3da/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ma3da",
"id": 34522496,
"login": "ma3da",
"node_id": "MDQ6VXNlcjM0NTIyNDk2",
"organizations_url": "https://api.github.com/users/ma3da/orgs",
"received_events_url": "https://api.github.com/users/ma3da/received_events",
"repos_url": "https://api.github.com/users/ma3da/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ma3da/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ma3da/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ma3da"
} | [
{
"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": "006b7... | 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-11-19T18:46:30Z | 2020-11-26T08:06:02Z | 2020-11-21T00:01:07Z | CONTRIBUTOR | null | - [x] closes #36525
- [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/37958/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37958/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37958.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37958",
"merged_at": "2020-11-21T00:01:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37958.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37958"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37959 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37959/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37959/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37959/events | https://github.com/pandas-dev/pandas/pull/37959 | 746,870,144 | MDExOlB1bGxSZXF1ZXN0NTI0MTg3ODA0 | 37,959 | CLN: More tests/window/* | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewm... | 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-11-19T19:43:09Z | 2020-11-19T20:47:37Z | 2020-11-19T20:47:09Z | MEMBER | null | - Utilize more `frame_or_series` fixtures
- Cleaned `conftest.py`
- Moved some tests to the appropriate location
- Reorg `test_groupby` into `TestRolling` and `TestExpanding` classes
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37959/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37959/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37959.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37959",
"merged_at": "2020-11-19T20:47:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37959.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37959"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37960 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37960/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37960/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37960/events | https://github.com/pandas-dev/pandas/pull/37960 | 746,884,951 | MDExOlB1bGxSZXF1ZXN0NTI0MjAwMDMy | 37,960 | CLN: Add comment and clarify if condition in indexing | {
"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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | null | 3 | 2020-11-19T20:06:16Z | 2020-11-19T22:44:15Z | 2020-11-19T22:43:29Z | MEMBER | null | Implemented comments
cc @jbrockmendel | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37960/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37960/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37960.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37960",
"merged_at": "2020-11-19T22:43:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37960.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37960"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37961 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37961/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37961/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37961/events | https://github.com/pandas-dev/pandas/pull/37961 | 746,888,165 | MDExOlB1bGxSZXF1ZXN0NTI0MjAyNjk5 | 37,961 | CLN: Remove duplicate from MultiIndex.equals | {
"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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "207de5",
"default": false,
"description": null... | 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-11-19T20:11:17Z | 2020-11-20T08:18:15Z | 2020-11-20T03:09:37Z | MEMBER | null | - [x] tests passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
really small clean 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/37961/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37961/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37961.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37961",
"merged_at": "2020-11-20T03:09:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37961.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37961"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37962 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37962/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37962/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37962/events | https://github.com/pandas-dev/pandas/issues/37962 | 746,961,323 | MDU6SXNzdWU3NDY5NjEzMjM= | 37,962 | „case-when“ function is missing? | {
"avatar_url": "https://avatars.githubusercontent.com/u/74742213?v=4",
"events_url": "https://api.github.com/users/pandasnew/events{/privacy}",
"followers_url": "https://api.github.com/users/pandasnew/followers",
"following_url": "https://api.github.com/users/pandasnew/following{/other_user}",
"gists_url": "https://api.github.com/users/pandasnew/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pandasnew",
"id": 74742213,
"login": "pandasnew",
"node_id": "MDQ6VXNlcjc0NzQyMjEz",
"organizations_url": "https://api.github.com/users/pandasnew/orgs",
"received_events_url": "https://api.github.com/users/pandasnew/received_events",
"repos_url": "https://api.github.com/users/pandasnew/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pandasnew/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pandasnew/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pandasnew"
} | [
{
"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": null,
"id": 344445... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 7 | 2020-11-19T22:05:11Z | 2020-11-25T01:17:20Z | 2020-11-25T01:17:20Z | NONE | null | I only started working with pandas a few weeks ago. What I often miss is a case-when-function. Here I always use the numpy equivalent np.where().
Is there a case-when-function in pandas not? If there is, I would like to add this functionality.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37962/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37962/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37963 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37963/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37963/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37963/events | https://github.com/pandas-dev/pandas/issues/37963 | 747,006,471 | MDU6SXNzdWU3NDcwMDY0NzE= | 37,963 | BUG: Some string methods treat "." as regex, others don't | {
"avatar_url": "https://avatars.githubusercontent.com/u/69309759?v=4",
"events_url": "https://api.github.com/users/giangiacomosanna/events{/privacy}",
"followers_url": "https://api.github.com/users/giangiacomosanna/followers",
"following_url": "https://api.github.com/users/giangiacomosanna/following{/other_user}",
"gists_url": "https://api.github.com/users/giangiacomosanna/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/giangiacomosanna",
"id": 69309759,
"login": "giangiacomosanna",
"node_id": "MDQ6VXNlcjY5MzA5NzU5",
"organizations_url": "https://api.github.com/users/giangiacomosanna/orgs",
"received_events_url": "https://api.github.com/users/giangiacomosanna/received_events",
"repos_url": "https://api.github.com/users/giangiacomosanna/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/giangiacomosanna/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/giangiacomosanna/subscriptions",
"type": "User",
"url": "https://api.github.com/users/giangiacomosanna"
} | [
{
"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": "String extension data... | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 1 | 2020-11-19T23:31:38Z | 2020-11-20T02:42:55Z | 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.
---
#### Code Sample, a copy-pastable example
```python
import re
import pandas as pd
texts = ['aa.aa', 'bbb']
# str.replace vs re.sub: '.' is not treated as regex by pandas
print(*pd.Series(texts).str.replace('.', '*'), sep=', ')
print(*pd.Series(texts).str.replace('..', '**'), sep=', ')
print(*[re.sub('.', '*', t) for t in texts], sep=', ')
print(*[re.sub('..', '**', t) for t in texts], sep=', ')
print()
# str.split vs re.split: '.' is not treated as regex by pandas
print(*pd.Series(texts).str.split('.'), sep=', ')
print(*pd.Series(texts).str.split('..'), sep=', ')
print(*[re.split('.', t) for t in texts], sep=', ')
print(*[re.split('..', t) for t in texts], sep=', ')
print()
# str.contains vs re.search: '.' is treated as regex by both
print(*pd.Series(texts).str.contains('.'), sep=', ')
print(*pd.Series(texts).str.contains('..'), sep=', ')
print(*[re.search('.', t).start() for t in texts], sep=', ')
print(*[re.search('..', t).start() for t in texts], sep=', ')
```
#### Problem description
Currently some pandas string functions (eg str.replace, str.split) treat `"."` as a regex matching any character, while some others (eg str.contains) treat it like `"[.]"`, the regex matching the "dot" character. The `".."` string is instead always correctly handled as the regex matching any two characters.
#### Expected Output
pandas string functions (when in regex mode) should treat `"."` consistently as the regex matching any single character. If there is a reason to treat as an exception, or to do so only for some string functions, should be documented.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 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/37963/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37963/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37964 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37964/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37964/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37964/events | https://github.com/pandas-dev/pandas/pull/37964 | 747,008,397 | MDExOlB1bGxSZXF1ZXN0NTI0MzAxNTYy | 37,964 | BUG: Bug in setitem raising ValueError when setting more than one column via array | {
"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": "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": "e1... | 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-11-19T23:35:59Z | 2020-11-21T23:42:56Z | 2020-11-21T21:09:20Z | MEMBER | null | - [x] xref #37954
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Did not add whatsnew, cause works on 1.1.4
Array to set has to have more or less rows than columns, otherwise bug won't occur. Wrong values would be set silently here.
This is only a regression on master, not related to any release
cc @jbrockmendel
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37964/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37964/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37964.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37964",
"merged_at": "2020-11-21T21:09:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37964.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37964"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37965 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37965/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37965/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37965/events | https://github.com/pandas-dev/pandas/pull/37965 | 747,012,130 | MDExOlB1bGxSZXF1ZXN0NTI0MzA0ODMw | 37,965 | BUG: Make DTI/TDI/PI argsort match their underlying arrays | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "6138b5",
"de... | 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"
} | 3 | 2020-11-19T23:43:03Z | 2020-12-17T15:43:39Z | 2020-12-17T13:50:58Z | MEMBER | null | - [x] closes #37863
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
The fix to keep resample working is a kludge I'd like to make unnecessary before merging; cc @mroeschke | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37965/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37965/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37965.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37965",
"merged_at": "2020-12-17T13:50:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37965.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37965"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37966 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37966/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37966/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37966/events | https://github.com/pandas-dev/pandas/pull/37966 | 747,029,450 | MDExOlB1bGxSZXF1ZXN0NTI0MzIwNzA3 | 37,966 | Read csv headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/26149009?v=4",
"events_url": "https://api.github.com/users/cdknox/events{/privacy}",
"followers_url": "https://api.github.com/users/cdknox/followers",
"following_url": "https://api.github.com/users/cdknox/following{/other_user}",
"gists_url": "https://api.github.com/users/cdknox/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cdknox",
"id": 26149009,
"login": "cdknox",
"node_id": "MDQ6VXNlcjI2MTQ5MDA5",
"organizations_url": "https://api.github.com/users/cdknox/orgs",
"received_events_url": "https://api.github.com/users/cdknox/received_events",
"repos_url": "https://api.github.com/users/cdknox/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cdknox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cdknox/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cdknox"
} | [
{
"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": "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"
} | 6 | 2020-11-20T00:02:47Z | 2021-06-07T11:55:54Z | 2020-12-15T00:35:00Z | MEMBER | null | - [x] closes #36688
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+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/37966/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37966/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37966.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37966",
"merged_at": "2020-12-15T00:35:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37966.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37966"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37967 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37967/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37967/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37967/events | https://github.com/pandas-dev/pandas/issues/37967 | 747,064,598 | MDU6SXNzdWU3NDcwNjQ1OTg= | 37,967 | BUG: Limited available color name list when using style and to_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/62483870?v=4",
"events_url": "https://api.github.com/users/GentilsTo/events{/privacy}",
"followers_url": "https://api.github.com/users/GentilsTo/followers",
"following_url": "https://api.github.com/users/GentilsTo/following{/other_user}",
"gists_url": "https://api.github.com/users/GentilsTo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GentilsTo",
"id": 62483870,
"login": "GentilsTo",
"node_id": "MDQ6VXNlcjYyNDgzODcw",
"organizations_url": "https://api.github.com/users/GentilsTo/orgs",
"received_events_url": "https://api.github.com/users/GentilsTo/received_events",
"repos_url": "https://api.github.com/users/GentilsTo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GentilsTo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GentilsTo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GentilsTo"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
... | 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-11-20T01:28:12Z | 2020-12-12T23:31:26Z | 2020-12-12T23:31:26Z | 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
# Your code here
import pandas as pd
df = pd.DataFrame( {'A': [1, 2, 3],
'B': [4, 5, 6],})
# /1 -- It Fails ---
df_out = (df.style.
highlight_max(color='orangered').
highlight_min(color='dodgerblue')
)
df_out.to_excel('pandas_to_excel_color_issue.xlsx')
# /2 -- It works ----
df_out = (df.style.
highlight_max(color='#FF4500'). # orangered
highlight_min(color='#1E90FF') # dodgerblue)
)
df_out.to_excel('pandas_to_excel_color_issue.xlsx')
```
#### Problem description
When using style, the `to_excel` function is not able to handle some common color name that otherwise works with an interactive python console.
See with code block /1 returns :
```python
c:\program files\python38\lib\site-packages\pandas\io\formats\excel.py:331: CSSWarning: Unhandled color format: 'dodgerblue'
warnings.warn(f"Unhandled color format: {repr(val)}", CSSWarning)
c:\program files\python38\lib\site-packages\pandas\io\formats\excel.py:331: CSSWarning: Unhandled color format: 'orangered'
warnings.warn(f"Unhandled color format: {repr(val)}", CSSWarning)
```
And in the Excel file :

While the /2 block is fine:

#### Expected Output
I understand that the to_excel function only accepts a minimal list of color names (based on the export engine I presume).
It would hence be great if pandas could manage the color Hex conversion under the hood for the user, and hence allow him to use a more large color name list (the one from matplotlib for example with `matplotlib.colors.cnames`), preventing the usage of unreadable color code.
In addition, I don't know if the current Excel output in case of CSS warning is really appropriate (the 'black render'), maybe simply ignoring the formatting would be better? (one could argue that it's more noticeable in the Excel file like that, that's right).
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.3.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en
LOCALE : fr_FR.cp1252
pandas : 1.1.4
numpy : 1.19.3
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.2
Cython : None
pytest : 6.1.2
hypothesis : None
sphinx : 3.2.0
blosc : None
feather : None
xlsxwriter : 1.3.2
lxml.etree : 4.5.2
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 1.0.1
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
tables : 3.6.1
tabulate : None
xarray : 0.16.0
xlrd : 1.2.0
xlwt : 1.3.0
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/37967/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37967/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37968 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37968/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37968/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37968/events | https://github.com/pandas-dev/pandas/pull/37968 | 747,069,730 | MDExOlB1bGxSZXF1ZXN0NTI0MzUyNTMz | 37,968 | BUG: IntervalIndex.putmask with datetimelike dtypes | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | 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-11-20T01:42:56Z | 2020-11-20T15:40:53Z | 2020-11-20T03:09:18Z | 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
Implements `NDArrayBackedExtensionArray.putmask` which will hopefully be rolled into `__array_function__` to simplify a bunch of code. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37968/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37968/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37968.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37968",
"merged_at": "2020-11-20T03:09:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37968.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37968"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37969 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37969/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37969/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37969/events | https://github.com/pandas-dev/pandas/issues/37969 | 747,070,929 | MDU6SXNzdWU3NDcwNzA5Mjk= | 37,969 | ENH: bfloat16 when available? | {
"avatar_url": "https://avatars.githubusercontent.com/u/2108254?v=4",
"events_url": "https://api.github.com/users/mw66/events{/privacy}",
"followers_url": "https://api.github.com/users/mw66/followers",
"following_url": "https://api.github.com/users/mw66/following{/other_user}",
"gists_url": "https://api.github.com/users/mw66/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mw66",
"id": 2108254,
"login": "mw66",
"node_id": "MDQ6VXNlcjIxMDgyNTQ=",
"organizations_url": "https://api.github.com/users/mw66/orgs",
"received_events_url": "https://api.github.com/users/mw66/received_events",
"repos_url": "https://api.github.com/users/mw66/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mw66/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mw66/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mw66"
} | [
{
"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": "0052cc",
"default": false,
"description": "Issue th... | closed | false | null | [] | null | 2 | 2020-11-20T01:46:10Z | 2020-11-20T02:50:43Z | 2020-11-20T02:30:07Z | NONE | null | Same numpy bfloat16 feature request for pandas:
https://github.com/numpy/numpy/issues/17809
Hi,
I saw NEP 41 Status: | Accepted
https://github.com/numpy/numpy/blob/master/doc/neps/nep-0041-improved-dtype-support.rst
I'm just wondering when will bfloat16 be available in numpy?
For some ML problems, this will reduce the memory requirement by half (or process 2x more data), can we give this high priority?
Thanks.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37969/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37969/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37970 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37970/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37970/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37970/events | https://github.com/pandas-dev/pandas/pull/37970 | 747,074,345 | MDExOlB1bGxSZXF1ZXN0NTI0MzU2MDM5 | 37,970 | REF: share more methods in ExtensionIndex | {
"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": "6138b5",
"default": false,
"de... | 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-11-20T01:55:54Z | 2020-11-20T16:20:05Z | 2020-11-20T16:18:40Z | 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/37970/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37970/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37970.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37970",
"merged_at": "2020-11-20T16:18:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37970.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37970"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/37971 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37971/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37971/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37971/events | https://github.com/pandas-dev/pandas/pull/37971 | 747,107,825 | MDExOlB1bGxSZXF1ZXN0NTI0MzgxNjg1 | 37,971 | PERF: IntervalArray.argsort | {
"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": "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": "009800",
"default"... | 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-11-20T03:25:43Z | 2020-11-21T22:00:25Z | 2020-11-21T21:45:58Z | MEMBER | null | IntervalIndex.argsort has a more performant implementation (at least for default kwargs). This just moves that up to IntervalArray.
```
In [2]: idx = pd.IntervalIndex.from_breaks(range(10**4))
In [3]: arr = idx._data
In [4]: %timeit arr.argsort()
24.5 ms ± 458 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # <-- master
79 µs ± 1.64 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- 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/37971/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37971/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37971.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37971",
"merged_at": "2020-11-21T21:45:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37971.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37971"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37972 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37972/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37972/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37972/events | https://github.com/pandas-dev/pandas/pull/37972 | 747,121,893 | MDExOlB1bGxSZXF1ZXN0NTI0MzkyODYy | 37,972 | TST: add nullable array frame constructor dtype tests | {
"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": "613... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists... | {
"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-11-20T04:04:52Z | 2020-11-21T22:44:09Z | 2020-11-21T22:21:47Z | MEMBER | null | - [x] closes #28424
- [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/37972/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37972/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37972.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37972",
"merged_at": "2020-11-21T22:21:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37972.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37972"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37973 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37973/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37973/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37973/events | https://github.com/pandas-dev/pandas/pull/37973 | 747,145,308 | MDExOlB1bGxSZXF1ZXN0NTI0NDEzODU4 | 37,973 | BLD: set inplace in setup.cfg | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | 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-11-20T04:42:33Z | 2020-12-05T18:53:25Z | 2020-11-20T22:46:27Z | MEMBER | null | specify inplace for build_ext in setup.cfg 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/37973/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37973/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37973.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37973",
"merged_at": "2020-11-20T22:46:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37973.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37973"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37974 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37974/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37974/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37974/events | https://github.com/pandas-dev/pandas/pull/37974 | 747,250,868 | MDExOlB1bGxSZXF1ZXN0NTI0NTA1NjYx | 37,974 | BUG: fix astype conversion string -> float | {
"avatar_url": "https://avatars.githubusercontent.com/u/61679398?v=4",
"events_url": "https://api.github.com/users/mlondschien/events{/privacy}",
"followers_url": "https://api.github.com/users/mlondschien/followers",
"following_url": "https://api.github.com/users/mlondschien/following{/other_user}",
"gists_url": "https://api.github.com/users/mlondschien/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mlondschien",
"id": 61679398,
"login": "mlondschien",
"node_id": "MDQ6VXNlcjYxNjc5Mzk4",
"organizations_url": "https://api.github.com/users/mlondschien/orgs",
"received_events_url": "https://api.github.com/users/mlondschien/received_events",
"repos_url": "https://api.github.com/users/mlondschien/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mlondschien/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mlondschien/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mlondschien"
} | [
{
"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-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-11-20T07:36:46Z | 2020-11-29T19:04:23Z | 2020-11-29T16:06:28Z | CONTRIBUTOR | null | - [x] Is a step towards closing #37626
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Fixes the `string` -> `float` conversion as discussed in #37626 in presence of `pd.NA`. I used the same approach as used in `string` -> `Int64`. Note that differently to the `Int64` case, we return a `numpy.ndarray`, not a `pd.array`.
I added a test that compares `pd.Series`. Replacing this with `pd.array` the `tm.assert_numpy_array_equal` assertion will raise, as `expected` is of type `FloatingArray`. IIUC this is a new feature of pandas 1.2.0. Should we return this in `.astype("float")` by default? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37974/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37974/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37974.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37974",
"merged_at": "2020-11-29T16:06:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37974.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37974"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37975 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37975/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37975/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37975/events | https://github.com/pandas-dev/pandas/pull/37975 | 747,340,806 | MDExOlB1bGxSZXF1ZXN0NTI0NTgwNDI3 | 37,975 | TST: add messages to bare pytest raises in pandas/tests/io/pytables/test_timezones.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/25107902?v=4",
"events_url": "https://api.github.com/users/marktgraham/events{/privacy}",
"followers_url": "https://api.github.com/users/marktgraham/followers",
"following_url": "https://api.github.com/users/marktgraham/following{/other_user}",
"gists_url": "https://api.github.com/users/marktgraham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/marktgraham",
"id": 25107902,
"login": "marktgraham",
"node_id": "MDQ6VXNlcjI1MTA3OTAy",
"organizations_url": "https://api.github.com/users/marktgraham/orgs",
"received_events_url": "https://api.github.com/users/marktgraham/received_events",
"repos_url": "https://api.github.com/users/marktgraham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/marktgraham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marktgraham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/marktgraham"
} | [
{
"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": "ffa0ff",
"d... | 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-11-20T09:43:41Z | 2020-11-20T17:47:03Z | 2020-11-20T17:46:59Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This PR adds messages to the bare pytest raises in pandas/tests/io/pytables/test_timezones.py. This PR references https://github.com/pandas-dev/pandas/issues/30999. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37975/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37975/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37975.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37975",
"merged_at": "2020-11-20T17:46:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37975.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37975"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37976 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37976/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37976/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37976/events | https://github.com/pandas-dev/pandas/issues/37976 | 747,424,506 | MDU6SXNzdWU3NDc0MjQ1MDY= | 37,976 | PERF: Severe performance hit on DataFrame.sum with multi index and 'skipna=False' | {
"avatar_url": "https://avatars.githubusercontent.com/u/6403904?v=4",
"events_url": "https://api.github.com/users/miccoli/events{/privacy}",
"followers_url": "https://api.github.com/users/miccoli/followers",
"following_url": "https://api.github.com/users/miccoli/following{/other_user}",
"gists_url": "https://api.github.com/users/miccoli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/miccoli",
"id": 6403904,
"login": "miccoli",
"node_id": "MDQ6VXNlcjY0MDM5MDQ=",
"organizations_url": "https://api.github.com/users/miccoli/orgs",
"received_events_url": "https://api.github.com/users/miccoli/received_events",
"repos_url": "https://api.github.com/users/miccoli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/miccoli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/miccoli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/miccoli"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execu... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 8 | 2020-11-20T11:43:59Z | 2020-11-20T16:08:44Z | 2020-11-20T16:08:29Z | CONTRIBUTOR | null | `Series.sum(..., skipna=False)` and `DataFrame.sum(..., skipna=False)` are *very* slow on a `MultiIndex`,
if compared to the same method called with `(..., skipna=True)`
---
- [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
import numpy as np
dims = (1000, 100, 10)
# make random data
rg = np.random.default_rng(0)
x = rg.random(dims)
# construct dataframe with multindex
idx = pd.MultiIndex.from_product(map(range, dims), names=["i0", "i1", "i2"])
df = pd.Series(data=x.ravel(), index=idx, name="x")
# comupute sum over "i2" level in pandas
s1 = df.sum(level=["i0", "i1"], skipna=False)
s2 = df.sum(level=["i0", "i1"], skipna=True)
# compute sum over "axis=2" in numpy
s_ref = x.sum(axis=2)
# check results
s_ref_norm = np.linalg.norm(s_ref)
for s in (s1, s2):
print(np.linalg.norm(s.to_numpy().reshape(s_ref.shape) - s_ref) / s_ref_norm)
```
#### Problem description
The computation of `s1 = df.sum(level=["i0", "i1"], skipna=False)` takes forever in the sample above:
```python
In [2]: %timeit df.sum(level=["i0", "i1"], skipna=False)
8.44 s ± 47.8 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
In [3]: %timeit df.sum(level=["i0", "i1"], skipna=True)
52.1 ms ± 266 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)
In [4]: %timeit x.sum(axis=2)
1.09 ms ± 13.5 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
```
Here we see a severe performance hit (8.61 s vs 0.05 s) for the very same `DataFrame.sum` if `skipna=False`.
Maybe this is related to #16788 and #37622
The performance of `df.sum(level=["i0", "i1"], skipna=True)` with respect to baseline numpy is not great, but I think this is not an issue here.
Results are correct, fortunately. Curiously the slow result (`skipna=False`) is identical with the reference numpy sum, while the faster result (`skipna=True`) is within ±2 ULP, but of course this is not a concern.
Almost the same results hold if we use a `DataFrame` instead of a `Series`
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.2.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0
Cython : None
pytest : 6.0.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.17.0
pandas_datareader: None
bs4 : None
bottleneck : 1.3.2
fsspec : 0.8.0
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 1.0.1
pytables : None
pyxlsb : None
s3fs : 0.5.0
scipy : 1.5.3
sqlalchemy : None
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.0
xlrd : 1.2.0
xlwt : None
numba : 0.51.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/37976/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37976/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37977 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37977/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37977/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37977/events | https://github.com/pandas-dev/pandas/pull/37977 | 747,599,476 | MDExOlB1bGxSZXF1ZXN0NTI0Nzk2MDQy | 37,977 | BUG: CategoricalIndex.where nulling out non-categories | {
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
... | 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-11-20T15:57:12Z | 2020-11-22T01:45:54Z | 2020-11-22T01:19:52Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
ATM CategoricalIndex.where has some idiosyncratic behavior:
```
ci = CategoricalIndex(["a", "b", "c", "d"])
mask = np.array([True, False, True, False])
>>> ci.where(mask, 2)
CategoricalIndex(['a', nan, 'c', nan], categories=['a', 'b', 'c', 'd'], ordered=False, dtype='category')
```
This makes that call raise instead.
Index.where is only used in one place in reshape.merge. Might be worth deprecating+privatizing.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37977/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37977/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37977.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37977",
"merged_at": "2020-11-22T01:19:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37977.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37977"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37978 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37978/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37978/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37978/events | https://github.com/pandas-dev/pandas/issues/37978 | 747,653,682 | MDU6SXNzdWU3NDc2NTM2ODI= | 37,978 | BUG: ImportError: cannot import name 'EmptyDataError' from 'pandas.io.common' | {
"avatar_url": "https://avatars.githubusercontent.com/u/39530094?v=4",
"events_url": "https://api.github.com/users/pisulski/events{/privacy}",
"followers_url": "https://api.github.com/users/pisulski/followers",
"following_url": "https://api.github.com/users/pisulski/following{/other_user}",
"gists_url": "https://api.github.com/users/pisulski/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pisulski",
"id": 39530094,
"login": "pisulski",
"node_id": "MDQ6VXNlcjM5NTMwMDk0",
"organizations_url": "https://api.github.com/users/pisulski/orgs",
"received_events_url": "https://api.github.com/users/pisulski/received_events",
"repos_url": "https://api.github.com/users/pisulski/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pisulski/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pisulski/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pisulski"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2020-11-20T17:09:34Z | 2020-11-20T17:32:35Z | 2020-11-20T17:32:11Z | NONE | null | I upgraded pandas and python version
python 3.8.6
numpy 1.19.4
pandas 1.1.4
pip 20.2.4
When I try:
`import pandas as pd
from pandas.io.common import EmptyDataError
`
I have error:
`ImportError: cannot import name 'EmptyDataError' from 'pandas.io.common' (/xxx/xxx/enviroments/py3_8_env/lib/python3.8/site-packages/pandas/io/common.py)` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37978/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37978/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37979 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37979/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37979/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37979/events | https://github.com/pandas-dev/pandas/issues/37979 | 747,692,661 | MDU6SXNzdWU3NDc2OTI2NjE= | 37,979 | Should FilePathorBuffer use os.PathLike instead of pathlib.Path? | {
"avatar_url": "https://avatars.githubusercontent.com/u/13784361?v=4",
"events_url": "https://api.github.com/users/willfrey/events{/privacy}",
"followers_url": "https://api.github.com/users/willfrey/followers",
"following_url": "https://api.github.com/users/willfrey/following{/other_user}",
"gists_url": "https://api.github.com/users/willfrey/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willfrey",
"id": 13784361,
"login": "willfrey",
"node_id": "MDQ6VXNlcjEzNzg0MzYx",
"organizations_url": "https://api.github.com/users/willfrey/orgs",
"received_events_url": "https://api.github.com/users/willfrey/received_events",
"repos_url": "https://api.github.com/users/willfrey/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willfrey/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willfrey/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willfrey"
} | [
{
"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"
} | 4 | 2020-11-20T18:01:26Z | 2020-12-02T02:02:32Z | 2020-12-02T02:02:32Z | NONE | null | The [documentation for `pandas.read_csv(...)`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html) states that it can support anything that adheres to the `os.PathLike` protocol, but the definition of `FilePathOrBuffer` is too strict.
https://github.com/pandas-dev/pandas/blob/08e4baf13005d33136608bd4e6e15f6b38f50887/pandas/_typing.py#L138
where `Path` is a `pathlib.Path` object.
Could this be changed to use `os.PathLike[str]` or just `os.PathLike`?
```py3
from os import PathLike
FilePathOrBuffer = Union["PathLike[str]", FileOrBuffer]
```
`PathLike` is in quotes because `PathLike` only supports `__class_getitem__` for Python 3.9 and later and `PathLike` alone might be too broad, assuming you don't want to support byte-encoded paths.
Thanks! | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37979/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37979/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37980 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37980/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37980/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37980/events | https://github.com/pandas-dev/pandas/pull/37980 | 747,724,339 | MDExOlB1bGxSZXF1ZXN0NTI0ODkzNzA5 | 37,980 | DOC: Fix typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/19514231?v=4",
"events_url": "https://api.github.com/users/MicaelJarniac/events{/privacy}",
"followers_url": "https://api.github.com/users/MicaelJarniac/followers",
"following_url": "https://api.github.com/users/MicaelJarniac/following{/other_user}",
"gists_url": "https://api.github.com/users/MicaelJarniac/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MicaelJarniac",
"id": 19514231,
"login": "MicaelJarniac",
"node_id": "MDQ6VXNlcjE5NTE0MjMx",
"organizations_url": "https://api.github.com/users/MicaelJarniac/orgs",
"received_events_url": "https://api.github.com/users/MicaelJarniac/received_events",
"repos_url": "https://api.github.com/users/MicaelJarniac/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MicaelJarniac/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MicaelJarniac/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MicaelJarniac"
} | [
{
"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-11-20T18:57:30Z | 2020-11-21T00:24:45Z | 2020-11-20T22:46:02Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37980/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37980/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37980.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37980",
"merged_at": "2020-11-20T22:46:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37980.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37980"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/37981 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37981/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37981/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37981/events | https://github.com/pandas-dev/pandas/pull/37981 | 747,818,312 | MDExOlB1bGxSZXF1ZXN0NTI0OTcyMjA0 | 37,981 | Deprecate inplace in Categorical.remove_categories | {
"avatar_url": "https://avatars.githubusercontent.com/u/16047980?v=4",
"events_url": "https://api.github.com/users/OlehKSS/events{/privacy}",
"followers_url": "https://api.github.com/users/OlehKSS/followers",
"following_url": "https://api.github.com/users/OlehKSS/following{/other_user}",
"gists_url": "https://api.github.com/users/OlehKSS/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/OlehKSS",
"id": 16047980,
"login": "OlehKSS",
"node_id": "MDQ6VXNlcjE2MDQ3OTgw",
"organizations_url": "https://api.github.com/users/OlehKSS/orgs",
"received_events_url": "https://api.github.com/users/OlehKSS/received_events",
"repos_url": "https://api.github.com/users/OlehKSS/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/OlehKSS/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/OlehKSS/subscriptions",
"type": "User",
"url": "https://api.github.com/users/OlehKSS"
} | [
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "5319e7",
"default": false,
... | 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"
} | 8 | 2020-11-20T21:53:57Z | 2021-04-21T13:05:14Z | 2021-04-21T13:05:10Z | CONTRIBUTOR | null | - [x] xref #37643
- [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/37981/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37981/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37981.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37981",
"merged_at": "2021-04-21T13:05:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37981.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37981"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37982 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37982/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37982/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37982/events | https://github.com/pandas-dev/pandas/pull/37982 | 747,837,859 | MDExOlB1bGxSZXF1ZXN0NTI0OTg4NjM4 | 37,982 | DEPR: how keyword in PeriodIndex.astype | {
"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": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
},
{
"color": "5319e7",
"default": false,
"description"... | 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-11-20T22:34:35Z | 2020-11-21T00:00:49Z | 2020-11-20T23:57:10Z | 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/37982/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37982/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37982.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37982",
"merged_at": "2020-11-20T23:57:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37982.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37982"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37983 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37983/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37983/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37983/events | https://github.com/pandas-dev/pandas/pull/37983 | 747,849,008 | MDExOlB1bGxSZXF1ZXN0NTI0OTk4MjA1 | 37,983 | CLN: remove panel compat shim | {
"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": "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"
} | 3 | 2020-11-20T23:00:54Z | 2020-12-05T18:51:15Z | 2020-11-23T13:34:25Z | MEMBER | null | remove panel shim
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37983/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37983/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37983.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37983",
"merged_at": "2020-11-23T13:34:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37983.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37983"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37984 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37984/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37984/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37984/events | https://github.com/pandas-dev/pandas/pull/37984 | 747,870,816 | MDExOlB1bGxSZXF1ZXN0NTI1MDE2MTYx | 37,984 | BUG: IntervalArray.astype(categorical_dtype) losing ordered | {
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
... | 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-11-21T00:00:09Z | 2020-11-22T15:32:00Z | 2020-11-22T14:00:54Z | 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/37984/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37984/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37984.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37984",
"merged_at": "2020-11-22T14:00:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37984.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37984"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37985 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37985/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37985/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37985/events | https://github.com/pandas-dev/pandas/pull/37985 | 747,903,102 | MDExOlB1bGxSZXF1ZXN0NTI1MDQxNjU2 | 37,985 | CLN: make MultiIndex._shallow_copy signature match other subclasses | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "207de5",
"default": false,
"description": null... | 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-11-21T02:22:27Z | 2020-11-21T21:32:12Z | 2020-11-21T21:29:36Z | MEMBER | null | annotations
put MultiIndex.symmetric_difference adjacent to other set operations
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37985/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37985/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37985.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37985",
"merged_at": "2020-11-21T21:29:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37985.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37985"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37986 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37986/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37986/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37986/events | https://github.com/pandas-dev/pandas/pull/37986 | 747,909,253 | MDExOlB1bGxSZXF1ZXN0NTI1MDQ2MzU3 | 37,986 | REGR: fix inplace operations for EAs with non-EA arg | {
"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": "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": ... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists... | {
"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"
} | 4 | 2020-11-21T03:01:47Z | 2020-11-24T09:37:47Z | 2020-11-24T00:24:01Z | MEMBER | null | - [x] closes #37910
- [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/37986/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37986/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37986.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37986",
"merged_at": "2020-11-24T00:24:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37986.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37986"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37987 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37987/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37987/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37987/events | https://github.com/pandas-dev/pandas/pull/37987 | 747,913,285 | MDExOlB1bGxSZXF1ZXN0NTI1MDQ5MzI5 | 37,987 | CLN/TST: delegate StringArray.fillna() to parent class + add tests | {
"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": "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": "5319... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists... | {
"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-11-21T03:28:28Z | 2020-11-26T16:41:42Z | 2020-11-26T16:41:38Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37987/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37987/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37987.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37987",
"merged_at": "2020-11-26T16:41:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37987.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37987"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37988 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37988/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37988/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37988/events | https://github.com/pandas-dev/pandas/pull/37988 | 748,073,165 | MDExOlB1bGxSZXF1ZXN0NTI1MTY4MDQ1 | 37,988 | TST: add test to verify column does not lose categorical type when using loc | {
"avatar_url": "https://avatars.githubusercontent.com/u/16943048?v=4",
"events_url": "https://api.github.com/users/fgebhart/events{/privacy}",
"followers_url": "https://api.github.com/users/fgebhart/followers",
"following_url": "https://api.github.com/users/fgebhart/following{/other_user}",
"gists_url": "https://api.github.com/users/fgebhart/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fgebhart",
"id": 16943048,
"login": "fgebhart",
"node_id": "MDQ6VXNlcjE2OTQzMDQ4",
"organizations_url": "https://api.github.com/users/fgebhart/orgs",
"received_events_url": "https://api.github.com/users/fgebhart/received_events",
"repos_url": "https://api.github.com/users/fgebhart/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fgebhart/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fgebhart/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fgebhart"
} | [
{
"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": "e1... | 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-11-21T18:26:51Z | 2020-11-23T20:11:24Z | 2020-11-23T18:59:08Z | CONTRIBUTOR | null | - [x] closes #16360
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry (not applicable)
Added a test to verify the behavior described in issue #16360. However, I'm not 100% sure about the location of the test. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37988/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37988/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37988.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37988",
"merged_at": "2020-11-23T18:59:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37988.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37988"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37989 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37989/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37989/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37989/events | https://github.com/pandas-dev/pandas/pull/37989 | 748,090,561 | MDExOlB1bGxSZXF1ZXN0NTI1MTgxMTUx | 37,989 | TST: Series construction from ExtensionDtype scalar | {
"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": "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": "6138b5",
"d... | 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-11-21T19:48:15Z | 2020-11-27T05:08:52Z | 2020-11-24T13:33:07Z | MEMBER | null | - [x] closes #28401
- [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/37989/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37989/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37989.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37989",
"merged_at": "2020-11-24T13:33:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37989.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37989"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37990 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37990/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37990/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37990/events | https://github.com/pandas-dev/pandas/pull/37990 | 748,127,887 | MDExOlB1bGxSZXF1ZXN0NTI1MjA3MjYy | 37,990 | CLN: avoid try/except in Index methods | {
"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": "20... | 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-11-22T00:02:18Z | 2020-11-23T15:13:49Z | 2020-11-23T13:32: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/37990/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37990/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37990.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37990",
"merged_at": "2020-11-23T13:32:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37990.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37990"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/37991 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37991/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37991/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37991/events | https://github.com/pandas-dev/pandas/pull/37991 | 748,128,296 | MDExOlB1bGxSZXF1ZXN0NTI1MjA3NTQ5 | 37,991 | CLN: always pass ndim to make_block | {
"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": "fbca04",
"default": false,
"de... | 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-11-22T00:05:41Z | 2020-11-24T04:31:52Z | 2020-11-24T03:14:04Z | MEMBER | null | Found along the way that we can incorrectly put an ndarray[object] into an ExtensionBlock if we're not careful. This will fix some of those, will make another branch that fixes the rest (with 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/37991/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37991/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37991.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37991",
"merged_at": "2020-11-24T03:14:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37991.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37991"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37992 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37992/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37992/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37992/events | https://github.com/pandas-dev/pandas/pull/37992 | 748,135,210 | MDExOlB1bGxSZXF1ZXN0NTI1MjEyNzQ0 | 37,992 | Bug in DataFrame.loc returning elements in wrong order when indexer is differently ordered than object | {
"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": "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": "20... | 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-11-22T01:01:47Z | 2020-11-25T20:52:30Z | 2020-11-25T20:51:29Z | MEMBER | null | - [x] closes #34603
- [x] closes #31330
- [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/37992/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37992/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37992.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37992",
"merged_at": "2020-11-25T20:51:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37992.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37992"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37993 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37993/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37993/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37993/events | https://github.com/pandas-dev/pandas/pull/37993 | 748,138,481 | MDExOlB1bGxSZXF1ZXN0NTI1MjE1MjM2 | 37,993 | [WIP] DOC: MultiIndex EX01 errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/47337188?v=4",
"events_url": "https://api.github.com/users/xinrong-databricks/events{/privacy}",
"followers_url": "https://api.github.com/users/xinrong-databricks/followers",
"following_url": "https://api.github.com/users/xinrong-databricks/following{/other_user}",
"gists_url": "https://api.github.com/users/xinrong-databricks/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xinrong-databricks",
"id": 47337188,
"login": "xinrong-databricks",
"node_id": "MDQ6VXNlcjQ3MzM3MTg4",
"organizations_url": "https://api.github.com/users/xinrong-databricks/orgs",
"received_events_url": "https://api.github.com/users/xinrong-databricks/received_events",
"repos_url": "https://api.github.com/users/xinrong-databricks/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xinrong-databricks/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xinrong-databricks/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xinrong-databricks"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 712683... | 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-11-22T01:28:44Z | 2020-11-23T17:09:52Z | 2020-11-23T13:37:29Z | CONTRIBUTOR | null | - [x] xref #37875, #27977
- [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/37993/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37993/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37993.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37993",
"merged_at": "2020-11-23T13:37:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37993.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37993"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37994 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37994/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37994/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37994/events | https://github.com/pandas-dev/pandas/pull/37994 | 748,149,302 | MDExOlB1bGxSZXF1ZXN0NTI1MjIwMzEz | 37,994 | CLN: Use new hashtables in libindex to avoid casting | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 0 | 2020-11-22T02:37:53Z | 2020-11-24T15:20:33Z | 2020-11-24T03:14:38Z | MEMBER | null | Small, hard-to-measure perf improvement, since it only makes a difference on the first lookup:
```
In [2]: rng = pd.Index(range(50)).repeat(20).astype("category")
In [14]: %timeit rng._engine.clear_mapping(); rng.get_loc(40)
24.8 µs ± 624 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
21.3 µs ± 296 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- 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/37994/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37994/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37994.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37994",
"merged_at": "2020-11-24T03:14:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37994.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37994"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37995 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37995/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37995/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37995/events | https://github.com/pandas-dev/pandas/pull/37995 | 748,167,884 | MDExOlB1bGxSZXF1ZXN0NTI1MjI5NTMx | 37,995 | Removed period to make it more Consistent | {
"avatar_url": "https://avatars.githubusercontent.com/u/73009139?v=4",
"events_url": "https://api.github.com/users/vineethraj510/events{/privacy}",
"followers_url": "https://api.github.com/users/vineethraj510/followers",
"following_url": "https://api.github.com/users/vineethraj510/following{/other_user}",
"gists_url": "https://api.github.com/users/vineethraj510/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vineethraj510",
"id": 73009139,
"login": "vineethraj510",
"node_id": "MDQ6VXNlcjczMDA5MTM5",
"organizations_url": "https://api.github.com/users/vineethraj510/orgs",
"received_events_url": "https://api.github.com/users/vineethraj510/received_events",
"repos_url": "https://api.github.com/users/vineethraj510/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vineethraj510/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vineethraj510/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vineethraj510"
} | [
{
"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-11-22T04:38:01Z | 2020-11-24T03:15:10Z | 2020-11-24T03:15:06Z | CONTRIBUTOR | null | Removed period as above lines don't have it to make it more consistent | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37995/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37995/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37995.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37995",
"merged_at": "2020-11-24T03:15:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37995.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37995"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37996 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37996/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37996/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37996/events | https://github.com/pandas-dev/pandas/issues/37996 | 748,169,568 | MDU6SXNzdWU3NDgxNjk1Njg= | 37,996 | ENH: raise column number limit for user-completion or add warning | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "ededed",
"default": false,
"description": "__repr__... | open | false | null | [] | {
"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"
} | 2 | 2020-11-22T04:55:33Z | 2021-11-13T17:27:47Z | null | MEMBER | null | xref PR #35207
> Currently the user-completion (ipython "<tab>") on a dataframe with more than 100 columns will silently ignore some columns, letting an unaware user confused on whether data disapeared.
>
> This is actually documented, and due to an arbitrary limit set to workaround a performance issue ( See #18587 )
>
> Dataframe with more than 100 columns are quite common, so this can potentially affect and suprise many users. Therefore, I suggest to increase that limit to, say, 1000. In any case, it would probably be good to warn the user hitting that limit.
>
> The attached quickfix raises the limit to 1000 and adds a warning beyond.
xref https://github.com/pandas-dev/pandas/pull/35207#issuecomment-663506204
>
> This is still an arbitrary limit. adding a warning is maybe a good idea. Maybe this could be a pandas option to allow users to change this if required.
> | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37996/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37996/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37997 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37997/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37997/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37997/events | https://github.com/pandas-dev/pandas/pull/37997 | 748,171,686 | MDExOlB1bGxSZXF1ZXN0NTI1MjMyMzc2 | 37,997 | BUG: crosstab with duplicate column or index labels | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stac... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists... | {
"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-11-22T05:12:56Z | 2020-11-28T17:29:11Z | 2020-11-28T17:29:04Z | MEMBER | null | - [x] closes #22529
- [x] tests added / passed
- [x] passes black pandas
- [x] passes git diff upstream/master -u -- "*.py" | flake8 --diff
- [x] whatsnew entry
Picking up from #28474
cc @jreback in case this can go in in time for 1.2 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37997/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37997/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37997.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37997",
"merged_at": "2020-11-28T17:29:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37997.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37997"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37998 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37998/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37998/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37998/events | https://github.com/pandas-dev/pandas/pull/37998 | 748,197,780 | MDExOlB1bGxSZXF1ZXN0NTI1MjUxMTcw | 37,998 | DOC: add a link to new styler method | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "006b75",
"default": false,
"description": "conditional formattin... | 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-11-22T08:44:20Z | 2021-01-26T08:08:42Z | 2020-11-23T13:26:13Z | CONTRIBUTOR | null | Adds a documentation link for the new `Styler` method from #36159
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37998/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37998/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37998.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37998",
"merged_at": "2020-11-23T13:26:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37998.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37998"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/37999 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/37999/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/37999/comments | https://api.github.com/repos/pandas-dev/pandas/issues/37999/events | https://github.com/pandas-dev/pandas/pull/37999 | 748,211,191 | MDExOlB1bGxSZXF1ZXN0NTI1MjYwNzIx | 37,999 | DOC: Deprecate null_counts parameter of DataFrame.info | {
"avatar_url": "https://avatars.githubusercontent.com/u/19281800?v=4",
"events_url": "https://api.github.com/users/hongshaoyang/events{/privacy}",
"followers_url": "https://api.github.com/users/hongshaoyang/followers",
"following_url": "https://api.github.com/users/hongshaoyang/following{/other_user}",
"gists_url": "https://api.github.com/users/hongshaoyang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hongshaoyang",
"id": 19281800,
"login": "hongshaoyang",
"node_id": "MDQ6VXNlcjE5MjgxODAw",
"organizations_url": "https://api.github.com/users/hongshaoyang/orgs",
"received_events_url": "https://api.github.com/users/hongshaoyang/received_events",
"repos_url": "https://api.github.com/users/hongshaoyang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hongshaoyang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hongshaoyang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hongshaoyang"
} | [
{
"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"
} | 4 | 2020-11-22T10:15:24Z | 2020-11-26T00:05:35Z | 2020-11-25T20:59:23Z | CONTRIBUTOR | null | - [x] closes #36805
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
### Background.
> Might be worth it actually - I _think_ people are only likely to use `.info` in an interactive session, rather than as part of production code, so perhaps it is worth going through the deprecation process to make this argument clearer
* xref https://github.com/pandas-dev/pandas/issues/36805#issuecomment-702754290
* Deprecate `null_counts` parameter of DataFrame.info in favor of `show_counts` and add warning.
* Add whatsnew and add tests to test for FutureWarning. Move usages of null_counts in tests to show_counts.
Doc preview:
<img width="755" alt="Screenshot 2020-11-22 at 6 19 05 PM" src="https://user-images.githubusercontent.com/19281800/99901143-63512400-2cef-11eb-846a-447050de6d8f.png">
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37999/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/37999/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/37999.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37999",
"merged_at": "2020-11-25T20:59:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37999.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37999"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38000 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38000/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38000/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38000/events | https://github.com/pandas-dev/pandas/issues/38000 | 748,217,374 | MDU6SXNzdWU3NDgyMTczNzQ= | 38,000 | DOC: DataFrame.last() needs the index to be sorted to deliver the expected results | {
"avatar_url": "https://avatars.githubusercontent.com/u/60746768?v=4",
"events_url": "https://api.github.com/users/alejsm/events{/privacy}",
"followers_url": "https://api.github.com/users/alejsm/followers",
"following_url": "https://api.github.com/users/alejsm/following{/other_user}",
"gists_url": "https://api.github.com/users/alejsm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alejsm",
"id": 60746768,
"login": "alejsm",
"node_id": "MDQ6VXNlcjYwNzQ2NzY4",
"organizations_url": "https://api.github.com/users/alejsm/orgs",
"received_events_url": "https://api.github.com/users/alejsm/received_events",
"repos_url": "https://api.github.com/users/alejsm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alejsm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alejsm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alejsm"
} | [
{
"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 be... | closed | false | null | [] | null | 5 | 2020-11-22T10:56:39Z | 2020-12-17T16:54:23Z | 2020-12-17T16:54:23Z | NONE | null | #### Location of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.last.html
#### Documentation problem
For the method to work it is needed that the **_DatetimeIndex_ of the dataframe is sorted**, otherwise it will notwork.
Example:
```
import pandas as pd
df = pd.DataFrame({
'Date': ['2020-01-03', '2020-01-02', '2020-01-05', '2020-01-01', '2020-01-04'],
'Value': [1, 2, 3, 4, 5]
})
df['Date'] = pd.to_datetime(df.Date)
df.set_index('Date', inplace=True)
#df.sort_index(inplace=True) This line is needed to make it work
df.last('3D')
```
returns all the rows in the DataFrame
```
Value
Date
2020-01-03 1
2020-01-02 2
2020-01-05 3
2020-01-01 4
2020-01-04 5
```
#### Suggested fix for documentation
It should be mentioned that for the _last()_ method to work, the **_DatetimeIndex_ must be sorted**, or the user may think that there is a bug in the 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/38000/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38000/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38001 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38001/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38001/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38001/events | https://github.com/pandas-dev/pandas/issues/38001 | 748,289,064 | MDU6SXNzdWU3NDgyODkwNjQ= | 38,001 | ENH: add default value to str.extract | {
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
} | [
{
"color": "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": "String e... | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_use... | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2020-11-22T17:15:55Z | 2021-08-14T05:40:07Z | null | CONTRIBUTOR | null | #### Is your feature request related to a problem?
In some cases we can set a default value for non matches of `str.extract` with `Series/Frame.fillna`.
But there are cases when the data prior to applying `str.extract` already has NaN values. So running fillna on the results would fill both, and there we cannot distinguish between what the actual NaN values were and what the NaN values are as a result of str.extract.
#### Describe the solution you'd like
Set a default value which has to be a string, to indicate the non matches of the regex pattern.
#### API breaking implications
None I think
```python
from pandas import DataFrame
import numpy as np
df = DataFrame({'A': ['a84', 'abcd', '99string', np.nan]})
result = df['A'].str.extract(r'(\d+)', expand=False, default='missing')
print(df, '\n')
print(result)
A
0 a84
1 abcd
2 99string
3 NaN
0 84
1 missing # <--- the value which did not match
2 99
3 NaN # <--- the NaN already present in the data prior str.extract
Name: A, dtype: object
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38001/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38001/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38002 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38002/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38002/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38002/events | https://github.com/pandas-dev/pandas/pull/38002 | 748,291,027 | MDExOlB1bGxSZXF1ZXN0NTI1MzE4NDkz | 38,002 | DOC: Whatsnew 1.2.0 cleanup | {
"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": "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"
} | 7 | 2020-11-22T17:26:09Z | 2020-12-06T14:04:00Z | 2020-11-25T22:27:33Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Cleanup of spelling, grammar, and links.
----
cc @jorisvandenbossche, @dsaxton, @phofl:
Using ``:meth:`.DataFrameGroupBy.quantile` `` (note the `.`) displays the text `DataFrameGroupBy.quantile` and sphinx finds the link to the proper page. Similar remarks apply to `Rolling` and others. From the [sphinx docs](https://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html):
> Also, if the name is prefixed with a dot, and no exact match is found, the target is taken as a suffix and all object names with that suffix are searched.
I don't believe this was known about (at least to me!) and is different from what was aligned on in #37145, so I wanted to get thoughts here on which is preferred. While I've added many cross-links using this, `DataFrameGroupBy.quantile` is the sole example where I have replaced a preexisting link.
----
Other notable changes that are worth a mention to make sure they are correct:
* Numpy is always referred to as NumPy in plain-text (no backticks)
* When a method exists on only Series and DataFrame, replaced unlinked reference with a reference to each. For example, ``:meth:`read_csv` `` becomes ``:meth:`DataFrame.to_csv` and :meth:`Series.to_csv` ``
* dtypes and argument values are always double-backticked
* Moved the following note from Other to Missing
> Bug in :meth:`Series.nunique` with ``dropna=True`` was returning incorrect results when both ``NA`` and ``None`` missing values were present (:issue:`37566`) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38002/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38002/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38002.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38002",
"merged_at": "2020-11-25T22:27:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38002.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38002"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38003 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38003/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38003/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38003/events | https://github.com/pandas-dev/pandas/pull/38003 | 748,291,525 | MDExOlB1bGxSZXF1ZXN0NTI1MzE4ODY1 | 38,003 | ENH: str extract with default value | {
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
} | [
{
"color": "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": "String e... | closed | false | null | [] | null | 9 | 2020-11-22T17:28:42Z | 2021-07-03T10:48:21Z | 2021-07-03T10:48:21Z | CONTRIBUTOR | null | - [x] closes #38001
- [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/38003/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38003/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38003.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38003",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/38003.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38003"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38004 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38004/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38004/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38004/events | https://github.com/pandas-dev/pandas/pull/38004 | 748,316,653 | MDExOlB1bGxSZXF1ZXN0NTI1MzM3MTE2 | 38,004 | REF: ensure_arraylike in algos.isin | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "2020-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-11-22T18:48:28Z | 2020-11-23T15:17:43Z | 2020-11-23T13:25:35Z | MEMBER | null | This is one of two places where we do not explicitly call ensure_arraylike before ensure_data. Once I get the other one sorted out, we can annotate _ensure_data and others. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38004/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38004/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38004.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38004",
"merged_at": "2020-11-23T13:25:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38004.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38004"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38005 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38005/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38005/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38005/events | https://github.com/pandas-dev/pandas/pull/38005 | 748,329,771 | MDExOlB1bGxSZXF1ZXN0NTI1MzQzMjY0 | 38,005 | TST/REF: 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"
},
{
"color": "0b02e1",
"d... | 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-11-22T19:29:47Z | 2020-11-23T15:14:26Z | 2020-11-23T13:25: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/38005/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38005/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38005.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38005",
"merged_at": "2020-11-23T13:25:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38005.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38005"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38006 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38006/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38006/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38006/events | https://github.com/pandas-dev/pandas/pull/38006 | 748,331,367 | MDExOlB1bGxSZXF1ZXN0NTI1MzQ0MjA0 | 38,006 | TST/REF: collect tests from test_multilevel | {
"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",
"d... | 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-11-22T19:36:02Z | 2020-11-23T15:15:35Z | 2020-11-23T13:28:00Z | 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/38006/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38006/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38006.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38006",
"merged_at": "2020-11-23T13:28:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38006.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38006"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38007 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38007/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38007/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38007/events | https://github.com/pandas-dev/pandas/pull/38007 | 748,338,756 | MDExOlB1bGxSZXF1ZXN0NTI1MzQ4NDM4 | 38,007 | ENH: Arrow backed string array - implement factorize() method without casting to objects | {
"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",
"defaul... | 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"
} | 11 | 2020-11-22T20:06:58Z | 2021-03-02T17:09:39Z | 2021-03-02T16:51:43Z | MEMBER | null | xref https://github.com/pandas-dev/pandas/issues/35169#issuecomment-727217462, follow-on to #35259
This is moreless copy/paste from https://github.com/xhochy/fletcher with a slight tidy for initial review feedback
still to do
- [x] benchmarking
- [x] return type for chunked array with more than 1 chunk
- [x] maybe update tests.
we don't have failing tests, but the return type should be `Tuple[np.ndarray, ExtensionArray]` while we have `return factorize(np_array, na_sentinel=na_sentinel)` if more than 1 chunk and the return type of pd.factorize is `Tuple[np.ndarray, Union[np.ndarray, ABCIndex]]` (mypy doesn't report this as an error since np.ndarray resolves to `Any`)
since we don't have failing tests, we probably should paramatrize data for the base extension tests with an array with one chunk and a array with multiple chunks.
cc @jorisvandenbossche @xhochy
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38007/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38007/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38007.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38007",
"merged_at": "2021-03-02T16:51:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38007.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38007"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38008 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38008/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38008/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38008/events | https://github.com/pandas-dev/pandas/pull/38008 | 748,344,395 | MDExOlB1bGxSZXF1ZXN0NTI1MzUyNDM0 | 38,008 | REF: define DTA._infer_matches | {
"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": "e102d8",
"default": false,
"de... | 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-11-22T20:36:39Z | 2020-11-24T15:27:17Z | 2020-11-24T13:38:43Z | 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/38008/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38008/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38008.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38008",
"merged_at": "2020-11-24T13:38:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38008.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38008"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38009 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38009/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38009/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38009/events | https://github.com/pandas-dev/pandas/pull/38009 | 748,360,088 | MDExOlB1bGxSZXF1ZXN0NTI1MzYzNzMw | 38,009 | CLN: fix E741 ambiguous variable #34150 | {
"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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "207de5",
"default... | 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-11-22T21:59:12Z | 2020-12-05T18:49:58Z | 2020-11-24T02:49:41Z | MEMBER | null | xref #34150
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38009/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38009/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38009.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38009",
"merged_at": "2020-11-24T02:49:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38009.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38009"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38010 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38010/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38010/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38010/events | https://github.com/pandas-dev/pandas/pull/38010 | 748,372,952 | MDExOlB1bGxSZXF1ZXN0NTI1MzczMTcz | 38,010 | BUG: loc returning wrong elements for non-monotonic DatetimeIndex | {
"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": "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 s... | 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"
} | 3 | 2020-11-22T23:07:12Z | 2021-01-05T08:49:35Z | 2021-01-05T02:27:21Z | MEMBER | null | - [x] closes #33146
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
That one was tricky. When only one existing key was given or both string parts exist, ``Index.slice_indexer`` is not raising KeyError but selecting a lof of erroneous values | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38010/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38010/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38010.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38010",
"merged_at": "2021-01-05T02:27:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38010.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38010"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38011 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38011/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38011/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38011/events | https://github.com/pandas-dev/pandas/pull/38011 | 748,380,203 | MDExOlB1bGxSZXF1ZXN0NTI1Mzc4NjEy | 38,011 | TST/REF: collect Index.equals 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",
"d... | 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-11-22T23:47:34Z | 2020-11-24T15:24:33Z | 2020-11-24T13:25:29Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38011/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38011/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38011.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38011",
"merged_at": "2020-11-24T13:25:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38011.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38011"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38012 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38012/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38012/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38012/events | https://github.com/pandas-dev/pandas/pull/38012 | 748,428,093 | MDExOlB1bGxSZXF1ZXN0NTI1NDE2Mzkz | 38,012 | REF: Implement isin on DTA instead of DTI | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "0b02e1",
"default": false,
"de... | 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-11-23T03:00:47Z | 2020-11-24T03:07:29Z | 2020-11-24T02:46:26Z | 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/38012/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38012/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38012.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38012",
"merged_at": "2020-11-24T02:46:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38012.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38012"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/38013 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38013/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38013/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38013/events | https://github.com/pandas-dev/pandas/issues/38013 | 748,509,576 | MDU6SXNzdWU3NDg1MDk1NzY= | 38,013 | BUG: pandas truncate too large data without any warning of any kind, causing data loss | {
"avatar_url": "https://avatars.githubusercontent.com/u/54762742?v=4",
"events_url": "https://api.github.com/users/raffaem/events{/privacy}",
"followers_url": "https://api.github.com/users/raffaem/followers",
"following_url": "https://api.github.com/users/raffaem/following{/other_user}",
"gists_url": "https://api.github.com/users/raffaem/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/raffaem",
"id": 54762742,
"login": "raffaem",
"node_id": "MDQ6VXNlcjU0NzYyNzQy",
"organizations_url": "https://api.github.com/users/raffaem/orgs",
"received_events_url": "https://api.github.com/users/raffaem/received_events",
"repos_url": "https://api.github.com/users/raffaem/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/raffaem/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/raffaem/subscriptions",
"type": "User",
"url": "https://api.github.com/users/raffaem"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"... | open | false | null | [] | null | 3 | 2020-11-23T06:27:07Z | 2021-08-14T05:41: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.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import io
indata = io.StringIO("c\n10000000000")
df = pd.read_csv(indata, header=0)
print(df)
indata.seek(0)
df = pd.read_csv(indata, header=0, dtype={"c":int})
print(df)
```
#### Problem description
The data gets truncated without pandas issuing any warning of any kind.
This causes data loss.
This is the actual ouput:
```
c
0 10000000000
c
0 1410065408
```
#### Expected Output
```
c
0 10000000000
c
0 10000000000
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.8.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : Italian_Italy.1252
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
Cython : 0.29.21
pytest : 6.1.1
hypothesis : None
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.19.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : None
xarray : None
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/38013/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38013/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38014 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38014/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38014/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38014/events | https://github.com/pandas-dev/pandas/pull/38014 | 748,521,753 | MDExOlB1bGxSZXF1ZXN0NTI1NDk2ODg5 | 38,014 | BUG: Fixes plotting with nullable integers (#32073) | {
"avatar_url": "https://avatars.githubusercontent.com/u/22396042?v=4",
"events_url": "https://api.github.com/users/rkc007/events{/privacy}",
"followers_url": "https://api.github.com/users/rkc007/followers",
"following_url": "https://api.github.com/users/rkc007/following{/other_user}",
"gists_url": "https://api.github.com/users/rkc007/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rkc007",
"id": 22396042,
"login": "rkc007",
"node_id": "MDQ6VXNlcjIyMzk2MDQy",
"organizations_url": "https://api.github.com/users/rkc007/orgs",
"received_events_url": "https://api.github.com/users/rkc007/received_events",
"repos_url": "https://api.github.com/users/rkc007/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rkc007/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rkc007/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rkc007"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "8cc645",
"default": false,
"description": "Re... | 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-11-23T06:47:28Z | 2020-12-08T02:59:26Z | 2020-12-07T13:38:28Z | CONTRIBUTOR | null | - [x] closes #32073
- [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/38014/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38014/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38014.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38014",
"merged_at": "2020-12-07T13:38:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38014.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38014"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/38015 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38015/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38015/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38015/events | https://github.com/pandas-dev/pandas/issues/38015 | 748,556,457 | MDU6SXNzdWU3NDg1NTY0NTc= | 38,015 | BUG: df.rename raises when multiindex has duplicates | {
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
} | [
{
"color": "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": "20... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/23269446?v=4",
"events_url": "https://api.github.com/users/andrewwoood/events{/privacy}",
"followers_url": "https://api.github.com/users/andrewwoood/followers",
"following_url": "https://api.github.com/users/andrewwoood/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewwoood/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andrewwoood",
"id": 23269446,
"login": "andrewwoood",
"node_id": "MDQ6VXNlcjIzMjY5NDQ2",
"organizations_url": "https://api.github.com/users/andrewwoood/orgs",
"received_events_url": "https://api.github.com/users/andrewwoood/received_events",
"repos_url": "https://api.github.com/users/andrewwoood/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andrewwoood/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewwoood/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andrewwoood"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/23269446?v=4",
"events_url": "https://api.github.com/users/andrewwoood/events{/privacy}",
"followers_url": "https://api.github.com/users/andrewwoood/followers",
"following_url": "https://api.github.com/users/andrewwoood/following{/other_user}"... | {
"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"
} | 6 | 2020-11-23T07:42:01Z | 2021-09-08T01:54:00Z | 2021-09-08T01:54:00Z | CONTRIBUTOR | null | ```python
>>> idx = pd.Index([('A','cat'),('B','cat'),('B','cat')])
>>> df = pd.DataFrame(index=idx)
>>> df.rename(index={'A':'Apple'}, level=0)
ValueError: non-broadcastable output operand with shape (1,1) doesn't match the broadcast shape (1,2)
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38015/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38015/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38016 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38016/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38016/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38016/events | https://github.com/pandas-dev/pandas/issues/38016 | 748,782,866 | MDU6SXNzdWU3NDg3ODI4NjY= | 38,016 | BUG: | {
"avatar_url": "https://avatars.githubusercontent.com/u/49912455?v=4",
"events_url": "https://api.github.com/users/Jacques2101/events{/privacy}",
"followers_url": "https://api.github.com/users/Jacques2101/followers",
"following_url": "https://api.github.com/users/Jacques2101/following{/other_user}",
"gists_url": "https://api.github.com/users/Jacques2101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Jacques2101",
"id": 49912455,
"login": "Jacques2101",
"node_id": "MDQ6VXNlcjQ5OTEyNDU1",
"organizations_url": "https://api.github.com/users/Jacques2101/orgs",
"received_events_url": "https://api.github.com/users/Jacques2101/received_events",
"repos_url": "https://api.github.com/users/Jacques2101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Jacques2101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jacques2101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Jacques2101"
} | [
{
"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": "207de5",
"default": false,
"description": "Clarification about beha... | closed | false | null | [] | null | 3 | 2020-11-23T13:01:03Z | 2020-12-15T18:40:37Z | 2020-12-15T18:40:36Z | NONE | null | Hi i have a huge problem and I suppose it could be a bug but not sure.
```
def volat(prices, n):
n_years = prices.last_valid_index()-pd.DateOffset(years=n)
return 100*np.sqrt(52)*prices[n_years:].asfreq('W-FRI', method='ffill').pct_change().std()
################### METHOD 1 ###################
table = (base_corr
.query("classification_produit=='Sans classification'")
[['date', 'gestionnaire', 'nom_de_produit', 'code_isin_part',
'classification_produit', 'vl', 'collecte', 'nbre_part', 'actif_net_part']]
.pivot(columns='date',
index=['gestionnaire', 'nom_de_produit', 'code_isin_part', 'classification_produit'],
values=['vl', 'collecte', 'nbre_part', 'actif_net_part'])
.apply([
lambda x: volat(x.vl, 3),
], axis=1)
.set_axis([
'volat 3 ans'
],
axis='columns')
)
table.loc[(slice(None),slice(None),'FR0011026905')] # part of Result from method 1
################### METHOD 2 ###################
volat(base.query("code_isin_part=='FR0011026905'").set_index('date')['vl'], 3) # Result from method 2
################### METHOD 3 ###################
(base_corr
.query("code_isin_part=='FR0011026905'")
[['date', 'gestionnaire', 'nom_de_produit', 'code_isin_part',
'classification_produit', 'vl', 'collecte', 'nbre_part', 'actif_net_part']]
.pivot(columns='date',
index=['gestionnaire', 'nom_de_produit', 'code_isin_part', 'classification_produit'],
values=['vl', 'collecte', 'nbre_part', 'actif_net_part'])
.apply([
lambda x: volat(x.vl, 3),
], axis=1)
.set_axis([
'volat 3 ans'
],
axis='columns')
)
```
and the output is :
```
RESULT FROM METHOD 1 (the wrong one) :
volat 3 ans
FIDEAS CAPITAL SAS SICAV DES OLIVIERS Sans classification 0.05
RESULT FROM METHOD 2 :
7.922765211671436
RESULT FROM METHOD 3 :
volat 3 ans
FIDEAS CAPITAL SAS SICAV DES OLIVIERS FR0011026905 Sans classification 7.92
```
From my point of view I should get exactly the same answer (method 2 & 3 are alright but not method 1).
I don't know why this is not the case.
I need maybe to add that base_corr is a huge database (10_892_693 rows × 12 columns) with dailies and weekly data that why I convert each series to weekly data to make it possible to annualize the volatility figures (with np.sqrt(52) multiplication).
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.6.final.0
python-bits : 64
OS : Darwin
OS-release : 20.1.0
Version : Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/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.4
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.1
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: 0.9.0
bs4 : 4.9.3
bottleneck : None
fsspec : 0.8.4
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.3
sqlalchemy : None
tables : None
tabulate : None
xarray : 0.16.1
xlrd : 1.2.0
xlwt : None
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/38016/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38016/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38017 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38017/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38017/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38017/events | https://github.com/pandas-dev/pandas/issues/38017 | 748,828,097 | MDU6SXNzdWU3NDg4MjgwOTc= | 38,017 | TST: any_* fixtures are confusingly named | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0e8a16",
"d... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/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_use... | {
"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"
} | 12 | 2020-11-23T14:01:16Z | 2021-08-18T17:22:25Z | 2021-08-18T17:22:25Z | CONTRIBUTOR | null | the naming on the any_* fixtures in `pandas/conftest.py` is pretty confusing
- `any_int_dtype` (numpy only)
- `any_int_nullable_dtype` (EA only)
- `any_numeric_dtype` both numpy & EA
- `any_real_dtype` both numpy int & float
- `sint_dtype` signed numpy ints
for example
so we need dtypes that are numpy_only and EA only and numpy + EA both for ints & floats
would propose something like
`any_int_numpy_dtype`
`any_int_ea_dtype`
`any_int_dtype` -> both numpy + ea
same for float
then
`any_numeric_nump_dtype`
`any_numeric_ea_dtype`
for float + int
which means we rename
`sint_dtype` -> `any_signed_int_numpy_dtype`
I think this would require a PR to organize, a PR to create new names & fix everything.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38017/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38017/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/38018 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/38018/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/38018/comments | https://api.github.com/repos/pandas-dev/pandas/issues/38018/events | https://github.com/pandas-dev/pandas/pull/38018 | 748,930,315 | MDExOlB1bGxSZXF1ZXN0NTI1ODM2Nzkz | 38,018 | Using os.PathLike instead of pathlib.Path (#37979) | {
"avatar_url": "https://avatars.githubusercontent.com/u/23413626?v=4",
"events_url": "https://api.github.com/users/Abhi-H/events{/privacy}",
"followers_url": "https://api.github.com/users/Abhi-H/followers",
"following_url": "https://api.github.com/users/Abhi-H/following{/other_user}",
"gists_url": "https://api.github.com/users/Abhi-H/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Abhi-H",
"id": 23413626,
"login": "Abhi-H",
"node_id": "MDQ6VXNlcjIzNDEzNjI2",
"organizations_url": "https://api.github.com/users/Abhi-H/orgs",
"received_events_url": "https://api.github.com/users/Abhi-H/received_events",
"repos_url": "https://api.github.com/users/Abhi-H/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Abhi-H/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Abhi-H/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Abhi-H"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 8 | 2020-11-23T16:07:29Z | 2020-12-02T02:02:37Z | 2020-12-02T02:02:32Z | CONTRIBUTOR | null | - [x] closes #37979
- [x] tests passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Replaces `pathlib.Path` with `os.PathLike` to bring behaviour further in-line with the [documentation](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/38018/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/38018/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/38018.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/38018",
"merged_at": "2020-12-02T02:02:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/38018.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38018"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.