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/39219 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39219/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39219/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39219/events | https://github.com/pandas-dev/pandas/pull/39219 | 787,588,643 | MDExOlB1bGxSZXF1ZXN0NTU2MjU3MTY2 | 39,219 | DOC/REF: Rolling/Expanding/EWM docstrings | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 7 | 2021-01-17T01:10:52Z | 2021-02-04T00:04:29Z | 2021-02-04T00:04:26Z | MEMBER | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- Create a new `window/doc.py` file for common template
- Using `@doc` decorator instead of `@Appender`
- Standardize descriptions and sections
<img width="1255" alt="Screen Shot 2021-01-16 at 5 06 52 PM" src="https://user-images.githubusercontent.com/10647082/104828385-c7601680-5860-11eb-99b5-e73357719348.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/39219/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39219/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39219.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39219",
"merged_at": "2021-02-04T00:04:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39219.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39219"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39220 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39220/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39220/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39220/events | https://github.com/pandas-dev/pandas/pull/39220 | 787,594,031 | MDExOlB1bGxSZXF1ZXN0NTU2MjYwNzYx | 39,220 | DEPR: EWM.vol | {
"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": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-17T01:50:39Z | 2021-01-19T16:16:31Z | 2021-01-19T15:53:55Z | MEMBER | null | - [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
`vol` is undocumented and was just `std` which is more standard in our API | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39220/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39220/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39220.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39220",
"merged_at": "2021-01-19T15:53:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39220.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39220"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39221 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39221/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39221/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39221/events | https://github.com/pandas-dev/pandas/pull/39221 | 787,607,165 | MDExOlB1bGxSZXF1ZXN0NTU2MjY5MjUw | 39,221 | BUG: Timestamp comparison with barely-out-of-bounds datetime64 | {
"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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 2 | 2021-01-17T03:35:59Z | 2021-01-22T00:08:11Z | 2021-01-21T23:39:41Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39221/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39221/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39221.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39221",
"merged_at": "2021-01-21T23:39:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39221.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39221"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39222 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39222/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39222/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39222/events | https://github.com/pandas-dev/pandas/issues/39222 | 787,681,211 | MDU6SXNzdWU3ODc2ODEyMTE= | 39,222 | Dataframe: Get n rows before and after condition met | {
"avatar_url": "https://avatars.githubusercontent.com/u/76628336?v=4",
"events_url": "https://api.github.com/users/helloworldnoob/events{/privacy}",
"followers_url": "https://api.github.com/users/helloworldnoob/followers",
"following_url": "https://api.github.com/users/helloworldnoob/following{/other_user}",
"gists_url": "https://api.github.com/users/helloworldnoob/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/helloworldnoob",
"id": 76628336,
"login": "helloworldnoob",
"node_id": "MDQ6VXNlcjc2NjI4MzM2",
"organizations_url": "https://api.github.com/users/helloworldnoob/orgs",
"received_events_url": "https://api.github.com/users/helloworldnoob/received_events",
"repos_url": "https://api.github.com/users/helloworldnoob/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/helloworldnoob/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/helloworldnoob/subscriptions",
"type": "User",
"url": "https://api.github.com/users/helloworldnoob"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2021-01-17T11:03:16Z | 2021-01-17T11:33:44Z | 2021-01-17T11:33:31Z | NONE | null | I am working with a time series dataframe, and I would like to know how to get a number of rows before, and after the condition is met.
I have a datetime index but also trying a numbered index for ease of use, however, i am not sure how to do either...
The output I want is as follows:
7 rows(or days/hours/minutes) before, then the condition row, and 7 rows(or days,etc...) after.
Any help is massively appreciated! Thank you.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39222/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39222/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39223 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39223/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39223/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39223/events | https://github.com/pandas-dev/pandas/issues/39223 | 787,688,485 | MDU6SXNzdWU3ODc2ODg0ODU= | 39,223 | Setting diagonal to 1 in corr function | {
"avatar_url": "https://avatars.githubusercontent.com/u/2288725?v=4",
"events_url": "https://api.github.com/users/dhalpern/events{/privacy}",
"followers_url": "https://api.github.com/users/dhalpern/followers",
"following_url": "https://api.github.com/users/dhalpern/following{/other_user}",
"gists_url": "https://api.github.com/users/dhalpern/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dhalpern",
"id": 2288725,
"login": "dhalpern",
"node_id": "MDQ6VXNlcjIyODg3MjU=",
"organizations_url": "https://api.github.com/users/dhalpern/orgs",
"received_events_url": "https://api.github.com/users/dhalpern/received_events",
"repos_url": "https://api.github.com/users/dhalpern/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dhalpern/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dhalpern/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dhalpern"
} | [] | closed | false | null | [] | null | 0 | 2021-01-17T11:47:20Z | 2021-01-17T11:49:36Z | 2021-01-17T11:49:36Z | NONE | null | I often want to use the corr function to also compute distances between columns (e.g. df.corr(method = spicy.spatial.distance.euclidean). However, I noticed that the .corr function always sets the i=j case to 1 (which is incorrect for the distance case) (see [here](https://github.com/pandas-dev/pandas/blob/3e89b4c4b1580aa890023fc550774e63d499da25/pandas/core/frame.py#L8394-L8395)).
I realize using this function to compute distances is sort of a non-standard usage but is there any reason to hardcode it? Would it make more sense as a parameter that could be set? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39223/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39223/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39224 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39224/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39224/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39224/events | https://github.com/pandas-dev/pandas/issues/39224 | 787,689,021 | MDU6SXNzdWU3ODc2ODkwMjE= | 39,224 | ENH: Setting diagonal to 1 in corr function | {
"avatar_url": "https://avatars.githubusercontent.com/u/2288725?v=4",
"events_url": "https://api.github.com/users/dhalpern/events{/privacy}",
"followers_url": "https://api.github.com/users/dhalpern/followers",
"following_url": "https://api.github.com/users/dhalpern/following{/other_user}",
"gists_url": "https://api.github.com/users/dhalpern/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dhalpern",
"id": 2288725,
"login": "dhalpern",
"node_id": "MDQ6VXNlcjIyODg3MjU=",
"organizations_url": "https://api.github.com/users/dhalpern/orgs",
"received_events_url": "https://api.github.com/users/dhalpern/received_events",
"repos_url": "https://api.github.com/users/dhalpern/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dhalpern/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dhalpern/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dhalpern"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 1 | 2021-01-17T11:50:41Z | 2021-01-17T12:01:56Z | 2021-01-17T12:01:43Z | NONE | null | #### Is your feature request related to a problem?
I often want to use the corr function to also compute distances between columns (e.g. df.corr(method = spicy.spatial.distance.euclidean). However, I noticed that the .corr function always sets the i=j case to 1 (which is incorrect for the distance case) (see here).
#### Describe the solution you'd like
I realize using this function to compute distances is sort of a non-standard usage but is there any reason to hardcode it? Would it make more sense as a parameter that could be set?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39224/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39224/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39225 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39225/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39225/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39225/events | https://github.com/pandas-dev/pandas/pull/39225 | 787,693,542 | MDExOlB1bGxSZXF1ZXN0NTU2MzM4MDk3 | 39,225 | Revert "CI: Skip numpy dev failing tests (#39090)" | {
"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": "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": "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": "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"
} | 10 | 2021-01-17T12:16:27Z | 2021-01-17T14:18:41Z | 2021-01-17T14:17:38Z | MEMBER | null | This reverts commit 3bd3d1ec
- [x] xref #39205 can close this now probably
- [x] closes #39089
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39225/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39225/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39225.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39225",
"merged_at": "2021-01-17T14:17:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39225.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39225"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39226 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39226/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39226/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39226/events | https://github.com/pandas-dev/pandas/pull/39226 | 787,699,763 | MDExOlB1bGxSZXF1ZXN0NTU2MzQyNzQz | 39,226 | ENH: add str.removeprefix | {
"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 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": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] | closed | false | null | [] | null | 8 | 2021-01-17T12:52:51Z | 2021-06-08T18:17:29Z | 2021-06-08T18:17:29Z | CONTRIBUTOR | null | - [x] closes #36944
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39226/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39226/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39226.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39226",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39226.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39226"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39227 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39227/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39227/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39227/events | https://github.com/pandas-dev/pandas/issues/39227 | 787,710,345 | MDU6SXNzdWU3ODc3MTAzNDU= | 39,227 | BUG: Series.resample fails on NaT PeriodIndex | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
},
{
"color": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
] | {
"closed_at": "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"
} | 0 | 2021-01-17T13:51:28Z | 2021-01-26T00:01:50Z | 2021-01-26T00:01:50Z | MEMBER | null | Failure is only on Series and only when the index is entirely `NaT`.
```
freq = "D"
df = DataFrame([1, 2], index=PeriodIndex([NaT, NaT], freq=freq))
print(df.resample(freq).sum())
ser = Series([1, 2], index=PeriodIndex([NaT, NaT], freq=freq))
print(ser.resample(freq).sum())
```
Second raises, first returns the expected
```
Empty DataFrame
Columns: []
Index: []
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39227/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39227/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39228 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39228/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39228/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39228/events | https://github.com/pandas-dev/pandas/pull/39228 | 787,712,171 | MDExOlB1bGxSZXF1ZXN0NTU2MzUxOTM3 | 39,228 | DOC: Added notes section in dropna method | {
"avatar_url": "https://avatars.githubusercontent.com/u/51440666?v=4",
"events_url": "https://api.github.com/users/complexsum/events{/privacy}",
"followers_url": "https://api.github.com/users/complexsum/followers",
"following_url": "https://api.github.com/users/complexsum/following{/other_user}",
"gists_url": "https://api.github.com/users/complexsum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/complexsum",
"id": 51440666,
"login": "complexsum",
"node_id": "MDQ6VXNlcjUxNDQwNjY2",
"organizations_url": "https://api.github.com/users/complexsum/orgs",
"received_events_url": "https://api.github.com/users/complexsum/received_events",
"repos_url": "https://api.github.com/users/complexsum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/complexsum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/complexsum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/complexsum"
} | [] | closed | false | null | [] | null | 1 | 2021-01-17T14:01:10Z | 2021-01-17T14:17:10Z | 2021-01-17T14:17:10Z | NONE | null | In case of specifying both the optional parameters how and thresh then thresh takes the precedence
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39228/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39228/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39228.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39228",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39228.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39228"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39229 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39229/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39229/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39229/events | https://github.com/pandas-dev/pandas/pull/39229 | 787,719,218 | MDExOlB1bGxSZXF1ZXN0NTU2MzU3MTU0 | 39,229 | BUG: Series.resample fails on NaT index | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
},
{
"color": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-17T14:37:26Z | 2021-01-26T15:00:28Z | 2021-01-26T00:01:50Z | MEMBER | null | - [x] closes #39227
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
This will also resolve the core issue of https://github.com/pandas-dev/pandas/pull/34998#discussion_r556463043. cc @jorisvandenbossche
The added test:
```
s = series.copy()
s.index = PeriodIndex([NaT] * len(s), freq=freq)
result = getattr(s.resample(freq), resample_method)()
```
currently fails for `freq="M"`, where upsample is used instead of downsample leading to failure since the index is not unique. I can't tell if this is a bug or an operation that should raise. It also fails for `DataFrame`, so I think is unrelated to the issue here.
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/39229/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39229/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39229.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39229",
"merged_at": "2021-01-26T00:01:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39229.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39229"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39230 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39230/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39230/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39230/events | https://github.com/pandas-dev/pandas/pull/39230 | 787,731,529 | MDExOlB1bGxSZXF1ZXN0NTU2MzY2MDY4 | 39,230 | Backport PR #39064 on branch 1.2.x (Added docs for the change of behavior of isin) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 0 | 2021-01-17T15:37:17Z | 2021-01-17T16:35:58Z | 2021-01-17T16:35:58Z | NONE | null | Backport PR #39064: Added docs for the change of behavior of isin | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39230/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39230/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39230.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39230",
"merged_at": "2021-01-17T16:35:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39230.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39230"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39231 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39231/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39231/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39231/events | https://github.com/pandas-dev/pandas/pull/39231 | 787,736,056 | MDExOlB1bGxSZXF1ZXN0NTU2MzY5NTQ1 | 39,231 | Backport PR #39139 on branch 1.2.x (BUG: Placeholders not being filled on docstrings) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 0 | 2021-01-17T15:59:53Z | 2021-01-17T17:24:05Z | 2021-01-17T17:24:05Z | NONE | null | Backport PR #39139: BUG: Placeholders not being filled on docstrings | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39231/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39231/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39231.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39231",
"merged_at": "2021-01-17T17:24:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39231.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39231"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39232 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39232/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39232/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39232/events | https://github.com/pandas-dev/pandas/pull/39232 | 787,739,659 | MDExOlB1bGxSZXF1ZXN0NTU2MzcyMzc4 | 39,232 | CI: pre-commit fixup | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-17T16:17:35Z | 2021-01-17T17:47:55Z | 2021-01-17T17:37:21Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39232/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39232/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39232.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39232",
"merged_at": "2021-01-17T17:37:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39232.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39232"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/39233 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39233/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39233/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39233/events | https://github.com/pandas-dev/pandas/pull/39233 | 787,755,846 | MDExOlB1bGxSZXF1ZXN0NTU2Mzg0Mjk3 | 39,233 | DOC: 1.2.1 release date | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 3 | 2021-01-17T17:38:51Z | 2021-01-18T09:19:55Z | 2021-01-17T19:08:25Z | 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/39233/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39233/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39233.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39233",
"merged_at": "2021-01-17T19:08:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39233.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39233"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/39234 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39234/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39234/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39234/events | https://github.com/pandas-dev/pandas/pull/39234 | 787,757,141 | MDExOlB1bGxSZXF1ZXN0NTU2Mzg1MjM2 | 39,234 | DOC: Start v1.2.2 release notes | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-02-09T11:58:00Z",
"closed_issues": 89,
"created_at": "2021-01-16T01:20:17Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-02-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/82",
"id": 6317919,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82/labels",
"node_id": "MDk6TWlsZXN0b25lNjMxNzkxOQ==",
"number": 82,
"open_issues": 0,
"state": "closed",
"title": "1.2.2",
"updated_at": "2021-02-09T21:26:11Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82"
} | 2 | 2021-01-17T17:44:59Z | 2021-01-20T13:23:52Z | 2021-01-20T13:23:48Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39234/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39234/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39234.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39234",
"merged_at": "2021-01-20T13:23:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39234.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39234"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/39235 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39235/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39235/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39235/events | https://github.com/pandas-dev/pandas/pull/39235 | 787,768,109 | MDExOlB1bGxSZXF1ZXN0NTU2MzkzMjM1 | 39,235 | Revert "Inconsistent indexes for tick label plotting (#28733)" | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 3 | 2021-01-17T18:42:05Z | 2021-01-18T15:36:57Z | 2021-01-18T15:19:20Z | MEMBER | null | This reverts commit fb379d8266492f917ed880f7619f3d0d9bc7c8db.
reverts #28733
cc @nrebena @jreback @WillAyd @charlesdong1991
just the complete revert for now for ci testing, will add commits for release notes. will NOT add regression tests see https://github.com/pandas-dev/pandas/issues/38721#issuecomment-761840221 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39235/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39235/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39235.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39235",
"merged_at": "2021-01-18T15:19:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39235.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39235"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39236 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39236/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39236/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39236/events | https://github.com/pandas-dev/pandas/pull/39236 | 787,772,526 | MDExOlB1bGxSZXF1ZXN0NTU2Mzk2NDQz | 39,236 | REF: roll IntBlock, BoolBlock, ComplexBlock into NumericBlock | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-17T19:05:02Z | 2021-01-19T18:15:29Z | 2021-01-19T18:10:37Z | 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/39236/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39236/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39236.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39236",
"merged_at": "2021-01-19T18:10:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39236.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39236"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/39237 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39237/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39237/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39237/events | https://github.com/pandas-dev/pandas/pull/39237 | 787,773,621 | MDExOlB1bGxSZXF1ZXN0NTU2Mzk3MjMy | 39,237 | Backport PR #39233 on branch 1.2.x (DOC: 1.2.1 release date) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 0 | 2021-01-17T19:10:46Z | 2021-01-17T20:50:36Z | 2021-01-17T20:50:36Z | NONE | null | Backport PR #39233: DOC: 1.2.1 release date | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39237/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39237/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39237.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39237",
"merged_at": "2021-01-17T20:50:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39237.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39237"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39238 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39238/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39238/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39238/events | https://github.com/pandas-dev/pandas/pull/39238 | 787,773,700 | MDExOlB1bGxSZXF1ZXN0NTU2Mzk3Mjg5 | 39,238 | CLN: remove unused axis kwarg from Block.putmask | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-17T19:11:11Z | 2021-01-19T18:15:08Z | 2021-01-19T18:11:37Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/39238/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39238/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39238.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39238",
"merged_at": "2021-01-19T18:11:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39238.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39238"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39239 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39239/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39239/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39239/events | https://github.com/pandas-dev/pandas/pull/39239 | 787,785,446 | MDExOlB1bGxSZXF1ZXN0NTU2NDA2MTYz | 39,239 | DEPR: raise deprecation warning in numpy ufuncs on DataFrames if not aligned + fallback to <1.2.0 behaviour | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e11d21",
"default": false,
"description": "Blocking issue or pull request for an upcoming release",
"id": 77550281,
"name": "Blocker",
"node_id": "MDU6TGFiZWw3NzU1MDI4MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Blocker"
},
{
"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": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 18 | 2021-01-17T20:15:01Z | 2021-01-20T09:42:33Z | 2021-01-20T07:22:57Z | MEMBER | null | Closes #39184
This is obviously a last-minute change, but if people agree on the deprecation, I think we should try to include it in v1.2.1. I *think* my patch is relatively safe, since converting the input to numpy arrays (what I am doing now manually as fallback) is what happened before adding `DataFrame.__array_ufunc__` as well.
It adds quite some lines of code, but it's mostly some simple checking of the exact case which is a bit verbose.
The specific tests I added were verified to pass on pandas 1.1.5, so they codify the previous behaviour (minus the warnings).
cc @TomAugspurger
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39239/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39239/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39239.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39239",
"merged_at": "2021-01-20T07:22:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39239.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39239"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39240 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39240/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39240/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39240/events | https://github.com/pandas-dev/pandas/issues/39240 | 787,799,170 | MDU6SXNzdWU3ODc3OTkxNzA= | 39,240 | ENH: Multi-Column explode | {
"avatar_url": "https://avatars.githubusercontent.com/u/12753726?v=4",
"events_url": "https://api.github.com/users/lschwetlick/events{/privacy}",
"followers_url": "https://api.github.com/users/lschwetlick/followers",
"following_url": "https://api.github.com/users/lschwetlick/following{/other_user}",
"gists_url": "https://api.github.com/users/lschwetlick/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lschwetlick",
"id": 12753726,
"login": "lschwetlick",
"node_id": "MDQ6VXNlcjEyNzUzNzI2",
"organizations_url": "https://api.github.com/users/lschwetlick/orgs",
"received_events_url": "https://api.github.com/users/lschwetlick/received_events",
"repos_url": "https://api.github.com/users/lschwetlick/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lschwetlick/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lschwetlick/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lschwetlick"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-17T21:30:05Z | 2021-06-21T13:06:25Z | 2021-06-21T13:06:25Z | NONE | null | #### Is your feature request related to a problem?
I have often looked for the option to use the `explode` function on multiple columns at the same time.
Example:
```
A | B | C | D
------------------------
1 | a | [1,2] | [7,8]
2 | b | [3,4] | [9,1]
3 | c | [5,6] | [2,3]
```
===>
```
A | B | C | D
------------------
1 | a | 1 | 7
1 | a | 2 | 8
2 | b | 3 | 9
2 | b | 4 | 1
3 | c | 5 | 2
3 | c | 6 | 3
```
For obvious reasons exploding first one and then the other column will not yield the result we want here, because we will end up duplicating the values in the first explode during the second explode.
#### Describe the solution you'd like
Either it could be `df.explode(["C","D"])` or it could be its own function `df.multi_explode(["C","D"])`. Both ways could use more or less the same method that the existing explode function uses.
#### API breaking implications
The only issue I see with this are cases where the lists in the C and D column aren't the same length, in which case we would need to pad them.
#### Context
I don't know if this has been discussed previously, but if there is interest in this a Pull request concerning this feature I could try to implement it.
| {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39240/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39240/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39241 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39241/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39241/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39241/events | https://github.com/pandas-dev/pandas/pull/39241 | 787,800,547 | MDExOlB1bGxSZXF1ZXN0NTU2NDE3Mjk4 | 39,241 | Included reading from Excel example as suggested via #38990 | {
"avatar_url": "https://avatars.githubusercontent.com/u/52805678?v=4",
"events_url": "https://api.github.com/users/bsun94/events{/privacy}",
"followers_url": "https://api.github.com/users/bsun94/followers",
"following_url": "https://api.github.com/users/bsun94/following{/other_user}",
"gists_url": "https://api.github.com/users/bsun94/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bsun94",
"id": 52805678,
"login": "bsun94",
"node_id": "MDQ6VXNlcjUyODA1Njc4",
"organizations_url": "https://api.github.com/users/bsun94/orgs",
"received_events_url": "https://api.github.com/users/bsun94/received_events",
"repos_url": "https://api.github.com/users/bsun94/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bsun94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bsun94/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bsun94"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | null | 1 | 2021-01-17T21:38:17Z | 2021-01-21T00:45:52Z | 2021-01-17T21:59:45Z | CONTRIBUTOR | null | - In the "Comparison to" documentation for Excel, added in example of writing to and reading from an Excel file as suggested in #38990, which is based on #38554. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39241/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39241/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39241.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39241",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39241.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39241"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39242 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39242/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39242/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39242/events | https://github.com/pandas-dev/pandas/pull/39242 | 787,805,137 | MDExOlB1bGxSZXF1ZXN0NTU2NDIwNjg3 | 39,242 | Updated Comparison to Excel documentation with code example of read_excel and to_excel for #38990 | {
"avatar_url": "https://avatars.githubusercontent.com/u/52805678?v=4",
"events_url": "https://api.github.com/users/bsun94/events{/privacy}",
"followers_url": "https://api.github.com/users/bsun94/followers",
"following_url": "https://api.github.com/users/bsun94/following{/other_user}",
"gists_url": "https://api.github.com/users/bsun94/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bsun94",
"id": 52805678,
"login": "bsun94",
"node_id": "MDQ6VXNlcjUyODA1Njc4",
"organizations_url": "https://api.github.com/users/bsun94/orgs",
"received_events_url": "https://api.github.com/users/bsun94/received_events",
"repos_url": "https://api.github.com/users/bsun94/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bsun94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bsun94/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bsun94"
} | [
{
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "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 | 2021-01-17T22:02:49Z | 2021-01-21T23:41:12Z | 2021-01-21T23:41:08Z | CONTRIBUTOR | null | - This is my first time contributing - please let me know if any other detail is needed! Essentially I just swapped the order of the "Excel" and "CSV" paragraphs in the data importing section, so that the examples given for to_excel and read_excel would flow from the CSV example without needing repeated code/codeblocks.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39242/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39242/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39242.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39242",
"merged_at": "2021-01-21T23:41:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39242.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39242"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39243 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39243/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39243/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39243/events | https://github.com/pandas-dev/pandas/issues/39243 | 787,809,310 | MDU6SXNzdWU3ODc4MDkzMTA= | 39,243 | QST: import pandas AttributeError: module 'numpy' has no attribute 'ndarray' | {
"avatar_url": "https://avatars.githubusercontent.com/u/53413157?v=4",
"events_url": "https://api.github.com/users/emilianosantin/events{/privacy}",
"followers_url": "https://api.github.com/users/emilianosantin/followers",
"following_url": "https://api.github.com/users/emilianosantin/following{/other_user}",
"gists_url": "https://api.github.com/users/emilianosantin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/emilianosantin",
"id": 53413157,
"login": "emilianosantin",
"node_id": "MDQ6VXNlcjUzNDEzMTU3",
"organizations_url": "https://api.github.com/users/emilianosantin/orgs",
"received_events_url": "https://api.github.com/users/emilianosantin/received_events",
"repos_url": "https://api.github.com/users/emilianosantin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/emilianosantin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/emilianosantin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/emilianosantin"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 6 | 2021-01-17T22:25:54Z | 2021-03-15T21:42:09Z | 2021-01-18T14:13:51Z | NONE | null |
Hi
I am not sure what caused the problem, but when I try to import pandas I get a numpy attribute error. I tried pip install although I use anaconda and did not work
```
pip uninstall -y numpy
pip uninstall -y setuptools
pip install setuptools
pip install numpy
```
so when I try to import pandas this is the error I get
```
import pandas as pd
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-7-7dd3504c366f> in <module>
----> 1 import pandas as pd
~/opt/anaconda3/lib/python3.7/site-packages/pandas/__init__.py in <module>
20
21 # numpy compat
---> 22 from pandas.compat.numpy import (
23 np_version_under1p17 as _np_version_under1p17,
24 np_version_under1p18 as _np_version_under1p18,
~/opt/anaconda3/lib/python3.7/site-packages/pandas/compat/__init__.py in <module>
12 import warnings
13
---> 14 from pandas._typing import F
15
16 PY38 = sys.version_info >= (3, 8)
~/opt/anaconda3/lib/python3.7/site-packages/pandas/_typing.py in <module>
52 # array-like
53
---> 54 AnyArrayLike = TypeVar("AnyArrayLike", "ExtensionArray", "Index", "Series", np.ndarray)
55 ArrayLike = TypeVar("ArrayLike", "ExtensionArray", np.ndarray)
56
AttributeError: module 'numpy' has no attribute 'ndarray'
```
below are my python and jupyter versions
```
from platform import python_version
3.7.9
jupyter core : 4.7.0
jupyter-notebook : 6.2.0
qtconsole : 5.0.1
ipython : 7.19.0
ipykernel : 5.4.2
jupyter client : 6.1.11
jupyter lab : 3.0.5
nbconvert : 6.0.7
ipywidgets : 7.6.3
nbformat : 5.1.2
traitlets : 5.0.5
(base) __________-MacBook-Air:~ ____________$
```
| {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39243/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39243/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39244 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39244/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39244/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39244/events | https://github.com/pandas-dev/pandas/pull/39244 | 787,812,939 | MDExOlB1bGxSZXF1ZXN0NTU2NDI2NzUz | 39,244 | BUG: Timestamp.round floating point error | {
"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,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 3 | 2021-01-17T22:46:46Z | 2021-01-21T18:22:40Z | 2021-01-21T17:36:50Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
xref #38964 analogous bug in Timedelta (separate PR upcoming)
```
ts = pd.Timestamp.max - pd.Timedelta(304)
>>> ts.ceil("s")
Timestamp('1677-09-21 00:12:43.290448384')
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39244/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39244/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39244.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39244",
"merged_at": "2021-01-21T17:36:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39244.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39244"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39245 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39245/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39245/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39245/events | https://github.com/pandas-dev/pandas/pull/39245 | 787,815,517 | MDExOlB1bGxSZXF1ZXN0NTU2NDI4Nzcz | 39,245 | ENH: Make Timestamp implementation bounds match DTA/DTI/Series | {
"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"
}
] | 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"
} | 2 | 2021-01-17T23:01:12Z | 2021-01-20T23:17:56Z | 2021-01-20T22:08:09Z | MEMBER | null | - [x] xref #24124
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/39245/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39245/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39245.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39245",
"merged_at": "2021-01-20T22:08:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39245.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39245"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39246 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39246/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39246/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39246/events | https://github.com/pandas-dev/pandas/pull/39246 | 788,084,943 | MDExOlB1bGxSZXF1ZXN0NTU2NjU0NjIz | 39,246 | DOC: clean-up of v1.2.1 whatsnew | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 4 | 2021-01-18T09:16:39Z | 2021-01-18T10:56:28Z | 2021-01-18T10:55:38Z | MEMBER | null | First commit is fixing links to the reference docs (many were not actually working links), the second commit is just a reorder to group related ones together (but together it makes the diff a bit difficult to interpret)
cc @simonjayhawkins | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39246/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39246/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39246.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39246",
"merged_at": "2021-01-18T10:55:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39246.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39246"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39247 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39247/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39247/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39247/events | https://github.com/pandas-dev/pandas/issues/39247 | 788,104,795 | MDU6SXNzdWU3ODgxMDQ3OTU= | 39,247 | BUG: V1.2 DataFrame.to_csv() fails to write a file with codecs | {
"avatar_url": "https://avatars.githubusercontent.com/u/16847255?v=4",
"events_url": "https://api.github.com/users/Kazzz-S/events{/privacy}",
"followers_url": "https://api.github.com/users/Kazzz-S/followers",
"following_url": "https://api.github.com/users/Kazzz-S/following{/other_user}",
"gists_url": "https://api.github.com/users/Kazzz-S/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Kazzz-S",
"id": 16847255,
"login": "Kazzz-S",
"node_id": "MDQ6VXNlcjE2ODQ3MjU1",
"organizations_url": "https://api.github.com/users/Kazzz-S/orgs",
"received_events_url": "https://api.github.com/users/Kazzz-S/received_events",
"repos_url": "https://api.github.com/users/Kazzz-S/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Kazzz-S/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Kazzz-S/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Kazzz-S"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 9 | 2021-01-18T09:43:13Z | 2021-01-28T20:55:16Z | 2021-01-19T13:58:31Z | 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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import pandas as pd
import codecs
x = [ 1, 2, 3, 4, 5 ]
y = [ 6, 7, 8, 9, 10 ]
z = [ 'a', 'b', 'c', 'd', 'e' ]
data = { "X": x, "Y":y, "Z":z }
df = pd.DataFrame( data, columns=[ "X", "Y", "Z" ] )
print( "Pandas version = %s" % pd.__version__ )
print(df)
fp = codecs.open( "out-testPD12.csv", "w", "utf-8" )
fp.write( "Pandas version = %s\n" % pd.__version__ )
df.to_csv( fp, index=False, header=True )
fp.close()
```
#### Problem description
When saving the file, `TypeError: utf_8_encode() argument 1 must be str, not bytes` flags on.
#### Expected Output
The output below has been obtained by downgrading and pinned Pandas to V1.1.5.
V1.1.2 is also tested OK.
```
Pandas version = 1.1.5
X,Y,Z
1,6,a
2,7,b
3,8,c
4,9,d
5,10,e
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.2.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.2.0
numpy : 1.19.2
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.2.post20210112
Cython : 0.29.21
pytest : 6.2.1
hypothesis : None
sphinx : 3.4.3
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.2
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.2
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.21
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.51.2
```
(base) Catalina1{kazzz-s} temp (1)% python testPD12.py
Pandas version = 1.2.0
X Y Z
0 1 6 a
1 2 7 b
2 3 8 c
3 4 9 d
4 5 10 e
Traceback (most recent call last):
File "testPD12.py", line 52, in <module>
df.to_csv( fp, index=False, header=True )
File "/Users/kazzz-s/opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 3384, in to_csv
return DataFrameRenderer(formatter).to_csv(
File "/Users/kazzz-s/opt/anaconda3/lib/python3.8/site-packages/pandas/io/formats/format.py", line 1083, in to_csv
csv_formatter.save()
File "/Users/kazzz-s/opt/anaconda3/lib/python3.8/site-packages/pandas/io/formats/csvs.py", line 248, in save
self._save()
File "/Users/kazzz-s/opt/anaconda3/lib/python3.8/site-packages/pandas/io/common.py", line 104, in __exit__
self.close()
File "/Users/kazzz-s/opt/anaconda3/lib/python3.8/site-packages/pandas/io/common.py", line 89, in close
self.handle.flush()
File "/Users/kazzz-s/opt/anaconda3/lib/python3.8/codecs.py", line 721, in write
return self.writer.write(data)
File "/Users/kazzz-s/opt/anaconda3/lib/python3.8/codecs.py", line 377, in write
data, consumed = self.encode(object, self.errors)
TypeError: utf_8_encode() argument 1 must be str, not bytes
```
</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/39247/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39247/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39248 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39248/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39248/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39248/events | https://github.com/pandas-dev/pandas/pull/39248 | 788,162,607 | MDExOlB1bGxSZXF1ZXN0NTU2NzE5NDky | 39,248 | Backport PR #39246 on branch 1.2.x (DOC: clean-up of v1.2.1 whatsnew) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 0 | 2021-01-18T10:55:54Z | 2021-01-18T11:48:13Z | 2021-01-18T11:48:13Z | NONE | null | Backport PR #39246: DOC: clean-up of v1.2.1 whatsnew | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39248/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39248/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39248.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39248",
"merged_at": "2021-01-18T11:48:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39248.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39248"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39249 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39249/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39249/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39249/events | https://github.com/pandas-dev/pandas/issues/39249 | 788,209,599 | MDU6SXNzdWU3ODgyMDk1OTk= | 39,249 | BUG: read_excel fails with `IndexError: list index out of range` | {
"avatar_url": "https://avatars.githubusercontent.com/u/26389732?v=4",
"events_url": "https://api.github.com/users/YarShev/events{/privacy}",
"followers_url": "https://api.github.com/users/YarShev/followers",
"following_url": "https://api.github.com/users/YarShev/following{/other_user}",
"gists_url": "https://api.github.com/users/YarShev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/YarShev",
"id": 26389732,
"login": "YarShev",
"node_id": "MDQ6VXNlcjI2Mzg5NzMy",
"organizations_url": "https://api.github.com/users/YarShev/orgs",
"received_events_url": "https://api.github.com/users/YarShev/received_events",
"repos_url": "https://api.github.com/users/YarShev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/YarShev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/YarShev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/YarShev"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 0 | 2021-01-18T12:01:03Z | 2021-01-18T12:14:37Z | 2021-01-18T12:14:37Z | 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
df = pandas.read_excel("excel_sheetname_title.xlsx")
IndexError: list index out of range
```
#### Output of ``pd.show_versions()``
<details>
pandas : 1.2.0
numpy : 1.19.2
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.2.post20210112
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 2.0.1
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/39249/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39249/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39250 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39250/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39250/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39250/events | https://github.com/pandas-dev/pandas/issues/39250 | 788,218,893 | MDU6SXNzdWU3ODgyMTg4OTM= | 39,250 | BUG: read_excel fails with IndexError: list index out of range | {
"avatar_url": "https://avatars.githubusercontent.com/u/26389732?v=4",
"events_url": "https://api.github.com/users/YarShev/events{/privacy}",
"followers_url": "https://api.github.com/users/YarShev/followers",
"following_url": "https://api.github.com/users/YarShev/following{/other_user}",
"gists_url": "https://api.github.com/users/YarShev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/YarShev",
"id": 26389732,
"login": "YarShev",
"node_id": "MDQ6VXNlcjI2Mzg5NzMy",
"organizations_url": "https://api.github.com/users/YarShev/orgs",
"received_events_url": "https://api.github.com/users/YarShev/received_events",
"repos_url": "https://api.github.com/users/YarShev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/YarShev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/YarShev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/YarShev"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "d8439a",
"default": false,
"description": "Issue related to pandas dependency",
"id": 2533668378,
"name": "Upstream issue",
"node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue"
}
] | closed | false | null | [] | {
"closed_at": "2021-02-09T11:58:00Z",
"closed_issues": 89,
"created_at": "2021-01-16T01:20:17Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-02-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/82",
"id": 6317919,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82/labels",
"node_id": "MDk6TWlsZXN0b25lNjMxNzkxOQ==",
"number": 82,
"open_issues": 0,
"state": "closed",
"title": "1.2.2",
"updated_at": "2021-02-09T21:26:11Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82"
} | 11 | 2021-01-18T12:14:22Z | 2021-02-01T13:49:12Z | 2021-02-01T13:49:12Z | 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
df = pandas.read_excel("excel_sheetname_title.xlsx")
IndexError: list index out of range
```
<details>
pandas : 1.2.0
numpy : 1.19.2
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.2.post20210112
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : None
numba : None
</details>
The file which read_excel fails on.
[excel_sheetname_title.xlsx](https://github.com/pandas-dev/pandas/files/5830079/excel_sheetname_title.xlsx) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39250/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39250/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39251 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39251/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39251/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39251/events | https://github.com/pandas-dev/pandas/issues/39251 | 788,303,819 | MDU6SXNzdWU3ODgzMDM4MTk= | 39,251 | BUG:import pandas AttributeError: module 'numpy' has no attribute 'ndarray' | {
"avatar_url": "https://avatars.githubusercontent.com/u/53413157?v=4",
"events_url": "https://api.github.com/users/emilianosantin/events{/privacy}",
"followers_url": "https://api.github.com/users/emilianosantin/followers",
"following_url": "https://api.github.com/users/emilianosantin/following{/other_user}",
"gists_url": "https://api.github.com/users/emilianosantin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/emilianosantin",
"id": 53413157,
"login": "emilianosantin",
"node_id": "MDQ6VXNlcjUzNDEzMTU3",
"organizations_url": "https://api.github.com/users/emilianosantin/orgs",
"received_events_url": "https://api.github.com/users/emilianosantin/received_events",
"repos_url": "https://api.github.com/users/emilianosantin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/emilianosantin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/emilianosantin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/emilianosantin"
} | [
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
] | closed | false | null | [] | {
"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 | 2021-01-18T14:14:26Z | 2021-01-18T15:14:23Z | 2021-01-18T15:14:13Z | NONE | null |
---
Hi
I am not sure what caused the problem, but when I try to import pandas I get a numpy attribute error. I am Mac user on Jupyter when I try to import pandas this is the error I get. I previously posted this as a question but I did not provide all the necessary info so I closed the QST#39243
```
import pandas as pd
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-7-7dd3504c366f> in <module>
----> 1 import pandas as pd
~/opt/anaconda3/lib/python3.7/site-packages/pandas/__init__.py in <module>
20
21 # numpy compat
---> 22 from pandas.compat.numpy import (
23 np_version_under1p17 as _np_version_under1p17,
24 np_version_under1p18 as _np_version_under1p18,
~/opt/anaconda3/lib/python3.7/site-packages/pandas/compat/__init__.py in <module>
12 import warnings
13
---> 14 from pandas._typing import F
15
16 PY38 = sys.version_info >= (3, 8)
~/opt/anaconda3/lib/python3.7/site-packages/pandas/_typing.py in <module>
52 # array-like
53
---> 54 AnyArrayLike = TypeVar("AnyArrayLike", "ExtensionArray", "Index", "Series", np.ndarray)
55 ArrayLike = TypeVar("ArrayLike", "ExtensionArray", np.ndarray)
56
AttributeError: module 'numpy' has no attribute 'ndarray'
below are my python and jupyter versions
```
Here are some relevant packages versions:
numpy :1.19.5
pandas. : 1.2.0
geopandas :0.63
python :3.7.9
anaconda :client 1.7.2
anaconda :0.0.1.1
setuptools 49.6.0
jupyter core : 4.7.0
jupyter-notebook : 6.2.0
qtconsole : 5.0.1
ipython : 7.19.0
ipykernel : 5.4.2
jupyter client : 6.1.11
jupyter lab : 3.0.5
nbconvert : 6.0.7
ipywidgets : 7.6.3
nbformat : 5.1.2
traitlets : 5.0.5
(base) __________-MacBook-Air:~ ____________$
I tried pip install although I use anaconda and did not work
```
pip uninstall -y numpy
pip uninstall -y setuptools
pip install setuptools
pip install numpy
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39251/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39251/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39252 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39252/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39252/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39252/events | https://github.com/pandas-dev/pandas/pull/39252 | 788,353,092 | MDExOlB1bGxSZXF1ZXN0NTU2ODc5MjIx | 39,252 | Backport PR #39235 on branch 1.2.x (Revert "Inconsistent indexes for tick label plotting (#28733)") | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 0 | 2021-01-18T15:20:00Z | 2021-01-18T16:10:44Z | 2021-01-18T16:10:44Z | NONE | null | Backport PR #39235: Revert "Inconsistent indexes for tick label plotting (#28733)" | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39252/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39252/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39252.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39252",
"merged_at": "2021-01-18T16:10:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39252.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39252"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39253 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39253/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39253/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39253/events | https://github.com/pandas-dev/pandas/pull/39253 | 788,367,141 | MDExOlB1bGxSZXF1ZXN0NTU2ODkwOTk5 | 39,253 | REGR: codecs.open() is always opened in text mode | {
"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": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 6 | 2021-01-18T15:38:54Z | 2021-01-19T21:50:22Z | 2021-01-19T13:58:32Z | CONTRIBUTOR | null | - [x] closes #39247
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/39253/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39253/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39253.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39253",
"merged_at": "2021-01-19T13:58:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39253.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39253"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39254 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39254/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39254/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39254/events | https://github.com/pandas-dev/pandas/pull/39254 | 788,385,928 | MDExOlB1bGxSZXF1ZXN0NTU2OTA2NTYy | 39,254 | Backport PR #39202: REGR: to_stata tried to remove file before closing it | {
"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": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 1 | 2021-01-18T16:04:43Z | 2021-01-21T12:06:05Z | 2021-01-18T16:19:28Z | MEMBER | null | Backport PR #39202 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39254/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39254/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39254.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39254",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39254.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39254"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39255 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39255/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39255/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39255/events | https://github.com/pandas-dev/pandas/pull/39255 | 788,386,647 | MDExOlB1bGxSZXF1ZXN0NTU2OTA3MTY2 | 39,255 | Backport PR #39202 on branch 1.2.x | {
"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": "5319e7",
"default": false,
"description": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 3 | 2021-01-18T16:05:47Z | 2021-01-18T21:07:13Z | 2021-01-18T19:03:52Z | 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/39255/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39255/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39255.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39255",
"merged_at": "2021-01-18T19:03:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39255.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39255"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/39256 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39256/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39256/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39256/events | https://github.com/pandas-dev/pandas/pull/39256 | 788,418,813 | MDExOlB1bGxSZXF1ZXN0NTU2OTMzOTQx | 39,256 | DOC: keep color for note admonitions in sphinx theme | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 1 | 2021-01-18T16:54:05Z | 2021-01-19T08:33:20Z | 2021-01-19T08:33:15Z | MEMBER | null | This doesn't change anything about the appearance in the docs, but is meant to keep the current look anticipating a change in the default color in the theme upstream (https://github.com/pandas-dev/pydata-sphinx-theme/pull/281) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39256/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39256/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39256.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39256",
"merged_at": "2021-01-19T08:33:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39256.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39256"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39257 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39257/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39257/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39257/events | https://github.com/pandas-dev/pandas/pull/39257 | 788,421,558 | MDExOlB1bGxSZXF1ZXN0NTU2OTM2MTY5 | 39,257 | CLN refactor maybe-castable | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "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,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-18T16:58:22Z | 2021-02-11T11:53:37Z | 2021-02-07T16:36:59Z | MEMBER | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
extracted from #37586 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39257/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39257/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39257.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39257",
"merged_at": "2021-02-07T16:36:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39257.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39257"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39258 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39258/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39258/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39258/events | https://github.com/pandas-dev/pandas/pull/39258 | 788,451,506 | MDExOlB1bGxSZXF1ZXN0NTU2OTYwNTY3 | 39,258 | DEPR: astype dt64<->dt64tz | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "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": "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"
} | 2 | 2021-01-18T17:49:00Z | 2021-01-21T15:23:36Z | 2021-01-21T15:15:19Z | MEMBER | null | - [x] closes #38622
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39258/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39258/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39258.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39258",
"merged_at": "2021-01-21T15:15:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39258.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39258"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39259 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39259/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39259/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39259/events | https://github.com/pandas-dev/pandas/issues/39259 | 788,540,003 | MDU6SXNzdWU3ODg1NDAwMDM= | 39,259 | BUG: Numpy ufunc accumulate doesn't run correctly on Pandas 1.2.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/25778659?v=4",
"events_url": "https://api.github.com/users/quant-dc/events{/privacy}",
"followers_url": "https://api.github.com/users/quant-dc/followers",
"following_url": "https://api.github.com/users/quant-dc/following{/other_user}",
"gists_url": "https://api.github.com/users/quant-dc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/quant-dc",
"id": 25778659,
"login": "quant-dc",
"node_id": "MDQ6VXNlcjI1Nzc4NjU5",
"organizations_url": "https://api.github.com/users/quant-dc/orgs",
"received_events_url": "https://api.github.com/users/quant-dc/received_events",
"repos_url": "https://api.github.com/users/quant-dc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/quant-dc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quant-dc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/quant-dc"
} | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 2 | 2021-01-18T20:51:12Z | 2021-01-19T16:19:24Z | 2021-01-19T16:19:24Z | NONE | null | - [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [X] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample
```python
import pandas as pd
import numpy as np
# %% Create random data
np.random.seed(50)
number_of_observations = 100
values = np.random.randn(number_of_observations)
# %% Form DataFrame
data = pd.DataFrame(values, columns=['A'])
data = data.cumsum() # Get more local maximums for comparison
# %% Accumulate the maximum
pandas_accumulate = np.maximum.accumulate(data).to_numpy()
numpy_accumulate = np.maximum.accumulate(data.to_numpy())
assert np.allclose(pandas_accumulate, numpy_accumulate)
```
#### Problem description
Numpy maximum accumulate does nothing to the data compared with the same function applied to the numpy array (confirmed with axis argument specified too). Assert statement passed on pandas version 1.1.5. Broken in master as of writing also.
#### Expected Output
As previous version, the result of the numpy function in the pandas DataFrame.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.7.3.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_GB.UTF-8
pandas : 1.2.0
numpy : 1.19.5
pytz : 2019.3
dateutil : 2.8.1
pip : 19.0.3
setuptools : 40.8.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.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
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39259/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39259/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39260 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39260/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39260/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39260/events | https://github.com/pandas-dev/pandas/pull/39260 | 788,559,340 | MDExOlB1bGxSZXF1ZXN0NTU3MDQ4NjI5 | 39,260 | REGR: fix numpy accumulate ufuncs for DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 3 | 2021-01-18T21:33:49Z | 2021-01-19T18:00:19Z | 2021-01-19T16:19:24Z | MEMBER | null | Closes #39259
So we shouldn't call non-`__call__` ufuncs block-by-block, since they can work along a certain axis, like `accumulate`. In this case there were 2 problems: 1) we were applying the ufunc on the Block values, which is 2D but transposed compared to the DataFrame (so the accumulation was done in the wrong direction) and 2) the `axis` keyword was also not passed through in case the user specified 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/39260/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39260/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39260.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39260",
"merged_at": "2021-01-19T16:19:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39260.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39260"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39261 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39261/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39261/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39261/events | https://github.com/pandas-dev/pandas/issues/39261 | 788,571,301 | MDU6SXNzdWU3ODg1NzEzMDE= | 39,261 | BUG: iloc assignment in Pandas 1.2.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/25778659?v=4",
"events_url": "https://api.github.com/users/quant-dc/events{/privacy}",
"followers_url": "https://api.github.com/users/quant-dc/followers",
"following_url": "https://api.github.com/users/quant-dc/following{/other_user}",
"gists_url": "https://api.github.com/users/quant-dc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/quant-dc",
"id": 25778659,
"login": "quant-dc",
"node_id": "MDQ6VXNlcjI1Nzc4NjU5",
"organizations_url": "https://api.github.com/users/quant-dc/orgs",
"received_events_url": "https://api.github.com/users/quant-dc/received_events",
"repos_url": "https://api.github.com/users/quant-dc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/quant-dc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quant-dc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/quant-dc"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 3 | 2021-01-18T22:03:53Z | 2021-01-20T00:13:08Z | 2021-01-18T22:11:23Z | NONE | null | - [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [X] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
# %% Create data
data = pd.DataFrame([
[1,2,3,4],
[1,2,3,4]
], columns=['A', 'B', 'C', 'D'])
# %% Check missing data assignment
addition = pd.DataFrame([
[5,6,7],
[1,2,3]
], columns=['A', 'B', 'C'])
data.iloc[0, :] = addition.iloc[0, :] # Fails
# %% Check misaligned assignment
data = pd.DataFrame([
[1,2,3,4],
[1,2,3,4]
], columns=['A', 'B', 'C', 'D'])
addition_misaligned = pd.DataFrame([
[5,6,7,8],
[1,2,4,3]
], columns=['A', 'B', 'D', 'C'])
data.iloc[0, :] = addition_misaligned.iloc[0, :] # Works, result incorrect
pd.testing.assert_frame_equal(data, addition_misaligned, check_like=True)
```
#### Problem description
My apologies if this is two reports in one.
Previously (pandas 1.1.5), assignment of partial series to rows in a DataFrame would complete and the alignment would be such that a missing value was applied to the element that was missing in the assignment. This now errors with a broadcast shape error.
Related, assignment of a fully specified series works, but the labels are not assigned correctly and instead assigned by their matrix position. Again, the values were aligned in pandas 1.1.5.
Reading the discussion on #39004 I think this may be related. And the error is similar to [this comment](https://github.com/pandas-dev/pandas/issues/39004#issuecomment-756685730).
```python-traceback
Traceback (most recent call last):
File "venv/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3331, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-2-c0c0cf213f59>", line 13, in <module>
data.iloc[0, :] = addition.iloc[0, :] # Fails
File "venv/lib/python3.7/site-packages/pandas/core/indexing.py", line 695, in __setitem__
iloc._setitem_with_indexer(indexer, value, self.name)
File "venv/lib/python3.7/site-packages/pandas/core/indexing.py", line 1644, in _setitem_with_indexer
self._setitem_single_block(indexer, value, name)
File "venv/lib/python3.7/site-packages/pandas/core/indexing.py", line 1872, in _setitem_single_block
self.obj._mgr = self.obj._mgr.setitem(indexer=indexer, value=value)
File "venv/lib/python3.7/site-packages/pandas/core/internals/managers.py", line 565, in setitem
return self.apply("setitem", indexer=indexer, value=value)
File "venv/lib/python3.7/site-packages/pandas/core/internals/managers.py", line 431, in apply
applied = getattr(b, f)(**kwargs)
File "venv/lib/python3.7/site-packages/pandas/core/internals/blocks.py", line 994, in setitem
values[indexer] = value
ValueError: could not broadcast input array from shape (3) into shape (4)
```
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
#### Expected Output
Assignment of the data to DataFrame respecting the labels of the assigning data.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.7.3.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_GB.UTF-8
pandas : 1.2.0
numpy : 1.19.5
pytz : 2019.3
dateutil : 2.8.1
pip : 19.0.3
setuptools : 40.8.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.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
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39261/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39261/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39262 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39262/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39262/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39262/events | https://github.com/pandas-dev/pandas/pull/39262 | 788,600,908 | MDExOlB1bGxSZXF1ZXN0NTU3MDgyMDIx | 39,262 | CI: skip checking freq on flaky pytables test | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 0 | 2021-01-18T23:27:56Z | 2021-01-19T16:23:39Z | 2021-01-19T16:21:05Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/39262/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39262/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39262.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39262",
"merged_at": "2021-01-19T16:21:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39262.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39262"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39263 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39263/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39263/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39263/events | https://github.com/pandas-dev/pandas/issues/39263 | 788,620,330 | MDU6SXNzdWU3ODg2MjAzMzA= | 39,263 | BUG: 2D ndarray of dtype 'object' is always copied upon construction | {
"avatar_url": "https://avatars.githubusercontent.com/u/24586651?v=4",
"events_url": "https://api.github.com/users/irgolic/events{/privacy}",
"followers_url": "https://api.github.com/users/irgolic/followers",
"following_url": "https://api.github.com/users/irgolic/following{/other_user}",
"gists_url": "https://api.github.com/users/irgolic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/irgolic",
"id": 24586651,
"login": "irgolic",
"node_id": "MDQ6VXNlcjI0NTg2NjUx",
"organizations_url": "https://api.github.com/users/irgolic/orgs",
"received_events_url": "https://api.github.com/users/irgolic/received_events",
"repos_url": "https://api.github.com/users/irgolic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/irgolic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/irgolic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/irgolic"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"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"
} | 0 | 2021-01-19T00:35:06Z | 2021-07-15T04:22:00Z | 2021-07-15T04:22:00Z | CONTRIBUTOR | null | - [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [X] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import numpy as np
import pandas as pd
a = np.array(['a', 'b'], dtype='object')
df = pd.DataFrame(a)
assert np.shares_memory(df.values, a) # True
b = np.array([['a', 'b'],
['c', 'd']], dtype='object')
df2 = pd.DataFrame(b)
assert np.shares_memory(df2.values, b) # False
```
#### Problem description
This issue addresses the TODO in `pandas.core.internals.construction.py`, line 250 on master at time of writing. This was introduced by #26825. It's quite annoying, I'm trying to use DataFrame as an interface to access my dtype object numpy array, but I can't without copying it in first.
#### Expected Output
Exit code 0.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : b5958ee1999e9aead1938c0bba2b674378807b3d
python : 3.6.10.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.1.5
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.1.3
Cython : 0.29.14
pytest : 5.3.5
hypothesis : 5.4.1
sphinx : 2.3.1
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.1
fsspec : 0.6.2
fastparquet : None
gcsfs : None
matplotlib : 3.2.1
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.2.0
numba : 0.48.0
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39263/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39263/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39264 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39264/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39264/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39264/events | https://github.com/pandas-dev/pandas/pull/39264 | 788,648,884 | MDExOlB1bGxSZXF1ZXN0NTU3MTIwMzc1 | 39,264 | CI/STYLE Fix misspellings exposed by codespell | {
"avatar_url": "https://avatars.githubusercontent.com/u/18115607?v=4",
"events_url": "https://api.github.com/users/zitorelova/events{/privacy}",
"followers_url": "https://api.github.com/users/zitorelova/followers",
"following_url": "https://api.github.com/users/zitorelova/following{/other_user}",
"gists_url": "https://api.github.com/users/zitorelova/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zitorelova",
"id": 18115607,
"login": "zitorelova",
"node_id": "MDQ6VXNlcjE4MTE1NjA3",
"organizations_url": "https://api.github.com/users/zitorelova/orgs",
"received_events_url": "https://api.github.com/users/zitorelova/received_events",
"repos_url": "https://api.github.com/users/zitorelova/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zitorelova/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zitorelova/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zitorelova"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 2 | 2021-01-19T02:08:34Z | 2021-01-21T23:59:18Z | 2021-01-21T23:59:14Z | CONTRIBUTOR | null | - [ ] partial fix for #38802
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/39264/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39264/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39264.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39264",
"merged_at": "2021-01-21T23:59:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39264.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39264"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39265 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39265/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39265/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39265/events | https://github.com/pandas-dev/pandas/issues/39265 | 788,663,580 | MDU6SXNzdWU3ODg2NjM1ODA= | 39,265 | ENH: pivot and pivot_table: option to name levels of new column multiindex | {
"avatar_url": "https://avatars.githubusercontent.com/u/14302923?v=4",
"events_url": "https://api.github.com/users/rchurt/events{/privacy}",
"followers_url": "https://api.github.com/users/rchurt/followers",
"following_url": "https://api.github.com/users/rchurt/following{/other_user}",
"gists_url": "https://api.github.com/users/rchurt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rchurt",
"id": 14302923,
"login": "rchurt",
"node_id": "MDQ6VXNlcjE0MzAyOTIz",
"organizations_url": "https://api.github.com/users/rchurt/orgs",
"received_events_url": "https://api.github.com/users/rchurt/received_events",
"repos_url": "https://api.github.com/users/rchurt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rchurt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rchurt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rchurt"
} | [
{
"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 that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 2 | 2021-01-19T02:52:47Z | 2021-08-15T03:31:02Z | 2021-08-15T03:31:02Z | NONE | null | #### Is your feature request related to a problem?
When I use `pivot` or `pivot_table` and pass a list of `values`, I get a multiindex on the columns, as the docs say. However, there is no kwarg in the `pivot` or `pivot_table` functions to name the levels of this multiindex.
#### Describe the solution you'd like
It would be nice to have a `level_names` kwarg in `pivot` and `pivot_table` so I could pass a string or list of strings for the desired names of the new column multiindex levels.
#### Describe alternatives you've considered
Can be fixed by running `df_pivoted.columns.set_names('name', level=0)`, but it would be nice to not have to do this as a separate step.
```python
df = pd.DataFrame({"A": ["foo", "foo", "foo", "foo", "foo",
"bar", "bar", "bar", "bar"],
"B": ["one", "one", "one", "two", "two",
"one", "one", "two", "two"],
"C": ["small", "large", "large", "small",
"small", "large", "small", "small",
"large"],
"D": [1, 2, 2, 3, 3, 4, 5, 6, 7],
"E": [2, 4, 5, 5, 6, 6, 8, 9, 9]})
df_pivoted = df.pivot_table(index=['A','C'], columns='B', values=['D','E'])
# df_pivoted = df.pivot_table(index=['A','C'], columns='B', values=['D','E'], level_names='name') # this is what I want to be able to do
df_pivoted.columns.names # returns [None, 'B'], when what I want is ['name', 'B']
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39265/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39265/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39266 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39266/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39266/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39266/events | https://github.com/pandas-dev/pandas/pull/39266 | 788,709,687 | MDExOlB1bGxSZXF1ZXN0NTU3MTY4NzQ2 | 39,266 | BUG: setting dt64 values into Series[int] incorrectly casting dt64->int | {
"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 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": "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 | 2021-01-19T05:04:54Z | 2021-01-28T15:33:32Z | 2021-01-28T15:05:39Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39266/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39266/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39266.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39266",
"merged_at": "2021-01-28T15:05:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39266.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39266"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39267 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39267/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39267/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39267/events | https://github.com/pandas-dev/pandas/pull/39267 | 788,727,483 | MDExOlB1bGxSZXF1ZXN0NTU3MTgzNTQ5 | 39,267 | ENH: cast instead of raise for IntervalIndex setops with differnet closed | {
"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"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-19T05:49:05Z | 2021-01-20T15:54:31Z | 2021-01-20T13:53:56Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39267/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39267/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39267.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39267",
"merged_at": "2021-01-20T13:53:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39267.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39267"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39268 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39268/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39268/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39268/events | https://github.com/pandas-dev/pandas/pull/39268 | 788,745,506 | MDExOlB1bGxSZXF1ZXN0NTU3MTk4NjI3 | 39,268 | CLN: remove pd import in pandas/core/computation | {
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
} | [] | closed | false | null | [] | null | 1 | 2021-01-19T06:27:46Z | 2021-01-20T03:31:15Z | 2021-01-19T17:33:37Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Remove ``import pandas as pd`` in ``pandas/core/computation``. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39268/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39268/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39268.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39268",
"merged_at": "2021-01-19T17:33:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39268.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39268"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39269 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39269/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39269/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39269/events | https://github.com/pandas-dev/pandas/pull/39269 | 788,818,823 | MDExOlB1bGxSZXF1ZXN0NTU3MjYwMTA1 | 39,269 | Backport PR #39256 on branch 1.2.x (DOC: keep color for note admonitions in sphinx theme) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 0 | 2021-01-19T08:34:41Z | 2021-01-19T09:50:09Z | 2021-01-19T09:50:08Z | NONE | null | Backport PR #39256: DOC: keep color for note admonitions in sphinx theme | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39269/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39269/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39269.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39269",
"merged_at": "2021-01-19T09:50:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39269.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39269"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39270 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39270/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39270/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39270/events | https://github.com/pandas-dev/pandas/pull/39270 | 788,960,572 | MDExOlB1bGxSZXF1ZXN0NTU3Mzc4Mjc5 | 39,270 | CLN, TYP use string types in generics | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"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": "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"
} | 2 | 2021-01-19T11:55:12Z | 2021-03-09T14:41:50Z | 2021-01-19T18:23:45Z | MEMBER | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39270/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39270/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39270.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39270",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39270.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39270"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39271 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39271/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39271/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39271/events | https://github.com/pandas-dev/pandas/pull/39271 | 789,046,778 | MDExOlB1bGxSZXF1ZXN0NTU3NDUwMTY0 | 39,271 | Backport PR #39253 on branch 1.2.x (REGR: codecs.open() is always opened in text mode) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_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-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 0 | 2021-01-19T14:00:24Z | 2021-01-19T15:00:02Z | 2021-01-19T15:00:02Z | NONE | null | Backport PR #39253: REGR: codecs.open() is always opened in text mode | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39271/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39271/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39271.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39271",
"merged_at": "2021-01-19T15:00:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39271.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39271"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39272 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39272/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39272/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39272/events | https://github.com/pandas-dev/pandas/pull/39272 | 789,131,045 | MDExOlB1bGxSZXF1ZXN0NTU3NTIwNzg4 | 39,272 | BUG: 2D ndarray of dtype 'object' is always copied upon construction | {
"avatar_url": "https://avatars.githubusercontent.com/u/24586651?v=4",
"events_url": "https://api.github.com/users/irgolic/events{/privacy}",
"followers_url": "https://api.github.com/users/irgolic/followers",
"following_url": "https://api.github.com/users/irgolic/following{/other_user}",
"gists_url": "https://api.github.com/users/irgolic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/irgolic",
"id": 24586651,
"login": "irgolic",
"node_id": "MDQ6VXNlcjI0NTg2NjUx",
"organizations_url": "https://api.github.com/users/irgolic/orgs",
"received_events_url": "https://api.github.com/users/irgolic/received_events",
"repos_url": "https://api.github.com/users/irgolic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/irgolic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/irgolic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/irgolic"
} | [
{
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"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"
} | 44 | 2021-01-19T15:40:46Z | 2021-07-15T04:22:10Z | 2021-07-15T04:22:00Z | CONTRIBUTOR | null | This change is aesthetically unpleasing, it indents too far. #26825 already suggested to separate this part into a function. Please let me know what exactly I should abstract into a function, and where to put it. Alternatively, amend this PR yourself.
Thanks for pandas. :)
- [X] closes #39263
- [X] tests added / passed
- [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39272/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39272/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39272.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39272",
"merged_at": "2021-07-15T04:22:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39272.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39272"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39273 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39273/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39273/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39273/events | https://github.com/pandas-dev/pandas/pull/39273 | 789,162,911 | MDExOlB1bGxSZXF1ZXN0NTU3NTQ3MzQ0 | 39,273 | Backport PR #39260 on branch 1.2.x (REGR: fix numpy accumulate ufuncs for DataFrame) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 0 | 2021-01-19T16:19:59Z | 2021-01-19T17:38:33Z | 2021-01-19T17:38:33Z | NONE | null | Backport PR #39260: REGR: fix numpy accumulate ufuncs for DataFrame | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39273/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39273/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39273.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39273",
"merged_at": "2021-01-19T17:38:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39273.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39273"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39274 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39274/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39274/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39274/events | https://github.com/pandas-dev/pandas/pull/39274 | 789,183,430 | MDExOlB1bGxSZXF1ZXN0NTU3NTY0MzY1 | 39,274 | ENH: Period comparisons with mismatched freq use py3 behavior | {
"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"
}
] | 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"
} | 0 | 2021-01-19T16:45:56Z | 2021-01-20T20:25:02Z | 2021-01-20T19:23:56Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39274/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39274/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39274.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39274",
"merged_at": "2021-01-20T19:23:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39274.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39274"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39275 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39275/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39275/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39275/events | https://github.com/pandas-dev/pandas/issues/39275 | 789,237,408 | MDU6SXNzdWU3ODkyMzc0MDg= | 39,275 | ENH: apply np.ufunc.accumulate along the columns/blocks (to preserve dtypes) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/40292327?v=4",
"events_url": "https://api.github.com/users/AnnaDaglis/events{/privacy}",
"followers_url": "https://api.github.com/users/AnnaDaglis/followers",
"following_url": "https://api.github.com/users/AnnaDaglis/following{/other_user}",
"gists_url": "https://api.github.com/users/AnnaDaglis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AnnaDaglis",
"id": 40292327,
"login": "AnnaDaglis",
"node_id": "MDQ6VXNlcjQwMjkyMzI3",
"organizations_url": "https://api.github.com/users/AnnaDaglis/orgs",
"received_events_url": "https://api.github.com/users/AnnaDaglis/received_events",
"repos_url": "https://api.github.com/users/AnnaDaglis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AnnaDaglis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnnaDaglis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AnnaDaglis"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/40292327?v=4",
"events_url": "https://api.github.com/users/AnnaDaglis/events{/privacy}",
"followers_url": "https://api.github.com/users/AnnaDaglis/followers",
"following_url": "https://api.github.com/users/AnnaDaglis/following{/other_user}",
"gists_url": "https://api.github.com/users/AnnaDaglis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AnnaDaglis",
"id": 40292327,
"login": "AnnaDaglis",
"node_id": "MDQ6VXNlcjQwMjkyMzI3",
"organizations_url": "https://api.github.com/users/AnnaDaglis/orgs",
"received_events_url": "https://api.github.com/users/AnnaDaglis/received_events",
"repos_url": "https://api.github.com/users/AnnaDaglis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AnnaDaglis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnnaDaglis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AnnaDaglis"
}
] | {
"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 | 2021-01-19T17:59:42Z | 2021-01-29T19:14:21Z | null | MEMBER | null | Follow-up on https://github.com/pandas-dev/pandas/pull/39260#discussion_r559806188
Currently, an "accumulate" ufunc is applied on the full DataFrame at once, with the consequence that it doesn't preserve dtypes if you have mixed numeric columns, eg:
```
In [4]: df = pd.DataFrame({"a": [1, 3, 2, 4], "b": [0.1, 4.0, 3.0, 2.0]})
In [5]: df
Out[5]:
a b
0 1 0.1
1 3 4.0
2 2 3.0
3 4 2.0
In [6]: np.maximum.accumulate(df)
Out[6]:
a b
0 1.0 0.1
1 3.0 4.0
2 3.0 4.0
3 4.0 4.0
```
It is certainly possible for the default case (corresponding to ``.accumulate(axis=0)``) to apply this ufunc on each column or block, to preserve the column dtypes. When `axis=1` is passed to the ufunc this is not possible.
See at the linked PR discussion above for some more details at what is involved to implement this.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39275/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39275/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39276 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39276/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39276/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39276/events | https://github.com/pandas-dev/pandas/pull/39276 | 789,300,973 | MDExOlB1bGxSZXF1ZXN0NTU3NjYyNzgw | 39,276 | BUG: is_utc(dateutil_utc) | {
"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": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 4 | 2021-01-19T19:35:55Z | 2021-01-21T23:48:17Z | 2021-01-21T23:40:06Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39276/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39276/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39276.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39276",
"merged_at": "2021-01-21T23:40:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39276.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39276"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39277 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39277/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39277/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39277/events | https://github.com/pandas-dev/pandas/pull/39277 | 789,329,954 | MDExOlB1bGxSZXF1ZXN0NTU3Njg3OTE2 | 39,277 | REF: share PeriodArray.asfreq with Period.asfreq | {
"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"
}
] | 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"
} | 0 | 2021-01-19T20:13:25Z | 2021-01-20T19:24:12Z | 2021-01-20T19:21:59Z | MEMBER | null | Slightly faster for PeriodArray, no change for Period.
```
In [3]: pi = pd.period_range("2016-01-01", periods=100, freq="D")
In [4]: %timeit pi.asfreq("W")
43.5 µs ± 696 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
36.3 µs ± 1.06 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
In [5]: per = pi[0]
In [6]: %timeit per.asfreq("W")
10.5 µs ± 88.7 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <-- master
10.5 µs ± 160 ns per loop (mean ± std. dev. of 7 runs, 100000 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/39277/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39277/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39277.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39277",
"merged_at": "2021-01-20T19:21:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39277.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39277"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39278 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39278/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39278/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39278/events | https://github.com/pandas-dev/pandas/pull/39278 | 789,347,101 | MDExOlB1bGxSZXF1ZXN0NTU3NzAyNzU3 | 39,278 | BUG: loc.setitem raising ValueError when df has duplicate columns | {
"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 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": "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 | 2021-01-19T20:36:45Z | 2021-01-21T17:28:21Z | 2021-01-21T15:53:36Z | MEMBER | null | - [x] closes #38521
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39278/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39278/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39278.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39278",
"merged_at": "2021-01-21T15:53:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39278.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39278"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39279 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39279/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39279/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39279/events | https://github.com/pandas-dev/pandas/pull/39279 | 789,376,408 | MDExOlB1bGxSZXF1ZXN0NTU3NzI4Mzcx | 39,279 | REF: share start_time/end_time between Period/PeriodArray | {
"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"
}
] | 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 | 2021-01-19T21:15:22Z | 2021-01-21T15:25:28Z | 2021-01-21T15:19:46Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
One thing that might make this undesirable is that the annotations on this are accurate for Period but not for PeriodArray. Thoughts @simonjayhawkins
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39279/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39279/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39279.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39279",
"merged_at": "2021-01-21T15:19:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39279.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39279"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39280 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39280/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39280/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39280/events | https://github.com/pandas-dev/pandas/pull/39280 | 789,380,958 | MDExOlB1bGxSZXF1ZXN0NTU3NzMyMjQ1 | 39,280 | BUG: DataFrame.__setitem__ raising ValueError when setting multiple values to dup columns | {
"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 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": "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 | 2021-01-19T21:21:25Z | 2021-01-21T16:12:55Z | 2021-01-21T15:54:42Z | MEMBER | null | - [x] closes #15695
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Setting with a scalar key which is duplicated in columns should be the same as using a listlike key | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39280/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39280/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39280.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39280",
"merged_at": "2021-01-21T15:54:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39280.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39280"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39281 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39281/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39281/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39281/events | https://github.com/pandas-dev/pandas/issues/39281 | 789,412,119 | MDU6SXNzdWU3ODk0MTIxMTk= | 39,281 | Minimal pandas | {
"avatar_url": "https://avatars.githubusercontent.com/u/22227161?v=4",
"events_url": "https://api.github.com/users/blueRegen/events{/privacy}",
"followers_url": "https://api.github.com/users/blueRegen/followers",
"following_url": "https://api.github.com/users/blueRegen/following{/other_user}",
"gists_url": "https://api.github.com/users/blueRegen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/blueRegen",
"id": 22227161,
"login": "blueRegen",
"node_id": "MDQ6VXNlcjIyMjI3MTYx",
"organizations_url": "https://api.github.com/users/blueRegen/orgs",
"received_events_url": "https://api.github.com/users/blueRegen/received_events",
"repos_url": "https://api.github.com/users/blueRegen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/blueRegen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blueRegen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/blueRegen"
} | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 2 | 2021-01-19T22:04:49Z | 2021-01-20T22:14:16Z | 2021-01-19T23:39:10Z | NONE | null | Hi,
thanks for all the hardwork and the wonderful pandas.
Is there a way to install "minimal" pandas ?
I just need dataframe and save to CSV functionality.
We have a requirement to keep our alpine docker container really really small and want to install just the dataframe and csv modules. is it possible?
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/39281/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39281/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39282 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39282/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39282/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39282/events | https://github.com/pandas-dev/pandas/pull/39282 | 789,426,516 | MDExOlB1bGxSZXF1ZXN0NTU3NzcxOTQ1 | 39,282 | Replaced empty series check with Series with columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/15379278?v=4",
"events_url": "https://api.github.com/users/rajat315315/events{/privacy}",
"followers_url": "https://api.github.com/users/rajat315315/followers",
"following_url": "https://api.github.com/users/rajat315315/following{/other_user}",
"gists_url": "https://api.github.com/users/rajat315315/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rajat315315",
"id": 15379278,
"login": "rajat315315",
"node_id": "MDQ6VXNlcjE1Mzc5Mjc4",
"organizations_url": "https://api.github.com/users/rajat315315/orgs",
"received_events_url": "https://api.github.com/users/rajat315315/received_events",
"repos_url": "https://api.github.com/users/rajat315315/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rajat315315/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rajat315315/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rajat315315"
} | [
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] | closed | false | null | [] | null | 4 | 2021-01-19T22:24:24Z | 2021-04-30T00:50:10Z | 2021-04-30T00:50:10Z | NONE | null | - [x] closes #39111
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39282/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39282/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39282.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39282",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39282.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39282"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39283 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39283/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39283/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39283/events | https://github.com/pandas-dev/pandas/issues/39283 | 789,440,746 | MDU6SXNzdWU3ODk0NDA3NDY= | 39,283 | CLN: Remove np_datetime64_compat and np_array_datetime64_compat | {
"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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 1 | 2021-01-19T22:43:44Z | 2021-04-07T02:34:07Z | null | MEMBER | null | We probably can remove both checks, see #39092 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39283/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39283/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39284 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39284/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39284/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39284/events | https://github.com/pandas-dev/pandas/issues/39284 | 789,507,207 | MDU6SXNzdWU3ODk1MDcyMDc= | 39,284 | BUG: read_excel fails to retrieve complete data / returns empty dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/44714512?v=4",
"events_url": "https://api.github.com/users/thuwon/events{/privacy}",
"followers_url": "https://api.github.com/users/thuwon/followers",
"following_url": "https://api.github.com/users/thuwon/following{/other_user}",
"gists_url": "https://api.github.com/users/thuwon/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thuwon",
"id": 44714512,
"login": "thuwon",
"node_id": "MDQ6VXNlcjQ0NzE0NTEy",
"organizations_url": "https://api.github.com/users/thuwon/orgs",
"received_events_url": "https://api.github.com/users/thuwon/received_events",
"repos_url": "https://api.github.com/users/thuwon/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thuwon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thuwon/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thuwon"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 1 | 2021-01-20T00:31:26Z | 2021-01-20T00:34:20Z | 2021-01-20T00:34:20Z | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
import os
df = pd.read_excel('BinanceExport.xlsx')
df
```
#### Problem description
pandas.read_excel doesn't correctly read certain binance.com xlsx exports (Microsoft Workbook format)
Trying to my binance exports returns an empty dataframe
```python
df = pd.read_excel('BinanceExport.xlsx')
df
>>> Date(UTC)
---------
```
or
```python
df = pd.read_excel('BinanceExport.xlsx')
df
>>> Empty DataFrame
Columns: [Date(UTC)]
Index: []
```
Renaming the file doesn't help, but manually resaving does
It seems related to this issue https://github.com/pandas-dev/pandas/issues/39250
but mine isn't a corrupted file nor does it return an error
I posted a question on stackoverflow and the export is downloadable down below
#### Expected Output
return complete dataframe
#### Output of ``pd.show_versions()``
<details>
[INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.9.0.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.2.0
numpy : 1.19.2
pytz : 2020.5
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
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.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : None
numba : None]
</details>
[BinanceExport.xlsx](https://github.com/pandas-dev/pandas/files/5839398/BinanceExport.xlsx) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39284/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39284/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39285 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39285/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39285/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39285/events | https://github.com/pandas-dev/pandas/pull/39285 | 789,563,802 | MDExOlB1bGxSZXF1ZXN0NTU3ODkyMDY0 | 39,285 | Series with dtype=object does unexpected type conversion | {
"avatar_url": "https://avatars.githubusercontent.com/u/24451137?v=4",
"events_url": "https://api.github.com/users/ftrihardjo/events{/privacy}",
"followers_url": "https://api.github.com/users/ftrihardjo/followers",
"following_url": "https://api.github.com/users/ftrihardjo/following{/other_user}",
"gists_url": "https://api.github.com/users/ftrihardjo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ftrihardjo",
"id": 24451137,
"login": "ftrihardjo",
"node_id": "MDQ6VXNlcjI0NDUxMTM3",
"organizations_url": "https://api.github.com/users/ftrihardjo/orgs",
"received_events_url": "https://api.github.com/users/ftrihardjo/received_events",
"repos_url": "https://api.github.com/users/ftrihardjo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ftrihardjo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ftrihardjo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ftrihardjo"
} | [
{
"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": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 2 | 2021-01-20T02:17:21Z | 2021-01-28T14:59:33Z | 2021-01-28T14:59:30Z | CONTRIBUTOR | null | - [ ] closes #21881
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/39285/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39285/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39285.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39285",
"merged_at": "2021-01-28T14:59:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39285.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39285"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39286 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39286/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39286/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39286/events | https://github.com/pandas-dev/pandas/issues/39286 | 789,636,048 | MDU6SXNzdWU3ODk2MzYwNDg= | 39,286 | TST: test_to_csv_compression_encoding_gcs fails sometimes | {
"avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4",
"events_url": "https://api.github.com/users/twoertwein/events{/privacy}",
"followers_url": "https://api.github.com/users/twoertwein/followers",
"following_url": "https://api.github.com/users/twoertwein/following{/other_user}",
"gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twoertwein",
"id": 6618166,
"login": "twoertwein",
"node_id": "MDQ6VXNlcjY2MTgxNjY=",
"organizations_url": "https://api.github.com/users/twoertwein/orgs",
"received_events_url": "https://api.github.com/users/twoertwein/received_events",
"repos_url": "https://api.github.com/users/twoertwein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twoertwein"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 0 | 2021-01-20T05:07:00Z | 2021-01-21T17:23:23Z | 2021-01-21T17:23:23Z | CONTRIBUTOR | null | only seems to happen sometimes in "Database / Linux_py37_cov"
```python
_______________ test_to_csv_compression_encoding_gcs[zip-cp1251] _______________
[gw1] linux -- Python 3.7.9 /usr/share/miniconda/envs/pandas-dev/bin/python
gcs_buffer = <_io.BytesIO object at 0x7f4959d0b650>, compression_only = 'zip'
encoding = 'cp1251'
@td.skip_if_no("gcsfs")
@pytest.mark.parametrize("encoding", ["utf-8", "cp1251"])
def test_to_csv_compression_encoding_gcs(gcs_buffer, compression_only, encoding):
"""
Compression and encoding should with GCS.
GH 35677 (to_csv, compression), GH 26124 (to_csv, encoding), and
GH 32392 (read_csv, encoding)
"""
from fsspec import registry
registry.target.clear() # remove state
df = tm.makeDataFrame()
# reference of compressed and encoded file
compression = {"method": compression_only}
if compression_only == "gzip":
compression["mtime"] = 1 # be reproducible
buffer = BytesIO()
df.to_csv(buffer, compression=compression, encoding=encoding, mode="wb")
# write compressed file with explicit compression
path_gcs = "gs://test/test.csv"
df.to_csv(path_gcs, compression=compression, encoding=encoding)
> assert gcs_buffer.getvalue() == buffer.getvalue()
E AssertionError: assert b'PK\x03\x04\...0\x00\x00\x00' == b'PK\x03\x04\...0\x00\x00\x00'
E At index 10 diff: b'\xa6' != b'\xa5'
E Use -v to get the full diff
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39286/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39286/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39287 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39287/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39287/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39287/events | https://github.com/pandas-dev/pandas/pull/39287 | 789,708,307 | MDExOlB1bGxSZXF1ZXN0NTU4MDE0NjM1 | 39,287 | REF: split describe categorical function | {
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 0 | 2021-01-20T07:14:41Z | 2021-01-20T15:17:03Z | 2021-01-20T14:52:46Z | MEMBER | null | - [ ] xref #36833
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Moved handing timestamp data from ``describe_categorical_1d`` into ``describe_timestamp_as_categorical_1d``.
Extracted function ``select_describe_func`` for selecting the proper function, suitable for a given data type.
Pros:
- Simplified logic on which function is selected for which data type.
- Improved way of issuing ``FutureWarning``.
- Next logical step in enabling the strategy pattern.
Cons:
- Unnecessary argument ``percentiles_ignored`` passed into functions for handling categorical types. This is done to unify the interface across all functions for describing a series. The problem will be handled when enabling strategy pattern as the percentiles will become an instance attribute for the strategy class.
- Slight duplication in ``describe_categorical_1d`` into ``describe_timestamp_as_categorical_1d``, which will be handled as the strategy class for categorical data is created (it will be encapsulated there). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39287/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39287/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39287.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39287",
"merged_at": "2021-01-20T14:52:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39287.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39287"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39288 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39288/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39288/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39288/events | https://github.com/pandas-dev/pandas/pull/39288 | 789,716,088 | MDExOlB1bGxSZXF1ZXN0NTU4MDIxMDkz | 39,288 | Backport PR #39239 on branch 1.2.x (DEPR: raise deprecation warning in numpy ufuncs on DataFrames if not aligned + fallback to <1.2.0 behaviour) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [] | closed | false | null | [] | {
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"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.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
} | 0 | 2021-01-20T07:28:05Z | 2021-01-20T08:15:48Z | 2021-01-20T08:15:48Z | NONE | null | Backport PR #39239: DEPR: raise deprecation warning in numpy ufuncs on DataFrames if not aligned + fallback to <1.2.0 behaviour | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39288/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39288/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39288.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39288",
"merged_at": "2021-01-20T08:15:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39288.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39288"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39289 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39289/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39289/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39289/events | https://github.com/pandas-dev/pandas/pull/39289 | 789,801,015 | MDExOlB1bGxSZXF1ZXN0NTU4MDkxNzM3 | 39,289 | 'lower' method causing problems when individual values are being read as 'int' | {
"avatar_url": "https://avatars.githubusercontent.com/u/24621462?v=4",
"events_url": "https://api.github.com/users/AbhinavRao23/events{/privacy}",
"followers_url": "https://api.github.com/users/AbhinavRao23/followers",
"following_url": "https://api.github.com/users/AbhinavRao23/following{/other_user}",
"gists_url": "https://api.github.com/users/AbhinavRao23/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AbhinavRao23",
"id": 24621462,
"login": "AbhinavRao23",
"node_id": "MDQ6VXNlcjI0NjIxNDYy",
"organizations_url": "https://api.github.com/users/AbhinavRao23/orgs",
"received_events_url": "https://api.github.com/users/AbhinavRao23/received_events",
"repos_url": "https://api.github.com/users/AbhinavRao23/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AbhinavRao23/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AbhinavRao23/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AbhinavRao23"
} | [
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] | closed | false | null | [] | null | 2 | 2021-01-20T09:26:53Z | 2021-02-11T00:35:01Z | 2021-02-11T00:35:01Z | NONE | null | - couldn't run tests as using company locked system
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39289/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39289/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39289.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39289",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39289.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39289"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39290 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39290/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39290/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39290/events | https://github.com/pandas-dev/pandas/issues/39290 | 789,813,016 | MDU6SXNzdWU3ODk4MTMwMTY= | 39,290 | DOC: fix the incorrect doc style in 1.2.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4",
"events_url": "https://api.github.com/users/debnathshoham/events{/privacy}",
"followers_url": "https://api.github.com/users/debnathshoham/followers",
"following_url": "https://api.github.com/users/debnathshoham/following{/other_user}",
"gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/debnathshoham",
"id": 6472290,
"login": "debnathshoham",
"node_id": "MDQ6VXNlcjY0NzIyOTA=",
"organizations_url": "https://api.github.com/users/debnathshoham/orgs",
"received_events_url": "https://api.github.com/users/debnathshoham/received_events",
"repos_url": "https://api.github.com/users/debnathshoham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/debnathshoham"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4",
"events_url": "https://api.github.com/users/debnathshoham/events{/privacy}",
"followers_url": "https://api.github.com/users/debnathshoham/followers",
"following_url": "https://api.github.com/users/debnathshoham/following{/other_user}",
"gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/debnathshoham",
"id": 6472290,
"login": "debnathshoham",
"node_id": "MDQ6VXNlcjY0NzIyOTA=",
"organizations_url": "https://api.github.com/users/debnathshoham/orgs",
"received_events_url": "https://api.github.com/users/debnathshoham/received_events",
"repos_url": "https://api.github.com/users/debnathshoham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/debnathshoham"
}
] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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.3.x",
"due_on": "2021-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 7 | 2021-01-20T09:43:08Z | 2021-07-08T13:11:03Z | 2021-07-08T13:11:03Z | CONTRIBUTOR | null | @jorisvandenbossche pls following up and fix the docs
it's not a style issue rather this is completely inconsistent with the current docs
we NEVER use the style - always ipython docs style
__Originally posted by @jreback in https://github.com/pandas-dev/pandas/pull/39239#issuecomment-763475054__ | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39290/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39290/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39291 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39291/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39291/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39291/events | https://github.com/pandas-dev/pandas/issues/39291 | 789,893,341 | MDU6SXNzdWU3ODk4OTMzNDE= | 39,291 | DOC: Fix inaccurate statement in 1.2.0 release notes | {
"avatar_url": "https://avatars.githubusercontent.com/u/4407787?v=4",
"events_url": "https://api.github.com/users/rs2/events{/privacy}",
"followers_url": "https://api.github.com/users/rs2/followers",
"following_url": "https://api.github.com/users/rs2/following{/other_user}",
"gists_url": "https://api.github.com/users/rs2/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rs2",
"id": 4407787,
"login": "rs2",
"node_id": "MDQ6VXNlcjQ0MDc3ODc=",
"organizations_url": "https://api.github.com/users/rs2/orgs",
"received_events_url": "https://api.github.com/users/rs2/received_events",
"repos_url": "https://api.github.com/users/rs2/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rs2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rs2/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rs2"
} | [
{
"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": "2021-02-09T11:58:00Z",
"closed_issues": 89,
"created_at": "2021-01-16T01:20:17Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-02-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/82",
"id": 6317919,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82/labels",
"node_id": "MDk6TWlsZXN0b25lNjMxNzkxOQ==",
"number": 82,
"open_issues": 0,
"state": "closed",
"title": "1.2.2",
"updated_at": "2021-02-09T21:26:11Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82"
} | 1 | 2021-01-20T11:27:14Z | 2021-01-21T15:44:04Z | 2021-01-21T15:44:04Z | CONTRIBUTOR | null | #### Location of the documentation
https://pandas.pydata.org/docs/whatsnew/v1.2.0.html
#### Suggested fix for documentation
It would be more accurate for [this line](https://github.com/pandas-dev/pandas/blame/ff628b17ccfcaf14ceefeb438aafa56d3849937c/doc/source/whatsnew/v1.2.0.rst#L749) to reference https://github.com/pandas-dev/pandas/pull/37983 (itself) as #27101 does _not_ deal with the `xarray` upgrade, whereas #37983 does.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39291/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39291/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39292 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39292/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39292/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39292/events | https://github.com/pandas-dev/pandas/pull/39292 | 789,971,944 | MDExOlB1bGxSZXF1ZXN0NTU4MjM1OTgy | 39,292 | Default behaviour for return_type = None corrected. | {
"avatar_url": "https://avatars.githubusercontent.com/u/15379278?v=4",
"events_url": "https://api.github.com/users/rajat315315/events{/privacy}",
"followers_url": "https://api.github.com/users/rajat315315/followers",
"following_url": "https://api.github.com/users/rajat315315/following{/other_user}",
"gists_url": "https://api.github.com/users/rajat315315/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rajat315315",
"id": 15379278,
"login": "rajat315315",
"node_id": "MDQ6VXNlcjE1Mzc5Mjc4",
"organizations_url": "https://api.github.com/users/rajat315315/orgs",
"received_events_url": "https://api.github.com/users/rajat315315/received_events",
"repos_url": "https://api.github.com/users/rajat315315/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rajat315315/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rajat315315/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rajat315315"
} | [] | closed | false | null | [] | null | 1 | 2021-01-20T13:18:48Z | 2021-01-24T12:32:53Z | 2021-01-24T12:32:53Z | NONE | null | - [x] closes #35518
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39292/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39292/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39292.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39292",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39292.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39292"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39293 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39293/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39293/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39293/events | https://github.com/pandas-dev/pandas/pull/39293 | 789,974,984 | MDExOlB1bGxSZXF1ZXN0NTU4MjM4NDY0 | 39,293 | STYLE: dont use pd api types in tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8852168?v=4",
"events_url": "https://api.github.com/users/nofarm3/events{/privacy}",
"followers_url": "https://api.github.com/users/nofarm3/followers",
"following_url": "https://api.github.com/users/nofarm3/following{/other_user}",
"gists_url": "https://api.github.com/users/nofarm3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nofarm3",
"id": 8852168,
"login": "nofarm3",
"node_id": "MDQ6VXNlcjg4NTIxNjg=",
"organizations_url": "https://api.github.com/users/nofarm3/orgs",
"received_events_url": "https://api.github.com/users/nofarm3/received_events",
"repos_url": "https://api.github.com/users/nofarm3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nofarm3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nofarm3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nofarm3"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | closed | false | null | [] | {
"closed_at": "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 | 2021-01-20T13:23:01Z | 2021-01-21T17:30:12Z | 2021-01-21T15:04:53Z | CONTRIBUTOR | null | - [x] closes #39203
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [] whatsnew entry
I didn't add a whatsnew entry since it's only style fixes.
I'll open a new issue regarding @jreback suggestion to ban this with a precommit style rule.
I prefer it to be done in a different 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/39293/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39293/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39293.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39293",
"merged_at": "2021-01-21T15:04:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39293.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39293"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39294 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39294/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39294/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39294/events | https://github.com/pandas-dev/pandas/pull/39294 | 789,975,873 | MDExOlB1bGxSZXF1ZXN0NTU4MjM5MjEw | 39,294 | Backport PR #39234 on branch 1.2.x (DOC: Start v1.2.2 release notes) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-02-09T11:58:00Z",
"closed_issues": 89,
"created_at": "2021-01-16T01:20:17Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-02-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/82",
"id": 6317919,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82/labels",
"node_id": "MDk6TWlsZXN0b25lNjMxNzkxOQ==",
"number": 82,
"open_issues": 0,
"state": "closed",
"title": "1.2.2",
"updated_at": "2021-02-09T21:26:11Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82"
} | 1 | 2021-01-20T13:24:12Z | 2021-01-20T14:40:23Z | 2021-01-20T14:40:23Z | NONE | null | Backport PR #39234: DOC: Start v1.2.2 release notes | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39294/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39294/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39294.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39294",
"merged_at": "2021-01-20T14:40:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39294.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39294"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39295 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39295/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39295/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39295/events | https://github.com/pandas-dev/pandas/issues/39295 | 789,994,780 | MDU6SXNzdWU3ODk5OTQ3ODA= | 39,295 | RLS: 1.2.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
] | closed | false | null | [] | {
"closed_at": "2021-02-09T11:58:00Z",
"closed_issues": 89,
"created_at": "2021-01-16T01:20:17Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-02-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/82",
"id": 6317919,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82/labels",
"node_id": "MDk6TWlsZXN0b25lNjMxNzkxOQ==",
"number": 82,
"open_issues": 0,
"state": "closed",
"title": "1.2.2",
"updated_at": "2021-02-09T21:26:11Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82"
} | 19 | 2021-01-20T13:49:02Z | 2021-02-09T21:41:35Z | 2021-02-09T21:26:11Z | MEMBER | null | Tracking issue for the 1.2.2 release.
https://github.com/pandas-dev/pandas/milestone/82
Currently scheduled for February 07, 2021
List of open regressions: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3ARegression | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39295/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39295/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39296 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39296/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39296/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39296/events | https://github.com/pandas-dev/pandas/pull/39296 | 790,029,906 | MDExOlB1bGxSZXF1ZXN0NTU4MjgzMzAx | 39,296 | BUG: of apply function of DataFrame reported in issues #39166 | {
"avatar_url": "https://avatars.githubusercontent.com/u/11253854?v=4",
"events_url": "https://api.github.com/users/jitendra29mishra/events{/privacy}",
"followers_url": "https://api.github.com/users/jitendra29mishra/followers",
"following_url": "https://api.github.com/users/jitendra29mishra/following{/other_user}",
"gists_url": "https://api.github.com/users/jitendra29mishra/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jitendra29mishra",
"id": 11253854,
"login": "jitendra29mishra",
"node_id": "MDQ6VXNlcjExMjUzODU0",
"organizations_url": "https://api.github.com/users/jitendra29mishra/orgs",
"received_events_url": "https://api.github.com/users/jitendra29mishra/received_events",
"repos_url": "https://api.github.com/users/jitendra29mishra/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jitendra29mishra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jitendra29mishra/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jitendra29mishra"
} | [
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] | closed | false | null | [] | null | 0 | 2021-01-20T14:31:57Z | 2021-01-25T16:27:28Z | 2021-01-25T16:27:28Z | NONE | null | - [x] closes #39166
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/39296/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39296/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39296.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39296",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39296.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39296"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39297 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39297/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39297/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39297/events | https://github.com/pandas-dev/pandas/issues/39297 | 790,031,232 | MDU6SXNzdWU3OTAwMzEyMzI= | 39,297 | BUG: ExcelWriter creates Excel file with wrong sheet name. | {
"avatar_url": "https://avatars.githubusercontent.com/u/17886675?v=4",
"events_url": "https://api.github.com/users/izanbf1803/events{/privacy}",
"followers_url": "https://api.github.com/users/izanbf1803/followers",
"following_url": "https://api.github.com/users/izanbf1803/following{/other_user}",
"gists_url": "https://api.github.com/users/izanbf1803/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/izanbf1803",
"id": 17886675,
"login": "izanbf1803",
"node_id": "MDQ6VXNlcjE3ODg2Njc1",
"organizations_url": "https://api.github.com/users/izanbf1803/orgs",
"received_events_url": "https://api.github.com/users/izanbf1803/received_events",
"repos_url": "https://api.github.com/users/izanbf1803/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/izanbf1803/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/izanbf1803/subscriptions",
"type": "User",
"url": "https://api.github.com/users/izanbf1803"
} | [
{
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "d8439a",
"default": false,
"description": "Issue related to pandas dependency",
"id": 2533668378,
"name": "Upstream issue",
"node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 4 | 2021-01-20T14:33:39Z | 2021-08-15T03:34:04Z | 2021-08-15T03:34:04Z | 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
writer = pd.ExcelWriter("test.xlsx", engine="openpyxl")
pd.DataFrame().to_excel(writer, sheet_name="sheet", index=False)
writer.save()
pd.read_excel("test.xlsx", sheet_name="sheet")
>> KeyError: 'Worksheet sheet does not exist.'
```
#### Problem description
Executing DataFrame.to_excel() with sheet_name="sheet" creates an Excel with a sheet named "sheet1" instead of the requested name "sheet".
#### Expected Output
An Excel with a sheet named "sheet".
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 9d598a5e1eee26df95b3910e3f2934890d062caa
python : 3.7.7.final.0
python-bits : 64
OS : Linux
OS-release : 5.8.0-38-generic
Version : #43~20.04.1-Ubuntu SMP Tue Jan 12 16:39:47 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : es_ES.UTF-8
LOCALE : es_ES.UTF-8
pandas : 1.2.1
numpy : 1.19.5
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 41.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39297/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39297/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39298 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39298/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39298/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39298/events | https://github.com/pandas-dev/pandas/pull/39298 | 790,106,861 | MDExOlB1bGxSZXF1ZXN0NTU4MzQ3MDMy | 39,298 | REF: add skeleton for strategy pattern in describe | {
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
} | [] | closed | false | null | [] | null | 4 | 2021-01-20T15:58:06Z | 2021-01-28T15:30:09Z | 2021-01-28T15:30:09Z | MEMBER | null | - [ ] xref #36833
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Added a skeleton for the strategy pattern in ``pandas/core/describe.py``.
Currently the methods ``describe`` simply delegate to the corresponding ``describe_`` functions.
In the next steps I plan on moving the ``describe`` functions into each of the strategy classes.
Finally, these functions can be unified, since a lot there has a common pattern. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39298/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39298/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39298.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39298",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39298.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39298"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39299 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39299/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39299/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39299/events | https://github.com/pandas-dev/pandas/pull/39299 | 790,110,365 | MDExOlB1bGxSZXF1ZXN0NTU4MzUwMDA4 | 39,299 | CLN, TYP Remove string type hints | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"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": "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"
} | 2 | 2021-01-20T16:02:21Z | 2021-01-21T12:15:35Z | 2021-01-21T11:21:08Z | MEMBER | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
For some background: there was some consensus on doing this [here](https://github.com/pandas-dev/pandas/pull/36034#issuecomment-685186742)
Then [here](https://github.com/pandas-dev/pandas/pull/39270#pullrequestreview-571190631) there was the suggestion to use `ast.parse`, rather than regular expressions. I had a go at that, and made this into its own package: https://github.com/MarcoGorelli/no-string-hints , which I've included here as a pre-commit hook
The changes here are just a result of running `pre-commit run no-string-hints -a`, and then adding `from __future__ import annotations` to some files. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39299/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39299/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39299.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39299",
"merged_at": "2021-01-21T11:21:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39299.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39299"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39300 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39300/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39300/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39300/events | https://github.com/pandas-dev/pandas/issues/39300 | 790,137,182 | MDU6SXNzdWU3OTAxMzcxODI= | 39,300 | STYLE: Add a precommit rule that validates there is no usage in pd.api.types.<method> | {
"avatar_url": "https://avatars.githubusercontent.com/u/8852168?v=4",
"events_url": "https://api.github.com/users/nofarm3/events{/privacy}",
"followers_url": "https://api.github.com/users/nofarm3/followers",
"following_url": "https://api.github.com/users/nofarm3/following{/other_user}",
"gists_url": "https://api.github.com/users/nofarm3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nofarm3",
"id": 8852168,
"login": "nofarm3",
"node_id": "MDQ6VXNlcjg4NTIxNjg=",
"organizations_url": "https://api.github.com/users/nofarm3/orgs",
"received_events_url": "https://api.github.com/users/nofarm3/received_events",
"repos_url": "https://api.github.com/users/nofarm3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nofarm3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nofarm3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nofarm3"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/8852168?v=4",
"events_url": "https://api.github.com/users/nofarm3/events{/privacy}",
"followers_url": "https://api.github.com/users/nofarm3/followers",
"following_url": "https://api.github.com/users/nofarm3/following{/other_user}",
"gists_url": "https://api.github.com/users/nofarm3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nofarm3",
"id": 8852168,
"login": "nofarm3",
"node_id": "MDQ6VXNlcjg4NTIxNjg=",
"organizations_url": "https://api.github.com/users/nofarm3/orgs",
"received_events_url": "https://api.github.com/users/nofarm3/received_events",
"repos_url": "https://api.github.com/users/nofarm3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nofarm3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nofarm3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nofarm3"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8852168?v=4",
"events_url": "https://api.github.com/users/nofarm3/events{/privacy}",
"followers_url": "https://api.github.com/users/nofarm3/followers",
"following_url": "https://api.github.com/users/nofarm3/following{/other_user}",
"gists_url": "https://api.github.com/users/nofarm3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nofarm3",
"id": 8852168,
"login": "nofarm3",
"node_id": "MDQ6VXNlcjg4NTIxNjg=",
"organizations_url": "https://api.github.com/users/nofarm3/orgs",
"received_events_url": "https://api.github.com/users/nofarm3/received_events",
"repos_url": "https://api.github.com/users/nofarm3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nofarm3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nofarm3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nofarm3"
}
] | null | 1 | 2021-01-20T16:34:11Z | 2021-01-20T17:29:44Z | 2021-01-20T17:29:44Z | CONTRIBUTOR | null | Followup to issue #39203
Add a precommit rule that validates there is no usage in pd.api.types.<method>
For example:
Wrong:
```pd.api.types.is_number(1)```
Right:
```
from pandas.api.types import is_number
is_number(1)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39300/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39300/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39301 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39301/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39301/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39301/events | https://github.com/pandas-dev/pandas/issues/39301 | 790,181,476 | MDU6SXNzdWU3OTAxODE0NzY= | 39,301 | CI consistently put `|` at start of line in pygrep hooks | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/66797203?v=4",
"events_url": "https://api.github.com/users/gustavocmaciel/events{/privacy}",
"followers_url": "https://api.github.com/users/gustavocmaciel/followers",
"following_url": "https://api.github.com/users/gustavocmaciel/following{/other_user}",
"gists_url": "https://api.github.com/users/gustavocmaciel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gustavocmaciel",
"id": 66797203,
"login": "gustavocmaciel",
"node_id": "MDQ6VXNlcjY2Nzk3MjAz",
"organizations_url": "https://api.github.com/users/gustavocmaciel/orgs",
"received_events_url": "https://api.github.com/users/gustavocmaciel/received_events",
"repos_url": "https://api.github.com/users/gustavocmaciel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gustavocmaciel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gustavocmaciel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gustavocmaciel"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/66797203?v=4",
"events_url": "https://api.github.com/users/gustavocmaciel/events{/privacy}",
"followers_url": "https://api.github.com/users/gustavocmaciel/followers",
"following_url": "https://api.github.com/users/gustavocmaciel/following{/other_user}",
"gists_url": "https://api.github.com/users/gustavocmaciel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gustavocmaciel",
"id": 66797203,
"login": "gustavocmaciel",
"node_id": "MDQ6VXNlcjY2Nzk3MjAz",
"organizations_url": "https://api.github.com/users/gustavocmaciel/orgs",
"received_events_url": "https://api.github.com/users/gustavocmaciel/received_events",
"repos_url": "https://api.github.com/users/gustavocmaciel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gustavocmaciel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gustavocmaciel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gustavocmaciel"
}
] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-20T17:35:04Z | 2021-01-20T22:15:15Z | 2021-01-20T22:15:15Z | MEMBER | null | Currently, the pygrep hooks have the "or" `|` symbol at the end of the line, which makes diffs longer than necessary and can cause bugs. It would be better to put that symbol at the beginning of the line.
For example, instead of
```
- id: non-standard-numpy.random-related-imports
name: Check for non-standard numpy.random-related imports excluding pandas/_testing.py
language: pygrep
exclude: pandas/_testing.py
entry: |
(?x)
# Check for imports from np.random.<method> instead of `from numpy import random` or `from numpy.random import <method>`
from\ numpy\ import\ random|
from\ numpy.random\ import
```
it should be
```
- id: non-standard-numpy.random-related-imports
name: Check for non-standard numpy.random-related imports excluding pandas/_testing.py
language: pygrep
exclude: pandas/_testing.py
entry: |
(?x)
# Check for imports from np.random.<method> instead of `from numpy import random` or `from numpy.random import <method>`
from\ numpy\ import\ random
|from\ numpy.random\ import
```
There's even an `|` symbol missing in the `non-standard-imports-in-tests`, which should be fixed (having the symbol at the beginning of the line would probably have made this easier to spot)
The file that needs changing is `.pre-commit-config.yaml` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39301/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39301/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39302 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39302/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39302/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39302/events | https://github.com/pandas-dev/pandas/pull/39302 | 790,181,970 | MDExOlB1bGxSZXF1ZXN0NTU4NDEwMTQw | 39,302 | WIP/REF: BlockManager.setitem_blockwise | {
"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 | [] | null | 7 | 2021-01-20T17:35:48Z | 2021-11-08T16:37:01Z | 2021-01-28T21:25:54Z | MEMBER | null | Posting largely for discussion with @phofl.
Motivations:
1) Try to end up with fewer code paths for setitem so that we can ensure consistent inplace/view/copy behavior (xref #38896)
2) Simplify (ATM this does not simplify things)
3) Perf: iterating over blocks instead of columns may save some copies (though doing the Index.intersection calls may go the other way) (havent done any profiling yet)
Non-trivial overlap with #39044.
Some of this would be simplified by #39163.
No logical overlap with #39266, but will require rebase.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39302/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39302/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39302.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39302",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39302.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39302"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39303 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39303/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39303/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39303/events | https://github.com/pandas-dev/pandas/pull/39303 | 790,253,983 | MDExOlB1bGxSZXF1ZXN0NTU4NDcwMjE2 | 39,303 | [DOC/WEB]: Resolving 'Getting started' URL ambiguity in pandas.io(Issue #32307) | {
"avatar_url": "https://avatars.githubusercontent.com/u/23338562?v=4",
"events_url": "https://api.github.com/users/SouravPal1995/events{/privacy}",
"followers_url": "https://api.github.com/users/SouravPal1995/followers",
"following_url": "https://api.github.com/users/SouravPal1995/following{/other_user}",
"gists_url": "https://api.github.com/users/SouravPal1995/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SouravPal1995",
"id": 23338562,
"login": "SouravPal1995",
"node_id": "MDQ6VXNlcjIzMzM4NTYy",
"organizations_url": "https://api.github.com/users/SouravPal1995/orgs",
"received_events_url": "https://api.github.com/users/SouravPal1995/received_events",
"repos_url": "https://api.github.com/users/SouravPal1995/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SouravPal1995/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SouravPal1995/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SouravPal1995"
} | [
{
"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": "78bced",
"default": false,
"description": "Waiting for review/response from a maintainer.",
"id": 2324533627,
"name": "Needs Review",
"node_id": "MDU6TGFiZWwyMzI0NTMzNjI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review"
}
] | closed | false | null | [] | null | 4 | 2021-01-20T19:29:57Z | 2021-07-11T23:40:17Z | 2021-07-11T23:40:17Z | NONE | null | The Following goals are being accomplished in this PR:
- [x] Having the navigation bar's 'Getting Started' link point to `/docs/getting_started/index.html` from `/getting_started.html`
- [x] Removing the redundant markup `pandas/web/pandas/getting_started.md`.
<!--- [x] Adding above redirecting information in `pandas/doc/redirect.csv`.-->
#32307
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39303/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39303/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39303.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39303",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39303.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39303"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39304 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39304/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39304/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39304/events | https://github.com/pandas-dev/pandas/pull/39304 | 790,293,069 | MDExOlB1bGxSZXF1ZXN0NTU4NTAzODIw | 39,304 | CLN: consistently put '|' at start of line in pygrep hooks #39301 | {
"avatar_url": "https://avatars.githubusercontent.com/u/66797203?v=4",
"events_url": "https://api.github.com/users/gustavocmaciel/events{/privacy}",
"followers_url": "https://api.github.com/users/gustavocmaciel/followers",
"following_url": "https://api.github.com/users/gustavocmaciel/following{/other_user}",
"gists_url": "https://api.github.com/users/gustavocmaciel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gustavocmaciel",
"id": 66797203,
"login": "gustavocmaciel",
"node_id": "MDQ6VXNlcjY2Nzk3MjAz",
"organizations_url": "https://api.github.com/users/gustavocmaciel/orgs",
"received_events_url": "https://api.github.com/users/gustavocmaciel/received_events",
"repos_url": "https://api.github.com/users/gustavocmaciel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gustavocmaciel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gustavocmaciel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gustavocmaciel"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-20T20:20:43Z | 2021-01-20T22:15:36Z | 2021-01-20T22:15:15Z | CONTRIBUTOR | null | - [x] closes #39301
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
I moved the `|` symbols from the end of the line to the beginning of the line in pygrep hooks.
I also added the `|` symbol in the `non-standard-imports-in-tests` at the beginning of the line 93, which was missing as @MarcoGorelli pointed.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39304/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39304/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39304.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39304",
"merged_at": "2021-01-20T22:15:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39304.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39304"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39305 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39305/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39305/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39305/events | https://github.com/pandas-dev/pandas/issues/39305 | 790,370,264 | MDU6SXNzdWU3OTAzNzAyNjQ= | 39,305 | BUG: DataFrame.plot(subplots=True) results in extra ticks | {
"avatar_url": "https://avatars.githubusercontent.com/u/14239619?v=4",
"events_url": "https://api.github.com/users/kylekeppler/events{/privacy}",
"followers_url": "https://api.github.com/users/kylekeppler/followers",
"following_url": "https://api.github.com/users/kylekeppler/following{/other_user}",
"gists_url": "https://api.github.com/users/kylekeppler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kylekeppler",
"id": 14239619,
"login": "kylekeppler",
"node_id": "MDQ6VXNlcjE0MjM5NjE5",
"organizations_url": "https://api.github.com/users/kylekeppler/orgs",
"received_events_url": "https://api.github.com/users/kylekeppler/received_events",
"repos_url": "https://api.github.com/users/kylekeppler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kylekeppler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kylekeppler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kylekeppler"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/40292327?v=4",
"events_url": "https://api.github.com/users/AnnaDaglis/events{/privacy}",
"followers_url": "https://api.github.com/users/AnnaDaglis/followers",
"following_url": "https://api.github.com/users/AnnaDaglis/following{/other_user}",
"gists_url": "https://api.github.com/users/AnnaDaglis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AnnaDaglis",
"id": 40292327,
"login": "AnnaDaglis",
"node_id": "MDQ6VXNlcjQwMjkyMzI3",
"organizations_url": "https://api.github.com/users/AnnaDaglis/orgs",
"received_events_url": "https://api.github.com/users/AnnaDaglis/received_events",
"repos_url": "https://api.github.com/users/AnnaDaglis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AnnaDaglis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnnaDaglis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AnnaDaglis"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/40292327?v=4",
"events_url": "https://api.github.com/users/AnnaDaglis/events{/privacy}",
"followers_url": "https://api.github.com/users/AnnaDaglis/followers",
"following_url": "https://api.github.com/users/AnnaDaglis/following{/other_user}",
"gists_url": "https://api.github.com/users/AnnaDaglis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AnnaDaglis",
"id": 40292327,
"login": "AnnaDaglis",
"node_id": "MDQ6VXNlcjQwMjkyMzI3",
"organizations_url": "https://api.github.com/users/AnnaDaglis/orgs",
"received_events_url": "https://api.github.com/users/AnnaDaglis/received_events",
"repos_url": "https://api.github.com/users/AnnaDaglis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AnnaDaglis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnnaDaglis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AnnaDaglis"
}
] | {
"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 | 2021-01-20T22:06:00Z | 2021-01-27T07:13:27Z | null | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
df = pd.DataFrame(
{
'a': np.random.randint(100, size=100),
'b': np.random.randint(100, size=100),
'c': pd.date_range(start='1/1/2018', periods=100, freq='s'),
}
)
axs = df.set_index(df['c'] + pd.to_timedelta(df['b'], unit='ms')).drop(columns='c').plot(subplots=True)
#[ax.minorticks_off() for ax in axs] # note uncomment this to work around issue
```
#### Problem description
When using `DataFrame.plot` with `subplots=True`, extra tick marks appear on the x axis.

#### Expected Output
No extra ticks. Uncomment the line above to get the below:

#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 9d598a5e1eee26df95b3910e3f2934890d062caa
python : 3.9.1.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.17763
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.2.1
numpy : 1.19.5
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 49.6.0.post20210108
Cython : None
pytest : 6.2.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39305/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39305/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39306 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39306/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39306/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39306/events | https://github.com/pandas-dev/pandas/pull/39306 | 790,383,537 | MDExOlB1bGxSZXF1ZXN0NTU4NTgyNDIx | 39,306 | ENH: PeriodIndex setops with incompatible freq cast instead of raise | {
"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"
}
] | 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"
} | 0 | 2021-01-20T22:23:46Z | 2021-01-21T15:24:33Z | 2021-01-21T15:16:16Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Did the same thing for IntervalIndex earlier in #39267 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39306/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39306/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39306.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39306",
"merged_at": "2021-01-21T15:16:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39306.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39306"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39307 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39307/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39307/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39307/events | https://github.com/pandas-dev/pandas/issues/39307 | 790,383,929 | MDU6SXNzdWU3OTAzODM5Mjk= | 39,307 | BUG: DataFrame and Series constructor inconsistent in handling of Datetimelike object index | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] | open | false | null | [] | null | 3 | 2021-01-20T22:24:16Z | 2021-08-15T03:35:58Z | null | MEMBER | null | - [x] I have checked that this issue has not already been reported. (Looked through and could not find anything)
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
idx = pd.Index([pd.Timestamp("2011-01-01")], dtype=object)
ser = pd.Series([1], index=idx)
df = pd.DataFrame([1], index=idx)
ser.index
Out[4]: DatetimeIndex(['2011-01-01'], dtype='datetime64[ns]', freq=None)
df.index
Out[5]: Index([2011-01-01 00:00:00], dtype='object')
```
#### Problem description
The behavior should be consistent, but not sure what to expected here. The inference is a nice feature although.
The current behavior leads to weird situations with indexing:
```
ser.loc["2011"]
Out[7]:
2011-01-01 1
dtype: int64
```
works while
```
df.loc["2011"]
Traceback (most recent call last):
File "/home/developer/PycharmProjects/pandas/pandas/core/indexes/base.py", line 3225, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
cpdef get_loc(self, object val):
File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
return self.mapping.get_item(val)
File "pandas/_libs/hashtable_class_helper.pxi", line 5038, in pandas._libs.hashtable.PyObjectHashTable.get_item
cpdef get_item(self, object val):
File "pandas/_libs/hashtable_class_helper.pxi", line 5046, in pandas._libs.hashtable.PyObjectHashTable.get_item
raise KeyError(val)
KeyError: '2011'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/developer/anaconda3/envs/omi_reports/pandas-dev/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3417, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-8-59984db8d56a>", line 1, in <module>
df.loc["2011"]
File "/home/developer/PycharmProjects/pandas/pandas/core/indexing.py", line 902, in __getitem__
return self._getitem_axis(maybe_callable, axis=axis)
File "/home/developer/PycharmProjects/pandas/pandas/core/indexing.py", line 1128, in _getitem_axis
return self._get_label(key, axis=axis)
File "/home/developer/PycharmProjects/pandas/pandas/core/indexing.py", line 1077, in _get_label
return self.obj.xs(label, axis=axis)
File "/home/developer/PycharmProjects/pandas/pandas/core/generic.py", line 3752, in xs
loc = index.get_loc(key)
File "/home/developer/PycharmProjects/pandas/pandas/core/indexes/base.py", line 3227, in get_loc
raise KeyError(key) from err
KeyError: '2011'
```
#### Expected Output
Bot returning the same index dtype
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : ff628b17ccfcaf14ceefeb438aafa56d3849937c
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 5.8.0-38-generic
Version : #43~20.04.1-Ubuntu SMP Tue Jan 12 16:39:47 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0.dev0+483.gff628b17cc.dirty
numpy : 1.21.0.dev0+438.gbf4ac1f81
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : 6.1.1
hypothesis : 5.37.1
sphinx : 3.4.3
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : 0.4.1
gcsfs : 0.7.1
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : 0.4.2
scipy : 1.7.0.dev0+5e9eb01
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.1
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.51.2
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39307/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39307/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39308 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39308/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39308/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39308/events | https://github.com/pandas-dev/pandas/pull/39308 | 790,440,084 | MDExOlB1bGxSZXF1ZXN0NTU4NjM0MjM1 | 39,308 | BUG: date_range hitting iNaT | {
"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"
}
] | 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"
} | 0 | 2021-01-20T23:21:12Z | 2021-01-21T01:56:01Z | 2021-01-21T00:50:18Z | MEMBER | null | - [x] closes #24124
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39308/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39308/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39308.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39308",
"merged_at": "2021-01-21T00:50:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39308.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39308"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39309 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39309/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39309/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39309/events | https://github.com/pandas-dev/pandas/issues/39309 | 790,484,893 | MDU6SXNzdWU3OTA0ODQ4OTM= | 39,309 | BUG: read_sas() value error related to datetime format | {
"avatar_url": "https://avatars.githubusercontent.com/u/25326832?v=4",
"events_url": "https://api.github.com/users/AshleyOboe/events{/privacy}",
"followers_url": "https://api.github.com/users/AshleyOboe/followers",
"following_url": "https://api.github.com/users/AshleyOboe/following{/other_user}",
"gists_url": "https://api.github.com/users/AshleyOboe/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AshleyOboe",
"id": 25326832,
"login": "AshleyOboe",
"node_id": "MDQ6VXNlcjI1MzI2ODMy",
"organizations_url": "https://api.github.com/users/AshleyOboe/orgs",
"received_events_url": "https://api.github.com/users/AshleyOboe/received_events",
"repos_url": "https://api.github.com/users/AshleyOboe/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AshleyOboe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AshleyOboe/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AshleyOboe"
} | [
{
"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 behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
] | closed | false | null | [] | null | 2 | 2021-01-21T00:14:56Z | 2021-02-07T15:17:10Z | 2021-02-07T15:17:10Z | 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
def convert_encounter_chunks(file, inpath, outpath, param_encoding='latin1', param_chunksize=500000, debug=False):
starttime=datetime.datetime.now()
print("start time:-", starttime )
filepath=f"{TNP_BUCKET}/{file}"
print('converting ', filepath )
dfreader=pd.read_sas(filepath,
encoding=param_encoding,
chunksize=param_chunksize,iterator=True)
label=file.split('.')[0]
outpath_base=f"{outpath}/{label}"
iter=0
for chunk in dfreader:
chunk.to_parquet(f"{outpath_base}_{iter}")
itertime=datetime.datetime.now()
print("chunk time:-", itertime )
iterdiff=itertime-starttime
cumminutes = iterdiff.seconds / 60
print('Cumulative Time in minutes: ', cumminutes)
iter=iter+1
if debug==True and iter>1:
print('Debug mode on only running two iterations')
break
print("end time:-", endtime )
#display(dfs[0])
```
#### Problem description
A value error is returned related to date formats. I believe the data value meets the datetime criteria but then there is an error when actually implementing the datetime.
Here's the stacktrace:
```python-traceback
`---------------------------------------------------------------------------
OutOfBoundsDatetime Traceback (most recent call last)
/opt/conda/lib/python3.7/site-packages/pandas/io/sas/sas7bdat.py in _convert_datetimes(sas_datetimes, unit)
51 try:
---> 52 return pd.to_datetime(sas_datetimes, unit=unit, origin="1960-01-01")
53 except OutOfBoundsDatetime:
/opt/conda/lib/python3.7/site-packages/pandas/core/tools/datetimes.py in to_datetime(arg, errors, dayfirst, yearfirst, utc, format, exact, unit, infer_datetime_format, origin, cache)
804 else:
--> 805 values = convert_listlike(arg._values, format)
806 result = arg._constructor(values, index=arg.index, name=arg.name)
/opt/conda/lib/python3.7/site-packages/pandas/core/tools/datetimes.py in _convert_listlike_datetimes(arg, format, name, tz, unit, errors, infer_datetime_format, dayfirst, yearfirst, exact)
345 result, tz_parsed = tslib.array_with_unit_to_datetime(
--> 346 arg, unit, errors=errors
347 )
pandas/_libs/tslib.pyx in pandas._libs.tslib.array_with_unit_to_datetime()
OutOfBoundsDatetime: cannot convert input with unit 'd'
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
<ipython-input-21-6b87792f6a22> in <module>
1 myfile='nicuid_encounter_infant.sas7bdat'
----> 2 convert_encounter_chunks(myfile, TNP_BUCKET, TNP_BUCKET_CONVERTED, param_chunksize=2000000, debug=False)
<ipython-input-20-9b8da485bcb0> in convert_encounter_chunks(file, inpath, outpath, param_encoding, param_chunksize, debug)
21 dfs = [] # holds data chunks
22 iter=0
---> 23 for chunk in dfreader:
24 #dfs.append(chunk)
25 #df=dfs[iter]
/opt/conda/lib/python3.7/site-packages/pandas/io/sas/sas7bdat.py in __next__(self)
330
331 def __next__(self):
--> 332 da = self.read(nrows=self.chunksize or 1)
333 if da is None:
334 self.close()
/opt/conda/lib/python3.7/site-packages/pandas/io/sas/sas7bdat.py in read(self, nrows)
721 p.read(nrows)
722
--> 723 rslt = self._chunk_to_dataframe()
724 if self.index is not None:
725 rslt = rslt.set_index(self.index)
/opt/conda/lib/python3.7/site-packages/pandas/io/sas/sas7bdat.py in _chunk_to_dataframe(self)
769 if self.convert_dates:
770 if self.column_formats[j] in const.sas_date_formats:
--> 771 rslt[name] = _convert_datetimes(rslt[name], "d")
772 elif self.column_formats[j] in const.sas_datetime_formats:
773 rslt[name] = _convert_datetimes(rslt[name], "s")
/opt/conda/lib/python3.7/site-packages/pandas/io/sas/sas7bdat.py in _convert_datetimes(sas_datetimes, unit)
58 elif unit == "d":
59 return sas_datetimes.apply(
---> 60 lambda sas_float: datetime(1960, 1, 1) + timedelta(days=sas_float)
61 )
62 else:
/opt/conda/lib/python3.7/site-packages/pandas/core/series.py in apply(self, func, convert_dtype, args, **kwds)
4106 else:
4107 values = self.astype(object)._values
-> 4108 mapped = lib.map_infer(values, f, convert=convert_dtype)
4109
4110 if len(mapped) and isinstance(mapped[0], Series):
pandas/_libs/lib.pyx in pandas._libs.lib.map_infer()
/opt/conda/lib/python3.7/site-packages/pandas/io/sas/sas7bdat.py in <lambda>(sas_float)
58 elif unit == "d":
59 return sas_datetimes.apply(
---> 60 lambda sas_float: datetime(1960, 1, 1) + timedelta(days=sas_float)
61 )
62 else:
ValueError: cannot convert float NaN to integer
`
```
#### Expected Output
No error / successful conversion
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.7.8.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.0-12-cloud-amd64
Version : #1 SMP Debian 4.19.152-1 (2020-10-18)
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.0
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : 6.1.2
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.4
fastparquet : 0.5.0
gcsfs : 0.7.1
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : None
scipy : 1.5.3
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.49.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39309/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39309/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39310 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39310/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39310/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39310/events | https://github.com/pandas-dev/pandas/pull/39310 | 790,638,028 | MDExOlB1bGxSZXF1ZXN0NTU4ODE2NjM1 | 39,310 | CI: fix flaky tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-21T02:52:50Z | 2021-01-21T15:21:43Z | 2021-01-21T15:13:00Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/39310/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39310/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39310.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39310",
"merged_at": "2021-01-21T15:13:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39310.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39310"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39311 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39311/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39311/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39311/events | https://github.com/pandas-dev/pandas/pull/39311 | 790,651,395 | MDExOlB1bGxSZXF1ZXN0NTU4ODI4MDQw | 39,311 | REF: Move part of groupby.agg to apply | {
"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": "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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-21T03:22:50Z | 2021-01-28T23:00:37Z | 2021-01-22T14:00:16Z | MEMBER | null | - [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
pre-commit adjusted to account for the false positive on `Union[SeriesGroupBy, DataFrameGroupBy]`.
Moves part of groupby.agg implementation from `pandas.core.aggregation` to `pandas.core.apply`. The only difference in the code is that in `apply`, the error message raised is different when the argument is a string (e.g. "sum") and the kwarg axis=1 is provided. Added a test to check for error message.
After this will be resample and rolling, then much of the implementation code in core.aggregation code can be moved into apply. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39311/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39311/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39311.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39311",
"merged_at": "2021-01-22T14:00:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39311.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39311"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39312 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39312/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39312/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39312/events | https://github.com/pandas-dev/pandas/pull/39312 | 790,662,621 | MDExOlB1bGxSZXF1ZXN0NTU4ODM3NTgy | 39,312 | REF/TST: Move Series/DataFrame apply tests to tests.apply | {
"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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 1 | 2021-01-21T03:46:29Z | 2021-02-06T13:56:43Z | 2021-01-21T16:33:32Z | MEMBER | null | - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Ref: https://github.com/pandas-dev/pandas/pull/39212#issuecomment-763112628
Just a move. Will be following up with combining Series/DataFrame tests where appropriate. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39312/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39312/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39312.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39312",
"merged_at": "2021-01-21T16:33:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39312.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39312"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39313 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39313/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39313/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39313/events | https://github.com/pandas-dev/pandas/issues/39313 | 790,863,365 | MDU6SXNzdWU3OTA4NjMzNjU= | 39,313 | DOC: add examples to DataFrame.insert() | {
"avatar_url": "https://avatars.githubusercontent.com/u/9049037?v=4",
"events_url": "https://api.github.com/users/sjvdm/events{/privacy}",
"followers_url": "https://api.github.com/users/sjvdm/followers",
"following_url": "https://api.github.com/users/sjvdm/following{/other_user}",
"gists_url": "https://api.github.com/users/sjvdm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sjvdm",
"id": 9049037,
"login": "sjvdm",
"node_id": "MDQ6VXNlcjkwNDkwMzc=",
"organizations_url": "https://api.github.com/users/sjvdm/orgs",
"received_events_url": "https://api.github.com/users/sjvdm/received_events",
"repos_url": "https://api.github.com/users/sjvdm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sjvdm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjvdm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sjvdm"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/8852168?v=4",
"events_url": "https://api.github.com/users/nofarm3/events{/privacy}",
"followers_url": "https://api.github.com/users/nofarm3/followers",
"following_url": "https://api.github.com/users/nofarm3/following{/other_user}",
"gists_url": "https://api.github.com/users/nofarm3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nofarm3",
"id": 8852168,
"login": "nofarm3",
"node_id": "MDQ6VXNlcjg4NTIxNjg=",
"organizations_url": "https://api.github.com/users/nofarm3/orgs",
"received_events_url": "https://api.github.com/users/nofarm3/received_events",
"repos_url": "https://api.github.com/users/nofarm3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nofarm3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nofarm3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nofarm3"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/8852168?v=4",
"events_url": "https://api.github.com/users/nofarm3/events{/privacy}",
"followers_url": "https://api.github.com/users/nofarm3/followers",
"following_url": "https://api.github.com/users/nofarm3/following{/other_user}",
"gists_url": "https://api.github.com/users/nofarm3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nofarm3",
"id": 8852168,
"login": "nofarm3",
"node_id": "MDQ6VXNlcjg4NTIxNjg=",
"organizations_url": "https://api.github.com/users/nofarm3/orgs",
"received_events_url": "https://api.github.com/users/nofarm3/received_events",
"repos_url": "https://api.github.com/users/nofarm3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nofarm3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nofarm3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nofarm3"
}
] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 7 | 2021-01-21T09:27:55Z | 2021-02-01T19:15:09Z | 2021-02-01T19:15:09Z | NONE | null | #### Code Sample
```
import pandas as pd
#create a df and insert a series astype String
df = pd.DataFrame({1:[1,2,3]},index=[0,1,3])
df.insert(loc=0,column='test',value=pd.Series(["one","two","three"]).astype("string"))
print(df)
#The values inserted normally evaluates correct though
print('==============')
print(pd.Series(["one","two","three"]).astype("string"))
```
Output:
```
test 1
0 one 1
1 two 2
3 <NA> 3
==============
0 one
1 two
2 three
dtype: string
```
#### Problem description
Issue: StringDtype exhibits strange behaviour when inserting as column. Some elements are inserted as <NaN>, but evaluates correctly outside of the insert function
#### Expected Output
Values should be inserted as is.
```
test 1
0 one 1
1 two 2
3 three 3
==============
0 one
1 two
2 three
dtype: string
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.3.final.0
python-bits : 64
OS : Linux
OS-release : 4.18.0-240.1.1.el8_3.x86_64
Version : #1 SMP Thu Nov 19 17:20:08 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_ZA.UTF-8
LOCALE : en_ZA.UTF-8
pandas : 1.2.0
numpy : 1.19.5
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 49.6.0
Cython : 0.29.21
pytest : 6.2.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.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.2
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : 1.3.22
tables : 3.6.1
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
#### Workaround
Parse to "Values" before inserting. In the example above:
df.insert(loc=0,column='test',value=pd.Series(["one","two","three"]).astype("string").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/39313/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39313/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39314 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39314/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39314/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39314/events | https://github.com/pandas-dev/pandas/pull/39314 | 790,919,394 | MDExOlB1bGxSZXF1ZXN0NTU5MDU3MjUw | 39,314 | DOC: clarify in which version the excel engine default changed | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-02-09T11:58:00Z",
"closed_issues": 89,
"created_at": "2021-01-16T01:20:17Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-02-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/82",
"id": 6317919,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82/labels",
"node_id": "MDk6TWlsZXN0b25lNjMxNzkxOQ==",
"number": 82,
"open_issues": 0,
"state": "closed",
"title": "1.2.2",
"updated_at": "2021-02-09T21:26:11Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82"
} | 2 | 2021-01-21T10:31:33Z | 2021-01-21T18:00:02Z | 2021-01-21T17:59:40Z | MEMBER | null | Small clarification, because "previously" only made sense in the actual v1.2.0 release notes, and not in the main docs | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39314/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39314/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39314.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39314",
"merged_at": "2021-01-21T17:59:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39314.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39314"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39315 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39315/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39315/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39315/events | https://github.com/pandas-dev/pandas/issues/39315 | 790,946,222 | MDU6SXNzdWU3OTA5NDYyMjI= | 39,315 | Fuzzy match between the left_on and right_on | {
"avatar_url": "https://avatars.githubusercontent.com/u/51404031?v=4",
"events_url": "https://api.github.com/users/BoxOink/events{/privacy}",
"followers_url": "https://api.github.com/users/BoxOink/followers",
"following_url": "https://api.github.com/users/BoxOink/following{/other_user}",
"gists_url": "https://api.github.com/users/BoxOink/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BoxOink",
"id": 51404031,
"login": "BoxOink",
"node_id": "MDQ6VXNlcjUxNDA0MDMx",
"organizations_url": "https://api.github.com/users/BoxOink/orgs",
"received_events_url": "https://api.github.com/users/BoxOink/received_events",
"repos_url": "https://api.github.com/users/BoxOink/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BoxOink/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BoxOink/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BoxOink"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | open | false | null | [] | null | 1 | 2021-01-21T11:01:36Z | 2021-08-15T03:36:58Z | null | NONE | null | In MSSQL, JOIN statement is allowed to take in LIKE clause instead of the usual exact match condition.
Hence, I am wondering how is the left_on key being compared to the right_on key in merge. So that maybe I can try to change the exact match to a fuzzy match :( | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39315/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39315/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39316 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39316/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39316/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39316/events | https://github.com/pandas-dev/pandas/pull/39316 | 791,010,841 | MDExOlB1bGxSZXF1ZXN0NTU5MTM3Mzgw | 39,316 | [DOC] Update PR link in 1.2.0 release notes | {
"avatar_url": "https://avatars.githubusercontent.com/u/4407787?v=4",
"events_url": "https://api.github.com/users/rs2/events{/privacy}",
"followers_url": "https://api.github.com/users/rs2/followers",
"following_url": "https://api.github.com/users/rs2/following{/other_user}",
"gists_url": "https://api.github.com/users/rs2/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rs2",
"id": 4407787,
"login": "rs2",
"node_id": "MDQ6VXNlcjQ0MDc3ODc=",
"organizations_url": "https://api.github.com/users/rs2/orgs",
"received_events_url": "https://api.github.com/users/rs2/received_events",
"repos_url": "https://api.github.com/users/rs2/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rs2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rs2/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rs2"
} | [
{
"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": "2021-02-09T11:58:00Z",
"closed_issues": 89,
"created_at": "2021-01-16T01:20:17Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2021-02-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/82",
"id": 6317919,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82/labels",
"node_id": "MDk6TWlsZXN0b25lNjMxNzkxOQ==",
"number": 82,
"open_issues": 0,
"state": "closed",
"title": "1.2.2",
"updated_at": "2021-02-09T21:26:11Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/82"
} | 3 | 2021-01-21T12:09:49Z | 2021-01-22T00:04:13Z | 2021-01-21T15:44:04Z | CONTRIBUTOR | null | - [x] closes #39291
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
~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/39316/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39316/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39316.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39316",
"merged_at": "2021-01-21T15:44:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39316.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39316"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39317 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39317/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39317/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39317/events | https://github.com/pandas-dev/pandas/pull/39317 | 791,024,971 | MDExOlB1bGxSZXF1ZXN0NTU5MTQ5ODIx | 39,317 | BUG+DOC: Recent Styler Enhancements | {
"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 formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "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 | 2021-01-21T12:26:29Z | 2021-01-25T06:34:17Z | 2021-01-24T21:46:22Z | CONTRIBUTOR | null | **DOC**: this edits the `style.ipynb` file to include examples of the 3 recent enhancements to `Styler`:
- Tooltips
- External CSS classes to datacells
- Row and Column styling via table styles
It also addresses 3 minor bugs that I detected when wirting the documentation:
**BUG1** (lines 696-703): `set_td_classes` only attached classes to 'diagonal elements' of the DataFrame due a misaligned comprehension loop:
```
{
r: {
c: [str(classes.iloc[r, c])]
for c, cn in enumerate(classes.columns) if not mask.iloc[r, c]
}
for r, rn in enumerate(classes.index)
}
```
replaces:
```
{
r: {
c: [str(classes.iloc[r, c])]
}
for r, rn in enumerate(classes.index)
for c, cn in enumerate(classes.columns)
if not mask.iloc[r, c]
}
```
**BUG2** (lines 513 to 537): external css class names from the set_td_classes were appended to the HTML id tag, as well as the HTML class tag, due to a premature variable update relating to the `row_dict`. The solution was to re-order so that 'id' tags were generated first and then 'class' was updated with information from the new methods.
**BUG3** (lines 1920-1925): Tooltips were generated for the wrong indexes/columns, since the null rows/columns were dropped and then the interger locations of rows/columns was mapped. The solution was to avoid dropping null rows/columns.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39317/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39317/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39317.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39317",
"merged_at": "2021-01-24T21:46:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39317.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39317"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/39318 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/39318/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/39318/comments | https://api.github.com/repos/pandas-dev/pandas/issues/39318/events | https://github.com/pandas-dev/pandas/pull/39318 | 791,196,908 | MDExOlB1bGxSZXF1ZXN0NTU5MjkzMDI1 | 39,318 | TST: Benchmarks for CSV writing for various index variations | {
"avatar_url": "https://avatars.githubusercontent.com/u/41120183?v=4",
"events_url": "https://api.github.com/users/DanielFEvans/events{/privacy}",
"followers_url": "https://api.github.com/users/DanielFEvans/followers",
"following_url": "https://api.github.com/users/DanielFEvans/following{/other_user}",
"gists_url": "https://api.github.com/users/DanielFEvans/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DanielFEvans",
"id": 41120183,
"login": "DanielFEvans",
"node_id": "MDQ6VXNlcjQxMTIwMTgz",
"organizations_url": "https://api.github.com/users/DanielFEvans/orgs",
"received_events_url": "https://api.github.com/users/DanielFEvans/received_events",
"repos_url": "https://api.github.com/users/DanielFEvans/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DanielFEvans/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DanielFEvans/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DanielFEvans"
} | [
{
"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"
},
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] | 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"
} | 4 | 2021-01-21T15:08:00Z | 2021-01-21T23:58:19Z | 2021-01-21T23:58:16Z | CONTRIBUTOR | null | Benchmarks derived from GH37484 (https://github.com/pandas-dev/pandas/issues/37484). This captures a peculiar difference in timings between a DataFrame originating from `df.set_index(...).head(...)` and one from `df.head(...).set_index(...)`.
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
I've not included a whatsnew entry, as no section seems particularly relevant to internal-only test/benchmark changes. If it should go in, shout and I'll add a note somewhere. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39318/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/39318/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/39318.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39318",
"merged_at": "2021-01-21T23:58:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39318.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39318"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.