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/28013 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28013/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28013/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28013/events | https://github.com/pandas-dev/pandas/issues/28013 | 482,329,552 | MDU6SXNzdWU0ODIzMjk1NTI= | 28,013 | Add Styler.applyformat to set values instead of styles | {
"avatar_url": "https://avatars.githubusercontent.com/u/1114794?v=4",
"events_url": "https://api.github.com/users/jamsden/events{/privacy}",
"followers_url": "https://api.github.com/users/jamsden/followers",
"following_url": "https://api.github.com/users/jamsden/following{/other_user}",
"gists_url": "https://api.github.com/users/jamsden/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jamsden",
"id": 1114794,
"login": "jamsden",
"node_id": "MDQ6VXNlcjExMTQ3OTQ=",
"organizations_url": "https://api.github.com/users/jamsden/orgs",
"received_events_url": "https://api.github.com/users/jamsden/received_events",
"repos_url": "https://api.github.com/users/jamsden/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jamsden/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamsden/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jamsden"
} | [
{
"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": "conditio... | closed | false | null | [] | null | 10 | 2019-08-19T13:59:35Z | 2021-02-10T21:54:52Z | 2021-02-10T20:19:10Z | NONE | null | I have a DataFrame that has multiple pairs of columns that are are title and URL. I would like to be able to render this table by converting the title to an anchor: `<a href=URL>title</a>`.
Styler.format doesn't support this because the function only provides one value for a column and the format spec string doesn't support URL links.
Here's what I'd like to be able to do:
```
def to_href(title, url):
return pd.Series([f"<a href={url[i]}>{title[i]}</a>" for i in range(len(title))])
ewm = client.executeSparql(query) # a DataFrame from a SPARQL result set
ewm.columns = ['Capability', 'Capability URL', 'Capability Status', 'Plan Item', 'Plan Item URL', 'Plan Item Status', 'Risk', 'Work Item', 'Work Item URL', 'Work Item Status']
ewmStyler = ewm.style
ewmStyler.applyformat(to_href, axis=0, url=ewm['Capability URL'], subset='Capability')
ewmStyler.hide_columns(['Capability URL','Plan Item URL', 'Work Item URL'])
HTML(ewmStyler.render())
```
That is, applyformat works just like apply, but set the values, not the style.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28013/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28013/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28014 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28014/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28014/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28014/events | https://github.com/pandas-dev/pandas/pull/28014 | 482,348,952 | MDExOlB1bGxSZXF1ZXN0MzA4NjQwMjAw | 28,014 | WEB: Adding new pandas website | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"color": "23ef97",
"default": false,
"description": "pandas website",
"id": 1508144531,
"name": "Web",
"node_id": "MDU6TGFiZWwxNTA4MTQ0NTMx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Web"
}
] | closed | false | null | [] | null | 40 | 2019-08-19T14:34:12Z | 2019-09-18T13:38:56Z | 2019-09-18T13:25:08Z | MEMBER | null | The website can be seen here: https://datapythonista.github.io/pandas-web/
It's still pending that the designer polish the styles. And also the content can surely be improved with everybody's feedback. But I think will be useful to merge this once we iterate a bit on people's feedback, so we can start working on integrating the docs.
I'm coordinating with the devs of numpy/scipy, scikit-learn and matplotlib to see if we can reshare things implemented here. Ideally I'd like to have the `pysuerga.py` script in a separate repo (that's why it's not named pandas_web.py`), and also the layout and pages that can be shared (the code of conduct, the donate, the blog,...). For now I add everything here for simplicity, and will create a new project and have it as a dependency here if they are interested.
CC: @pandas-dev/pandas-core | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28014/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28014/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28014.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28014",
"merged_at": "2019-09-18T13:25:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28014.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28014"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28015 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28015/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28015/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28015/events | https://github.com/pandas-dev/pandas/issues/28015 | 482,426,384 | MDU6SXNzdWU0ODI0MjYzODQ= | 28,015 | RLS: 0.25.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 4 | 2019-08-19T17:07:23Z | 2019-08-22T19:52:55Z | 2019-08-22T19:52:55Z | CONTRIBUTOR | null | Sometime this week, though we have a few outstanding issues I think: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.25.1
I've tentatively targeted Wednesday.
Does anyone want to do this actual release work? Otherwise, I can. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28015/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28015/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28016 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28016/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28016/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28016/events | https://github.com/pandas-dev/pandas/pull/28016 | 482,428,886 | MDExOlB1bGxSZXF1ZXN0MzA4NzA0MjY0 | 28,016 | TST: fix flaky xfail | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "5319e7",
"default": false,
"description": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
}
] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 1 | 2019-08-19T17:13:13Z | 2019-08-19T18:41:50Z | 2019-08-19T18:29:07Z | MEMBER | null | xfail in more specific circumstance
- [x] closes #28011
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28016/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28016/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28016.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28016",
"merged_at": "2019-08-19T18:29:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28016.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28016"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28017 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28017/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28017/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28017/events | https://github.com/pandas-dev/pandas/pull/28017 | 482,432,104 | MDExOlB1bGxSZXF1ZXN0MzA4NzA2NzAx | 28,017 | Backport PR #27773 on branch 0.25.x (BUG: _can_use_numexpr fails when passed large Series) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-19T17:20:59Z | 2019-08-20T06:45:31Z | 2019-08-20T06:45:31Z | NONE | null | Backport PR #27773: BUG: _can_use_numexpr fails when passed large Series | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28017/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28017/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28017.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28017",
"merged_at": "2019-08-20T06:45:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28017.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28017"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28018 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28018/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28018/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28018/events | https://github.com/pandas-dev/pandas/pull/28018 | 482,458,730 | MDExOlB1bGxSZXF1ZXN0MzA4NzI3NTg0 | 28,018 | DOC/TST: Update the parquet (pyarrow >= 0.15) docs and tests regarding Categorical support | {
"avatar_url": "https://avatars.githubusercontent.com/u/10180442?v=4",
"events_url": "https://api.github.com/users/galuhsahid/events{/privacy}",
"followers_url": "https://api.github.com/users/galuhsahid/followers",
"following_url": "https://api.github.com/users/galuhsahid/following{/other_user}",
"gists_url": "https://api.github.com/users/galuhsahid/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/galuhsahid",
"id": 10180442,
"login": "galuhsahid",
"node_id": "MDQ6VXNlcjEwMTgwNDQy",
"organizations_url": "https://api.github.com/users/galuhsahid/orgs",
"received_events_url": "https://api.github.com/users/galuhsahid/received_events",
"repos_url": "https://api.github.com/users/galuhsahid/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/galuhsahid/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galuhsahid/subscriptions",
"type": "User",
"url": "https://api.github.com/users/galuhsahid"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "3465A4",
"d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 12 | 2019-08-19T18:22:38Z | 2019-10-05T00:23:59Z | 2019-10-04T19:48:04Z | CONTRIBUTOR | null | - [x] closes #27955
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28018/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28018/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28018.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28018",
"merged_at": "2019-10-04T19:48:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28018.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28018"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28019 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28019/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28019/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28019/events | https://github.com/pandas-dev/pandas/pull/28019 | 482,461,664 | MDExOlB1bGxSZXF1ZXN0MzA4NzI5OTAw | 28,019 | Backport PR #28016 on branch 0.25.x (TST: fix flaky xfail) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-19T18:29:18Z | 2019-08-20T06:45:49Z | 2019-08-20T06:45:49Z | NONE | null | Backport PR #28016: TST: fix flaky xfail | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28019/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28019/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28019.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28019",
"merged_at": "2019-08-20T06:45:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28019.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28019"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28020 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28020/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28020/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28020/events | https://github.com/pandas-dev/pandas/pull/28020 | 482,514,830 | MDExOlB1bGxSZXF1ZXN0MzA4NzcyMzAz | 28,020 | CLN: timeseries in plotting clean up | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "207de5",
"default": false,
"description": nul... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 6 | 2019-08-19T20:35:31Z | 2019-09-11T01:44:01Z | 2019-09-11T01:43:55Z | MEMBER | null | `format_timedelta_ticks` appears both in `timeseries.py` and `matplotlib.converter.py`, and there is no test. Then i look through the code base, it is only used in `matplotlib.converter.py` for `TimeSeries_TimedeltaFormatter`. So I remove the one in `timeseries.py` and add test for it.
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28020/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28020/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28020.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28020",
"merged_at": "2019-09-11T01:43:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28020.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28020"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28021 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28021/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28021/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28021/events | https://github.com/pandas-dev/pandas/issues/28021 | 482,535,864 | MDU6SXNzdWU0ODI1MzU4NjQ= | 28,021 | Create correct xlim for ts plot and update datetimelike tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "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,
... | open | false | null | [] | null | 7 | 2019-08-19T21:25:11Z | 2021-07-11T05:53:42Z | null | MEMBER | null | xref: #27993
The view limit for non-datetime plotting is solved. and behavior will be the same as 0.23.4
e.g.

HOWEVER, issue in datetime-like still exists:
The issue with datetime-like plotting, xlim will be changed, and the view limit is set to data limit, so there is no margin on xaxis. Plots are looking like:

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28021/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28021/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28022 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28022/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28022/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28022/events | https://github.com/pandas-dev/pandas/issues/28022 | 482,564,544 | MDU6SXNzdWU0ODI1NjQ1NDQ= | 28,022 | [Feature Request] pd.DataFrame.schema iterable | {
"avatar_url": "https://avatars.githubusercontent.com/u/240623?v=4",
"events_url": "https://api.github.com/users/dazza-codes/events{/privacy}",
"followers_url": "https://api.github.com/users/dazza-codes/followers",
"following_url": "https://api.github.com/users/dazza-codes/following{/other_user}",
"gists_url": "https://api.github.com/users/dazza-codes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dazza-codes",
"id": 240623,
"login": "dazza-codes",
"node_id": "MDQ6VXNlcjI0MDYyMw==",
"organizations_url": "https://api.github.com/users/dazza-codes/orgs",
"received_events_url": "https://api.github.com/users/dazza-codes/received_events",
"repos_url": "https://api.github.com/users/dazza-codes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dazza-codes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dazza-codes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dazza-codes"
} | [
{
"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": "207de5",
"default": false,
"description": "Requires... | open | false | null | [] | null | 7 | 2019-08-19T22:52:30Z | 2021-07-11T05:56:11Z | null | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# feature request
schema = df.schema # include all the index columns and the df.columns
for column in schema:
print(column.name, column.dtype) # plus other attributes?
```
Currently this is only available by using a pyarrow table, e.g.
```python
import pyarrow as pa
table = pa.Table.from_pandas(df)
schema = table.schema
schema_types = [[s.name, str(s.type).upper()] for s in schema]
```
It requires extra code to distinguish between index columns and other columns.
```python
# assuming schema from above pyarrow table
schema_dict = dict([[s.name, str(s.type).upper()] for s in schema])
# then iterate on df.index.names and df.columns to filter the schema_dict, e.g.
schema_index = dict([[name, schema_dict[name]] for name in df.index.names])
```
#### Problem description
- the df.info() is not iterable, it just prints information
- also, it has no dtypes for the index columns
- the df.dtypes is a Series but it's not all columns, with index columns, e.g.
```python
types = df.dtypes
type(types)
# <class 'pandas.core.series.Series'>
types.index # df.columns but not df.index columns
for idx in types.index:
print(idx, types[idx])
```
- feature request for an iterable schema data structure
```python
schema = df.schema # include all the index columns and the df.columns
for column in schema:
print(column.name, column.dtype)
# the column object may have other attributes too:
column.name # str
column.dtype # numpy.dtype ?
column.is_index # boolean
df.schema.to_dict() # column.name as keys, column object as value
df.schema.to_sql() # just DDL output
```
Similar schema are available if the DataFrame is serialized to parquet and read with pyarrow, but the pyarrow table schema is not iterable in the manner requested here.
Also note that `MultiIndex` has no dtypes, this feature request implicates new features for an index object. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28022/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28022/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28023 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28023/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28023/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28023/events | https://github.com/pandas-dev/pandas/issues/28023 | 482,566,468 | MDU6SXNzdWU0ODI1NjY0Njg= | 28,023 | BUG: Series.loc[list] with uint64 keys raises KeyError (converted to floats) | {
"avatar_url": "https://avatars.githubusercontent.com/u/19239221?v=4",
"events_url": "https://api.github.com/users/jasonmahr/events{/privacy}",
"followers_url": "https://api.github.com/users/jasonmahr/followers",
"following_url": "https://api.github.com/users/jasonmahr/following{/other_user}",
"gists_url": "https://api.github.com/users/jasonmahr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jasonmahr",
"id": 19239221,
"login": "jasonmahr",
"node_id": "MDQ6VXNlcjE5MjM5MjIx",
"organizations_url": "https://api.github.com/users/jasonmahr/orgs",
"received_events_url": "https://api.github.com/users/jasonmahr/received_events",
"repos_url": "https://api.github.com/users/jasonmahr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jasonmahr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jasonmahr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jasonmahr"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-08-19T22:59:39Z | 2019-11-27T20:47:44Z | 2019-11-27T20:47:44Z | NONE | null | ```python
bug = pd.Series([0, 1, 2, 3, 4], index=[7606741985629028552, 17876870360202815256, 13106359306506049338, 8991270399732411471, 8991270399732411471])
assert bug.loc[7606741985629028552]==0
assert bug.loc[17876870360202815256]==1
# throws KeyError: 'None of [[7606741985629028552, 17876870360202815256]] are in the [index]'
bug.loc[[7606741985629028552, 17876870360202815256]]
```
#### Problem description
This code throws KeyError even though clearly both keys are present in the index, as the asserts demonstrate. It is essential for the bug that there is a repeated element in the index (not the one being extracted). The bug disappears if the values are smaller; perhaps it's some kind of a type cast thing that makes the values not found?
#### Expected Output
7.606742e+18 0
1.787687e+19 1
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.6.final.0
python-bits: 64
OS: Linux
OS-release: 4.14.72-68.55.amzn1.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.23.4
pytest: 3.7.3
pip: 18.0
setuptools: 40.2.0
Cython: 0.28.5
numpy: 1.15.0
scipy: 1.1.0
pyarrow: None
xarray: 0.10.8
IPython: 6.5.0
sphinx: 1.7.5
patsy: 0.5.0
dateutil: 2.7.3
pytz: 2018.5
blosc: None
bottleneck: 1.2.1
tables: 3.4.4
numexpr: 2.6.6
feather: None
matplotlib: 2.2.3
openpyxl: 2.5.5
xlrd: 1.1.0
xlwt: 1.3.0
xlsxwriter: 1.0.7
lxml: 4.2.4
bs4: 4.6.3
html5lib: 1.0.1
sqlalchemy: 1.2.11
pymysql: None
psycopg2: None
jinja2: 2.10
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28023/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28023/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28024 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28024/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28024/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28024/events | https://github.com/pandas-dev/pandas/pull/28024 | 482,594,648 | MDExOlB1bGxSZXF1ZXN0MzA4ODM3MTQw | 28,024 | BUG: rfloordiv with fill_value, closes#27464 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 2 | 2019-08-20T01:04:19Z | 2019-08-20T18:42:02Z | 2019-08-20T17:45:06Z | MEMBER | null | - [x] closes #27464, closes #26793
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28024/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28024/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28024.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28024",
"merged_at": "2019-08-20T17:45:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28024.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28024"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28025 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28025/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28025/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28025/events | https://github.com/pandas-dev/pandas/issues/28025 | 482,603,853 | MDU6SXNzdWU0ODI2MDM4NTM= | 28,025 | DES: Q about SparseDataFrame._combine_match_columns 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": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
}
] | closed | false | null | [] | null | 4 | 2019-08-20T01:49:52Z | 2019-09-18T14:02:12Z | 2019-09-18T14:02:12Z | MEMBER | null | There is some idiosyncratic behavior that I think is non-intentional, need to double check: cc @jreback introduced the relevant code 8ee0a898a74df38318dfd01b6f9faa7957b0543c
SparseDataFrame._combine_match_index and SparseDataFrame._combine_match_columns are both for arithmetic ops with a Series object, but with different alignment treatment. When calling the constructor, combine_match_index passes `default_fill_value = self._get_op_result_fill_value(other, func)`, which matches `_combine_frame` behavior. _combine_match_columns just passes `default_fill_value = self.default_fill_value`.
I think that `_get_op_result_fill_value` should be called in both cases. Can anyone confirm?
(BTW this is relevant even though the class is deprecated because consolidating the behavior will allow us to streamline code in ops)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28025/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28025/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28026 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28026/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28026/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28026/events | https://github.com/pandas-dev/pandas/issues/28026 | 482,615,559 | MDU6SXNzdWU0ODI2MTU1NTk= | 28,026 | DOC: Fix python code error in enhancingperf | {
"avatar_url": "https://avatars.githubusercontent.com/u/6908807?v=4",
"events_url": "https://api.github.com/users/EunSeop/events{/privacy}",
"followers_url": "https://api.github.com/users/EunSeop/followers",
"following_url": "https://api.github.com/users/EunSeop/following{/other_user}",
"gists_url": "https://api.github.com/users/EunSeop/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/EunSeop",
"id": 6908807,
"login": "EunSeop",
"node_id": "MDQ6VXNlcjY5MDg4MDc=",
"organizations_url": "https://api.github.com/users/EunSeop/orgs",
"received_events_url": "https://api.github.com/users/EunSeop/received_events",
"repos_url": "https://api.github.com/users/EunSeop/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/EunSeop/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/EunSeop/subscriptions",
"type": "User",
"url": "https://api.github.com/users/EunSeop"
} | [
{
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-20T02:44:50Z | 2019-08-21T06:43:03Z | 2019-08-21T06:43:03Z | CONTRIBUTOR | null | #### Problem description

This screenshot is in `pandas 0.25.0 documentation`, https://pandas.pydata.org/pandas-docs/stable/user_guide/enhancingperf.html#using-ndarray
Current code is
```python3
.. ipython:: python
%prun -l 4 apply_integrate_f(df['a'].to_numpy(),
df['b'].to_numpy(),
df['N'].to_numpy())
```
`%prun` takes only single line, so it can be
```python3
.. ipython:: python
%prun -l 4 apply_integrate_f(df['a'].to_numpy(), df['b'].to_numpy(), df['N'].to_numpy())
```
or use `%%prun`
```python3
.. ipython:: python
%%prun -l 4 apply_integrate_f(df['a'].to_numpy(),
df['b'].to_numpy(),
df['N'].to_numpy())
```
#### Expected Output

#### Output of ``pd.show_versions()``
In [1]: import pandas as pd;pd.show_versions()
INSTALLED VERSIONS
------------------
commit : 5b0a2a6e361f75c8cbb715cd33ff55dd61c631c9
python : 3.6.7.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-54-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0+191.g5b0a2a6e3.dirty
numpy : 1.17.0
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 41.1.0
Cython : 0.29.13
pytest : 5.1.0
hypothesis : 4.32.3
sphinx : 1.8.5
blosc : 1.8.1
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.7.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : 0.3.2
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.1.1
numexpr : 2.7.0
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : 0.14.1
pytables : None
s3fs : None
scipy : 1.3.1
sqlalchemy : None
tables : 3.5.2
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/28026/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28026/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28027 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28027/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28027/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28027/events | https://github.com/pandas-dev/pandas/pull/28027 | 482,619,441 | MDExOlB1bGxSZXF1ZXN0MzA4ODU1Nzk3 | 28,027 | REF: standardize usage in DataFrame vs SparseDataFrame ops | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 25 | 2019-08-20T03:02:38Z | 2019-09-17T14:03:04Z | 2019-09-17T12:40:44Z | MEMBER | null | I _think_ that after this we're not far from being able to use the base class versions of _combine_frame, _combine_match_index, _combine_match_columns, and _combine_const. That'll be a good day.
The only actual behavior changed is in SparseDataFrame._combine_match_columns, which is changed to match the other methods. See #28025 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28027/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28027/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28027.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28027",
"merged_at": "2019-09-17T12:40:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28027.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28027"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28028 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28028/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28028/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28028/events | https://github.com/pandas-dev/pandas/pull/28028 | 482,675,588 | MDExOlB1bGxSZXF1ZXN0MzA4OTAwMTU0 | 28,028 | Backport PR #27926 on branch 0.25.x (Fix regression in .ix fallback with IntervalIndex) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-20T06:48:03Z | 2019-08-20T13:32:27Z | 2019-08-20T13:32:27Z | NONE | null | Backport PR #27926: Fix regression in .ix fallback with IntervalIndex | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28028/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28028/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28028.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28028",
"merged_at": "2019-08-20T13:32:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28028.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28028"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28029 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28029/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28029/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28029/events | https://github.com/pandas-dev/pandas/pull/28029 | 482,676,797 | MDExOlB1bGxSZXF1ZXN0MzA4OTAxMTI4 | 28,029 | DOC: Change document code prun in a row | {
"avatar_url": "https://avatars.githubusercontent.com/u/6908807?v=4",
"events_url": "https://api.github.com/users/EunSeop/events{/privacy}",
"followers_url": "https://api.github.com/users/EunSeop/followers",
"following_url": "https://api.github.com/users/EunSeop/following{/other_user}",
"gists_url": "https://api.github.com/users/EunSeop/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/EunSeop",
"id": 6908807,
"login": "EunSeop",
"node_id": "MDQ6VXNlcjY5MDg4MDc=",
"organizations_url": "https://api.github.com/users/EunSeop/orgs",
"received_events_url": "https://api.github.com/users/EunSeop/received_events",
"repos_url": "https://api.github.com/users/EunSeop/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/EunSeop/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/EunSeop/subscriptions",
"type": "User",
"url": "https://api.github.com/users/EunSeop"
} | [
{
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 3 | 2019-08-20T06:51:22Z | 2019-08-21T06:43:26Z | 2019-08-21T06:43:04Z | CONTRIBUTOR | null | - [x] closes #28026
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28029/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28029/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28029.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28029",
"merged_at": "2019-08-21T06:43:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28029.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28029"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28030 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28030/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28030/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28030/events | https://github.com/pandas-dev/pandas/pull/28030 | 482,680,502 | MDExOlB1bGxSZXF1ZXN0MzA4OTA0MDM4 | 28,030 | Backport PR #27916 on branch 0.25.x (BUG: fix to_timestamp out_of_bounds) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-20T07:00:55Z | 2019-08-20T13:32:43Z | 2019-08-20T13:32:43Z | NONE | null | Backport PR #27916: BUG: fix to_timestamp out_of_bounds | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28030/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28030/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28030.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28030",
"merged_at": "2019-08-20T13:32:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28030.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28030"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28031 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28031/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28031/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28031/events | https://github.com/pandas-dev/pandas/pull/28031 | 482,765,183 | MDExOlB1bGxSZXF1ZXN0MzA4OTcxODQ4 | 28,031 | DOC: Fix docstrings lack of punctuation | {
"avatar_url": "https://avatars.githubusercontent.com/u/37339384?v=4",
"events_url": "https://api.github.com/users/martinagvilas/events{/privacy}",
"followers_url": "https://api.github.com/users/martinagvilas/followers",
"following_url": "https://api.github.com/users/martinagvilas/following{/other_user}",
"gists_url": "https://api.github.com/users/martinagvilas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/martinagvilas",
"id": 37339384,
"login": "martinagvilas",
"node_id": "MDQ6VXNlcjM3MzM5Mzg0",
"organizations_url": "https://api.github.com/users/martinagvilas/orgs",
"received_events_url": "https://api.github.com/users/martinagvilas/received_events",
"repos_url": "https://api.github.com/users/martinagvilas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/martinagvilas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/martinagvilas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/martinagvilas"
} | [
{
"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 | 2019-08-20T10:02:38Z | 2019-08-23T09:03:11Z | 2019-08-23T09:03:01Z | CONTRIBUTOR | null | - [ ] xref #27977
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Similar to issue #27979, and as pointed out by @datapythonista, the summaries of some dosctrings don’t end with a period.
I added the period to the following cases:
```
• pandas.IndexSlice
• pandas.MultiIndex.names
• pandas.MultiIndex.is_lexsorted
• pandas.MultiIndex.reorder_levels
• pandas.DatetimeIndex.snap
• pandas.DatetimeIndex.to_perioddelta
• pandas.DatetimeIndex.to_pydatetime
• pandas.DatetimeIndex.to_series
• pandas.TimedeltaIndex
• pandas.PeriodIndex.is_leap_year
• pandas.api.extensions.ExtensionArray._concat_same_type
• pandas.api.extensions.ExtensionArray.dropna
```
These are the outputs of validate_docstrings.py when evaluating each case:
**pandas.IndexSlice**
```
4 Errors found:
Examples do not pass tests
flake8 error: E231 missing whitespace after ',' (4 times)
flake8 error: E902 TokenError: EOF in multi-line statement
flake8 error: E999 SyntaxError: invalid syntax
1 Warnings found:
No extended summary found
```
**pandas.MultiIndex.names**
```
3 Warnings found:
No extended summary found
See Also section not found
No examples section found
```
**pandas.MultiIndex.is_lexsorted**
```
1 Errors found:
Return value has no description
3 Warnings found:
No extended summary found
See Also section not found
No examples section found
```
**pandas.MultiIndex.reorder_levels**
```
2 Errors found:
Parameters {order} not documented
Return value has no description
3 Warnings found:
No extended summary found
See Also section not found
No examples section found
```
**pandas.DatetimeIndex.snap**
```
2 Errors found:
Parameters {freq} not documented
Return value has no description
3 Warnings found:
No extended summary found
See Also section not found
No examples section found
```
**pandas.DatetimeIndex.to_perioddelta**
```
5 Errors found:
Summary should fit in a single line
Parameters {**kwargs, *args} not documented
Unknown parameters {freq}
Parameter "freq" has no description
Return value has no description
2 Warnings found:
See Also section not found
No examples section found
```
**pandas.DatetimeIndex.to_pydatetime**
```
4 Errors found:
Summary should fit in a single line
Parameters {**kwargs, *args} not documented
The first line of the Returns section should contain only the type, unless multiple values are being returned
Return value has no description
2 Warnings found:
See Also section not found
No examples section found
```
**pandas.DatetimeIndex.to_series**
```
2 Errors found:
Summary should fit in a single line
Return value has no description
2 Warnings found:
See Also section not found
No examples section found
```
**pandas.TimedeltaIndex**
```
3 Errors found:
Summary should fit in a single line
Parameters {dtype, verify_integrity, periods, copy, data} not documented
Unknown parameters {periods , copy , data }
1 Warnings found:
No examples section found
```
**pandas.PeriodIndex.is_leap_year**
```
3 Warnings found:
No extended summary found
See Also section not found
No examples section found
```
**pandas.api.extensions.ExtensionArray._concat_same_type**
```
2 Errors found:
Parameter "to_concat" has no description
Return value has no description
3 Warnings found:
No extended summary found
See Also section not found
No examples section found
```
**pandas.api.extensions.ExtensionArray.dropna**
```
2 Errors found:
The first line of the Returns section should contain only the type, unless multiple values are being returned
Return value has no description
3 Warnings found:
No extended summary found
See Also section not found
No examples section found
```
I would be happy to also work on the other errors/warnings in this PR on another. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28031/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28031/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28031.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28031",
"merged_at": "2019-08-23T09:03:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28031.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28031"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28032 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28032/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28032/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28032/events | https://github.com/pandas-dev/pandas/pull/28032 | 482,799,380 | MDExOlB1bGxSZXF1ZXN0MzA5MDAwMDY0 | 28,032 | Add support to names keyword in Index | {
"avatar_url": "https://avatars.githubusercontent.com/u/11504078?v=4",
"events_url": "https://api.github.com/users/pedrocunial/events{/privacy}",
"followers_url": "https://api.github.com/users/pedrocunial/followers",
"following_url": "https://api.github.com/users/pedrocunial/following{/other_user}",
"gists_url": "https://api.github.com/users/pedrocunial/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pedrocunial",
"id": 11504078,
"login": "pedrocunial",
"node_id": "MDQ6VXNlcjExNTA0MDc4",
"organizations_url": "https://api.github.com/users/pedrocunial/orgs",
"received_events_url": "https://api.github.com/users/pedrocunial/received_events",
"repos_url": "https://api.github.com/users/pedrocunial/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pedrocunial/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pedrocunial/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pedrocunial"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "207de5",
"default": false,
"description": "R... | closed | false | null | [] | null | 7 | 2019-08-20T11:19:13Z | 2019-10-03T19:09:56Z | 2019-10-03T19:09:56Z | NONE | null | - [x] closes #19082
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28032/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28032/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28032.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28032",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28032.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28032"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28033 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28033/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28033/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28033/events | https://github.com/pandas-dev/pandas/issues/28033 | 482,832,282 | MDU6SXNzdWU0ODI4MzIyODI= | 28,033 | warning in pandas code | {
"avatar_url": "https://avatars.githubusercontent.com/u/35453476?v=4",
"events_url": "https://api.github.com/users/msAlcantara/events{/privacy}",
"followers_url": "https://api.github.com/users/msAlcantara/followers",
"following_url": "https://api.github.com/users/msAlcantara/following{/other_user}",
"gists_url": "https://api.github.com/users/msAlcantara/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/msAlcantara",
"id": 35453476,
"login": "msAlcantara",
"node_id": "MDQ6VXNlcjM1NDUzNDc2",
"organizations_url": "https://api.github.com/users/msAlcantara/orgs",
"received_events_url": "https://api.github.com/users/msAlcantara/received_events",
"repos_url": "https://api.github.com/users/msAlcantara/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/msAlcantara/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/msAlcantara/subscriptions",
"type": "User",
"url": "https://api.github.com/users/msAlcantara"
} | [
{
"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 | 2019-08-20T12:32:06Z | 2019-08-20T13:49:09Z | 2019-08-20T13:42:39Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
df.loc[:, 'column'] = value
```
#### Problem description
`SettingWithCopyWarning` in pandas code
#### Output
```
/home/matheus/dev/my-project/venv/lib/python3.6/site-packages/pandas/core/indexing.py:362: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
self.obj[key] = _infer_fill_value(value)
/home/matheus/dev/my-project/venv/lib/python3.6/site-packages/pandas/core/indexing.py:480: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
self.obj[item] = s
```
#### Output of ``pd.show_versions()``
<details>
In [2]: pd.show_versions()
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.8.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-58-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.17.0
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 40.6.2
Cython : None
pytest : 4.4.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.0.5
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.8.3 (dt dec pq3 ext lo64)
jinja2 : None
IPython : 7.5.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : 2.7.0
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.1
sqlalchemy : None
tables : 3.4.3
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 1.0.5
</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/28033/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28033/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28034 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28034/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28034/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28034/events | https://github.com/pandas-dev/pandas/issues/28034 | 482,866,149 | MDU6SXNzdWU0ODI4NjYxNDk= | 28,034 | REGR: Index.union should pick correct dtype for combinations of tstamps with different tzones | {
"avatar_url": "https://avatars.githubusercontent.com/u/789110?v=4",
"events_url": "https://api.github.com/users/zogzog/events{/privacy}",
"followers_url": "https://api.github.com/users/zogzog/followers",
"following_url": "https://api.github.com/users/zogzog/following{/other_user}",
"gists_url": "https://api.github.com/users/zogzog/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zogzog",
"id": 789110,
"login": "zogzog",
"node_id": "MDQ6VXNlcjc4OTExMA==",
"organizations_url": "https://api.github.com/users/zogzog/orgs",
"received_events_url": "https://api.github.com/users/zogzog/received_events",
"repos_url": "https://api.github.com/users/zogzog/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zogzog/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zogzog/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zogzog"
} | [
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "e99695",
"default": false,
"des... | closed | false | null | [] | null | 15 | 2019-08-20T13:36:54Z | 2020-03-30T02:52:56Z | 2020-03-30T02:52:55Z | NONE | null | Here's a pdb session showing the issue:
```python
ipdb> basei
DatetimeIndex(['2017-10-28 23:00:00+00:00', '2017-10-29 00:00:00+00:00',
'2017-10-29 01:00:00+00:00', '2017-10-29 02:00:00+00:00'],
dtype='datetime64[ns, UTC]', freq=None)
ipdb> diffi
DatetimeIndex(['2017-10-29 02:00:00+01:00', '2017-10-29 03:00:00+01:00',
'2017-10-29 04:00:00+01:00', '2017-10-29 05:00:00+01:00'],
dtype='datetime64[ns, Europe/Paris]', freq=None)
ipdb> basei.union(diffi)
Index([2017-10-28 23:00:00+00:00, 2017-10-29 00:00:00+00:00,
2017-10-29 01:00:00+00:00, 2017-10-29 02:00:00+00:00,
2017-10-29 04:00:00+01:00, 2017-10-29 05:00:00+01:00],
dtype='object')
```
With pandas 0.24 I got back an index with a `dtype='datetime64[ns, UTC]'`
This looks a bit like a cousin of https://github.com/pandas-dev/pandas/issues/26778
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28034/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28034/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28035 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28035/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28035/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28035/events | https://github.com/pandas-dev/pandas/pull/28035 | 482,895,634 | MDExOlB1bGxSZXF1ZXN0MzA5MDc5MjEy | 28,035 | Backport PR #27481 on branch 0.25.x (Correctly re-instate Matplotlib converters) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-20T14:27:05Z | 2019-08-20T16:18:42Z | 2019-08-20T16:18:41Z | NONE | null | Backport PR #27481: Correctly re-instate Matplotlib converters | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28035/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28035/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28035.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28035",
"merged_at": "2019-08-20T16:18:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28035.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28035"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28036 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28036/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28036/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28036/events | https://github.com/pandas-dev/pandas/pull/28036 | 482,904,962 | MDExOlB1bGxSZXF1ZXN0MzA5MDg2ODY0 | 28,036 | CLN: small ops optimizations | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2019-08-20T14:42:49Z | 2019-08-27T00:19:49Z | 2019-08-26T23:39:13Z | MEMBER | null | @jorisvandenbossche you've mentioned some ops optimizations; any suggestions for things to add here? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28036/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28036/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28036.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28036",
"merged_at": "2019-08-26T23:39:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28036.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28036"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28037 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28037/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28037/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28037/events | https://github.com/pandas-dev/pandas/pull/28037 | 482,922,586 | MDExOlB1bGxSZXF1ZXN0MzA5MTAxMjQz | 28,037 | REF: boilerplate for ops internal consistency | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 17 | 2019-08-20T15:12:34Z | 2019-11-14T16:36:00Z | 2019-11-14T16:31:55Z | MEMBER | null | Progress towards #23853, with more progress available pending resolution of #27911.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28037/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28037/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28037.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28037",
"merged_at": "2019-11-14T16:31:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28037.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28037"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28038 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28038/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28038/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28038/events | https://github.com/pandas-dev/pandas/issues/28038 | 482,938,906 | MDU6SXNzdWU0ODI5Mzg5MDY= | 28,038 | DOC: Remove docs code header and use explicit imports in the user guide | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | open | false | null | [] | null | 22 | 2019-08-20T15:41:15Z | 2020-05-21T09:33:31Z | null | MEMBER | null | I've been discussing with the Binder team, and looks like it'll be possible soon to make the pandas examples in the docs runnable directly from the docs.
I think this will be amazing, but I think it's one more reason to start being explicit and self-contained with the docs. One option is of course that the trickiness we have now on importing things translate to Binder, and we automatically inject code for imports (and may be seeds...).
But my opinion is that the right thing is to start being explicit on what we run in the examples. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28038/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28038/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28039 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28039/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28039/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28039/events | https://github.com/pandas-dev/pandas/issues/28039 | 482,951,143 | MDU6SXNzdWU0ODI5NTExNDM= | 28,039 | Bug: Resample removes timezone localization from Period.start_time | {
"avatar_url": "https://avatars.githubusercontent.com/u/45375059?v=4",
"events_url": "https://api.github.com/users/ngrsdhbw/events{/privacy}",
"followers_url": "https://api.github.com/users/ngrsdhbw/followers",
"following_url": "https://api.github.com/users/ngrsdhbw/following{/other_user}",
"gists_url": "https://api.github.com/users/ngrsdhbw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ngrsdhbw",
"id": 45375059,
"login": "ngrsdhbw",
"node_id": "MDQ6VXNlcjQ1Mzc1MDU5",
"organizations_url": "https://api.github.com/users/ngrsdhbw/orgs",
"received_events_url": "https://api.github.com/users/ngrsdhbw/received_events",
"repos_url": "https://api.github.com/users/ngrsdhbw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ngrsdhbw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ngrsdhbw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ngrsdhbw"
} | [
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved er... | open | false | null | [] | null | 3 | 2019-08-20T16:04:39Z | 2021-07-11T06:01:36Z | null | NONE | null | #### Code Sample
```python
from pytz import timezone
index = DatetimeIndex(['2019-01-01 06:00', '2019-01-01 07:00', '2019-01-01 08:00'], tz=timezone('Europe/Berlin'))
s = Series(index=index, data=[1, 2, 3])
print(s.index.tz)
rs = s.resample("3h", kind="period").sum()
for x in rs.index:
print(x.start_time.tz)
print(x.end_time.tz)
```
#### Problem description
All the Periods in the resampled PeriodIndex should have their start_time and end_time TimeStamps set with the correct Timezone.
Since the the DateTimeIndex was tz aware the attributes in the PeriodIndex should be too.
This is probably related to #13238 and #15777
#### Expected Output
Europe/Berlin
Europe/Berlin
Europe/Berlin
#### Tested Version
pandas 0.25.0 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28039/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28039/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28040 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28040/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28040/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28040/events | https://github.com/pandas-dev/pandas/pull/28040 | 482,995,639 | MDExOlB1bGxSZXF1ZXN0MzA5MTU5OTY2 | 28,040 | Backport PR #28024 on branch 0.25.x (BUG: rfloordiv with fill_value, closes#27464) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-20T17:45:16Z | 2019-08-20T19:17:16Z | 2019-08-20T19:17:16Z | NONE | null | Backport PR #28024: BUG: rfloordiv with fill_value, closes#27464 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28040/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28040/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28040.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28040",
"merged_at": "2019-08-20T19:17:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28040.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28040"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28041 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28041/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28041/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28041/events | https://github.com/pandas-dev/pandas/pull/28041 | 483,007,198 | MDExOlB1bGxSZXF1ZXN0MzA5MTY5Mjk0 | 28,041 | Backport PR #27664: BUG: added a check for if obj is instance of type … | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-20T18:12:43Z | 2019-08-20T19:16:57Z | 2019-08-20T19:16:53Z | CONTRIBUTOR | null | Manual backport of #27664 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28041/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28041/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28041.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28041",
"merged_at": "2019-08-20T19:16:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28041.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28041"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28042 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28042/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28042/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28042/events | https://github.com/pandas-dev/pandas/pull/28042 | 483,029,731 | MDExOlB1bGxSZXF1ZXN0MzA5MTg3NTM4 | 28,042 | Backport PR #26419 on branch 0.25.x (Fix GroupBy nth Handling with Observed=False) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-20T19:02:23Z | 2019-08-20T21:13:21Z | 2019-08-20T21:13:21Z | NONE | null | Backport PR #26419: Fix GroupBy nth Handling with Observed=False | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28042/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28042/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28042.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28042",
"merged_at": "2019-08-20T21:13:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28042.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28042"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28043 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28043/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28043/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28043/events | https://github.com/pandas-dev/pandas/pull/28043 | 483,034,813 | MDExOlB1bGxSZXF1ZXN0MzA5MTkxNjMx | 28,043 | DOC: Add punctuation to IntervalArray docstrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/28490392?v=4",
"events_url": "https://api.github.com/users/sparalic/events{/privacy}",
"followers_url": "https://api.github.com/users/sparalic/followers",
"following_url": "https://api.github.com/users/sparalic/following{/other_user}",
"gists_url": "https://api.github.com/users/sparalic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sparalic",
"id": 28490392,
"login": "sparalic",
"node_id": "MDQ6VXNlcjI4NDkwMzky",
"organizations_url": "https://api.github.com/users/sparalic/orgs",
"received_events_url": "https://api.github.com/users/sparalic/received_events",
"repos_url": "https://api.github.com/users/sparalic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sparalic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sparalic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sparalic"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-08-20T19:14:21Z | 2019-08-21T06:28:42Z | 2019-08-21T06:28:33Z | CONTRIBUTOR | null | - [ ] xref #27979
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Added missing period to IntervalArray docstrings as suggested by @datapythonista for the following attributes and parameters:
```
pandas.arrays.IntervalArray.left
pandas.arrays.IntervalArray.right
pandas.arrays.IntervalArray.closed
pandas.arrays.IntervalArray.mid
pandas.arrays.IntervalArray.length
pandas.arrays.IntervalArray.is_non_overlapping_monotonic
pandas.arrays.IntervalArray.from_tuples
pandas.arrays.IntervalArray.set_closed
pandas.arrays.IntervalArray.to_tuples
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28043/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28043/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28043.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28043",
"merged_at": "2019-08-21T06:28:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28043.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28043"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28044 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28044/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28044/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28044/events | https://github.com/pandas-dev/pandas/pull/28044 | 483,039,281 | MDExOlB1bGxSZXF1ZXN0MzA5MTk1MjY5 | 28,044 | Backport PR #27991 on branch 0.25.x (DataFrame html repr: also follow min_rows setting) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 3 | 2019-08-20T19:24:57Z | 2019-08-21T17:48:47Z | 2019-08-21T17:48:47Z | NONE | null | Backport PR #27991: DataFrame html repr: also follow min_rows setting | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28044/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28044/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28044.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28044",
"merged_at": "2019-08-21T17:48:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28044.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28044"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28045 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28045/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28045/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28045/events | https://github.com/pandas-dev/pandas/issues/28045 | 483,043,680 | MDU6SXNzdWU0ODMwNDM2ODA= | 28,045 | Integer overflow in Series.astype('datetime64[D]') | {
"avatar_url": "https://avatars.githubusercontent.com/u/620513?v=4",
"events_url": "https://api.github.com/users/dargueta/events{/privacy}",
"followers_url": "https://api.github.com/users/dargueta/followers",
"following_url": "https://api.github.com/users/dargueta/following{/other_user}",
"gists_url": "https://api.github.com/users/dargueta/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dargueta",
"id": 620513,
"login": "dargueta",
"node_id": "MDQ6VXNlcjYyMDUxMw==",
"organizations_url": "https://api.github.com/users/dargueta/orgs",
"received_events_url": "https://api.github.com/users/dargueta/received_events",
"repos_url": "https://api.github.com/users/dargueta/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dargueta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dargueta/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dargueta"
} | [
{
"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,
... | open | false | null | [] | null | 2 | 2019-08-20T19:35:51Z | 2019-11-17T23:06:22Z | null | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```
>>> s = pd.Series(['9/22/1677', '4/11/2262'], dtype="U")
>>> s
0 9/22/1677
1 4/11/2262
dtype: object
>>> s.astype('datetime64')
0 1677-09-22
1 2262-04-11
dtype: datetime64[ns]
>>> s.astype('datetime64[s]')
0 1677-09-22
1 2262-04-11
dtype: datetime64[ns]
>>> s.astype('datetime64[m]')
0 1677-09-22
1 2262-04-11
dtype: datetime64[ns]
>>> s.astype('datetime64[h]')
0 1677-09-22
1 2262-04-11
dtype: datetime64[ns]
>>> s.astype('datetime64[D]')
0 2262-04-11 # <<<< wait, what?
1 2262-04-11
dtype: datetime64[ns]
```
#### Problem description
It appears that `astype('datetime64[D]')` breaks on the earliest representable full day -- it wraps around to the latest representable date.
While I know this is super edge case-y and highly unlikely to be worth a lot of time, the fact that it wraps around is indicative of a potential for integer overflow somewhere that may or may not bite us in the future.
#### Expected Output
`.astype('datetime64[D]')` should give 1677-09-22 instead of 2262-04-11.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.17.0
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 41.1.0
Cython : 0.29.13
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : None
pymysql : None
psycopg2 : 2.8.3 (dt dec pq3 ext lo64)
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.14.1
pytables : None
s3fs : 0.3.3
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/28045/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28045/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28046 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28046/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28046/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28046/events | https://github.com/pandas-dev/pandas/issues/28046 | 483,096,398 | MDU6SXNzdWU0ODMwOTYzOTg= | 28,046 | DOC: DataFrame.plot is missing most of the docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/703084?v=4",
"events_url": "https://api.github.com/users/vlbrown/events{/privacy}",
"followers_url": "https://api.github.com/users/vlbrown/followers",
"following_url": "https://api.github.com/users/vlbrown/following{/other_user}",
"gists_url": "https://api.github.com/users/vlbrown/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vlbrown",
"id": 703084,
"login": "vlbrown",
"node_id": "MDQ6VXNlcjcwMzA4NA==",
"organizations_url": "https://api.github.com/users/vlbrown/orgs",
"received_events_url": "https://api.github.com/users/vlbrown/received_events",
"repos_url": "https://api.github.com/users/vlbrown/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vlbrown/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vlbrown/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vlbrown"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pu... | closed | false | null | [] | null | 3 | 2019-08-20T21:39:56Z | 2019-08-30T21:51:01Z | 2019-08-30T21:50:43Z | NONE | null | In the pandas 0.25.0 docs, at
[pandas.DataFrame.plot.html](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.html)
#### Problem description
The page is essentially missing. The only content is
```
DataFrame.plot(self, *args, **kwargs)[source]
Call self as a function.
```
#### Expected Output
It should look like [0.23.4 DataFrame.plot.html](https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.DataFrame.plot.html)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28046/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28046/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28047 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28047/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28047/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28047/events | https://github.com/pandas-dev/pandas/pull/28047 | 483,122,930 | MDExOlB1bGxSZXF1ZXN0MzA5MjYzNTQ0 | 28,047 | Issue 20927 fix resolves read_sas error for dates/datetimes greater than 2262-04-11 | {
"avatar_url": "https://avatars.githubusercontent.com/u/38343013?v=4",
"events_url": "https://api.github.com/users/paul-lilley/events{/privacy}",
"followers_url": "https://api.github.com/users/paul-lilley/followers",
"following_url": "https://api.github.com/users/paul-lilley/following{/other_user}",
"gists_url": "https://api.github.com/users/paul-lilley/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/paul-lilley",
"id": 38343013,
"login": "paul-lilley",
"node_id": "MDQ6VXNlcjM4MzQzMDEz",
"organizations_url": "https://api.github.com/users/paul-lilley/orgs",
"received_events_url": "https://api.github.com/users/paul-lilley/received_events",
"repos_url": "https://api.github.com/users/paul-lilley/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/paul-lilley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/paul-lilley/subscriptions",
"type": "User",
"url": "https://api.github.com/users/paul-lilley"
} | [
{
"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": "eb6420",
"default": false,
"description": "Period da... | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 16 | 2019-08-20T23:07:48Z | 2020-05-25T21:47:59Z | 2020-05-25T21:47:53Z | CONTRIBUTOR | null | - [x] closes #20927
- [x] tests added / passed
- [x] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28047/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28047/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28047.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28047",
"merged_at": "2020-05-25T21:47:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28047.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28047"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28048 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28048/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28048/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28048/events | https://github.com/pandas-dev/pandas/pull/28048 | 483,147,995 | MDExOlB1bGxSZXF1ZXN0MzA5MjgzNzE5 | 28,048 | BUG: retain extension dtypes in transpose | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "6138b5",
"de... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 8 | 2019-08-21T00:58:41Z | 2020-04-05T17:35:17Z | 2019-12-06T00:14:46Z | MEMBER | null | I'll have to look through the issues to see what this closes.
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28048/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28048/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28048.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28048",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28048.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28048"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28049 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28049/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28049/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28049/events | https://github.com/pandas-dev/pandas/pull/28049 | 483,148,348 | MDExOlB1bGxSZXF1ZXN0MzA5MjgzOTg4 | 28,049 | BUG: timedelta64(NaT) incorrectly treated as datetime in some dataframe ops | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 7 | 2019-08-21T01:00:31Z | 2019-09-20T23:45:26Z | 2019-09-20T23:36:14Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28049/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28049/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28049.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28049",
"merged_at": "2019-09-20T23:36:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28049.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28049"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28050 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28050/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28050/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28050/events | https://github.com/pandas-dev/pandas/issues/28050 | 483,156,299 | MDU6SXNzdWU0ODMxNTYyOTk= | 28,050 | NUM: inequality with complex dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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"
},
{
"c... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/18680207?v=4",
"events_url": "https://api.github.com/users/calvh/events{/privacy}",
"followers_url": "https://api.github.com/users/calvh/followers",
"following_url": "https://api.github.com/users/calvh/following{/other_user}",
"gists_url": "https://api.github.com/users/calvh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/calvh",
"id": 18680207,
"login": "calvh",
"node_id": "MDQ6VXNlcjE4NjgwMjA3",
"organizations_url": "https://api.github.com/users/calvh/orgs",
"received_events_url": "https://api.github.com/users/calvh/received_events",
"repos_url": "https://api.github.com/users/calvh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/calvh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/calvh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/calvh"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/18680207?v=4",
"events_url": "https://api.github.com/users/calvh/events{/privacy}",
"followers_url": "https://api.github.com/users/calvh/followers",
"following_url": "https://api.github.com/users/calvh/following{/other_user}",
"gists_url":... | null | 2 | 2019-08-21T01:39:18Z | 2021-08-22T18:03:11Z | 2021-08-22T18:03:11Z | MEMBER | null | TL;DR: our comparisons with complex dtypes are not internally consistent:
```
arr = np.arange(5).astype(np.complex128)
ser = pd.Series(arr)
df = ser.to_frame()
>>> df < df.astype(object)
[...]
TypeError: '<' not supported between instances of 'complex' and 'complex'
>>> df.lt(df.astype(object))
0
0 False
1 False
2 False
3 False
4 False
```
----
Digging into this...
numpy has some surprising behavior for comparing complex dtypes:
```
arr = np.arange(5)
arr = arr + arr*1j
arr2 = arr*2 - 1
>>> arr < arr2
array([False, True, True, True, True])
```
I would expect these inequalities to be undefined, and in fact, if we cast to object we get a TypeError:
```
>>> arr < arr2.astype(object)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'complex' and 'complex'
```
That's the behavior I expected in the first place, but then trying it on just the scalars:
```
>>> arr[0] < arr2[0]
False
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28050/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28050/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28051 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28051/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28051/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28051/events | https://github.com/pandas-dev/pandas/pull/28051 | 483,170,757 | MDExOlB1bGxSZXF1ZXN0MzA5MzAxMTEz | 28,051 | TST: fix compression tests when run without virtualenv/condaenv | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-08-21T02:46:32Z | 2019-08-23T18:22:18Z | 2019-08-23T18:11:50Z | MEMBER | null | sys.executable is the pattern we use elsewhere in subprocess tests. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28051/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28051/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28051.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28051",
"merged_at": "2019-08-23T18:11:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28051.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28051"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28052 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28052/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28052/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28052/events | https://github.com/pandas-dev/pandas/pull/28052 | 483,175,894 | MDExOlB1bGxSZXF1ZXN0MzA5MzA1MDMy | 28,052 | Make DataFrame.to_string output full content by default | {
"avatar_url": "https://avatars.githubusercontent.com/u/59923?v=4",
"events_url": "https://api.github.com/users/lshepard/events{/privacy}",
"followers_url": "https://api.github.com/users/lshepard/followers",
"following_url": "https://api.github.com/users/lshepard/following{/other_user}",
"gists_url": "https://api.github.com/users/lshepard/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lshepard",
"id": 59923,
"login": "lshepard",
"node_id": "MDQ6VXNlcjU5OTIz",
"organizations_url": "https://api.github.com/users/lshepard/orgs",
"received_events_url": "https://api.github.com/users/lshepard/received_events",
"repos_url": "https://api.github.com/users/lshepard/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lshepard/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lshepard/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lshepard"
} | [
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "AD7FA... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 15 | 2019-08-21T03:10:21Z | 2019-09-16T04:40:14Z | 2019-09-16T02:33:40Z | CONTRIBUTOR | null | I modeled this off of https://github.com/pandas-dev/pandas/pull/24841. Some alternatives I considered:
* Instead of setting the option_context here, we could wind the param into the depths of the formatter. I tried this, actually, and started finding a number of edge cases and bugs. I realized that the issue only occurs in a pretty narrow case - if the user is explicitly calling to_string - because most of the time, when representing a DataFrame, the user *will* want long strings truncated for readability. So I think the safest way is to do it at the top level without interfering with lower-level formatters.
* Series.to_string() could arguably benefit from the same treatment, although that wasn't mentioned in the original issue (and I have never found the need to use it personally) so I didn't bring that in.
Here's an example on a real dataset showing long columns preserved in a text file produced by to_string():

Additional manual testing:
* Main use case- by default, no limits and ignores the display options, but can still override:
```
>>> print(df.to_string())
A B
0 NaN NaN
1 -1.0000 foo
2 -2.1234 foooo
3 3.0000 fooooo
4 4.0000 bar
>>> with option_context('display.max_colwidth', 5):
... print(df.to_string())
...
A B
0 NaN NaN
1 -1.0000 foo
2 -2.1234 foooo
3 3.0000 fooooo
4 4.0000 bar
>>> print(df.to_string(max_colwidth=5))
A B
0 NaN NaN
1 -1... foo
2 -2... f...
3 3... f...
4 4... bar
```
* The string representation of DataFrame **does** still use the display options (so it's only the explicit ```to_string``` that doesn't:
```
>>> with option_context('display.max_colwidth', 5):
... print(str(df))
...
A B
0 NaN NaN
1 -1... foo
2 -2... f...
3 3... f...
4 4... bar
```
* The new parameter validates for None and positive ints, but rejects anything else:
```
>>> print(df.to_string(max_colwidth=-5))
...
raise ValueError(msg)
ValueError: Value must be a nonnegative integer or None
```
- [ ] closes #9784
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28052/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28052/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28052.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28052",
"merged_at": "2019-09-16T02:33:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28052.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28052"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28053 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28053/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28053/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28053/events | https://github.com/pandas-dev/pandas/pull/28053 | 483,204,349 | MDExOlB1bGxSZXF1ZXN0MzA5MzI2OTUz | 28,053 | DOC: fix punctuation in Timestamp/Timedelta docstrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/28490392?v=4",
"events_url": "https://api.github.com/users/sparalic/events{/privacy}",
"followers_url": "https://api.github.com/users/sparalic/followers",
"following_url": "https://api.github.com/users/sparalic/following{/other_user}",
"gists_url": "https://api.github.com/users/sparalic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sparalic",
"id": 28490392,
"login": "sparalic",
"node_id": "MDQ6VXNlcjI4NDkwMzky",
"organizations_url": "https://api.github.com/users/sparalic/orgs",
"received_events_url": "https://api.github.com/users/sparalic/received_events",
"repos_url": "https://api.github.com/users/sparalic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sparalic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sparalic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sparalic"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2019-08-21T05:16:45Z | 2019-09-28T07:39:09Z | 2019-09-28T07:39:08Z | CONTRIBUTOR | null | - [ ] xref #27977
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Add periods to Timestamp and Timedelta doctrings for the following attributes and methods:
```
pandas.Timestamp.resolution
pandas.Timestamp.tz
pandas.Timestamp.ceil
pandas.Timestamp.combine
pandas.Timestamp.floor
pandas.Timestamp.fromordinal
pandas.Timestamp.replace
pandas.Timestamp.round
pandas.Timestamp.weekday
pandas.Timedelta.ceil
pandas.Timedelta.floor
pandas.Timedelta.isoformat
pandas.Timedelta.round
```
I did not find the method for `pandas.Timestamp.isoweekday` this in the Timestamp source code. Was this deprecated ? @datapythonista | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28053/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28053/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28053.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28053",
"merged_at": "2019-09-28T07:39:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28053.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28053"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28054 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28054/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28054/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28054/events | https://github.com/pandas-dev/pandas/pull/28054 | 483,229,169 | MDExOlB1bGxSZXF1ZXN0MzA5MzQ2Nzgz | 28,054 | Backport PR #28029 on branch 0.25.x (DOC: Change document code prun in a row) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-21T06:43:34Z | 2019-08-21T17:08:05Z | 2019-08-21T17:08:05Z | NONE | null | Backport PR #28029: DOC: Change document code prun in a row | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28054/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28054/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28054.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28054",
"merged_at": "2019-08-21T17:08:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28054.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28054"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28055 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28055/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28055/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28055/events | https://github.com/pandas-dev/pandas/issues/28055 | 483,241,194 | MDU6SXNzdWU0ODMyNDExOTQ= | 28,055 | ValueError: buffer source array is read-only on DatetimeIndex with one element | {
"avatar_url": "https://avatars.githubusercontent.com/u/8479244?v=4",
"events_url": "https://api.github.com/users/mir06/events{/privacy}",
"followers_url": "https://api.github.com/users/mir06/followers",
"following_url": "https://api.github.com/users/mir06/following{/other_user}",
"gists_url": "https://api.github.com/users/mir06/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mir06",
"id": 8479244,
"login": "mir06",
"node_id": "MDQ6VXNlcjg0NzkyNDQ=",
"organizations_url": "https://api.github.com/users/mir06/orgs",
"received_events_url": "https://api.github.com/users/mir06/received_events",
"repos_url": "https://api.github.com/users/mir06/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mir06/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mir06/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mir06"
} | [
{
"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": "e11d21",
"default": false,
"description": "Functiona... | 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"
} | 5 | 2019-08-21T07:15:42Z | 2019-08-21T20:54:42Z | 2019-08-21T20:54:42Z | NONE | null | #### Code Sample
```python
# Your code here
import pandas as pd
import numpy as np
times = np.array([np.datetime64('2012-02-15T12:00:00.000000000')])
times.setflags(write=False)
[d for d in pd.to_datetime(times)]
```
#### Problem description
The above code raises a `ValueError: buffer source array is read-only` during the iteration over the `DatetimeIndex`.
**Note**: This code snippet is just for demonstration. Read-only arrays are generated e.g. from an xarray `broadcast`.
This did not happen for pandas<=0.25.0
#### Expected Output
```python
[Timestamp('2012-02-15 12:00:00')]
```
#### Output of ``pd.show_versions()``
```shell
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.0-5-amd64
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.17.0
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 41.1.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.7.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28055/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28055/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28056 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28056/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28056/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28056/events | https://github.com/pandas-dev/pandas/issues/28056 | 483,264,372 | MDU6SXNzdWU0ODMyNjQzNzI= | 28,056 | (df==0) vs. (df.values==0) performance penalty | {
"avatar_url": "https://avatars.githubusercontent.com/u/5398411?v=4",
"events_url": "https://api.github.com/users/trendelkampschroer/events{/privacy}",
"followers_url": "https://api.github.com/users/trendelkampschroer/followers",
"following_url": "https://api.github.com/users/trendelkampschroer/following{/other_user}",
"gists_url": "https://api.github.com/users/trendelkampschroer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/trendelkampschroer",
"id": 5398411,
"login": "trendelkampschroer",
"node_id": "MDQ6VXNlcjUzOTg0MTE=",
"organizations_url": "https://api.github.com/users/trendelkampschroer/orgs",
"received_events_url": "https://api.github.com/users/trendelkampschroer/received_events",
"repos_url": "https://api.github.com/users/trendelkampschroer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/trendelkampschroer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trendelkampschroer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/trendelkampschroer"
} | [] | closed | false | null | [] | null | 5 | 2019-08-21T08:09:12Z | 2019-08-21T20:15:54Z | 2019-08-21T16:15:07Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import numpy as np
import pandas as pd
T = 5000
S = 1000
X = np.random.randint(0, 10, size=(T, S))
df = pd.DataFrame(X, index=pd.date_range("2001-01-01", periods=T, freq="D"))
%timeit (df == 0)
>>> 327 ms ± 4.99 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
%timeit (df.values == 0)
2.85 ms ± 36.7 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
```
#### Problem description
I am using the boolean frame `df == 0` to find and set zeros in a given DataFrame `df`, i.e.
df[df == 0] = FOO, where FOO is some nonzero integer.
I found that using the expression df[df.values == 0] = FOO gives a significant speed-up.
I am wondering if the large overhead of (df == 0) compared to (df.values == 0) is to be expected. If so, then in which situation should I prefer the expression `df[df == 0]` over the much faster `df[df.values == 0]`?
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
pandas: 0.24.2
pytest: None
pip: 19.1.1
setuptools: 41.0.1
Cython: 0.29.6
numpy: 1.15.4
scipy: 1.1.0
pyarrow: None
xarray: None
IPython: 7.6.0
sphinx: None
patsy: 0.5.1
dateutil: 2.8.0
pytz: 2019.1
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 2.2.3
openpyxl: None
xlrd: 1.2.0
xlwt: None
xlsxwriter: None
lxml.etree: None
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.10.1
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/28056/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28056/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28057 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28057/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28057/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28057/events | https://github.com/pandas-dev/pandas/issues/28057 | 483,316,281 | MDU6SXNzdWU0ODMzMTYyODE= | 28,057 | Does read_hdf() in v0.25 really support "file-like object" as it claims? | {
"avatar_url": "https://avatars.githubusercontent.com/u/35362337?v=4",
"events_url": "https://api.github.com/users/huangsongjue/events{/privacy}",
"followers_url": "https://api.github.com/users/huangsongjue/followers",
"following_url": "https://api.github.com/users/huangsongjue/following{/other_user}",
"gists_url": "https://api.github.com/users/huangsongjue/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/huangsongjue",
"id": 35362337,
"login": "huangsongjue",
"node_id": "MDQ6VXNlcjM1MzYyMzM3",
"organizations_url": "https://api.github.com/users/huangsongjue/orgs",
"received_events_url": "https://api.github.com/users/huangsongjue/received_events",
"repos_url": "https://api.github.com/users/huangsongjue/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/huangsongjue/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/huangsongjue/subscriptions",
"type": "User",
"url": "https://api.github.com/users/huangsongjue"
} | [] | closed | false | null | [] | null | 1 | 2019-08-21T09:47:16Z | 2019-08-21T12:06:07Z | 2019-08-21T12:06:07Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
import pandas as pd
pd.read_hdf('housing.h5')
f=open('housing.h5', 'r')
pd.read_hdf(f)
```
#### Problem description
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_hdf.html says:
> path_or_buf : str, path object, pandas.HDFStore or file-like object
By file-like object, we refer to objects with a read() method, such as a file handler (e.g. via builtin open function) or StringIO.
>
#### Somehow when I was trying to use a 'file-like object', just as in pd.read_csv(), I encountered error below:
NotImplementedError Traceback (most recent call last)
<ipython-input-5-25a431458ef6> in \<module\>()
----> 1 pd.read_hdf(f)
~/anaconda3/lib/python3.6/site-packages/pandas/io/pytables.py in read_hdf(path_or_buf, key, mode, **kwargs)
368 if not isinstance(path_or_buf, str):
369 raise NotImplementedError(
--> 370 "Support for generic buffers has not " "been implemented."
371 )
372 try:
NotImplementedError: Support for generic buffers has not been implemented.
#### Expected Output
Out[3]:
MedInc HouseAge AveRooms AveBedrms Population AveOccup Latitude Longitude Price
0 3.1327 24.0 4.665122 1.020857 2264.0 2.623407 36.93 -121.75 2.181
1 3.6000 48.0 4.988920 0.977839 1071.0 2.966759 36.92 -121.75 1.945
2 2.4615 46.0 4.465574 1.052459 1068.0 3.501639 36.92 -121.75 1.778
3 3.2216 36.0 5.319797 1.038071 1454.0 3.690355 36.92 -121.76 2.383
4 3.4125 46.0 3.587121 0.973485 1120.0 4.242424 36.92 -121.76 1.607
... ... ... ... ... ... ... ... ... ...
2058 4.1250 37.0 7.285714 1.214286 29.0 2.071429 39.12 -121.52 0.720
2059 2.1667 36.0 6.573099 1.076023 504.0 2.947368 39.18 -121.43 0.938
2060 3.0000 5.0 6.067797 1.101695 169.0 2.864407 39.13 -121.32 1.625
2061 2.5952 19.0 5.238462 1.079487 1018.0 2.610256 39.10 -121.48 0.924
2062 2.0943 28.0 5.519802 1.020902 6912.0 3.801980 39.12 -121.39 1.083
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.5.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-957.5.1.el7.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.17.0
pytz : 2018.4
dateutil : 2.7.3
pip : 19.2.1
setuptools : 41.0.1
Cython : 0.28.5
pytest : 3.5.1
hypothesis : None
sphinx : 1.7.4
blosc : None
feather : None
xlsxwriter : 1.0.4
lxml.etree : 4.2.5
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : 6.4.0
pandas_datareader: 0.7.4
bs4 : 4.6.0
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.2.5
matplotlib : 2.2.2
numexpr : 2.6.5
odfpy : None
openpyxl : 2.5.3
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.1.0
sqlalchemy : 1.2.7
tables : 3.4.3
xarray : None
xlrd : 1.1.0
xlwt : 1.3.0
xlsxwriter : 1.0.4
</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/28057/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28057/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28058 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28058/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28058/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28058/events | https://github.com/pandas-dev/pandas/issues/28058 | 483,396,763 | MDU6SXNzdWU0ODMzOTY3NjM= | 28,058 | pd.Series.nbytes | {
"avatar_url": "https://avatars.githubusercontent.com/u/5678472?v=4",
"events_url": "https://api.github.com/users/gcelano/events{/privacy}",
"followers_url": "https://api.github.com/users/gcelano/followers",
"following_url": "https://api.github.com/users/gcelano/following{/other_user}",
"gists_url": "https://api.github.com/users/gcelano/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gcelano",
"id": 5678472,
"login": "gcelano",
"node_id": "MDQ6VXNlcjU2Nzg0NzI=",
"organizations_url": "https://api.github.com/users/gcelano/orgs",
"received_events_url": "https://api.github.com/users/gcelano/received_events",
"repos_url": "https://api.github.com/users/gcelano/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gcelano/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gcelano/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gcelano"
} | [
{
"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 | 2019-08-21T12:40:45Z | 2019-08-21T14:23:49Z | 2019-08-21T14:23:42Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
pd.Series(["s", "s", "dfffdd", "d"]).nbytes
```
#### Problem description
I always get the same number of bytes, no matter how long the strings are
#### Expected Output
96 # or 36
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.9.final.0
python-bits : 64
OS : Darwin
OS-release : 17.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 41.0.1
Cython : 0.29.13
pytest : 5.0.1
hypothesis : None
sphinx : 2.1.2
blosc : None
feather : None
xlsxwriter : 1.1.8
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.7.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.1.0
numexpr : 2.7.0
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.7
tables : 3.4.4
xarray : None
xlrd : 1.2.0
xlwt : 1.2.0
xlsxwriter : 1.1.8
</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/28058/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28058/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28059 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28059/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28059/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28059/events | https://github.com/pandas-dev/pandas/pull/28059 | 483,397,710 | MDExOlB1bGxSZXF1ZXN0MzA5NDgxOTM4 | 28,059 | BUG: Correct the previous bug fixing on xlim for plotting | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 9 | 2019-08-21T12:42:37Z | 2019-08-21T15:18:11Z | 2019-08-21T15:18:10Z | MEMBER | null | - [ ] xref: #28021 #27993
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28059/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28059/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28059.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28059",
"merged_at": "2019-08-21T15:18:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28059.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28059"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28060 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28060/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28060/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28060/events | https://github.com/pandas-dev/pandas/pull/28060 | 483,491,389 | MDExOlB1bGxSZXF1ZXN0MzA5NTU3Nzc5 | 28,060 | Update groupby | {
"avatar_url": "https://avatars.githubusercontent.com/u/34047134?v=4",
"events_url": "https://api.github.com/users/proost/events{/privacy}",
"followers_url": "https://api.github.com/users/proost/followers",
"following_url": "https://api.github.com/users/proost/following{/other_user}",
"gists_url": "https://api.github.com/users/proost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/proost",
"id": 34047134,
"login": "proost",
"node_id": "MDQ6VXNlcjM0MDQ3MTM0",
"organizations_url": "https://api.github.com/users/proost/orgs",
"received_events_url": "https://api.github.com/users/proost/received_events",
"repos_url": "https://api.github.com/users/proost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/proost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/proost"
} | [] | closed | false | null | [] | null | 0 | 2019-08-21T15:26:38Z | 2019-08-22T17:21:07Z | 2019-08-22T17:21:07Z | CONTRIBUTOR | null | - [ ] closes #20519
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28060/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28060/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28060.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28060",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28060.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28060"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28061 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28061/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28061/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28061/events | https://github.com/pandas-dev/pandas/pull/28061 | 483,508,799 | MDExOlB1bGxSZXF1ZXN0MzA5NTcxMTY3 | 28,061 | PERF: cython-optimized datetime constructor | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [] | closed | false | null | [] | null | 1 | 2019-08-21T15:57:00Z | 2020-04-05T17:35:53Z | 2019-08-22T01:05:04Z | MEMBER | null | Calling the datetime constructor goes through python space, so the C code generated by `dt = datetime(obj.dts.year, obj.dts.month, obj.dts.day, obj.dts.hour, obj.dts.min, obj.dts.sec, obj.dts.us, obj.tzinfo)` in master is:
```
__pyx_t_1 = __Pyx_PyInt_From_npy_int64(__pyx_v_obj->dts.year); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 435, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_3 = __Pyx_PyInt_From_npy_int32(__pyx_v_obj->dts.month); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 435, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_7 = __Pyx_PyInt_From_npy_int32(__pyx_v_obj->dts.day); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 435, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_4 = __Pyx_PyInt_From_npy_int32(__pyx_v_obj->dts.hour); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 436, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_2 = __Pyx_PyInt_From_npy_int32(__pyx_v_obj->dts.min); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 436, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_5 = __Pyx_PyInt_From_npy_int32(__pyx_v_obj->dts.sec); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 436, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_11 = __Pyx_PyInt_From_npy_int32(__pyx_v_obj->dts.us); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 437, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_11);
__pyx_t_12 = PyTuple_New(8); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 435, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_12);
__Pyx_GIVEREF(__pyx_t_1);
PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_1);
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_3);
__Pyx_GIVEREF(__pyx_t_7);
PyTuple_SET_ITEM(__pyx_t_12, 2, __pyx_t_7);
__Pyx_GIVEREF(__pyx_t_4);
PyTuple_SET_ITEM(__pyx_t_12, 3, __pyx_t_4);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_12, 4, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_12, 5, __pyx_t_5);
__Pyx_GIVEREF(__pyx_t_11);
PyTuple_SET_ITEM(__pyx_t_12, 6, __pyx_t_11);
__Pyx_INCREF(__pyx_v_obj->tzinfo);
__Pyx_GIVEREF(__pyx_v_obj->tzinfo);
PyTuple_SET_ITEM(__pyx_t_12, 7, __pyx_v_obj->tzinfo);
__pyx_t_1 = 0;
__pyx_t_3 = 0;
__pyx_t_7 = 0;
__pyx_t_4 = 0;
__pyx_t_2 = 0;
__pyx_t_5 = 0;
__pyx_t_11 = 0;
__pyx_t_11 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_7cpython_8datetime_datetime), __pyx_t_12, NULL); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 435, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_11);
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
__pyx_v_dt = ((PyDateTime_DateTime *)__pyx_t_11);
__pyx_t_11 = 0;
```
Using `datetime_new` we instead get:
```
__pyx_t_1 = __pyx_v_obj->tzinfo;
__Pyx_INCREF(__pyx_t_1);
__pyx_t_3 = __pyx_f_7cpython_8datetime_datetime_new(__pyx_v_obj->dts.year, __pyx_v_obj->dts.month, __pyx_v_obj->dts.day, __pyx_v_obj->dts.hour, __pyx_v_obj->dts.min, __pyx_v_obj->dts.sec, __pyx_v_obj->dts.us, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 437, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_7cpython_8datetime_datetime))))) __PYX_ERR(0, 437, __pyx_L1_error)
__pyx_v_dt = ((PyDateTime_DateTime *)__pyx_t_3);
__pyx_t_3 = 0;
```
Still need to run asv to see if this actually matters. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28061/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28061/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28061.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28061",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28061.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28061"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28062 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28062/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28062/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28062/events | https://github.com/pandas-dev/pandas/issues/28062 | 483,511,956 | MDU6SXNzdWU0ODM1MTE5NTY= | 28,062 | CI: Enable azure pipelines build on backport PRs | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | null | 1 | 2019-08-21T16:02:47Z | 2019-08-21T16:09:13Z | 2019-08-21T16:09:13Z | 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/28062/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28062/timeline | null | null | null | |
https://api.github.com/repos/pandas-dev/pandas/issues/28063 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28063/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28063/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28063/events | https://github.com/pandas-dev/pandas/pull/28063 | 483,513,703 | MDExOlB1bGxSZXF1ZXN0MzA5NTc0ODk2 | 28,063 | CI: Test azure | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | null | 1 | 2019-08-21T16:06:11Z | 2019-08-21T16:07:13Z | 2019-08-21T16:06:36Z | CONTRIBUTOR | null | In the azure UI we had set up a branch filter to only build on master. This is testing that we still build for PRs against master. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28063/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28063/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28063.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28063",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28063.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28063"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28064 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28064/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28064/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28064/events | https://github.com/pandas-dev/pandas/pull/28064 | 483,514,991 | MDExOlB1bGxSZXF1ZXN0MzA5NTc1ODYx | 28,064 | CI: Test azure | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | null | 2 | 2019-08-21T16:08:39Z | 2019-08-21T18:41:16Z | 2019-08-21T17:09:15Z | CONTRIBUTOR | null | Testing that an azure CI build is triggered (and passes) for 0.25.x | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28064/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28064/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28064.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28064",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28064.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28064"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28065 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28065/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28065/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28065/events | https://github.com/pandas-dev/pandas/pull/28065 | 483,536,532 | MDExOlB1bGxSZXF1ZXN0MzA5NTkyNzAw | 28,065 | CI: disable codecov | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 5 | 2019-08-21T16:53:22Z | 2019-08-21T21:09:16Z | 2019-08-21T20:23:15Z | MEMBER | null | xref #27602 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28065/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28065/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28065.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28065",
"merged_at": "2019-08-21T20:23:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28065.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28065"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28066 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28066/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28066/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28066/events | https://github.com/pandas-dev/pandas/pull/28066 | 483,543,589 | MDExOlB1bGxSZXF1ZXN0MzA5NTk4NDAz | 28,066 | REF: do extract_array earlier in series arith/comparison ops | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "6138b5",
"de... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 9 | 2019-08-21T17:09:14Z | 2019-09-02T22:54:55Z | 2019-09-02T21:09:20Z | MEMBER | null | With this, the middle third of _arith_method_SERIES and _comp_method_SERIES are array-specific and can be refactored out (separate step) to become a) block-wise implementation for DataFrame and b) PandasArray implementation.
This also simplifies the NullFrequencyError handling nicely. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28066/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28066/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28066.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28066",
"merged_at": "2019-09-02T21:09:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28066.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28066"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28067 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28067/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28067/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28067/events | https://github.com/pandas-dev/pandas/pull/28067 | 483,544,358 | MDExOlB1bGxSZXF1ZXN0MzA5NTk5MDI0 | 28,067 | Set SHA for codecov upload | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 1 | 2019-08-21T17:11:08Z | 2019-08-21T18:32:32Z | 2019-08-21T18:32:28Z | CONTRIBUTOR | null | Just a test. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28067/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28067/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28067.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28067",
"merged_at": "2019-08-21T18:32:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28067.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28067"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28068 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28068/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28068/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28068/events | https://github.com/pandas-dev/pandas/pull/28068 | 483,553,568 | MDExOlB1bGxSZXF1ZXN0MzA5NjA2Mzk1 | 28,068 | Remove alias in pandas docs for numpy.random.randn | {
"avatar_url": "https://avatars.githubusercontent.com/u/42381276?v=4",
"events_url": "https://api.github.com/users/WuraolaOyewusi/events{/privacy}",
"followers_url": "https://api.github.com/users/WuraolaOyewusi/followers",
"following_url": "https://api.github.com/users/WuraolaOyewusi/following{/other_user}",
"gists_url": "https://api.github.com/users/WuraolaOyewusi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WuraolaOyewusi",
"id": 42381276,
"login": "WuraolaOyewusi",
"node_id": "MDQ6VXNlcjQyMzgxMjc2",
"organizations_url": "https://api.github.com/users/WuraolaOyewusi/orgs",
"received_events_url": "https://api.github.com/users/WuraolaOyewusi/received_events",
"repos_url": "https://api.github.com/users/WuraolaOyewusi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WuraolaOyewusi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WuraolaOyewusi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WuraolaOyewusi"
} | [] | closed | false | null | [] | null | 3 | 2019-08-21T17:32:05Z | 2019-08-22T12:55:25Z | 2019-08-22T12:55:25Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28068/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28068/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28068.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28068",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28068.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28068"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28069 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28069/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28069/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28069/events | https://github.com/pandas-dev/pandas/pull/28069 | 483,557,534 | MDExOlB1bGxSZXF1ZXN0MzA5NjA5NTI4 | 28,069 | set sha | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | null | 0 | 2019-08-21T17:41:31Z | 2019-08-21T18:32:37Z | 2019-08-21T18:32:37Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28069/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28069/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28069.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28069",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28069.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28069"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28070 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28070/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28070/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28070/events | https://github.com/pandas-dev/pandas/pull/28070 | 483,583,174 | MDExOlB1bGxSZXF1ZXN0MzA5NjMwNDY5 | 28,070 | Backport PR #28067 on branch 0.25.x (Set SHA for codecov upload) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 1 | 2019-08-21T18:32:40Z | 2019-08-21T19:43:58Z | 2019-08-21T19:43:58Z | NONE | null | Backport PR #28067: Set SHA for codecov upload | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28070/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28070/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28070.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28070",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28070.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28070"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28071 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28071/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28071/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28071/events | https://github.com/pandas-dev/pandas/issues/28071 | 483,600,707 | MDU6SXNzdWU0ODM2MDA3MDc= | 28,071 | Loading CSV files (using `read_csv`) with blank lines between header and data rows quits Python interpreter | {
"avatar_url": "https://avatars.githubusercontent.com/u/527612?v=4",
"events_url": "https://api.github.com/users/plartoo/events{/privacy}",
"followers_url": "https://api.github.com/users/plartoo/followers",
"following_url": "https://api.github.com/users/plartoo/following{/other_user}",
"gists_url": "https://api.github.com/users/plartoo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/plartoo",
"id": 527612,
"login": "plartoo",
"node_id": "MDQ6VXNlcjUyNzYxMg==",
"organizations_url": "https://api.github.com/users/plartoo/orgs",
"received_events_url": "https://api.github.com/users/plartoo/received_events",
"repos_url": "https://api.github.com/users/plartoo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/plartoo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/plartoo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/plartoo"
} | [
{
"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": "36ede0",
"default": false,
"descriptio... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4",
"events_url": "https://api.github.com/users/roberthdevries/events{/privacy}",
"followers_url": "https://api.github.com/users/roberthdevries/followers",
"following_url": "https://api.github.com/users/roberthdevries/following{/other_user}",
"gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roberthdevries",
"id": 10944368,
"login": "roberthdevries",
"node_id": "MDQ6VXNlcjEwOTQ0MzY4",
"organizations_url": "https://api.github.com/users/roberthdevries/orgs",
"received_events_url": "https://api.github.com/users/roberthdevries/received_events",
"repos_url": "https://api.github.com/users/roberthdevries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roberthdevries"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4",
"events_url": "https://api.github.com/users/roberthdevries/events{/privacy}",
"followers_url": "https://api.github.com/users/roberthdevries/followers",
"following_url": "https://api.github.com/users/roberthdevries/following{/oth... | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 4 | 2019-08-21T19:07:05Z | 2020-03-16T02:21:29Z | 2020-03-16T02:21:29Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```
import pandas as pd # tested with pandas 25.0 using Python 3.6.8
pd.read_csv('my_csv.csv', delimiter='|', header=4, nrows=1, skip_blank_lines=False) # this makes interpreter exit without any error message
pd.read_csv('my_csv.csv', delimiter='|', header=4, nrows=2, skip_blank_lines=False) # this is fine producing output below
int_id_1_1_1 date_2019-01-01_2019-12-31_2 ascii_str_8_8_3 double_-1.0_1.0_4 integer_-1000_1000_5
0 NaN NaN NaN NaN NaN
1 NaN NaN NaN NaN NaN
```
#### Problem description
I have been trying to load a test CSV file ("my_csv.txt", attached), which is structured in a way that there's an information text on the second row; row header line on the fifth row; and the data starts at the ninth row. As you can see in the Python code above, `read_csv` fails when `nrows=1` , but doesn't when `nrows>1`.
I think there's some uncaught bug in Pandas' `read_csv` when CSV file has blank lines between header and the start of the data rows. Thank you for your hard work maintaining and extending this very useful library.
[my_csv.txt](https://github.com/pandas-dev/pandas/files/3526892/my_csv.txt)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28071/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28071/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28072 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28072/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28072/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28072/events | https://github.com/pandas-dev/pandas/pull/28072 | 483,611,068 | MDExOlB1bGxSZXF1ZXN0MzA5NjUzNzQz | 28,072 | TST: non-strict xfail for period test | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 2 | 2019-08-21T19:31:38Z | 2019-08-21T20:53:13Z | 2019-08-21T20:53:10Z | CONTRIBUTOR | null | This was XPASSing on the MacPython builds:
https://travis-ci.org/MacPython/pandas-wheels/jobs/574706922 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28072/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28072/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28072.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28072",
"merged_at": "2019-08-21T20:53:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28072.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28072"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28073 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28073/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28073/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28073/events | https://github.com/pandas-dev/pandas/pull/28073 | 483,614,223 | MDExOlB1bGxSZXF1ZXN0MzA5NjU2MzEy | 28,073 | DOC: Update whatsnew | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 2 | 2019-08-21T19:39:00Z | 2019-08-21T21:09:16Z | 2019-08-21T20:52:03Z | 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/28073/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28073/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28073.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28073",
"merged_at": "2019-08-21T20:52:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28073.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28073"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/28074 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28074/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28074/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28074/events | https://github.com/pandas-dev/pandas/pull/28074 | 483,631,931 | MDExOlB1bGxSZXF1ZXN0MzA5NjcwODk5 | 28,074 | BUG: iter with readonly values, closes #28055 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 3 | 2019-08-21T20:20:23Z | 2019-08-21T21:35:23Z | 2019-08-21T20:54:42Z | MEMBER | null | @TomAugspurger wanted to get this in under the wire?
- [x] closes #28055
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28074/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28074/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28074.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28074",
"merged_at": "2019-08-21T20:54:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28074.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28074"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28075 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28075/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28075/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28075/events | https://github.com/pandas-dev/pandas/pull/28075 | 483,636,777 | MDExOlB1bGxSZXF1ZXN0MzA5Njc0OTEw | 28,075 | DOC: redirect from_csv search | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 7 | 2019-08-21T20:30:56Z | 2019-09-28T09:14:07Z | 2019-09-28T09:14:07Z | CONTRIBUTOR | null | A web search for "DataFrame from CSV" leads to
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.from_csv.html
which is currently a 404, since DataFrame.from_csv was removed. Redirect
it to read_csv.
Normally we shouldn't worry about this, but I suspect this is a common search term. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28075/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28075/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28075.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28075",
"merged_at": "2019-09-28T09:14:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28075.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28075"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28076 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28076/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28076/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28076/events | https://github.com/pandas-dev/pandas/pull/28076 | 483,645,862 | MDExOlB1bGxSZXF1ZXN0MzA5NjgyNDYw | 28,076 | Backport PR #28065: CI: disable codecov | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-21T20:51:21Z | 2019-08-22T11:31:26Z | 2019-08-22T11:31:22Z | 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/28076/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28076/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28076.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28076",
"merged_at": "2019-08-22T11:31:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28076.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28076"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/28077 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28077/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28077/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28077/events | https://github.com/pandas-dev/pandas/pull/28077 | 483,646,990 | MDExOlB1bGxSZXF1ZXN0MzA5NjgzNDE2 | 28,077 | Backport PR #28072 on branch 0.25.x (TST: non-strict xfail for period test) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 1 | 2019-08-21T20:53:53Z | 2019-08-22T11:29:21Z | 2019-08-22T11:29:21Z | NONE | null | Backport PR #28072: TST: non-strict xfail for period test | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28077/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28077/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28077.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28077",
"merged_at": "2019-08-22T11:29:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28077.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28077"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28078 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28078/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28078/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28078/events | https://github.com/pandas-dev/pandas/pull/28078 | 483,654,009 | MDExOlB1bGxSZXF1ZXN0MzA5Njg5MzUw | 28,078 | Auto backport of pr 28074 on 0.25.x | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 2 | 2019-08-21T21:08:37Z | 2019-08-22T11:30:28Z | 2019-08-22T11:30:24Z | CONTRIBUTOR | null | #28073 and #28074 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28078/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28078/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28078.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28078",
"merged_at": "2019-08-22T11:30:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28078.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28078"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28079 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28079/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28079/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28079/events | https://github.com/pandas-dev/pandas/issues/28079 | 483,677,427 | MDU6SXNzdWU0ODM2Nzc0Mjc= | 28,079 | API: flex comparisons DataFrame vs Series inconsistency | {
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "006b75",
"default": false,
"description": "A... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-08-21T22:14:21Z | 2019-09-26T12:25:29Z | 2019-09-26T12:25:29Z | MEMBER | null | In tests.frame.test_arithmetic we test the DataFrame part of the following, but we do not test the Series behavior (at least not in that file)
```
arr = np.array([np.nan, 1, 6, np.nan])
arr2 = np.array([2j, np.nan, 7, None])
ser = pd.Series(arr)
ser2 = pd.Series(arr2)
df = pd.DataFrame(ser)
df2 = pd.DataFrame(ser2)
ser < ser2 # raises TypeError, makes sense
df < df2 # raises TypeError, makes sense
ser.lt(ser2) # raises TypeError, makes sense
>>> df.lt(df2)
0
0 False
1 False
2 True
3 False
```
The `df.lt(df2)` version (the "flex" op) masks positions where either `df` or `df2` is null. That is fine, but why doesn't the `Series` version do the same thing? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28079/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28079/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28080 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28080/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28080/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28080/events | https://github.com/pandas-dev/pandas/issues/28080 | 483,690,109 | MDU6SXNzdWU0ODM2OTAxMDk= | 28,080 | BUG: Series[int] + datetime64 should 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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2019-08-21T23:00:20Z | 2019-09-10T11:40:19Z | 2019-09-08T17:09:55Z | MEMBER | null | identified [here](https://github.com/pandas-dev/pandas/commit/a6c0d02c99cfaf90119d1316dd897019326472c1#r34783276). We handle this correctly for timedelta64, but apparently not datetime64
```
iser = pd.Series(range(3))
dt = np.datetime64(3, "D")
>>> iser + dt
0 1970-01-04
1 1970-01-05
2 1970-01-06
```
Should behave like `iser + pd.Timestamp(dt)`:
```
>>> iser + pd.Timestamp(dt)
[...]
ValueError: Cannot add integral value to Timestamp without freq.
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28080/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28080/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28081 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28081/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28081/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28081/events | https://github.com/pandas-dev/pandas/pull/28081 | 483,745,666 | MDExOlB1bGxSZXF1ZXN0MzA5NzYyNDE2 | 28,081 | REF: separate bloated 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": "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,
"de... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-08-22T03:09:37Z | 2019-09-02T22:56:03Z | 2019-09-02T21:06:27Z | MEMBER | null | Working on logical ops I'm finding a bunch of internal inconsistencies that will need to be addressed. Since those are liable to have large diffs, this starts off with refactor that leaves behavior unchanged: simplify the method itself, and split a giant test into well-scoped ones.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28081/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28081/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28081.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28081",
"merged_at": "2019-09-02T21:06:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28081.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28081"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28082 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28082/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28082/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28082/events | https://github.com/pandas-dev/pandas/pull/28082 | 483,752,654 | MDExOlB1bGxSZXF1ZXN0MzA5NzY3ODg0 | 28,082 | DOC: Remove alias for numpy.random.randn from the docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/42381276?v=4",
"events_url": "https://api.github.com/users/WuraolaOyewusi/events{/privacy}",
"followers_url": "https://api.github.com/users/WuraolaOyewusi/followers",
"following_url": "https://api.github.com/users/WuraolaOyewusi/following{/other_user}",
"gists_url": "https://api.github.com/users/WuraolaOyewusi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WuraolaOyewusi",
"id": 42381276,
"login": "WuraolaOyewusi",
"node_id": "MDQ6VXNlcjQyMzgxMjc2",
"organizations_url": "https://api.github.com/users/WuraolaOyewusi/orgs",
"received_events_url": "https://api.github.com/users/WuraolaOyewusi/received_events",
"repos_url": "https://api.github.com/users/WuraolaOyewusi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WuraolaOyewusi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WuraolaOyewusi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WuraolaOyewusi"
} | [
{
"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 | 4 | 2019-08-22T03:41:27Z | 2019-08-23T09:01:35Z | 2019-08-23T09:01:29Z | CONTRIBUTOR | null | Based on this comment: https://github.com/pandas-dev/pandas/issues/28038#issuecomment-523439376
Supersedes #28068 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28082/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28082/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28082.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28082",
"merged_at": "2019-08-23T09:01:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28082.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28082"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28083 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28083/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28083/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28083/events | https://github.com/pandas-dev/pandas/issues/28083 | 483,754,978 | MDU6SXNzdWU0ODM3NTQ5Nzg= | 28,083 | `The default of the 'keep_tz' keyword in DatetimeIndex.to_series will change to True in a future release.` | {
"avatar_url": "https://avatars.githubusercontent.com/u/886074?v=4",
"events_url": "https://api.github.com/users/teto/events{/privacy}",
"followers_url": "https://api.github.com/users/teto/followers",
"following_url": "https://api.github.com/users/teto/following{/other_user}",
"gists_url": "https://api.github.com/users/teto/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/teto",
"id": 886074,
"login": "teto",
"node_id": "MDQ6VXNlcjg4NjA3NA==",
"organizations_url": "https://api.github.com/users/teto/orgs",
"received_events_url": "https://api.github.com/users/teto/received_events",
"repos_url": "https://api.github.com/users/teto/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/teto/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/teto/subscriptions",
"type": "User",
"url": "https://api.github.com/users/teto"
} | [
{
"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 | 2019-08-22T03:52:12Z | 2019-08-23T18:10:49Z | 2019-08-23T18:10:49Z | NONE | null | #### Code Sample, a copy-pastable example if possible
How am I supposed to turn this warning down without patching pandas ?
```
DEBUG:mptcpanalyzer.connection:Filling mptcp destinations
Traceback (most recent call last):
File "/nix/store/a5sg76c2q39jk0lgn5bxi4vfm0j36rrx-python3.7-cmd2-0.9.17/lib/python3.7/site-packages/cmd2/cmd2.py", line 1764, in onecmd_plus_hooks
stop = self.onecmd(statement, add_to_history=add_to_history)
File "/nix/store/a5sg76c2q39jk0lgn5bxi4vfm0j36rrx-python3.7-cmd2-0.9.17/lib/python3.7/site-packages/cmd2/cmd2.py", line 2159, in onecmd
stop = func(statement)
File "/nix/store/a5sg76c2q39jk0lgn5bxi4vfm0j36rrx-python3.7-cmd2-0.9.17/lib/python3.7/site-packages/cmd2/cmd2.py", line 217, in cmd_wrapper
return func(cmd2_app, args, unknown)
File "/home/teto/mptcpanalyzer/mptcpanalyzer/cli.py", line 1158, in do_plot
result = plotter.run(**dataframes, **dargs)
File "/home/teto/mptcpanalyzer/mptcpanalyzer/plot.py", line 269, in run
fig = self.plot(*pargs, styles=styles, **kwargs)
File "/home/teto/mptcpanalyzer/mptcpanalyzer/plots/dss.py", line 113, in plot
df = con.fill_dest(rawdf)
File "/home/teto/mptcpanalyzer/mptcpanalyzer/connection.py", line 336, in fill_dest
df_dest = df.query(q, engine="python")
File "/nix/store/mczyj76z8r6mnlkp3q71nmy2qv3mv3db-python3.7-pandas-0.25.0/lib/python3.7/site-packages/pandas/core/frame.py", line 3179, in query
res = self.eval(expr, **kwargs)
File "/nix/store/mczyj76z8r6mnlkp3q71nmy2qv3mv3db-python3.7-pandas-0.25.0/lib/python3.7/site-packages/pandas/core/frame.py", line 3289, in eval
index_resolvers = self._get_index_resolvers()
File "/nix/store/mczyj76z8r6mnlkp3q71nmy2qv3mv3db-python3.7-pandas-0.25.0/lib/python3.7/site-packages/pandas/core/generic.py", line 473, in _get_index_resolvers
d.update(self._get_axis_resolvers(axis_name))
File "/nix/store/mczyj76z8r6mnlkp3q71nmy2qv3mv3db-python3.7-pandas-0.25.0/lib/python3.7/site-packages/pandas/core/generic.py", line 457, in _get_axis_resolvers
s = level_values.to_series()
File "/nix/store/mczyj76z8r6mnlkp3q71nmy2qv3mv3db-python3.7-pandas-0.25.0/lib/python3.7/site-packages/pandas/core/indexes/datetimes.py", line 721, in to_series
stacklevel=2,
FutureWarning: The default of the 'keep_tz' keyword in DatetimeIndex.to_series will change to True in a future release. You can set 'keep_tz=True' to obtain the future behaviour and silence this warning.
EXCEPTION of type 'FutureWarning' occurred with message: 'The default of the 'keep_tz' keyword in DatetimeIndex.to_series will change to True in a future release. You can set 'keep_tz=True' to obtain the future behaviour and silence this warning.'
```
...since the `level_values.to_series()` call is in pandas.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 5.1.0
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.17.0
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1.1
setuptools : 41.0.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.3.3
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : 4.7.1
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.3.3
matplotlib : 3.1.1
numexpr : 2.6.9
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.0
sqlalchemy : 1.2.14
tables : 3.5.2
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 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/28083/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28083/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28084 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28084/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28084/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28084/events | https://github.com/pandas-dev/pandas/issues/28084 | 483,907,443 | MDU6SXNzdWU0ODM5MDc0NDM= | 28,084 | pandas slow replace with int64 columns in dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/1430861?v=4",
"events_url": "https://api.github.com/users/apiszcz/events{/privacy}",
"followers_url": "https://api.github.com/users/apiszcz/followers",
"following_url": "https://api.github.com/users/apiszcz/following{/other_user}",
"gists_url": "https://api.github.com/users/apiszcz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/apiszcz",
"id": 1430861,
"login": "apiszcz",
"node_id": "MDQ6VXNlcjE0MzA4NjE=",
"organizations_url": "https://api.github.com/users/apiszcz/orgs",
"received_events_url": "https://api.github.com/users/apiszcz/received_events",
"repos_url": "https://api.github.com/users/apiszcz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/apiszcz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/apiszcz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/apiszcz"
} | [] | closed | false | null | [] | null | 1 | 2019-08-22T10:28:54Z | 2019-08-26T20:14:07Z | 2019-08-26T20:14:07Z | NONE | null | Reproduced issue in part without n2 and n3 and with n2 n3 see prior issue:
https://github.com/pandas-dev/pandas/issues/12257
The replace runs 10x slower when encountering int64 columns
WITHOUT n2,n3, **1.73 seconds**
```
a1=np.zeros((40000000,1))
a1[:,:]=np.inf
df=pd.DataFrame(a1)
df['a1']=''
df['n1']=0.0
# df['n2']=0.0
# df['n2']=df['n2'].astype(np.int64)
# df['n3']=0.0
# df['n3']=df['n3'].astype(np.int64)
df['n1'].astype('datetime64[ns]')
df['a1']=df['a1'].astype('category')
%time df.replace([np.inf, -np.inf], np.nan)
```
WITH n2, n3 **`21.4 seconds`**
```
a1=np.zeros((40000000,1))
a1[:,:]=np.inf
df=pd.DataFrame(a1)
df['a1']=''
df['n1']=0.0
df['n2']=0.0
df['n2']=df['n2'].astype(np.int64)
df['n3']=0.0
df['n3']=df['n3'].astype(np.int64)
df['n1'].astype('datetime64[ns]')
df['a1']=df['a1'].astype('category')
%time df.replace([np.inf, -np.inf], np.nan)
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28084/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28084/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28085 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28085/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28085/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28085/events | https://github.com/pandas-dev/pandas/pull/28085 | 483,937,658 | MDExOlB1bGxSZXF1ZXN0MzA5OTE0NTc4 | 28,085 | Backport PR #27827 on branch 0.25.x (BUG: Fixed groupby quantile for listlike q) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 4 | 2019-08-22T11:29:00Z | 2019-08-23T13:30:32Z | 2019-08-22T12:17:29Z | NONE | null | Backport PR #27827: BUG: Fixed groupby quantile for listlike q | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28085/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28085/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28085.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28085",
"merged_at": "2019-08-22T12:17:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28085.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28085"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28086 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28086/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28086/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28086/events | https://github.com/pandas-dev/pandas/issues/28086 | 483,944,591 | MDU6SXNzdWU0ODM5NDQ1OTE= | 28,086 | Index not iterable in Pandas 0.25.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8429425?v=4",
"events_url": "https://api.github.com/users/MatsZ/events{/privacy}",
"followers_url": "https://api.github.com/users/MatsZ/followers",
"following_url": "https://api.github.com/users/MatsZ/following{/other_user}",
"gists_url": "https://api.github.com/users/MatsZ/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MatsZ",
"id": 8429425,
"login": "MatsZ",
"node_id": "MDQ6VXNlcjg0Mjk0MjU=",
"organizations_url": "https://api.github.com/users/MatsZ/orgs",
"received_events_url": "https://api.github.com/users/MatsZ/received_events",
"repos_url": "https://api.github.com/users/MatsZ/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MatsZ/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MatsZ/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MatsZ"
} | [] | closed | false | null | [] | null | 3 | 2019-08-22T11:45:15Z | 2019-08-22T14:02:31Z | 2019-08-22T14:02:31Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import matplotlib.pyplot as plt
# Get graphs in the notebook:
%matplotlib inline
pd.show_versions()
df = pd.DataFrame({'A': [1, 2, 3, 4, 15, 20, 99]})
data = df['A']
plt.plot(data, (data.index.values + 1) / len(data))
plt.show()
plt.plot(data, (data.index + 1) / len(data))
plt.show()
```
#### Problem description
In Pandas 0.23.4 the percentiles in CDF graphs can be expressed as (data.index + 1) / len(data), but in Pandas 0.25.0 this has to be changed to (data.index.values + 1) / len(data). No distaster but lots of work to change in many scripts.
#### Expected Output
[two nice CDF plots]
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-47-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.2
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 41.0.1
Cython : 0.29.2
pytest : 4.0.2
hypothesis : None
sphinx : 1.8.2
blosc : None
feather : None
xlsxwriter : 1.1.2
lxml.etree : 4.2.5
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : 7.2.0
pandas_datareader: None
bs4 : 4.6.3
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.2.5
matplotlib : 3.0.2
numexpr : 2.6.8
odfpy : None
openpyxl : 2.5.12
pandas_gbq : None
pyarrow : 0.11.1
pytables : None
s3fs : None
scipy : 1.1.0
sqlalchemy : 1.2.15
tables : 3.4.4
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.1.2
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-5-4663fc04bafd> in <module>
14 plt.show()
15
---> 16 plt.plot(data, (data.index + 1) / len(data))
17 plt.show()
/opt/anaconda/anaconda3/lib/python3.7/site-packages/matplotlib/pyplot.py in plot(scalex, scaley, data, *args, **kwargs)
2811 return gca().plot(
2812 *args, scalex=scalex, scaley=scaley, **({"data": data} if data
-> 2813 is not None else {}), **kwargs)
2814
2815
/opt/anaconda/anaconda3/lib/python3.7/site-packages/matplotlib/__init__.py in inner(ax, data, *args, **kwargs)
1808 "the Matplotlib list!)" % (label_namer, func.__name__),
1809 RuntimeWarning, stacklevel=2)
-> 1810 return func(ax, *args, **kwargs)
1811
1812 inner.__doc__ = _add_data_doc(inner.__doc__,
/opt/anaconda/anaconda3/lib/python3.7/site-packages/matplotlib/axes/_axes.py in plot(self, scalex, scaley, *args, **kwargs)
1609 kwargs = cbook.normalize_kwargs(kwargs, mlines.Line2D._alias_map)
1610
-> 1611 for line in self._get_lines(*args, **kwargs):
1612 self.add_line(line)
1613 lines.append(line)
/opt/anaconda/anaconda3/lib/python3.7/site-packages/matplotlib/axes/_base.py in _grab_next_args(self, *args, **kwargs)
391 this += args[0],
392 args = args[1:]
--> 393 yield from self._plot_args(this, kwargs)
394
395
/opt/anaconda/anaconda3/lib/python3.7/site-packages/matplotlib/axes/_base.py in _plot_args(self, tup, kwargs)
376 func = self._makefill
377
--> 378 ncx, ncy = x.shape[1], y.shape[1]
379 if ncx > 1 and ncy > 1 and ncx != ncy:
380 cbook.warn_deprecated("2.2", "cycling among columns of inputs "
IndexError: tuple index out of range
</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/28086/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28086/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28087 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28087/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28087/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28087/events | https://github.com/pandas-dev/pandas/pull/28087 | 483,984,308 | MDExOlB1bGxSZXF1ZXN0MzA5OTUyNTY0 | 28,087 | Backport PR #27814 on branch 0.25.x (BUG: Series.rename raises error on values accepted by Series construc…) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-22T13:07:58Z | 2019-08-22T13:47:33Z | 2019-08-22T13:47:33Z | NONE | null | Backport PR #27814: BUG: Series.rename raises error on values accepted by Series construc… | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28087/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28087/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28087.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28087",
"merged_at": "2019-08-22T13:47:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28087.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28087"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28088 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28088/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28088/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28088/events | https://github.com/pandas-dev/pandas/pull/28088 | 483,985,402 | MDExOlB1bGxSZXF1ZXN0MzA5OTUzNDY2 | 28,088 | Backport PR #27650 on branch 0.25.x (issue #27642 - timedelta merge asof with tolerance) | {
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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": "on-merge: backport to 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-08-22T13:10:13Z | 2019-08-22T14:29:30Z | 2019-08-22T14:29:29Z | NONE | null | Backport PR #27650: issue #27642 - timedelta merge asof with tolerance | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28088/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28088/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28088.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28088",
"merged_at": "2019-08-22T14:29:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28088.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28088"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28089 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28089/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28089/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28089/events | https://github.com/pandas-dev/pandas/pull/28089 | 483,993,336 | MDExOlB1bGxSZXF1ZXN0MzA5OTYwMDQ2 | 28,089 | DOC: Make explicit in pandas IO doc the imports and options | {
"avatar_url": "https://avatars.githubusercontent.com/u/22525778?v=4",
"events_url": "https://api.github.com/users/TanyaaCJain/events{/privacy}",
"followers_url": "https://api.github.com/users/TanyaaCJain/followers",
"following_url": "https://api.github.com/users/TanyaaCJain/following{/other_user}",
"gists_url": "https://api.github.com/users/TanyaaCJain/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TanyaaCJain",
"id": 22525778,
"login": "TanyaaCJain",
"node_id": "MDQ6VXNlcjIyNTI1Nzc4",
"organizations_url": "https://api.github.com/users/TanyaaCJain/orgs",
"received_events_url": "https://api.github.com/users/TanyaaCJain/received_events",
"repos_url": "https://api.github.com/users/TanyaaCJain/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TanyaaCJain/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TanyaaCJain/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TanyaaCJain"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 24 | 2019-08-22T13:25:11Z | 2019-11-07T21:14:32Z | 2019-11-07T21:14:26Z | CONTRIBUTOR | null | - [x] works on #28038
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] Removes code header from IO doc page.
- [x] Uses explicit imports in the IO doc page of user guide on first occurrence of requirement.
Reference @datapythonista - [149](https://github.com/python-sprints/pandas-mentoring/issues/149) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28089/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28089/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28089.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28089",
"merged_at": "2019-11-07T21:14:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28089.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28089"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28090 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28090/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28090/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28090/events | https://github.com/pandas-dev/pandas/issues/28090 | 484,019,552 | MDU6SXNzdWU0ODQwMTk1NTI= | 28,090 | Parquet, boolean dataframes & reindex | {
"avatar_url": "https://avatars.githubusercontent.com/u/3621629?v=4",
"events_url": "https://api.github.com/users/0x0L/events{/privacy}",
"followers_url": "https://api.github.com/users/0x0L/followers",
"following_url": "https://api.github.com/users/0x0L/following{/other_user}",
"gists_url": "https://api.github.com/users/0x0L/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/0x0L",
"id": 3621629,
"login": "0x0L",
"node_id": "MDQ6VXNlcjM2MjE2Mjk=",
"organizations_url": "https://api.github.com/users/0x0L/orgs",
"received_events_url": "https://api.github.com/users/0x0L/received_events",
"repos_url": "https://api.github.com/users/0x0L/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/0x0L/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/0x0L/subscriptions",
"type": "User",
"url": "https://api.github.com/users/0x0L"
} | [] | closed | false | null | [] | null | 5 | 2019-08-22T14:12:04Z | 2019-08-22T18:21:27Z | 2019-08-22T18:21:20Z | CONTRIBUTOR | null | Hello
#### Code Sample, a copy-pastable example if possible
```python
# pandas 0.25.0
# pyarrow 0.14.1
import pandas as pd
df = pd.DataFrame(dtype=bool, index=range(100))
df['A'] = True
df['B'] = False
df['C'] = True
df['D'] = False
df['E'] = True
df['F'] = False
index = [0, 2, 3, 4, 5, 6, 7, 8, 10, 11]
columns = ['A', 'C', 'D', 'F']
dk = df.reindex(columns=columns, index=index)
dk.to_parquet('/tmp/test.parquet')
dg = pd.read_parquet('/tmp/test.parquet')
assert dg.equals(dk) # ==> assert error
```
The saved dataframe is totally corrupted with most values now being False.
#### Problem description
This issue only appears when using boolean.
The issue is not there when reindexing only columns or only index or when doing both in two steps ie `df.reindex(columns=columns).reindex(index=index)`. `df.loc[index, columns]` is also fine.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 4.14.128-112.105.amzn2.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 19.2.1
setuptools : 41.0.1
Cython : 0.29.13
pytest : 5.0.1
hypothesis : 4.32.2
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.0
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.8.3 (dt dec pq3 ext lo64)
jinja2 : 2.10.1
IPython : 7.7.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.4.0
matplotlib : 3.1.1
numexpr : 2.6.9
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.14.1
pytables : None
s3fs : 0.3.1
scipy : 1.3.0
sqlalchemy : 1.3.6
tables : 3.5.2
xarray : 0.12.3
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 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/28090/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28090/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28091 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28091/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28091/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28091/events | https://github.com/pandas-dev/pandas/pull/28091 | 484,031,599 | MDExOlB1bGxSZXF1ZXN0MzA5OTkxODEw | 28,091 | Repeat headings every n-th row in Jupyter-lab notebook | {
"avatar_url": "https://avatars.githubusercontent.com/u/18201769?v=4",
"events_url": "https://api.github.com/users/elisamalzoni/events{/privacy}",
"followers_url": "https://api.github.com/users/elisamalzoni/followers",
"following_url": "https://api.github.com/users/elisamalzoni/following{/other_user}",
"gists_url": "https://api.github.com/users/elisamalzoni/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/elisamalzoni",
"id": 18201769,
"login": "elisamalzoni",
"node_id": "MDQ6VXNlcjE4MjAxNzY5",
"organizations_url": "https://api.github.com/users/elisamalzoni/orgs",
"received_events_url": "https://api.github.com/users/elisamalzoni/received_events",
"repos_url": "https://api.github.com/users/elisamalzoni/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/elisamalzoni/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/elisamalzoni/subscriptions",
"type": "User",
"url": "https://api.github.com/users/elisamalzoni"
} | [
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "AD7FA... | closed | false | null | [] | null | 6 | 2019-08-22T14:33:12Z | 2019-08-26T14:39:47Z | 2019-08-26T14:39:47Z | NONE | null | - [ ] closes #27563
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Adds a new option in `pd.set_option()` method.
Usage:
```python
# n is an int that represents the interval of rows which the headers are repeated (default = 0, no repetition)
pd.set_option("display.repeating_row_index", n)
```
Before | After (n = 3)
----------- | -------------
 | 
@leostayner | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28091/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28091/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28091.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28091",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28091.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28091"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28092 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28092/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28092/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28092/events | https://github.com/pandas-dev/pandas/issues/28092 | 484,041,331 | MDU6SXNzdWU0ODQwNDEzMzE= | 28,092 | Cannot map Timestamp.isocalendar on tz-aware timestamp series, gives ValueError: MultiIndex has no single backing array | {
"avatar_url": "https://avatars.githubusercontent.com/u/3627481?v=4",
"events_url": "https://api.github.com/users/alexmojaki/events{/privacy}",
"followers_url": "https://api.github.com/users/alexmojaki/followers",
"following_url": "https://api.github.com/users/alexmojaki/following{/other_user}",
"gists_url": "https://api.github.com/users/alexmojaki/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexmojaki",
"id": 3627481,
"login": "alexmojaki",
"node_id": "MDQ6VXNlcjM2Mjc0ODE=",
"organizations_url": "https://api.github.com/users/alexmojaki/orgs",
"received_events_url": "https://api.github.com/users/alexmojaki/received_events",
"repos_url": "https://api.github.com/users/alexmojaki/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexmojaki/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexmojaki/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexmojaki"
} | [
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with cu... | closed | false | null | [] | null | 2 | 2019-08-22T14:49:55Z | 2019-08-23T05:18:53Z | 2019-08-23T05:18:52Z | CONTRIBUTOR | null | ### Problem description
While:
pd.to_datetime(dates).map(pd.Timestamp.isocalendar)
works as expected,
pd.to_datetime(dates, utc=True).map(pd.Timestamp.isocalendar)
(i.e. just adding `utc=True`)
or any variation of it using `map` fails with the below error. Only a list comprehension works, so it doesn't seem possible to vectorize the operation. The error message is also confusing.
### Example code
```python
import pandas as pd
pd.show_versions()
dates = pd.Series(pd.date_range(start='20180101', end='20180102', periods=2))
print(dates)
print(pd.to_datetime(dates).map(pd.Timestamp.isocalendar))
print([x.isocalendar() for x in pd.to_datetime(dates, utc=True)])
# Error here
print(pd.to_datetime(dates, utc=True).map(lambda x:x.isocalendar()))
```
Try it here: https://repl.it/repls/RawClosedPorts
Output:
```
0 2018-01-01
1 2018-01-02
dtype: datetime64[ns]
0 (2018, 1, 1)
1 (2018, 1, 2)
dtype: object
[(2018, 1, 1), (2018, 1, 2)]
Traceback (most recent call last):
File "main.py", line 9, in <module>
print(pd.to_datetime(dates, utc=True).map(lambda x:x.isocalendar()))
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.7/site-packages/pandas/core/series.py", line 3821, in map
new_values = super()._map_values(arg, na_action=na_action)
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.7/site-packages/pandas/core/base.py", line 1300, in _map_values
new_values = map_f(values, mapper)
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.7/site-packages/pandas/core/base.py", line 1287, in <lambda>
map_f = lambda values, f: values.map(f)
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.7/site-packages/pandas/core/arrays/datetimelike.py", line 722, in map
return Index(self).map(mapper).array
File "/home/runner/.local/share/virtualenvs/python3/lib/python3.7/site-packages/pandas/core/indexes/multi.py", line 633, in array
raise ValueError(msg)
ValueError: MultiIndex has no single backing array. Use 'MultiIndex.to_numpy()' to get a NumPy array of tuples.
```
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-1036-gcp
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.17.0
pytz : 2019.2
dateutil : 2.8.0
pip : 19.0.3
setuptools : 40.8.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
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.0
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/28092/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28092/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28093 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28093/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28093/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28093/events | https://github.com/pandas-dev/pandas/issues/28093 | 484,066,233 | MDU6SXNzdWU0ODQwNjYyMzM= | 28,093 | Circular reference warning after subsetting data frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/1692699?v=4",
"events_url": "https://api.github.com/users/yusosov/events{/privacy}",
"followers_url": "https://api.github.com/users/yusosov/followers",
"following_url": "https://api.github.com/users/yusosov/following{/other_user}",
"gists_url": "https://api.github.com/users/yusosov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yusosov",
"id": 1692699,
"login": "yusosov",
"node_id": "MDQ6VXNlcjE2OTI2OTk=",
"organizations_url": "https://api.github.com/users/yusosov/orgs",
"received_events_url": "https://api.github.com/users/yusosov/received_events",
"repos_url": "https://api.github.com/users/yusosov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yusosov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yusosov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yusosov"
} | [] | closed | false | null | [] | null | 5 | 2019-08-22T15:34:43Z | 2019-08-22T16:47:15Z | 2019-08-22T15:44:12Z | NONE | null | # NO WARNING:
import pandas
import numpy
df1 = pandas.DataFrame(numpy.array([[1, '123', 3], [4, 'dE1', 6], [7, 'gH2', 9]]), columns=['a', 'b', 'c'])
df1['b']=df1['b'].apply(str.lower) #.copy(deep=True)#.copy(deep=False)
df1
# WARNING
import pandas
import numpy
df1 = pandas.DataFrame(numpy.array([[1, '123', 3], [4, 'dE1', 6], [7, 'gH2', 9]]), columns=['a', 'b', 'c'])
df2 = df1[['a', 'b']]
df2['b']=df2['b'].apply(str.lower) #.copy(deep=True) #.copy(deep=False)
df2
no matter if I use copy or not I always get the same warning:
/home/owner/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:5: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
#### Output of ``pd.show_versions()``
<details>
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 5.0.0-26-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.17.0
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 41.0.1
Cython : 0.29.13
pytest : 5.0.1
hypothesis : None
sphinx : 2.1.2
blosc : None
feather : None
xlsxwriter : 1.1.8
lxml.etree : 4.4.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.7.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.4.0
matplotlib : 3.1.0
numexpr : 2.6.9
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.6
tables : 3.5.2
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.1.8
</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/28093/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28093/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28094 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28094/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28094/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28094/events | https://github.com/pandas-dev/pandas/issues/28094 | 484,083,545 | MDU6SXNzdWU0ODQwODM1NDU= | 28,094 | Circular reference warning after subsetting data frame AND AFTER COPY | {
"avatar_url": "https://avatars.githubusercontent.com/u/1692699?v=4",
"events_url": "https://api.github.com/users/yusosov/events{/privacy}",
"followers_url": "https://api.github.com/users/yusosov/followers",
"following_url": "https://api.github.com/users/yusosov/following{/other_user}",
"gists_url": "https://api.github.com/users/yusosov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yusosov",
"id": 1692699,
"login": "yusosov",
"node_id": "MDQ6VXNlcjE2OTI2OTk=",
"organizations_url": "https://api.github.com/users/yusosov/orgs",
"received_events_url": "https://api.github.com/users/yusosov/received_events",
"repos_url": "https://api.github.com/users/yusosov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yusosov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yusosov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yusosov"
} | [] | closed | false | null | [] | null | 3 | 2019-08-22T16:00:54Z | 2019-08-22T18:19:30Z | 2019-08-22T16:24:20Z | NONE | null | # PLEASE READ AND RUN BEFORE CLOSING
it is after subsetting that the warning appears no meter if copy is used
# WARNING AFTER SUBSETTING no matter if COPY was used
import pandas
import numpy
df1 = pandas.DataFrame(numpy.array([[1, '123', 3], [4, 'dE1', 6], [7, 'gH2', 9]]), columns=['a', 'b', 'c'])
df2 = df1[['a', 'b']]
df2['b']=df2['b'].apply(str.lower) .copy(deep=True)
df2
# or
df1 = pandas.DataFrame(numpy.array([[1, '123', 3], [4, 'dE1', 6], [7, 'gH2', 9]]), columns=['a', 'b', 'c'])
df2 = df1[['a', 'b']]
df2['b']=df2['b'].apply(str.lower).copy(deep=False)
df2
# or
df1 = pandas.DataFrame(numpy.array([[1, '123', 3], [4, 'dE1', 6], [7, 'gH2', 9]]), columns=['a', 'b', 'c'])
df2 = df1[['a', 'b']]
df2['b']=df2['b'].apply(str.lower)
df2
# COMPARE: NO WARNING:
import pandas
import numpy
df1 = pandas.DataFrame(numpy.array([[1, '123', 3], [4, 'dE1', 6], [7, 'gH2', 9]]), columns=['a', 'b', 'c'])
df1['b']=df1['b'].apply(str.lower).copy(deep=True)
df1
# or
df1 = pandas.DataFrame(numpy.array([[1, '123', 3], [4, 'dE1', 6], [7, 'gH2', 9]]), columns=['a', 'b', 'c'])
df1['b']=df1['b'].apply(str.lower) .copy(deep=False)
df1
# or
df1 = pandas.DataFrame(numpy.array([[1, '123', 3], [4, 'dE1', 6], [7, 'gH2', 9]]), columns=['a', 'b', 'c'])
df1['b']=df1['b'].apply(str.lower)
df1
no matter if I use copy or not I always get the same warning:
/home/owner/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:5: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
#### Output of ``pd.show_versions()``
<details>
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 5.0.0-26-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.17.0
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 41.0.1
Cython : 0.29.13
pytest : 5.0.1
hypothesis : None
sphinx : 2.1.2
blosc : None
feather : None
xlsxwriter : 1.1.8
lxml.etree : 4.4.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.7.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.4.0
matplotlib : 3.1.0
numexpr : 2.6.9
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.6
tables : 3.5.2
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.1.8
</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/28094/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28094/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28095 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28095/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28095/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28095/events | https://github.com/pandas-dev/pandas/issues/28095 | 484,088,146 | MDU6SXNzdWU0ODQwODgxNDY= | 28,095 | ROADMAP: Consistent missing value handling with new NA scalar | {
"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": "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": "AD7FA8"... | open | false | null | [] | null | 63 | 2019-08-22T16:10:31Z | 2019-11-13T14:54:00Z | null | MEMBER | null | I cleaned up my initial write up on the consistent missing values proposal (https://github.com/pandas-dev/pandas/issues/27825#issuecomment-520583911), and incorporated the items brought up in the last video chat. So I think it is ready for some more detailed discussion.
The last version of the full proposal can be found here: https://hackmd.io/@jorisvandenbossche/Sk0wMeAmB
TL;DR:
- I propose to introduce a new scalar (singleton) `pd.NA` that can be used as the missing value indicator (when accessing a single value, not necessarily how it is stored under the hood).
- This can be used instead of `np.nan` or `pd.NaT` in new data types (eg nullable integers, potential string dtype)
- Long term, we can see if there is a migration possible to use this consistently for all data types.
cc @pandas-dev/pandas-core | {
"+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/28095/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28095/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28096 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28096/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28096/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28096/events | https://github.com/pandas-dev/pandas/pull/28096 | 484,114,277 | MDExOlB1bGxSZXF1ZXN0MzEwMDYwNDEx | 28,096 | DOC: Fixes to docstrings formatting | {
"avatar_url": "https://avatars.githubusercontent.com/u/39748874?v=4",
"events_url": "https://api.github.com/users/realjohnward/events{/privacy}",
"followers_url": "https://api.github.com/users/realjohnward/followers",
"following_url": "https://api.github.com/users/realjohnward/following{/other_user}",
"gists_url": "https://api.github.com/users/realjohnward/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/realjohnward",
"id": 39748874,
"login": "realjohnward",
"node_id": "MDQ6VXNlcjM5NzQ4ODc0",
"organizations_url": "https://api.github.com/users/realjohnward/orgs",
"received_events_url": "https://api.github.com/users/realjohnward/received_events",
"repos_url": "https://api.github.com/users/realjohnward/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/realjohnward/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/realjohnward/subscriptions",
"type": "User",
"url": "https://api.github.com/users/realjohnward"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-08-22T17:12:54Z | 2019-08-25T20:11:07Z | 2019-08-25T20:11:01Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28096/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28096/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28096.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28096",
"merged_at": "2019-08-25T20:11:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28096.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28096"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28097 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28097/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28097/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28097/events | https://github.com/pandas-dev/pandas/pull/28097 | 484,123,283 | MDExOlB1bGxSZXF1ZXN0MzEwMDY3NzI1 | 28,097 | ENH: groupby missing data in index | {
"avatar_url": "https://avatars.githubusercontent.com/u/34047134?v=4",
"events_url": "https://api.github.com/users/proost/events{/privacy}",
"followers_url": "https://api.github.com/users/proost/followers",
"following_url": "https://api.github.com/users/proost/following{/other_user}",
"gists_url": "https://api.github.com/users/proost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/proost",
"id": 34047134,
"login": "proost",
"node_id": "MDQ6VXNlcjM0MDQ3MTM0",
"organizations_url": "https://api.github.com/users/proost/orgs",
"received_events_url": "https://api.github.com/users/proost/received_events",
"repos_url": "https://api.github.com/users/proost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/proost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/proost"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT,... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 6 | 2019-08-22T17:34:29Z | 2019-10-27T10:23:18Z | 2019-10-25T16:34:52Z | CONTRIBUTOR | null | - [x] closes #20519
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
`.groupby` intialize "grouper" by _get_grouper_for_level. Base on "code", "level_index" fills with non-NA value if there is NA value. Problem is if there are only NA values, "level_index" can't fill with values.
So, check "level_index" whether all "level_index" values is NA. then "level_index" are all NA values, fill with NaN
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28097/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28097/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28097.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28097",
"merged_at": "2019-10-25T16:34:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28097.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28097"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28098 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28098/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28098/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28098/events | https://github.com/pandas-dev/pandas/issues/28098 | 484,152,035 | MDU6SXNzdWU0ODQxNTIwMzU= | 28,098 | merge_asof() tolerance cannot be datetime.timedelta | {
"avatar_url": "https://avatars.githubusercontent.com/u/33916505?v=4",
"events_url": "https://api.github.com/users/ianzur/events{/privacy}",
"followers_url": "https://api.github.com/users/ianzur/followers",
"following_url": "https://api.github.com/users/ianzur/following{/other_user}",
"gists_url": "https://api.github.com/users/ianzur/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ianzur",
"id": 33916505,
"login": "ianzur",
"node_id": "MDQ6VXNlcjMzOTE2NTA1",
"organizations_url": "https://api.github.com/users/ianzur/orgs",
"received_events_url": "https://api.github.com/users/ianzur/received_events",
"repos_url": "https://api.github.com/users/ianzur/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ianzur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ianzur/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ianzur"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "5319e7",
"de... | closed | false | null | [] | null | 0 | 2019-08-22T18:43:35Z | 2019-09-25T15:50:32Z | 2019-09-25T15:50:32Z | CONTRIBUTOR | null | #### Code Sample
```
import pandas as pd
import numpy as np
from datetime import timedelta
left = pd.DataFrame(
list(zip([0, 5, 10, 15, 20, 25], [0, 1, 2, 3, 4, 5])),
columns=["time", "left"],
)
left["time"] = pd.to_timedelta(left["time"], "ms")
right = pd.DataFrame(
list(zip([0, 3, 9, 12, 15, 18], [0, 1, 2, 3, 4, 5])),
columns=["time", "right"],
)
right["time"] = pd.to_timedelta(right["time"], "ms")
expected = pd.DataFrame(
list(
zip(
[0, 5, 10, 15, 20, 25],
[0, 1, 2, 3, 4, 5],
[0, np.nan, 2, 4, np.nan, np.nan],
)
),
columns=["time", "left", "right"],
)
expected["time"] = pd.to_timedelta(expected["time"], "ms")
print(expected)
# this throws MergeError: incompatible tolerance <class 'datetime.timedelta'>, must be compat with type dtype('<m8[ns]')
result = pd.merge_asof(left, right, on="time", tolerance=timedelta(microseconds=1000), direction="nearest")
# this works!
# result = pd.merge_asof(left, right, on="time", tolerance=pd.Timedelta("1ms"), direction="nearest")
print(result)
```
#### Problem description
I can use pd.Timedelta as tolerance, but not datetime.timedelta.
#### Expected Output
No error
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.0-5-amd64
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0+222.gdef01cf7b
numpy : 1.17.0
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 41.2.0
Cython : 0.29.13
pytest : 5.1.1
hypothesis : 4.33.1
sphinx : 1.8.5
blosc : 1.8.1
feather : None
xlsxwriter : 1.1.9
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.7.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : 0.3.2
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.1.1
numexpr : 2.7.0
odfpy : None
openpyxl : 2.6.3
pandas_gbq : None
pyarrow : 0.14.1
pytables : None
s3fs : 0.3.3
scipy : 1.3.1
sqlalchemy : 1.3.7
tables : 3.5.2
xarray : 0.12.3
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.1.9
</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/28098/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28098/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28099 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28099/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28099/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28099/events | https://github.com/pandas-dev/pandas/pull/28099 | 484,159,037 | MDExOlB1bGxSZXF1ZXN0MzEwMDk2OTUy | 28,099 | PERF: replace with list, closes #28084 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-08-22T18:59:55Z | 2019-08-26T20:35:21Z | 2019-08-26T20:14:07Z | MEMBER | null | - [x] closes #28084
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
based on the OP's example:
```
In [2]: df = pd.DataFrame({"A": 0, "B": 0}, index=range(4*10**7))
In [3]: %timeit df.replace([np.inf, -np.inf], np.nan)
5.18 s ± 423 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <-- master
414 ms ± 7.19 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <-- PR
In [4]: %timeit df.replace([np.inf, -np.inf], np.nan, inplace=True)
2.89 s ± 111 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <-- master
69.6 µs ± 4 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
In [5]: %timeit df.replace([np.inf, -np.inf, 1], np.nan)
4.88 s ± 228 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <-- master
466 ms ± 11.8 ms per loop (mean ± std. dev. of 7 runs, 1 loop 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/28099/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28099/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28099.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28099",
"merged_at": "2019-08-26T20:14:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28099.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28099"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28100 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28100/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28100/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28100/events | https://github.com/pandas-dev/pandas/pull/28100 | 484,165,206 | MDExOlB1bGxSZXF1ZXN0MzEwMTAyMDM0 | 28,100 | Bug: merge_asof() cannot use datetime.timedelta as tolerance kwarg | {
"avatar_url": "https://avatars.githubusercontent.com/u/33916505?v=4",
"events_url": "https://api.github.com/users/ianzur/events{/privacy}",
"followers_url": "https://api.github.com/users/ianzur/followers",
"following_url": "https://api.github.com/users/ianzur/following{/other_user}",
"gists_url": "https://api.github.com/users/ianzur/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ianzur",
"id": 33916505,
"login": "ianzur",
"node_id": "MDQ6VXNlcjMzOTE2NTA1",
"organizations_url": "https://api.github.com/users/ianzur/orgs",
"received_events_url": "https://api.github.com/users/ianzur/received_events",
"repos_url": "https://api.github.com/users/ianzur/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ianzur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ianzur/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ianzur"
} | [
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] | closed | false | null | [] | null | 6 | 2019-08-22T19:15:06Z | 2019-08-31T02:39:22Z | 2019-08-27T22:07:51Z | CONTRIBUTOR | null | - [x] Fixes issue #28098
- [x] tests added / passed [1/0]
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28100/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28100/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28100.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28100",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/28100.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28100"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28101 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28101/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28101/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28101/events | https://github.com/pandas-dev/pandas/pull/28101 | 484,179,548 | MDExOlB1bGxSZXF1ZXN0MzEwMTEzNjEz | 28,101 | COMPAT: implement visit_Constant for 3.8 compat | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "fef2c0",
"default": false,
"description": "",
"id": 1387848774,
"name": "Python 3.8",
"node_id": "MDU6TGFiZWwxMzg3ODQ4Nzc0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.8"
}
] | closed | false | null | [] | {
"closed_at": "2019-10-19T17:01:24Z",
"closed_issues": 52,
"created_at": "2019-08-23T11:48:40Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
},
"description": "on-merge: backport to 0.25.x",
"due_on": "2019-10-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/66",
"id": 4597769,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66/labels",
"node_id": "MDk6TWlsZXN0b25lNDU5Nzc2OQ==",
"number": 66,
"open_issues": 0,
"state": "closed",
"title": "0.25.2",
"updated_at": "2019-10-19T17:01:24Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66"
} | 9 | 2019-08-22T19:49:26Z | 2019-08-26T14:22:35Z | 2019-08-26T14:22:31Z | CONTRIBUTOR | null | Closes https://github.com/pandas-dev/pandas/issues/27261
xref https://bugs.python.org/issue32892
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28101/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28101/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28101.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28101",
"merged_at": "2019-08-26T14:22:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28101.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28101"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28102 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28102/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28102/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28102/events | https://github.com/pandas-dev/pandas/pull/28102 | 484,204,619 | MDExOlB1bGxSZXF1ZXN0MzEwMTMzODg4 | 28,102 | DataFrameGroupby.boxplot fails when subplots=False | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": ... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 25 | 2019-08-22T20:37:07Z | 2020-11-08T03:03:16Z | 2020-11-08T03:03:11Z | MEMBER | null | - [x] closes #16748
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28102/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28102/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28102.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28102",
"merged_at": "2020-11-08T03:03:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28102.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28102"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28103 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28103/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28103/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28103/events | https://github.com/pandas-dev/pandas/issues/28103 | 484,215,748 | MDU6SXNzdWU0ODQyMTU3NDg= | 28,103 | Deterministic gzip compressed outputs | {
"avatar_url": "https://avatars.githubusercontent.com/u/1117703?v=4",
"events_url": "https://api.github.com/users/dhimmel/events{/privacy}",
"followers_url": "https://api.github.com/users/dhimmel/followers",
"following_url": "https://api.github.com/users/dhimmel/following{/other_user}",
"gists_url": "https://api.github.com/users/dhimmel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dhimmel",
"id": 1117703,
"login": "dhimmel",
"node_id": "MDQ6VXNlcjExMTc3MDM=",
"organizations_url": "https://api.github.com/users/dhimmel/orgs",
"received_events_url": "https://api.github.com/users/dhimmel/received_events",
"repos_url": "https://api.github.com/users/dhimmel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dhimmel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dhimmel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dhimmel"
} | [
{
"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": "06909A",
"default": false,
"description": "IO issue... | closed | false | null | [] | {
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
} | 6 | 2019-08-22T21:04:28Z | 2021-08-13T20:46:31Z | 2020-08-13T22:04:50Z | CONTRIBUTOR | null | GZ-compression writes the filename and timestamp into compressed data's header. This means that compressing the same data at different times will produce outputs that are not byte-for-byte identical.
In the past, this has presented [problems for OS distros](https://wiki.debian.org/ReproducibleBuilds/TimestampsInGzipHeaders). It now prtesents problems for data science. Specifically, I frequently track compressed files using Git LFS which detects whether a file has changed by its hash. Therefore, if I run a pipeline to create gzip-compressed dataframes exported from Pandas, the `.gz` outputs will differ every time.
Currently, user's can use [this hack](https://stackoverflow.com/a/264303/4651668) which globally sets `gzip.time` to a fake time to create deterministic gzip compression from `pandas.DataFrame.to_csv`. I propose either of the following approaches that would be much cleaner:
1. changing Pandas' default behavior to set gzip's [`mtime`](https://docs.python.org/3/library/gzip.html#gzip.GzipFile.mtime) to a constant but erroneous time. Whatever `gzip --no-name` sets would probably be best.
2. Having some module or function level setting that users could activate for deterministic gzip compression.
Personally, I don't see much benefit to gzip's timestamp, and therefore prefer solution 1 to 2. It's pretty confusing to users to see gzip outputs change and have to figure out that it's the changing timestamp.
In either case, we should look into the other supported compression methods and check their determinism. We can check time-dependent output with:
```python
import gzip, time
data = b'data to compress'
output_1 = gzip.compress(data)
time.sleep(2)
output_2 = gzip.compress(data)
output_1 == output_2
```
[Here's](https://www.systutorials.com/docs/linux/man/1-gzip/) the docs for `gzip --no-name`
> -n --no-name
When compressing, do not save the original file name and time stamp by default. (The original name is always saved if the name had to be truncated.) When decompressing, do not restore the original file name if present (remove only the gzip suffix from the compressed file name) and do not restore the original time stamp if present (copy it from the compressed file). This option is the default when decompressing. | {
"+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/28103/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28103/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28104 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28104/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28104/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28104/events | https://github.com/pandas-dev/pandas/issues/28104 | 484,223,049 | MDU6SXNzdWU0ODQyMjMwNDk= | 28,104 | Period overflows with dates > pd.Timestamp.max 2262-04-11 | {
"avatar_url": "https://avatars.githubusercontent.com/u/38343013?v=4",
"events_url": "https://api.github.com/users/paul-lilley/events{/privacy}",
"followers_url": "https://api.github.com/users/paul-lilley/followers",
"following_url": "https://api.github.com/users/paul-lilley/following{/other_user}",
"gists_url": "https://api.github.com/users/paul-lilley/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/paul-lilley",
"id": 38343013,
"login": "paul-lilley",
"node_id": "MDQ6VXNlcjM4MzQzMDEz",
"organizations_url": "https://api.github.com/users/paul-lilley/orgs",
"received_events_url": "https://api.github.com/users/paul-lilley/received_events",
"repos_url": "https://api.github.com/users/paul-lilley/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/paul-lilley/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/paul-lilley/subscriptions",
"type": "User",
"url": "https://api.github.com/users/paul-lilley"
} | [
{
"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,
... | 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"
} | 12 | 2019-08-22T21:20:46Z | 2020-04-02T05:03:14Z | null | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
g = pd.Period(year=2262, month=4, day=11, freq='D')
print(g.start_time)
g2 = pd.Period(year=2262, month=4, day=12, freq='D')
print(g2.start_time)
```
Output: (with pandas 0.25.0)
2262-04-11 00:00:00
1677-09-21 00:25:26.290448384
with pandas 0.25.0+216.g1aca08aa6
I get an OutOfBoundsDatetime error
>>> print(g2.start_time)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pandas/_libs/tslibs/period.pyx", line 1768, in pandas._libs.tslibs.period._Period.start_time.__get__
File "pandas/_libs/tslibs/period.pyx", line 1811, in pandas._libs.tslibs.period._Period.to_timestamp
File "pandas/_libs/tslibs/period.pyx", line 1190, in pandas._libs.tslibs.period.period_ordinal_to_dt64
File "pandas/_libs/tslibs/np_datetime.pyx", line 118, in pandas._libs.tslibs.np_datetime.check_dts_bounds
pandas._libs.tslibs.np_datetime.OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 2262-04-12 00:00:00
#### Problem description
Overflow means that the Period is incorrect, and also hinders use of Period for date/times outside the limits of pd.Timestamp
#### Expected Output
Output:
2262-04-11 00:00:00
2262-04-12 00:00:00
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.6.final.0
python-bits : 64
OS : Windows
OS-release : 7
machine : AMD64
processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 0.25.0
numpy : 1.16.3
pytz : 2018.9
dateutil : 2.7.5
pip : 19.1.1
setuptools : 40.8.0
Cython : None
pytest : 4.2.0
hypothesis : None
sphinx : 2.1.2
blosc : None
feather : None
xlsxwriter : 1.1.2
lxml.etree : 4.3.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : None
pandas_datareader: None
bs4 : 4.7.1
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.3.3
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : 1.3.1
tables : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : 1.1.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/28104/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28104/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28105 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28105/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28105/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28105/events | https://github.com/pandas-dev/pandas/issues/28105 | 484,227,887 | MDU6SXNzdWU0ODQyMjc4ODc= | 28,105 | Series binary operator behavior depends on the count of each value in the index | {
"avatar_url": "https://avatars.githubusercontent.com/u/5044802?v=4",
"events_url": "https://api.github.com/users/kylrth/events{/privacy}",
"followers_url": "https://api.github.com/users/kylrth/followers",
"following_url": "https://api.github.com/users/kylrth/following{/other_user}",
"gists_url": "https://api.github.com/users/kylrth/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kylrth",
"id": 5044802,
"login": "kylrth",
"node_id": "MDQ6VXNlcjUwNDQ4MDI=",
"organizations_url": "https://api.github.com/users/kylrth/orgs",
"received_events_url": "https://api.github.com/users/kylrth/received_events",
"repos_url": "https://api.github.com/users/kylrth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kylrth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kylrth/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kylrth"
} | [
{
"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, ... | open | false | null | [] | null | 3 | 2019-08-22T21:34:01Z | 2019-11-02T22:02:49Z | null | NONE | null | #### Code Sample
```python
>>> one = pd.Series([12, 13, 14], index=[3, 3, 3])
>>> other = pd.Series([-20, 20], index=[3, 3])
>>> another = pd.Series([-20, 20, 40], index=[3, 3, 3])
>>> print(one.subtract(other))
3 32
3 -8
3 33
3 -7
3 34
3 -6
dtype: int64
>>> print(one.subtract(another))
3 32
3 -7
3 -26
dtype: int64
```
#### Problem description
This behavior leads to output series length that depends on the number of duplicate index values. In data where this value is not known, the number of rows in the output is unpredictable.
#### Expected Output
I would expect there to be an option in `pd.Series.subtract` allowing the user to determine the operation's behavior with respect to repeated indices, something like the following:
```python
>>> one.subtract(another, repeat=True)
3 32
3 -8
3 -28
3 33
3 -7
3 -27
3 34
3 -6
3 -26
dtype: int64
>>> one.subtract(another, repeat=False)
3 32
3 -7
3 -26
dtype: int64
>>> # when the number of rows with index 3 is the same in both Series:
... one.subtract(other, repeat=True)
3 32
3 -8
3 33
3 -7
3 34
3 -6
dtype: int64
>>> one.subtract(other, repeat=False)
3 32
3 -7
3 NaN
dtype: int64
```
If this is what `level` is for, I have no idea what the documentation is saying.
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-693.21.1.el7.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1.1
setuptools : 41.0.1
Cython : 0.29.12
pytest : 5.0.1
hypothesis : None
sphinx : 2.1.2
blosc : None
feather : None
xlsxwriter : 1.1.8
lxml.etree : 4.3.4
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.7.0
pandas_datareader: None
bs4 : 4.7.1
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.3.4
matplotlib : 3.1.0
numexpr : 2.6.9
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.0
sqlalchemy : 1.3.5
tables : 3.5.2
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.1.8
```
</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/28105/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28105/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28106 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28106/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28106/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28106/events | https://github.com/pandas-dev/pandas/issues/28106 | 484,248,456 | MDU6SXNzdWU0ODQyNDg0NTY= | 28,106 | Pandas ExcelWriter append fails to preserve images in other sheets. | {
"avatar_url": "https://avatars.githubusercontent.com/u/14418118?v=4",
"events_url": "https://api.github.com/users/tsieczko/events{/privacy}",
"followers_url": "https://api.github.com/users/tsieczko/followers",
"following_url": "https://api.github.com/users/tsieczko/following{/other_user}",
"gists_url": "https://api.github.com/users/tsieczko/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tsieczko",
"id": 14418118,
"login": "tsieczko",
"node_id": "MDQ6VXNlcjE0NDE4MTE4",
"organizations_url": "https://api.github.com/users/tsieczko/orgs",
"received_events_url": "https://api.github.com/users/tsieczko/received_events",
"repos_url": "https://api.github.com/users/tsieczko/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tsieczko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsieczko/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tsieczko"
} | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 6 | 2019-08-22T22:38:35Z | 2019-08-24T06:00:20Z | 2019-08-24T06:00:16Z | NONE | null | ```python
import pandas
df = pandas.DataFrame([[1,2,3],[4,5,6]])
with pd.ExcelWriter('input_excel.xlsx', mode='a') as writer:
df.to_excel(writer, sheet_name='PandasTestSheet')
```
#### Problem description
'input_excel.xlsx' contains one sheet with some data in cells and an image added via excel's insert picture from file function. When I attempt to append a dataframe to a second new sheet, the resulting excel file no longer has the image in the first sheet.
#### Expected Output
The first sheet should be untouched with the image still there. The second sheet should contain the contents of the dataframe.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.2
setuptools : 41.0.1
Cython : None
pytest : None
hypothesis : None
sphinx : 2.1.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 2.5.14
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : 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/28106/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28106/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28107 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28107/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28107/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28107/events | https://github.com/pandas-dev/pandas/pull/28107 | 484,279,891 | MDExOlB1bGxSZXF1ZXN0MzEwMTk0MTg3 | 28,107 | BUG: SparseDataFrame op incorrectly casting to float | {
"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, ... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-08-23T00:57:56Z | 2019-09-02T22:57:04Z | 2019-09-02T21:04:12Z | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28107/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28107/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28107.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28107",
"merged_at": "2019-09-02T21:04:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28107.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28107"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/28108 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28108/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28108/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28108/events | https://github.com/pandas-dev/pandas/issues/28108 | 484,308,907 | MDU6SXNzdWU0ODQzMDg5MDc= | 28,108 | DataFrame.mean() ignores datetime series | {
"avatar_url": "https://avatars.githubusercontent.com/u/4121912?v=4",
"events_url": "https://api.github.com/users/BlaneG/events{/privacy}",
"followers_url": "https://api.github.com/users/BlaneG/followers",
"following_url": "https://api.github.com/users/BlaneG/following{/other_user}",
"gists_url": "https://api.github.com/users/BlaneG/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BlaneG",
"id": 4121912,
"login": "BlaneG",
"node_id": "MDQ6VXNlcjQxMjE5MTI=",
"organizations_url": "https://api.github.com/users/BlaneG/orgs",
"received_events_url": "https://api.github.com/users/BlaneG/received_events",
"repos_url": "https://api.github.com/users/BlaneG/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BlaneG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BlaneG/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BlaneG"
} | [
{
"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"
},
{
"c... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"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... | null | 4 | 2019-08-23T03:16:57Z | 2020-09-21T22:10:31Z | 2020-09-21T22:10:30Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
In [1]: import pandas as pd
In [2]: from datetime import datetime
In [3]: s = pd.Series([datetime(2014, 7, 9),
...: datetime(2014, 7, 10),
...: datetime(2014, 7, 11)])
In [4]: df = pd.DataFrame({'numeric':[1,2,3],
...: 'datetime':s})
In [5]: df.mean()
Out[5]:
numeric 2.0
dtype: float64
In [6]: s.mean()
Out[6]: Timestamp('2014-07-10 00:00:00')
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution.]
As of pandas 0.25 it is possible to apply mean() to a datetime series. However, DataFrame.mean() ignores datetimes series columns rather than returning the mean of the datetime series as one might expect.
#### Expected Output
When axis=0, output could be a dataframe with dtype as the first row, and the value as the second row.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28108/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28108/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28109 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28109/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28109/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28109/events | https://github.com/pandas-dev/pandas/issues/28109 | 484,339,985 | MDU6SXNzdWU0ODQzMzk5ODU= | 28,109 | GroupBy.rank with "TypeError: 'NoneType' object is not callable" | {
"avatar_url": "https://avatars.githubusercontent.com/u/19887786?v=4",
"events_url": "https://api.github.com/users/kukuwa/events{/privacy}",
"followers_url": "https://api.github.com/users/kukuwa/followers",
"following_url": "https://api.github.com/users/kukuwa/following{/other_user}",
"gists_url": "https://api.github.com/users/kukuwa/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kukuwa",
"id": 19887786,
"login": "kukuwa",
"node_id": "MDQ6VXNlcjE5ODg3Nzg2",
"organizations_url": "https://api.github.com/users/kukuwa/orgs",
"received_events_url": "https://api.github.com/users/kukuwa/received_events",
"repos_url": "https://api.github.com/users/kukuwa/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kukuwa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kukuwa/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kukuwa"
} | [
{
"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 | 3 | 2019-08-23T05:38:06Z | 2019-08-26T20:01:48Z | 2019-08-26T20:01:42Z | NONE | null | ####
```python
# factor_data.groupby(grouper)['factor'].rank()
```
#### Problem description
**when I use groupby.rank method , TypeError occur in "pandas\core\groupby\ops.py" file.**
File "<ipython-input-3-fdfa537b4972>", line 1, in <module>
runfile('E:/myStra/factor/funfile/analysis/factorAnaCNE6.py', wdir='E:/myStra/factor/funfile/analysis')
File "C:\ProgramData\Anaconda2\envs\py_36\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 786, in runfile
execfile(filename, namespace)
File "C:\ProgramData\Anaconda2\envs\py_36\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "E:/myStra/factor/funfile/analysis/factorAnaCNE6.py", line 21, in <module>
factor_data.groupby(grouper)['factor'].rank()
File "C:\ProgramData\Anaconda2\envs\py_36\lib\site-packages\pandas\core\groupby\groupby.py", line 1846, in rank
na_option=na_option, pct=pct, axis=axis)
File "C:\ProgramData\Anaconda2\envs\py_36\lib\site-packages\pandas\core\groupby\groupby.py", line 807, in _cython_transform
**kwargs)
File "C:\ProgramData\Anaconda2\envs\py_36\lib\site-packages\pandas\core\groupby\ops.py", line 551, in transform
return self._cython_operation('transform', values, how, axis, **kwargs)
File "C:\ProgramData\Anaconda2\envs\py_36\lib\site-packages\pandas\core\groupby\ops.py", line 511, in _cython_operation
**kwargs)
File "C:\ProgramData\Anaconda2\envs\py_36\lib\site-packages\pandas\core\groupby\ops.py", line 584, in _transform
transform_func(result, values, comp_ids, is_datetimelike, **kwargs)
File "C:\ProgramData\Anaconda2\envs\py_36\lib\site-packages\pandas\core\groupby\ops.py", line 397, in wrapper
return f(afunc, *args, **kwargs)
File "C:\ProgramData\Anaconda2\envs\py_36\lib\site-packages\pandas\core\groupby\ops.py", line 348, in <lambda>
kwargs.get('na_option', 'keep')
TypeError: 'NoneType' object is not callable
**After debugging the file I find the Error breakout in ops.py >_get_cython_function > func = afunc = get_func(ftype['name']) (line 390), return fun get a None Object. if I use "getattr(libgroupby, 'group_rank')(line 376)" I find that "AttributeError: module 'pandas._libs.groupby' has no attribute 'group_rank'"**
#### Expected Output
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.8.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: en
LOCALE: None.None
pandas: 0.24.2
pytest: 4.3.1
pip: 19.0.3
setuptools: 40.8.0
Cython: 0.29.6
numpy: 1.16.2
scipy: 1.3.0
pyarrow: None
xarray: None
IPython: 7.4.0
sphinx: 1.8.5
patsy: 0.5.1
dateutil: 2.8.0
pytz: 2018.9
blosc: None
bottleneck: 1.2.1
tables: 3.5.1
numexpr: 2.6.9
feather: None
matplotlib: 3.0.3
openpyxl: 2.6.1
xlrd: 1.2.0
xlwt: 1.3.0
xlsxwriter: 1.1.5
lxml.etree: 4.3.2
bs4: 4.7.1
html5lib: 1.0.1
sqlalchemy: 1.3.1
pymysql: 0.9.3
psycopg2: None
jinja2: 2.10
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/28109/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28109/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28110 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28110/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28110/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28110/events | https://github.com/pandas-dev/pandas/issues/28110 | 484,488,416 | MDU6SXNzdWU0ODQ0ODg0MTY= | 28,110 | RLS: 0.25.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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": "2019-10-19T17:01:24Z",
"closed_issues": 52,
"created_at": "2019-08-23T11:48:40Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
},
"description": "on-merge: backport to 0.25.x",
"due_on": "2019-10-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/66",
"id": 4597769,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66/labels",
"node_id": "MDk6TWlsZXN0b25lNDU5Nzc2OQ==",
"number": 66,
"open_issues": 0,
"state": "closed",
"title": "0.25.2",
"updated_at": "2019-10-19T17:01:24Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66"
} | 16 | 2019-08-23T11:47:50Z | 2019-10-19T14:21:09Z | 2019-10-19T14:21:08Z | CONTRIBUTOR | null | cc @pandas-dev/pandas-core
Python 3.8 is due on October 21, which will likely beat 1.0.
We should release a 0.25.2 around then that's just 0.25.1 + 3.8 compatibility and regressions from 0.24.x. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28110/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28110/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/28111 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28111/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28111/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28111/events | https://github.com/pandas-dev/pandas/pull/28111 | 484,516,971 | MDExOlB1bGxSZXF1ZXN0MzEwMzc2MDI5 | 28,111 | DOC: Start 0.25.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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": "2019-10-19T17:01:24Z",
"closed_issues": 52,
"created_at": "2019-08-23T11:48:40Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
},
"description": "on-merge: backport to 0.25.x",
"due_on": "2019-10-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/66",
"id": 4597769,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66/labels",
"node_id": "MDk6TWlsZXN0b25lNDU5Nzc2OQ==",
"number": 66,
"open_issues": 0,
"state": "closed",
"title": "0.25.2",
"updated_at": "2019-10-19T17:01:24Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66"
} | 0 | 2019-08-23T12:57:46Z | 2019-08-23T13:36:23Z | 2019-08-23T13:36:20Z | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28111/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28111/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28111.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28111",
"merged_at": "2019-08-23T13:36:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28111.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28111"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/28112 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/28112/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/28112/comments | https://api.github.com/repos/pandas-dev/pandas/issues/28112/events | https://github.com/pandas-dev/pandas/pull/28112 | 484,535,294 | MDExOlB1bGxSZXF1ZXN0MzEwMzkwOTcz | 28,112 | Backport PR #28111 on branch 0.25.x (DOC: Start 0.25.2) | {
"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": "2019-10-19T17:01:24Z",
"closed_issues": 52,
"created_at": "2019-08-23T11:48:40Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
},
"description": "on-merge: backport to 0.25.x",
"due_on": "2019-10-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/66",
"id": 4597769,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66/labels",
"node_id": "MDk6TWlsZXN0b25lNDU5Nzc2OQ==",
"number": 66,
"open_issues": 0,
"state": "closed",
"title": "0.25.2",
"updated_at": "2019-10-19T17:01:24Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/66"
} | 2 | 2019-08-23T13:37:20Z | 2019-08-25T18:09:59Z | 2019-08-25T18:09:58Z | NONE | null | Backport PR #28111: DOC: Start 0.25.2 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/28112/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/28112/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/28112.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/28112",
"merged_at": "2019-08-25T18:09:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/28112.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/28112"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.