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/33117
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33117/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33117/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33117/events
https://github.com/pandas-dev/pandas/pull/33117
589,781,167
MDExOlB1bGxSZXF1ZXN0Mzk1MjQzNDI0
33,117
DOC: Partial fix SA04 errors in docstrings #28792
{ "avatar_url": "https://avatars.githubusercontent.com/u/6186510?v=4", "events_url": "https://api.github.com/users/dilex42/events{/privacy}", "followers_url": "https://api.github.com/users/dilex42/followers", "following_url": "https://api.github.com/users/dilex42/following{/other_user}", "gists_url": "https://api.github.com/users/dilex42/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dilex42", "id": 6186510, "login": "dilex42", "node_id": "MDQ6VXNlcjYxODY1MTA=", "organizations_url": "https://api.github.com/users/dilex42/orgs", "received_events_url": "https://api.github.com/users/dilex42/received_events", "repos_url": "https://api.github.com/users/dilex42/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dilex42/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dilex42/subscriptions", "type": "User", "url": "https://api.github.com/users/dilex42" }
[ { "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-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" }
1
2020-03-29T12:30:19Z
2020-04-02T12:38:10Z
2020-04-02T11:47:57Z
CONTRIBUTOR
null
- [x] xref #28792
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33117/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33117/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33117.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33117", "merged_at": "2020-04-02T11:47:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33117.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33117" }
https://api.github.com/repos/pandas-dev/pandas/issues/33118
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33118/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33118/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33118/events
https://github.com/pandas-dev/pandas/pull/33118
589,797,451
MDExOlB1bGxSZXF1ZXN0Mzk1MjU1NzIw
33,118
BUG: conversion of empty DataFrame to SparseDtype (#33113)
{ "avatar_url": "https://avatars.githubusercontent.com/u/694873?v=4", "events_url": "https://api.github.com/users/tgy/events{/privacy}", "followers_url": "https://api.github.com/users/tgy/followers", "following_url": "https://api.github.com/users/tgy/following{/other_user}", "gists_url": "https://api.github.com/users/tgy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tgy", "id": 694873, "login": "tgy", "node_id": "MDQ6VXNlcjY5NDg3Mw==", "organizations_url": "https://api.github.com/users/tgy/orgs", "received_events_url": "https://api.github.com/users/tgy/received_events", "repos_url": "https://api.github.com/users/tgy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tgy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tgy/subscriptions", "type": "User", "url": "https://api.github.com/users/tgy" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": "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" }
20
2020-03-29T13:54:40Z
2020-06-25T23:13:05Z
2020-06-25T23:13:00Z
CONTRIBUTOR
null
- [x] closes #33113 - [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/33118/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33118/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33118.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33118", "merged_at": "2020-06-25T23:13:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33118.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33118" }
https://api.github.com/repos/pandas-dev/pandas/issues/33119
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33119/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33119/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33119/events
https://github.com/pandas-dev/pandas/pull/33119
589,798,528
MDExOlB1bGxSZXF1ZXN0Mzk1MjU2NTYw
33,119
Fix ambiguous reference to "previous" section
{ "avatar_url": "https://avatars.githubusercontent.com/u/2773028?v=4", "events_url": "https://api.github.com/users/oefe/events{/privacy}", "followers_url": "https://api.github.com/users/oefe/followers", "following_url": "https://api.github.com/users/oefe/following{/other_user}", "gists_url": "https://api.github.com/users/oefe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/oefe", "id": 2773028, "login": "oefe", "node_id": "MDQ6VXNlcjI3NzMwMjg=", "organizations_url": "https://api.github.com/users/oefe/orgs", "received_events_url": "https://api.github.com/users/oefe/received_events", "repos_url": "https://api.github.com/users/oefe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/oefe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/oefe/subscriptions", "type": "User", "url": "https://api.github.com/users/oefe" }
[ { "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-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" }
1
2020-03-29T13:59:18Z
2020-03-29T18:19:53Z
2020-03-29T15:31:04Z
CONTRIBUTOR
null
This section originally came just after "10 minutes to pandas", but now it's after the "Getting started tutorials". Also, the examples have diverged a bit, so let's not pretend that we are creating the same objects. - [ ] 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/33119/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33119/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33119.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33119", "merged_at": "2020-03-29T15:31:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33119.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33119" }
https://api.github.com/repos/pandas-dev/pandas/issues/33120
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33120/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33120/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33120/events
https://github.com/pandas-dev/pandas/issues/33120
589,802,137
MDU6SXNzdWU1ODk4MDIxMzc=
33,120
.gt() add support for single column dataframes
{ "avatar_url": "https://avatars.githubusercontent.com/u/11065427?v=4", "events_url": "https://api.github.com/users/mariolovric/events{/privacy}", "followers_url": "https://api.github.com/users/mariolovric/followers", "following_url": "https://api.github.com/users/mariolovric/following{/other_user}", "gists_url": "https://api.github.com/users/mariolovric/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mariolovric", "id": 11065427, "login": "mariolovric", "node_id": "MDQ6VXNlcjExMDY1NDI3", "organizations_url": "https://api.github.com/users/mariolovric/orgs", "received_events_url": "https://api.github.com/users/mariolovric/received_events", "repos_url": "https://api.github.com/users/mariolovric/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mariolovric/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mariolovric/subscriptions", "type": "User", "url": "https://api.github.com/users/mariolovric" }
[ { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
null
2
2020-03-29T14:16:45Z
2020-08-17T22:03:33Z
2020-08-17T22:03:33Z
NONE
null
It would be great if when comparing df to series like in pandas .gt() or .lt() one could compare also to single column dataframes instead of series. Maybe also extend it to other functions? Thanks This works: ``` df1 = pd.DataFrame(np.array([[2,2],[1,1], [0,0]]), columns = ['a1','a2']) df2 = pd.Series([2,2,2], name = 'b') df1.lt(df2, axis=0) ``` This doesnt ``` df1 = pd.DataFrame(np.array([[2,2],[1,1], [0,0]]), columns = ['a1','a2']) df2 = pd.DataFrame([2,2,2], columns = ['b']) df1.lt(df2, axis=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/33120/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33120/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33121
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33121/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33121/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33121/events
https://github.com/pandas-dev/pandas/pull/33121
589,821,911
MDExOlB1bGxSZXF1ZXN0Mzk1MjczNzUz
33,121
DOC: Updating capitalization of doc/source/development
{ "avatar_url": "https://avatars.githubusercontent.com/u/24496267?v=4", "events_url": "https://api.github.com/users/cleconte987/events{/privacy}", "followers_url": "https://api.github.com/users/cleconte987/followers", "following_url": "https://api.github.com/users/cleconte987/following{/other_user}", "gists_url": "https://api.github.com/users/cleconte987/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cleconte987", "id": 24496267, "login": "cleconte987", "node_id": "MDQ6VXNlcjI0NDk2MjY3", "organizations_url": "https://api.github.com/users/cleconte987/orgs", "received_events_url": "https://api.github.com/users/cleconte987/received_events", "repos_url": "https://api.github.com/users/cleconte987/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cleconte987/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cleconte987/subscriptions", "type": "User", "url": "https://api.github.com/users/cleconte987" }
[ { "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-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" }
6
2020-03-29T15:50:25Z
2020-04-17T11:08:20Z
2020-04-03T00:12:37Z
CONTRIBUTOR
null
Regarding issue #32550. Changes to documentation folder doc/source/development to capitalise title strings and keep keyword exceptions as is
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33121/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33121/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33121.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33121", "merged_at": "2020-04-03T00:12:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33121.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33121" }
https://api.github.com/repos/pandas-dev/pandas/issues/33122
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33122/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33122/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33122/events
https://github.com/pandas-dev/pandas/pull/33122
589,824,102
MDExOlB1bGxSZXF1ZXN0Mzk1Mjc1MzUy
33,122
CLN: Remove unused cdef variables
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-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" }
2
2020-03-29T16:01:01Z
2020-03-29T18:06:32Z
2020-03-29T18:02:36Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/33122/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33122/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33122.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33122", "merged_at": "2020-03-29T18:02:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33122.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33122" }
https://api.github.com/repos/pandas-dev/pandas/issues/33123
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33123/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33123/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33123/events
https://github.com/pandas-dev/pandas/pull/33123
589,847,565
MDExOlB1bGxSZXF1ZXN0Mzk1MjkyNTE0
33,123
REF: remove placement kwarg from Block.concat_same_type
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "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" }
0
2020-03-29T17:59:33Z
2020-03-30T21:53:20Z
2020-03-30T21:49:20Z
MEMBER
null
On the path to getting concat logic out of internals
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33123/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33123/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33123.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33123", "merged_at": "2020-03-30T21:49:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33123.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33123" }
https://api.github.com/repos/pandas-dev/pandas/issues/33124
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33124/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33124/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33124/events
https://github.com/pandas-dev/pandas/pull/33124
589,853,994
MDExOlB1bGxSZXF1ZXN0Mzk1Mjk3MjI4
33,124
REF: DataFrame.isna internals access
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "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" }
0
2020-03-29T18:32:25Z
2020-03-30T21:54:00Z
2020-03-30T21:46:40Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33124/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33124/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33124.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33124", "merged_at": "2020-03-30T21:46:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33124.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33124" }
https://api.github.com/repos/pandas-dev/pandas/issues/33125
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33125/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33125/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33125/events
https://github.com/pandas-dev/pandas/pull/33125
589,858,760
MDExOlB1bGxSZXF1ZXN0Mzk1MzAwNzM5
33,125
REF: reshape.concat operate on arrays, not SingleBlockManagers
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
3
2020-03-29T18:57:11Z
2020-04-10T17:49:18Z
2020-04-10T16:10:01Z
MEMBER
null
cc @TomAugspurger is there a better way to handle the assert_series_equal patch for the PandasArray 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/33125/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33125/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33125.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33125", "merged_at": "2020-04-10T16:10:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33125.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33125" }
https://api.github.com/repos/pandas-dev/pandas/issues/33126
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33126/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33126/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33126/events
https://github.com/pandas-dev/pandas/pull/33126
589,865,818
MDExOlB1bGxSZXF1ZXN0Mzk1MzA1ODk0
33,126
CLN: Added static types
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-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" }
3
2020-03-29T19:33:37Z
2020-04-06T08:41:06Z
2020-04-03T19:41:19Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/33126/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33126/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33126.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33126", "merged_at": "2020-04-03T19:41:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33126.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33126" }
https://api.github.com/repos/pandas-dev/pandas/issues/33127
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33127/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33127/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33127/events
https://github.com/pandas-dev/pandas/issues/33127
589,866,730
MDU6SXNzdWU1ODk4NjY3MzA=
33,127
DataFrame / Series reductions return NaN rather than NA when below min_count
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[]
closed
false
null
[]
null
2
2020-03-29T19:38:47Z
2020-03-30T12:33:24Z
2020-03-30T12:33:24Z
MEMBER
null
1.0.3 or master: ```python import numpy as np import pandas as pd df = pd.DataFrame({"a": [1.0, np.nan]}) print(df.sum(min_count=2)) # a NaN # dtype: float64 print(df["a"].sum(min_count=2)) # nan ``` but the documentation says we should get `NA` when we're below `min_count`. This kind of gets to the question of whether this is a "missing value" or an "undefined operation," if this actually matters, as well as the actual meaning of `NA`. In the new masked reductions under `/core/array_algos/masked_reductions.py` we're (correctly?) outputting `NA`. cc @jorisvandenbossche
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33127/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33127/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33128
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33128/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33128/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33128/events
https://github.com/pandas-dev/pandas/issues/33128
589,869,649
MDU6SXNzdWU1ODk4Njk2NDk=
33,128
Explain how and when to use indirect fixtures
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "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", "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
0
2020-03-29T19:51:49Z
2020-03-30T10:20:19Z
null
CONTRIBUTOR
null
As mentioned in https://github.com/pandas-dev/pandas/pull/32963#issuecomment-605675606, it would be worthwhile to document this. I'm now sure if we already have consensus on that though. Would be good to make a proposal in a PR and then have a discussion on it.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33128/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33128/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33129
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33129/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33129/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33129/events
https://github.com/pandas-dev/pandas/issues/33129
589,879,466
MDU6SXNzdWU1ODk4Nzk0NjY=
33,129
Feature request: anchoring suffix for hours
{ "avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4", "events_url": "https://api.github.com/users/yohplala/events{/privacy}", "followers_url": "https://api.github.com/users/yohplala/followers", "following_url": "https://api.github.com/users/yohplala/following{/other_user}", "gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yohplala", "id": 13206058, "login": "yohplala", "node_id": "MDQ6VXNlcjEzMjA2MDU4", "organizations_url": "https://api.github.com/users/yohplala/orgs", "received_events_url": "https://api.github.com/users/yohplala/received_events", "repos_url": "https://api.github.com/users/yohplala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yohplala/subscriptions", "type": "User", "url": "https://api.github.com/users/yohplala" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
open
false
null
[]
null
0
2020-03-29T20:33:53Z
2020-05-16T16:50:08Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # It is possible to use anchor suffix for weeks off1 = pd.tseries.frequencies.to_offset('1W-SUN') # The anchor does effect when using period_range() or creating a period ts_start = pd.Timestamp('2020-03-25 10:00') # ts_start is a Wednesday p1 = pd.Period(ts_start, freq=off1) # Anchor is working: p1 with weekly frequency starts a Monday p1.start_time >>> Out: Timestamp('2020-03-23 00:00:00') # But it doesn't work with '4H' frequency off2 = pd.tseries.frequencies.to_offset('4H') # No anchor (expecting one with reference being midnight) off2.is_anchored() >>> False p2 = pd.Period(ts_start, freq=off2) # Expecting '2020-03-25 08:00:00' p2.start_time >>> Timestamp('2020-03-25 10:00:00') # Trying syntax similar to weekly anchoring off3 = pd.tseries.frequencies.to_offset('4H-0') >>> ValueError: Invalid frequency: 4H-0 ``` #### Problem description Please, can anchoring suffix be made available for hours, using midnight as the reference point? Thanks for your feebdack, Have a good day, Bests,
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33129/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33129/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33130
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33130/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33130/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33130/events
https://github.com/pandas-dev/pandas/issues/33130
589,880,617
MDU6SXNzdWU1ODk4ODA2MTc=
33,130
build_table_schema references non-existent _as_json_table_type
{ "avatar_url": "https://avatars.githubusercontent.com/u/1725647?v=4", "events_url": "https://api.github.com/users/mriswithe/events{/privacy}", "followers_url": "https://api.github.com/users/mriswithe/followers", "following_url": "https://api.github.com/users/mriswithe/following{/other_user}", "gists_url": "https://api.github.com/users/mriswithe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mriswithe", "id": 1725647, "login": "mriswithe", "node_id": "MDQ6VXNlcjE3MjU2NDc=", "organizations_url": "https://api.github.com/users/mriswithe/orgs", "received_events_url": "https://api.github.com/users/mriswithe/received_events", "repos_url": "https://api.github.com/users/mriswithe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mriswithe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mriswithe/subscriptions", "type": "User", "url": "https://api.github.com/users/mriswithe" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2020-03-29T20:39:53Z
2020-04-29T22:49:08Z
2020-04-29T22:49:08Z
NONE
null
#### Problem description Documentation issue: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.io.json.build_table_schema.html (and master branch contains this as well) Description contains: ``` See _as_json_table_type for conversion types. ``` Which I cannot find anywhere else in the documentation
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33130/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33130/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33131
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33131/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33131/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33131/events
https://github.com/pandas-dev/pandas/issues/33131
589,899,046
MDU6SXNzdWU1ODk4OTkwNDY=
33,131
BUG: Copying PeriodIndex levels on MultiIndex loses weakrefs
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
0
2020-03-29T22:19:14Z
2020-03-31T17:10:07Z
2020-03-31T17:10:07Z
CONTRIBUTOR
null
As per [comment](https://github.com/pandas-dev/pandas/pull/32669#issuecomment-605525216) by @jacobaustin123: ```python import pandas as pd idx = pd.MultiIndex.from_arrays([pd.PeriodIndex([pd.Period("2019Q1"), pd.Period("2019Q2")], name='b')]) idx2 = pd.MultiIndex.from_arrays([idx._get_level_values(level) for level in range(idx.nlevels)]) all(x.is_monotonic for x in idx2.levels) # raises an error ``` #### Problem description The weakly referenced PeriodIndex er dropped before intended, so the ``PeriodEngine`` gets a ``None`` instead of the PeriodIndex. #### Expected Output The above should return True.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33131/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33131/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33132
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33132/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33132/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33132/events
https://github.com/pandas-dev/pandas/issues/33132
589,899,061
MDU6SXNzdWU1ODk4OTkwNjE=
33,132
BUG: wrong df.groupby().groups when grouping with [Grouper(freq=), ...]
{ "avatar_url": "https://avatars.githubusercontent.com/u/8387736?v=4", "events_url": "https://api.github.com/users/falcaopetri/events{/privacy}", "followers_url": "https://api.github.com/users/falcaopetri/followers", "following_url": "https://api.github.com/users/falcaopetri/following{/other_user}", "gists_url": "https://api.github.com/users/falcaopetri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/falcaopetri", "id": 8387736, "login": "falcaopetri", "node_id": "MDQ6VXNlcjgzODc3MzY=", "organizations_url": "https://api.github.com/users/falcaopetri/orgs", "received_events_url": "https://api.github.com/users/falcaopetri/received_events", "repos_url": "https://api.github.com/users/falcaopetri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/falcaopetri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/falcaopetri/subscriptions", "type": "User", "url": "https://api.github.com/users/falcaopetri" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
open
false
null
[]
null
5
2020-03-29T22:19:19Z
2020-11-09T16:42:02Z
null
NONE
null
#### Code ```python import pandas as pd from datetime import datetime mi = pd.MultiIndex.from_product([pd.date_range(datetime.today(), periods=2), ["C", "D"]], names=["alpha", "beta"]) df = pd.DataFrame({"foo": [1, 2, 1, 2], "bar": [1, 2, 3, 4]}, index=mi) result = df.groupby([pd.Grouper(level="alpha", freq='D'), "beta"]) print(len(result), result.ngroups) # 2 4 print(result.groups) # {(Timestamp('2020-04-05 00:00:00'), 'C'): MultiIndex([('2020-04-05 15:04:51.580573', 'C')], names=['alpha', 'beta']), # (Timestamp('2020-04-06 00:00:00'), 'D'): MultiIndex([('2020-04-05 15:04:51.580573', 'D')], names=['alpha', 'beta'])} ``` #### Problem description This issue is an extension of the bug reported in #26326. The PR #26374 resolved the bug for the case of when we have a nested `BaseGrouper`. Nonetheless, having a nested `BinGrouper` still results in wrong behavior, as can be checked by the above code. Note that `len(result)` is based on `len(result.groups)`, and that `result.groups` should return the following: ```python # {(Timestamp('2020-04-05 00:00:00'), 'C'): MultiIndex([('2020-04-05 15:04:51.580573', 'C')], names=['alpha', 'beta']), # (Timestamp('2020-04-05 00:00:00'), 'D'): MultiIndex([('2020-04-05 15:04:51.580573', 'D')], names=['alpha', 'beta']), # (Timestamp('2020-04-06 00:00:00'), 'C'): MultiIndex([('2020-04-05 15:04:51.580573', 'C')], names=['alpha', 'beta']), # (Timestamp('2020-04-06 00:00:00'), 'D'): MultiIndex([('2020-04-05 15:04:51.580573', 'D')], names=['alpha', 'beta'])} ``` <details> ``` INSTALLED VERSIONS ------------------ commit : 7673357191709036faad361cbb5f31a802703249 python : 3.7.6.final.0 python-bits : 64 OS : Linux OS-release : 5.5.8-1-MANJARO Version : #1 SMP PREEMPT Thu Mar 5 20:29:51 UTC 2020 machine : x86_64 processor : byteorder : little LC_ALL : C.UTF-8 LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.0.dev0+1027.g767335719.dirty numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 45.2.0.post20200210 Cython : 0.29.15 pytest : 5.4.1 hypothesis : 5.6.0 sphinx : 2.4.4 blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fastparquet : 0.3.3 gcsfs : None matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.1 pandas_gbq : None pyarrow : 0.16.0 pytables : None pyxlsb : None s3fs : 0.4.0 scipy : 1.4.1 sqlalchemy : 1.3.15 tables : 3.6.1 tabulate : 0.8.6 xarray : 0.15.0 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.48.0 ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33132/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33132/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33133
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33133/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33133/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33133/events
https://github.com/pandas-dev/pandas/pull/33133
589,901,627
MDExOlB1bGxSZXF1ZXN0Mzk1MzMyODQ5
33,133
BUG: to_datetime with infer_datetime_format dropped timezone names
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "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" }
2
2020-03-29T22:33:25Z
2020-03-31T17:11:52Z
2020-03-31T17:11:07Z
MEMBER
null
- [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/33133/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33133/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33133.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33133", "merged_at": "2020-03-31T17:11:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33133.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33133" }
https://api.github.com/repos/pandas-dev/pandas/issues/33134
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33134/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33134/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33134/events
https://github.com/pandas-dev/pandas/pull/33134
589,902,488
MDExOlB1bGxSZXF1ZXN0Mzk1MzMzNTI5
33,134
BUG: create new MI from MultiIndex._get_level_values
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
3
2020-03-29T22:38:56Z
2020-03-31T17:16:50Z
2020-03-31T17:10:07Z
CONTRIBUTOR
null
- [x] closes #33131 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Closes #33131, a weakref was released too early.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33134/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33134/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33134.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33134", "merged_at": "2020-03-31T17:10:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33134.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33134" }
https://api.github.com/repos/pandas-dev/pandas/issues/33135
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33135/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33135/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33135/events
https://github.com/pandas-dev/pandas/pull/33135
589,904,632
MDExOlB1bGxSZXF1ZXN0Mzk1MzM1MTY0
33,135
BUG: fix ngroups and len(groups) inconsistency when using [Grouper(freq=)] (GH33132)
{ "avatar_url": "https://avatars.githubusercontent.com/u/8387736?v=4", "events_url": "https://api.github.com/users/falcaopetri/events{/privacy}", "followers_url": "https://api.github.com/users/falcaopetri/followers", "following_url": "https://api.github.com/users/falcaopetri/following{/other_user}", "gists_url": "https://api.github.com/users/falcaopetri/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/falcaopetri", "id": 8387736, "login": "falcaopetri", "node_id": "MDQ6VXNlcjgzODc3MzY=", "organizations_url": "https://api.github.com/users/falcaopetri/orgs", "received_events_url": "https://api.github.com/users/falcaopetri/received_events", "repos_url": "https://api.github.com/users/falcaopetri/repos", "site_admin": false, "starred_url": "https://api.github.com/users/falcaopetri/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/falcaopetri/subscriptions", "type": "User", "url": "https://api.github.com/users/falcaopetri" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
null
0
2020-03-29T22:52:13Z
2020-04-11T15:29:31Z
2020-04-11T15:29:31Z
NONE
null
- [ ] closes #33132 - [ ] 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/33135/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33135/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33135.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33135", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/33135.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33135" }
https://api.github.com/repos/pandas-dev/pandas/issues/33136
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33136/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33136/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33136/events
https://github.com/pandas-dev/pandas/issues/33136
589,914,762
MDU6SXNzdWU1ODk5MTQ3NjI=
33,136
SeriesGroupBy.quantile doesn't work for nullable integers
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
0
2020-03-29T23:54:45Z
2020-04-07T23:10:11Z
2020-04-07T23:10:11Z
MEMBER
null
```python import pandas as pd df = pd.DataFrame( {"a": ["x", "x", "y", "y"], "b": pd.array([1, 2, 3, 4], dtype="Int64")} ) df.groupby("a")["b"].quantile(0.5) ``` raises ```python --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-1-ef27f953b945> in <module> 4 {"a": ["x", "x", "y", "y"], "b": pd.array([1, 2, 3, 4], dtype="Int64")} 5 ) ----> 6 df.groupby("a")["b"].quantile(0.5) ~/opt/miniconda3/lib/python3.7/site-packages/pandas/core/groupby/groupby.py in quantile(self, q, interpolation) 1911 post_processing=post_processor, 1912 q=q, -> 1913 interpolation=interpolation, 1914 ) 1915 else: ~/opt/miniconda3/lib/python3.7/site-packages/pandas/core/groupby/groupby.py in _get_cythonized_result(self, how, cython_dtype, aggregate, needs_values, needs_mask, needs_ngroups, result_is_index, pre_processing, post_processing, **kwargs) 2289 func = partial(func, ngroups) 2290 -> 2291 func(**kwargs) # Call func to modify indexer values in place 2292 2293 if result_is_index: pandas/_libs/groupby.pyx in pandas._libs.groupby.__pyx_fused_cpdef() TypeError: No matching signature found ``` cc @ghuname xref https://github.com/pandas-dev/pandas/issues/33071
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33136/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33136/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33137
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33137/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33137/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33137/events
https://github.com/pandas-dev/pandas/pull/33137
589,920,696
MDExOlB1bGxSZXF1ZXN0Mzk1MzQ3NjA5
33,137
BUG: DataFrame.resample raised AmbiguousTimeError at a midnight DST transition
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
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" }
1
2020-03-30T00:27:12Z
2020-04-03T16:18:34Z
2020-04-03T16:18:29Z
MEMBER
null
- [x] closes #25758 - [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/33137/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33137/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33137.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33137", "merged_at": "2020-04-03T16:18:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33137.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33137" }
https://api.github.com/repos/pandas-dev/pandas/issues/33138
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33138/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33138/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33138/events
https://github.com/pandas-dev/pandas/pull/33138
589,924,959
MDExOlB1bGxSZXF1ZXN0Mzk1MzUxMDMz
33,138
BUG: Fix SeriesGroupBy.quantile for nullable integers
{ "avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4", "events_url": "https://api.github.com/users/dsaxton/events{/privacy}", "followers_url": "https://api.github.com/users/dsaxton/followers", "following_url": "https://api.github.com/users/dsaxton/following{/other_user}", "gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsaxton", "id": 2658661, "login": "dsaxton", "node_id": "MDQ6VXNlcjI2NTg2NjE=", "organizations_url": "https://api.github.com/users/dsaxton/orgs", "received_events_url": "https://api.github.com/users/dsaxton/received_events", "repos_url": "https://api.github.com/users/dsaxton/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions", "type": "User", "url": "https://api.github.com/users/dsaxton" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2020-03-30T00:46:21Z
2020-04-07T23:13:38Z
2020-04-07T23:10:11Z
MEMBER
null
- [x] closes #33136 - [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/33138/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33138/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33138.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33138", "merged_at": "2020-04-07T23:10:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33138.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33138" }
https://api.github.com/repos/pandas-dev/pandas/issues/33139
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33139/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33139/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33139/events
https://github.com/pandas-dev/pandas/pull/33139
589,937,140
MDExOlB1bGxSZXF1ZXN0Mzk1MzYwMzg2
33,139
REF: de-curry unstack functions
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
1
2020-03-30T01:39:12Z
2020-03-30T21:56:02Z
2020-03-30T21:09:52Z
MEMBER
null
I find this much easier to follow without the double-partial. We also avoid re-doing some work, though AFAICT its pretty tiny perf-wise.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33139/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33139/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33139.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33139", "merged_at": "2020-03-30T21:09:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33139.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33139" }
https://api.github.com/repos/pandas-dev/pandas/issues/33140
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33140/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33140/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33140/events
https://github.com/pandas-dev/pandas/pull/33140
589,947,979
MDExOlB1bGxSZXF1ZXN0Mzk1MzY4NjY1
33,140
BUG: to_sql no longer raises an AttributeError when saving an OBB date
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
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" }
2
2020-03-30T02:24:35Z
2020-03-30T16:24:45Z
2020-03-30T16:24:41Z
MEMBER
null
- [x] closes #26761 - [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/33140/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33140/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33140.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33140", "merged_at": "2020-03-30T16:24:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33140.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33140" }
https://api.github.com/repos/pandas-dev/pandas/issues/33141
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33141/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33141/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33141/events
https://github.com/pandas-dev/pandas/issues/33141
590,283,617
MDU6SXNzdWU1OTAyODM2MTc=
33,141
Pandas cut method gives an error if labels are non-unique
{ "avatar_url": "https://avatars.githubusercontent.com/u/7702207?v=4", "events_url": "https://api.github.com/users/harmbuisman/events{/privacy}", "followers_url": "https://api.github.com/users/harmbuisman/followers", "following_url": "https://api.github.com/users/harmbuisman/following{/other_user}", "gists_url": "https://api.github.com/users/harmbuisman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/harmbuisman", "id": 7702207, "login": "harmbuisman", "node_id": "MDQ6VXNlcjc3MDIyMDc=", "organizations_url": "https://api.github.com/users/harmbuisman/orgs", "received_events_url": "https://api.github.com/users/harmbuisman/received_events", "repos_url": "https://api.github.com/users/harmbuisman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/harmbuisman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/harmbuisman/subscriptions", "type": "User", "url": "https://api.github.com/users/harmbuisman" }
[ { "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": "9aace2", "default": false, "description": "cut, qcut", "id": 1639305834, "name": "cut", "node_id": "MDU6TGFiZWwxNjM5MzA1ODM0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/cut" } ]
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" }
8
2020-03-30T13:19:13Z
2020-05-01T00:31:48Z
2020-05-01T00:31:48Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd data = pd.DataFrame({'morf':[8142, 8153, 8161]}) bins = [8140, 8150, 8160, 8163] labels = ['Adenocarcinomas', 'Other specific carcinomas', 'Adenocarcinomas'] data['group'] = pd.cut(data['morf'], bins, labels=labels) ``` #### Problem description I want to use pandas cut to fill in labels for ranges that are scattered. E.g. I want to map the following table onto my data, where the definitions span ranges that are scattered across the morphology continuum: ![image](https://user-images.githubusercontent.com/7702207/77915793-5aab6980-7298-11ea-945b-839b954ddec5.png) The above code gives the error: ValueError: Categorical categories must be unique #### Expected Output I expect the example above to run and give back the labeled dataframe without an error. My workaround is to add the index to the labels and then remove that again after the cut. #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.1 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 45.2.0.post20200209 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.12.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : 0.15.0 xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33141/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33141/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33142
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33142/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33142/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33142/events
https://github.com/pandas-dev/pandas/pull/33142
590,358,636
MDExOlB1bGxSZXF1ZXN0Mzk1NzA3MTI5
33,142
CLN: unused import _libs/reduction + remove "noqa" comment in _libs/__init__.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
null
1
2020-03-30T14:56:56Z
2020-03-30T18:21:01Z
2020-03-30T18:13:35Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/33142/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33142/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33142.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33142", "merged_at": "2020-03-30T18:13:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33142.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33142" }
https://api.github.com/repos/pandas-dev/pandas/issues/33143
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33143/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33143/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33143/events
https://github.com/pandas-dev/pandas/pull/33143
590,371,351
MDExOlB1bGxSZXF1ZXN0Mzk1NzE3NTc2
33,143
STY: Using __all__; removed "noqa" comment
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
9
2020-03-30T15:14:02Z
2020-04-10T15:45:40Z
2020-04-10T15:44:35Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/33143/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33143/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33143.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33143", "merged_at": "2020-04-10T15:44:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33143.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33143" }
https://api.github.com/repos/pandas-dev/pandas/issues/33144
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33144/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33144/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33144/events
https://github.com/pandas-dev/pandas/pull/33144
590,399,210
MDExOlB1bGxSZXF1ZXN0Mzk1NzQwMzA0
33,144
add match message for pytest.raises()
{ "avatar_url": "https://avatars.githubusercontent.com/u/21811?v=4", "events_url": "https://api.github.com/users/sathyz/events{/privacy}", "followers_url": "https://api.github.com/users/sathyz/followers", "following_url": "https://api.github.com/users/sathyz/following{/other_user}", "gists_url": "https://api.github.com/users/sathyz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sathyz", "id": 21811, "login": "sathyz", "node_id": "MDQ6VXNlcjIxODEx", "organizations_url": "https://api.github.com/users/sathyz/orgs", "received_events_url": "https://api.github.com/users/sathyz/received_events", "repos_url": "https://api.github.com/users/sathyz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sathyz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sathyz/subscriptions", "type": "User", "url": "https://api.github.com/users/sathyz" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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
2020-03-30T15:51:23Z
2020-04-19T22:22:28Z
2020-04-19T22:22:23Z
CONTRIBUTOR
null
- [x] ref #30999 - [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/33144/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33144/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33144.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33144", "merged_at": "2020-04-19T22:22:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33144.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33144" }
https://api.github.com/repos/pandas-dev/pandas/issues/33145
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33145/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33145/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33145/events
https://github.com/pandas-dev/pandas/pull/33145
590,407,416
MDExOlB1bGxSZXF1ZXN0Mzk1NzQ3MDk3
33,145
CLN: Use doc decorator for case using __doc__
{ "avatar_url": "https://avatars.githubusercontent.com/u/50187675?v=4", "events_url": "https://api.github.com/users/HH-MWB/events{/privacy}", "followers_url": "https://api.github.com/users/HH-MWB/followers", "following_url": "https://api.github.com/users/HH-MWB/following{/other_user}", "gists_url": "https://api.github.com/users/HH-MWB/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HH-MWB", "id": 50187675, "login": "HH-MWB", "node_id": "MDQ6VXNlcjUwMTg3Njc1", "organizations_url": "https://api.github.com/users/HH-MWB/orgs", "received_events_url": "https://api.github.com/users/HH-MWB/received_events", "repos_url": "https://api.github.com/users/HH-MWB/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HH-MWB/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HH-MWB/subscriptions", "type": "User", "url": "https://api.github.com/users/HH-MWB" }
[]
closed
false
null
[]
null
0
2020-03-30T16:02:19Z
2020-03-31T01:50:19Z
2020-03-30T19:09:54Z
CONTRIBUTOR
null
- [ ] works for #31942 - [ ] 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/33145/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33145/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33145.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33145", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/33145.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33145" }
https://api.github.com/repos/pandas-dev/pandas/issues/33146
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33146/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33146/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33146/events
https://github.com/pandas-dev/pandas/issues/33146
590,418,279
MDU6SXNzdWU1OTA0MTgyNzk=
33,146
Error in slicing by datetime January 1, 2020
{ "avatar_url": "https://avatars.githubusercontent.com/u/7657845?v=4", "events_url": "https://api.github.com/users/ivan7707/events{/privacy}", "followers_url": "https://api.github.com/users/ivan7707/followers", "following_url": "https://api.github.com/users/ivan7707/following{/other_user}", "gists_url": "https://api.github.com/users/ivan7707/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ivan7707", "id": 7657845, "login": "ivan7707", "node_id": "MDQ6VXNlcjc2NTc4NDU=", "organizations_url": "https://api.github.com/users/ivan7707/orgs", "received_events_url": "https://api.github.com/users/ivan7707/received_events", "repos_url": "https://api.github.com/users/ivan7707/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ivan7707/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ivan7707/subscriptions", "type": "User", "url": "https://api.github.com/users/ivan7707" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2020-03-30T16:18:10Z
2021-01-05T02:27:21Z
2021-01-05T02:27:21Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd dt = {'No': {pd.Timestamp('2020-01-01 00:00:00'): 123, pd.Timestamp('1900-01-01 00:00:00'): 345, pd.Timestamp('2017-04-18 00:00:00'): 946, pd.Timestamp('2020-01-02 00:00:00'): 940 }, 'CB': {pd.Timestamp('2020-01-01 00:00:00'): 'Sc', pd.Timestamp('1900-01-01 00:00:00'): 'Dr', pd.Timestamp('2017-04-18 00:00:00'): 'St', pd.Timestamp('2020-01-02 00:00:00'): 'Sc'}} df = pd.DataFrame(dt) # **only January 1 does not work properly** print(df['2019-12-31':]) print(df['2020-01-01':]) print(df['2020-01-02':]) # **All work properly** print(df[df.index >='2019-12-31']) print(df[df.index >='2020-01-01']) print(df[df.index >='2020-01-02']) ``` #### Problem description Slicing by datetime index on January 1, 2020 returns the whole DataFrame **print(df['2020-01-01':])** Shows the whole DataFrame #### Expected Output # only January 1 does not work properly **print(df['2020-01-01':])** incorrectly shows the whole DataFrame No CB 2020-01-01 123 Sc 1900-01-01 345 Dr 2017-04-18 946 St 2020-01-02 946 Sc **print(df['2020-01-02':])** No CB 2020-01-02 946 Sc # All work properly **print(df[df.index >='2019-12-31'])** No CB 2020-01-01 123 Sc 2020-01-02 946 Sc **print(df[df.index >='2020-01-01'])** #works properly No CB 2020-01-01 123 Sc 2020-01-02 946 Sc **print(df[df.index >='2020-01-02'])** No CB 2020-01-01 123 Sc 2020-01-02 946 Sc #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.7.2.final.0 python-bits : 32 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.2 pytz : 2018.9 dateutil : 2.8.0 pip : 20.0.2 setuptools : 40.6.2 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10 IPython : 7.4.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.0.3 numexpr : None odfpy : None openpyxl : 3.0.2 pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.2.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33146/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33146/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33147
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33147/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33147/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33147/events
https://github.com/pandas-dev/pandas/pull/33147
590,475,431
MDExOlB1bGxSZXF1ZXN0Mzk1ODAyNTgz
33,147
DOC: Fix capitalization among headings in documentation files (#32550)
{ "avatar_url": "https://avatars.githubusercontent.com/u/12384095?v=4", "events_url": "https://api.github.com/users/themien/events{/privacy}", "followers_url": "https://api.github.com/users/themien/followers", "following_url": "https://api.github.com/users/themien/following{/other_user}", "gists_url": "https://api.github.com/users/themien/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/themien", "id": 12384095, "login": "themien", "node_id": "MDQ6VXNlcjEyMzg0MDk1", "organizations_url": "https://api.github.com/users/themien/orgs", "received_events_url": "https://api.github.com/users/themien/received_events", "repos_url": "https://api.github.com/users/themien/repos", "site_admin": false, "starred_url": "https://api.github.com/users/themien/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/themien/subscriptions", "type": "User", "url": "https://api.github.com/users/themien" }
[ { "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-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" }
1
2020-03-30T17:48:56Z
2020-04-07T18:29:58Z
2020-04-07T01:28:26Z
CONTRIBUTOR
null
Headers updated for the following files: ``` - [x] doc/source/user_guide/categorical.rst - [x] doc/source/user_guide/computation.rst - [x] doc/source/user_guide/cookbook.rst - [x] doc/source/user_guide/gotchas.rst - [x] doc/source/user_guide/groupby.rst ``` Other files updated in #32944, #32978 , #32991 and #33149
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33147/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33147/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33147.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33147", "merged_at": "2020-04-07T01:28:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33147.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33147" }
https://api.github.com/repos/pandas-dev/pandas/issues/33148
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33148/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33148/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33148/events
https://github.com/pandas-dev/pandas/pull/33148
590,480,058
MDExOlB1bGxSZXF1ZXN0Mzk1ODA2Mzc3
33,148
More Json parametrize
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2020-03-30T17:56:19Z
2020-03-30T21:55:42Z
2020-03-30T21:05:13Z
MEMBER
null
follow on to #31191 - still a few more passes to go
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33148/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33148/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33148.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33148", "merged_at": "2020-03-30T21:05:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33148.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33148" }
https://api.github.com/repos/pandas-dev/pandas/issues/33149
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33149/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33149/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33149/events
https://github.com/pandas-dev/pandas/pull/33149
590,499,217
MDExOlB1bGxSZXF1ZXN0Mzk1ODIxNzc4
33,149
DOC: Fix capitalization among headings in documentation files (#32550)
{ "avatar_url": "https://avatars.githubusercontent.com/u/12384095?v=4", "events_url": "https://api.github.com/users/themien/events{/privacy}", "followers_url": "https://api.github.com/users/themien/followers", "following_url": "https://api.github.com/users/themien/following{/other_user}", "gists_url": "https://api.github.com/users/themien/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/themien", "id": 12384095, "login": "themien", "node_id": "MDQ6VXNlcjEyMzg0MDk1", "organizations_url": "https://api.github.com/users/themien/orgs", "received_events_url": "https://api.github.com/users/themien/received_events", "repos_url": "https://api.github.com/users/themien/repos", "site_admin": false, "starred_url": "https://api.github.com/users/themien/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/themien/subscriptions", "type": "User", "url": "https://api.github.com/users/themien" }
[ { "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
2020-03-30T18:27:38Z
2020-04-07T18:38:10Z
2020-03-31T17:24:31Z
CONTRIBUTOR
null
Headers updated for the following files: ``` - [x] doc/source/user_guide/options.rst - [x] doc/source/user_guide/reshaping.rst - [x] doc/source/user_guide/text.rst - [x] doc/source/user_guide/timeseries.rst - [x] doc/source/user_guide/visualization.rst ``` Other files updated in #32944, #32978, #32991 and #33147
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33149/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33149/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33149.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33149", "merged_at": "2020-03-31T17:24:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33149.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33149" }
https://api.github.com/repos/pandas-dev/pandas/issues/33150
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33150/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33150/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33150/events
https://github.com/pandas-dev/pandas/pull/33150
590,510,084
MDExOlB1bGxSZXF1ZXN0Mzk1ODMwNzI3
33,150
REF: test_reindex_like
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
0
2020-03-30T18:45:37Z
2020-03-31T17:28:08Z
2020-03-31T17:08:51Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33150/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33150/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33150.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33150", "merged_at": "2020-03-31T17:08:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33150.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33150" }
https://api.github.com/repos/pandas-dev/pandas/issues/33151
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33151/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33151/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33151/events
https://github.com/pandas-dev/pandas/pull/33151
590,511,986
MDExOlB1bGxSZXF1ZXN0Mzk1ODMyMzAy
33,151
REF: misplaced DataFrame arithmetic tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
0
2020-03-30T18:48:42Z
2020-03-30T21:56:50Z
2020-03-30T21:01:18Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33151/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33151/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33151.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33151", "merged_at": "2020-03-30T21:01:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33151.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33151" }
https://api.github.com/repos/pandas-dev/pandas/issues/33152
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33152/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33152/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33152/events
https://github.com/pandas-dev/pandas/pull/33152
590,519,144
MDExOlB1bGxSZXF1ZXN0Mzk1ODM4MTY3
33,152
REF: test_rename_axis
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
0
2020-03-30T19:01:00Z
2020-03-30T21:58:22Z
2020-03-30T20:59:41Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33152/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33152/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33152.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33152", "merged_at": "2020-03-30T20:59:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33152.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33152" }
https://api.github.com/repos/pandas-dev/pandas/issues/33153
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33153/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33153/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33153/events
https://github.com/pandas-dev/pandas/issues/33153
590,531,461
MDU6SXNzdWU1OTA1MzE0NjE=
33,153
API: require scalar result from the scalar .at indexer
{ "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": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
21
2020-03-30T19:21:42Z
2021-07-31T01:53:25Z
null
MEMBER
null
The `.at` indexer is documented as the fast, restricted version of `loc` to "access a scalar value" (https://pandas.pydata.org/docs/user_guide/indexing.html#fast-scalar-value-getting-and-setting). However, currently, there is not always a guarantee that the result will actually be a scalar. For example, with a Series with duplicate index values: ``` In [3]: s = pd.Series([1, 2, 3], index=['a', 'b', 'a']) In [4]: s.at['a'] Out[4]: a 1 a 3 dtype: int64 ``` There are some other possible cases that could give a non-scalar value as well: - MultiIndex if not all levels are indexed (#26989) - DataFrame with duplicate index labels in index and/or columns (#33041) However, those cases currently all fail (error or produce wrong result, see below for examples). So a question that can be posed: **should we consider those cases as bugs, or should we rather actually require a scalar result** and thus see the series behaviour above as too liberal? Since those linked issues have open PRs to "fix" them, I think we should first decide on what guarantees on the `.at` API we want to provide. And personally, I think taking the documented intention of accessing a scalar would be a plus (it gives a certainty about the type of the result, i.e. always a scalar, and not sometimes a series or dataframe depening on the value of the label passed to `at`). If we prefer the more strict scalar result requirement, we can deprecate the Series case (but only if accessing a duplicated label) and provide better error messages for the error cases. --- Examples of the failing behaviours (on pandas 1.0.1): ```python # duplicated row label -> you get a numpy array (which I would say is always wrong) >>> df = pd.DataFrame(np.random.randn(3, 2), index=['a', 'b', 'a'], columns=['A', 'B']) >>> df.at['a', 'A'] array([-0.02914828, 0.2856617 ]) # duplicated column label -> error >>> df = pd.DataFrame(np.random.randn(3, 2), index=['a', 'b', 'c'], columns=['A', 'A']) >>> df.at['a', 'A'] ... AttributeError: 'BlockManager' object has no attribute 'T' # Selecting one level of a MultiIndex -> error >>> s = pd.Series(np.random.randn(4), index=pd.MultiIndex.from_product([['A', 'B'], [1, 2]])) >>> s.at['A'] ... KeyError: 'A' During handling of the above exception, another exception occurred: ... AttributeError: 'numpy.ndarray' object has no attribute '_values' # selecting all MultiIndex levels -> this should actually work (#26989) >>> s.at['A', 1] ... TypeError: _get_value() got multiple values for argument 'takeable' # DataFrame with all MultiIndex levels specified works OK >>>s.to_frame('col').at[('A', 1), 'col'] 1.341421652269149 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33153/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33153/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33154
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33154/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33154/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33154/events
https://github.com/pandas-dev/pandas/pull/33154
590,551,623
MDExOlB1bGxSZXF1ZXN0Mzk1ODY0OTI3
33,154
REF: PeriodIndex test_indexing tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2020-03-30T19:55:53Z
2020-03-30T21:57:59Z
2020-03-30T20:58:01Z
MEMBER
null
This should be it for the PeriodIndex tests for now.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33154/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33154/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33154.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33154", "merged_at": "2020-03-30T20:58:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33154.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33154" }
https://api.github.com/repos/pandas-dev/pandas/issues/33155
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33155/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33155/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33155/events
https://github.com/pandas-dev/pandas/issues/33155
590,631,299
MDU6SXNzdWU1OTA2MzEyOTk=
33,155
Feature request: first & last for rolling()
{ "avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4", "events_url": "https://api.github.com/users/yohplala/events{/privacy}", "followers_url": "https://api.github.com/users/yohplala/followers", "following_url": "https://api.github.com/users/yohplala/following{/other_user}", "gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yohplala", "id": 13206058, "login": "yohplala", "node_id": "MDQ6VXNlcjEzMjA2MDU4", "organizations_url": "https://api.github.com/users/yohplala/orgs", "received_events_url": "https://api.github.com/users/yohplala/received_events", "repos_url": "https://api.github.com/users/yohplala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yohplala/subscriptions", "type": "User", "url": "https://api.github.com/users/yohplala" }
[ { "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
open
false
null
[]
null
3
2020-03-30T22:10:48Z
2020-04-01T23:46:35Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # This works: df1 = df.resample(to_freq, closed='left', kind='period', ).agg(OrderedDict([('Open', 'first'), ('Close', 'last'), ])) # This doesn't: df2 = df.rolling(my_indexer).agg( OrderedDict([('Open', 'first'), ('Close', 'last') ])) >>> AttributeError: 'first' is not a valid function for 'Rolling' object df3 = df.rolling(my_indexer).agg( OrderedDict([ ('Close', 'last') ])) >>> AttributeError: 'last' is not a valid function for 'Rolling' object ``` Please, could 'first' and 'last' be made available for rolling window? Thanks for your support! Bests,
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33155/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33155/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33156
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33156/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33156/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33156/events
https://github.com/pandas-dev/pandas/pull/33156
590,673,101
MDExOlB1bGxSZXF1ZXN0Mzk1OTY4ODA5
33,156
REF: collect .drop tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
0
2020-03-30T23:40:47Z
2020-03-31T17:24:38Z
2020-03-31T17:07:55Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33156/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33156/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33156.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33156", "merged_at": "2020-03-31T17:07:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33156.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33156" }
https://api.github.com/repos/pandas-dev/pandas/issues/33157
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33157/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33157/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33157/events
https://github.com/pandas-dev/pandas/pull/33157
590,685,722
MDExOlB1bGxSZXF1ZXN0Mzk1OTc5Njg2
33,157
Backport PR #33102 on branch 1.0.x (PERF: fix performance regression in memory_usage(deep=True) for object dtype)
{ "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": "2020-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
1
2020-03-31T00:12:22Z
2020-05-05T15:55:25Z
2020-05-05T15:55:25Z
NONE
null
Backport PR #33102: PERF: fix performance regression in memory_usage(deep=True) for object dtype
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33157/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33157/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33157.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33157", "merged_at": "2020-05-05T15:55:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33157.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33157" }
https://api.github.com/repos/pandas-dev/pandas/issues/33158
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33158/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33158/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33158/events
https://github.com/pandas-dev/pandas/pull/33158
590,702,782
MDExOlB1bGxSZXF1ZXN0Mzk1OTk0Mjcy
33,158
BUG: isna_old with td64, dt64tz, period
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
1
2020-03-31T00:57:28Z
2020-03-31T17:22:32Z
2020-03-31T16:48:51Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Started as a CLN branch and i left that in for now, can separate if desired. the bugfix is on L287.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33158/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33158/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33158.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33158", "merged_at": "2020-03-31T16:48:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33158.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33158" }
https://api.github.com/repos/pandas-dev/pandas/issues/33159
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33159/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33159/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33159/events
https://github.com/pandas-dev/pandas/pull/33159
590,707,198
MDExOlB1bGxSZXF1ZXN0Mzk1OTk4MDAx
33,159
CLN: use ._data less in reshape
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
1
2020-03-31T01:09:34Z
2020-03-31T17:25:25Z
2020-03-31T16:42:08Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33159/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33159/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33159.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33159", "merged_at": "2020-03-31T16:42:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33159.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33159" }
https://api.github.com/repos/pandas-dev/pandas/issues/33160
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33160/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33160/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33160/events
https://github.com/pandas-dev/pandas/pull/33160
590,725,557
MDExOlB1bGxSZXF1ZXN0Mzk2MDEzNTI4
33,160
DOC: Make doc decorator a class and replace Appender by doc
{ "avatar_url": "https://avatars.githubusercontent.com/u/50187675?v=4", "events_url": "https://api.github.com/users/HH-MWB/events{/privacy}", "followers_url": "https://api.github.com/users/HH-MWB/followers", "following_url": "https://api.github.com/users/HH-MWB/following{/other_user}", "gists_url": "https://api.github.com/users/HH-MWB/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/HH-MWB", "id": 50187675, "login": "HH-MWB", "node_id": "MDQ6VXNlcjUwMTg3Njc1", "organizations_url": "https://api.github.com/users/HH-MWB/orgs", "received_events_url": "https://api.github.com/users/HH-MWB/received_events", "repos_url": "https://api.github.com/users/HH-MWB/repos", "site_admin": false, "starred_url": "https://api.github.com/users/HH-MWB/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/HH-MWB/subscriptions", "type": "User", "url": "https://api.github.com/users/HH-MWB" }
[ { "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-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" }
26
2020-03-31T01:58:25Z
2020-05-22T10:05:05Z
2020-05-22T10:04:56Z
CONTRIBUTOR
null
- [x] work for #31942 - [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/33160/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33160/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33160.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33160", "merged_at": "2020-05-22T10:04:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33160.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33160" }
https://api.github.com/repos/pandas-dev/pandas/issues/33161
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33161/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33161/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33161/events
https://github.com/pandas-dev/pandas/issues/33161
590,726,614
MDU6SXNzdWU1OTA3MjY2MTQ=
33,161
Use empty_frame fixture
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "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": "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
2020-03-31T02:01:18Z
2020-05-22T03:45:14Z
null
MEMBER
null
#33148 introduced an empty_frame fixture in the top level conftest. At the same time, we have a lot of `... = DataFrame()` assignments in our tests. We should standardize to use the fixture where appropriate
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33161/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33161/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33162
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33162/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33162/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33162/events
https://github.com/pandas-dev/pandas/issues/33162
590,730,856
MDU6SXNzdWU1OTA3MzA4NTY=
33,162
create rolling values from function that returns a numpy value
{ "avatar_url": "https://avatars.githubusercontent.com/u/46582583?v=4", "events_url": "https://api.github.com/users/andrewczgithub/events{/privacy}", "followers_url": "https://api.github.com/users/andrewczgithub/followers", "following_url": "https://api.github.com/users/andrewczgithub/following{/other_user}", "gists_url": "https://api.github.com/users/andrewczgithub/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/andrewczgithub", "id": 46582583, "login": "andrewczgithub", "node_id": "MDQ6VXNlcjQ2NTgyNTgz", "organizations_url": "https://api.github.com/users/andrewczgithub/orgs", "received_events_url": "https://api.github.com/users/andrewczgithub/received_events", "repos_url": "https://api.github.com/users/andrewczgithub/repos", "site_admin": false, "starred_url": "https://api.github.com/users/andrewczgithub/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andrewczgithub/subscriptions", "type": "User", "url": "https://api.github.com/users/andrewczgithub" }
[ { "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
[]
null
1
2020-03-31T02:12:31Z
2020-03-31T03:13:39Z
2020-03-31T03:13:32Z
NONE
null
Hi all, I am trying to create rolling values from a function that returns a numpy value, to get an idea of how stable to value is over time see my below attempt ' ' 'python array([-9.51263882e-03, -2.81717483e-02, 9.43949087e-05, ..., -9.07504803e-03, -4.77400512e-03, 1.51740085e-03]) [def dist_range(x, y): return (np.max(np.abs(x - y), axis=1) - np.min(np.abs(x - y), axis=1)) / (np.max(np.abs(x - y), axis=1) + np.min(np.abs(x - y), axis=1)) ##### RangeEn-B (mSampEn) def RangeEn_B(x, emb_dim=2, tolerance=.1, dist=dist_range): n = np.shape(x) n = np.max(n) tVecs = np.zeros((n - emb_dim, emb_dim + 1)) for i in range(tVecs.shape[0]): tVecs[i, :] = x[i:i + tVecs.shape[1]] counts = [] for m in [emb_dim, emb_dim + 1]: counts.append(0) # get the matrix that we need for the current m tVecsM = tVecs[:n - m + 1, :m] # successively calculate distances between each pair of template vectors for i in range(len(tVecsM)): dsts = dist(tVecsM, tVecsM[i]) # delete self-matching dsts = np.delete(dsts, i, axis=0) # delete undefined distances coming from zero segments # dsts = [x for i, x in enumerate(dsts) if not np.isnan(x) and not np.isinf(x)] # count how many 'defined' distances are smaller than the tolerance # if (dsts): counts[-1] += np.sum(dsts < tolerance)/(n - m - 1) if counts[1] == 0: # log would be infinite => cannot determine RangeEn_B RangeEn_B = np.nan else: # compute log of summed probabilities RangeEn_B = -np.log(1.0 * counts[1] / counts[0]) return RangeEn_B](url) #Assume matrix is a series t = pd.Series(rs_num) t=t.rolling(window=5, min_periods=2).apply(RangeEn_B).dropna() ' ' '
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33162/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33162/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33163
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33163/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33163/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33163/events
https://github.com/pandas-dev/pandas/pull/33163
590,735,058
MDExOlB1bGxSZXF1ZXN0Mzk2MDIxMjk1
33,163
Json parametrize more2
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
null
[]
{ "closed_at": "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
2020-03-31T02:22:57Z
2020-03-31T16:39:21Z
2020-03-31T16:39:21Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33163/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33163/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33163.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33163", "merged_at": "2020-03-31T16:39:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33163.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33163" }
https://api.github.com/repos/pandas-dev/pandas/issues/33164
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33164/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33164/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33164/events
https://github.com/pandas-dev/pandas/pull/33164
590,772,740
MDExOlB1bGxSZXF1ZXN0Mzk2MDUzMTc5
33,164
REF: collect .get tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
0
2020-03-31T04:02:59Z
2020-03-31T14:00:16Z
2020-03-31T13:39:48Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33164/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33164/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33164.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33164", "merged_at": "2020-03-31T13:39:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33164.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33164" }
https://api.github.com/repos/pandas-dev/pandas/issues/33165
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33165/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33165/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33165/events
https://github.com/pandas-dev/pandas/pull/33165
590,790,156
MDExOlB1bGxSZXF1ZXN0Mzk2MDY4MjMw
33,165
CLN: Replace DataFrame() with empty_frame() in tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/3333600?v=4", "events_url": "https://api.github.com/users/jason3804/events{/privacy}", "followers_url": "https://api.github.com/users/jason3804/followers", "following_url": "https://api.github.com/users/jason3804/following{/other_user}", "gists_url": "https://api.github.com/users/jason3804/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jason3804", "id": 3333600, "login": "jason3804", "node_id": "MDQ6VXNlcjMzMzM2MDA=", "organizations_url": "https://api.github.com/users/jason3804/orgs", "received_events_url": "https://api.github.com/users/jason3804/received_events", "repos_url": "https://api.github.com/users/jason3804/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jason3804/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jason3804/subscriptions", "type": "User", "url": "https://api.github.com/users/jason3804" }
[]
closed
false
null
[]
null
0
2020-03-31T04:48:29Z
2020-03-31T04:56:20Z
2020-03-31T04:55:20Z
NONE
null
- [ ] closes #33161 - [ ] 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/33165/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33165/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33165.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33165", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/33165.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33165" }
https://api.github.com/repos/pandas-dev/pandas/issues/33166
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33166/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33166/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33166/events
https://github.com/pandas-dev/pandas/issues/33166
590,811,175
MDU6SXNzdWU1OTA4MTExNzU=
33,166
DOC: document support for in-memory HDFStore
{ "avatar_url": "https://avatars.githubusercontent.com/u/694873?v=4", "events_url": "https://api.github.com/users/tgy/events{/privacy}", "followers_url": "https://api.github.com/users/tgy/followers", "following_url": "https://api.github.com/users/tgy/following{/other_user}", "gists_url": "https://api.github.com/users/tgy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tgy", "id": 694873, "login": "tgy", "node_id": "MDQ6VXNlcjY5NDg3Mw==", "organizations_url": "https://api.github.com/users/tgy/orgs", "received_events_url": "https://api.github.com/users/tgy/received_events", "repos_url": "https://api.github.com/users/tgy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tgy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tgy/subscriptions", "type": "User", "url": "https://api.github.com/users/tgy" }
[ { "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/24434212?v=4", "events_url": "https://api.github.com/users/dennisbakhuis/events{/privacy}", "followers_url": "https://api.github.com/users/dennisbakhuis/followers", "following_url": "https://api.github.com/users/dennisbakhuis/following{/other_user}", "gists_url": "https://api.github.com/users/dennisbakhuis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dennisbakhuis", "id": 24434212, "login": "dennisbakhuis", "node_id": "MDQ6VXNlcjI0NDM0MjEy", "organizations_url": "https://api.github.com/users/dennisbakhuis/orgs", "received_events_url": "https://api.github.com/users/dennisbakhuis/received_events", "repos_url": "https://api.github.com/users/dennisbakhuis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dennisbakhuis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dennisbakhuis/subscriptions", "type": "User", "url": "https://api.github.com/users/dennisbakhuis" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/24434212?v=4", "events_url": "https://api.github.com/users/dennisbakhuis/events{/privacy}", "followers_url": "https://api.github.com/users/dennisbakhuis/followers", "following_url": "https://api.github.com/users/dennisbakhuis/following{/other_user}", "gists_url": "https://api.github.com/users/dennisbakhuis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dennisbakhuis", "id": 24434212, "login": "dennisbakhuis", "node_id": "MDQ6VXNlcjI0NDM0MjEy", "organizations_url": "https://api.github.com/users/dennisbakhuis/orgs", "received_events_url": "https://api.github.com/users/dennisbakhuis/received_events", "repos_url": "https://api.github.com/users/dennisbakhuis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dennisbakhuis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dennisbakhuis/subscriptions", "type": "User", "url": "https://api.github.com/users/dennisbakhuis" } ]
{ "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" }
9
2020-03-31T05:39:30Z
2020-06-20T20:08:40Z
2020-06-20T20:08:40Z
CONTRIBUTOR
null
It seems to be currently imposible to have an in-memory HDFStore. Any of my attempts at using `io.BytesIO` failed. This can be useful for applications where the bytes of the resulting HDF file need to be sent over the network.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33166/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33166/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33167
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33167/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33167/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33167/events
https://github.com/pandas-dev/pandas/pull/33167
590,823,913
MDExOlB1bGxSZXF1ZXN0Mzk2MDk3MTc4
33,167
CLN: Replace DataFrame() with empty_frame in tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/3333600?v=4", "events_url": "https://api.github.com/users/jason3804/events{/privacy}", "followers_url": "https://api.github.com/users/jason3804/followers", "following_url": "https://api.github.com/users/jason3804/following{/other_user}", "gists_url": "https://api.github.com/users/jason3804/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jason3804", "id": 3333600, "login": "jason3804", "node_id": "MDQ6VXNlcjMzMzM2MDA=", "organizations_url": "https://api.github.com/users/jason3804/orgs", "received_events_url": "https://api.github.com/users/jason3804/received_events", "repos_url": "https://api.github.com/users/jason3804/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jason3804/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jason3804/subscriptions", "type": "User", "url": "https://api.github.com/users/jason3804" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
null
7
2020-03-31T06:09:22Z
2020-05-08T15:58:33Z
2020-05-08T15:58:32Z
NONE
null
- [ ] closes #33161 - [ ] 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/33167/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33167/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33167.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33167", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/33167.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33167" }
https://api.github.com/repos/pandas-dev/pandas/issues/33168
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33168/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33168/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33168/events
https://github.com/pandas-dev/pandas/issues/33168
590,857,961
MDU6SXNzdWU1OTA4NTc5NjE=
33,168
Quantile function fails when performing groupby on Time Zone Aware Timestamps
{ "avatar_url": "https://avatars.githubusercontent.com/u/20479241?v=4", "events_url": "https://api.github.com/users/jlandercy/events{/privacy}", "followers_url": "https://api.github.com/users/jlandercy/followers", "following_url": "https://api.github.com/users/jlandercy/following{/other_user}", "gists_url": "https://api.github.com/users/jlandercy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jlandercy", "id": 20479241, "login": "jlandercy", "node_id": "MDQ6VXNlcjIwNDc5MjQx", "organizations_url": "https://api.github.com/users/jlandercy/orgs", "received_events_url": "https://api.github.com/users/jlandercy/received_events", "repos_url": "https://api.github.com/users/jlandercy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jlandercy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jlandercy/subscriptions", "type": "User", "url": "https://api.github.com/users/jlandercy" }
[ { "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": "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": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
open
false
null
[]
null
5
2020-03-31T07:16:35Z
2021-07-31T01:56:00Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible Maybe **not a high priority bug**, but I have the feeling it can easily fixed. I just have not enough understanding on how it should be fixed. Please find below the MCVE to reproduce it: ``` import numpy as np import pandas as pd # Sample Dataset: n = 200 c = np.random.choice([0,1,2], size=(n,)) d = np.random.randn(n) t = pd.date_range(start='2020-04-19 00:00:00', freq='1T', periods=n, tz='UTC') df = pd.DataFrame([r for r in zip(c, t, d)], columns=['category', 'timestamp', 'value']) df['rtime'] = df['timestamp'].dt.floor('1H') # Failing operation: df.groupby('rtime').quantile([0.1, 0.5, 0.9]) ``` #### Problem description The traceback of the error is a bit laconic and I have not enough experience in Pandas source code to cover all details of this error: ```bash --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-35-aff2c9a206a6> in <module> ----> 1 df.groupby('rtime').quantile([0.1,0.2]) /usr/local/lib/python3.6/dist-packages/pandas/core/groupby/groupby.py in quantile(self, q, interpolation) 1926 interpolation=interpolation, 1927 ) -> 1928 for qi in q 1929 ] 1930 result = concat(results, axis=0, keys=q) /usr/local/lib/python3.6/dist-packages/pandas/core/groupby/groupby.py in <listcomp>(.0) 1926 interpolation=interpolation, 1927 ) -> 1928 for qi in q 1929 ] 1930 result = concat(results, axis=0, keys=q) /usr/local/lib/python3.6/dist-packages/pandas/core/groupby/groupby.py in _get_cythonized_result(self, how, cython_dtype, aggregate, needs_values, needs_mask, needs_ngroups, result_is_index, pre_processing, post_processing, **kwargs) 2289 func = partial(func, ngroups) 2290 -> 2291 func(**kwargs) # Call func to modify indexer values in place 2292 2293 if result_is_index: pandas/_libs/groupby.pyx in pandas._libs.groupby.__pyx_fused_cpdef() TypeError: No matching signature found ``` I have found similar issues on GitHub with the same exception, but I think it is too generic to be the same related problem. Additionally, I may have found a simple corner case issue with TZ aware timestamp. I had some hard time to reproduce the error when building the MCVE, finally I found out that it is related to the existence of an extra columns holding Time Zone aware timestamps. **Maybe the fix it is just about updating function signature to add TZ aware timestamps.** The problem can be circonvolved using one of the following writing: ```python df.groupby('rtime')['value'].quantile([0.1,0.2]) ``` Or: ```python df['timestamp'] = df['timestamp'].dt.tz_convert(None) df.groupby('rtime').quantile([0.1,0.2]) ``` Or: ```python df.pop('timestamp') df.groupby('rtime').quantile([0.1,0.2]) ``` Which strongly suggests it is the existence of the TZ Aware extra column `timestamp` that makes the function `quantile` fail. #### Expected Output Expected output might be no distinction in flow when performing `groupby` operations on dataframe holding TimeZone aware timestamp as it does with TZ naive timestamp. Note: Thank you for building such a great tool, `pandas` is a first class middleware. Your efforts are strongly appreciated. Let me know how I can help, I would be happy to understand how this can be corrected. #### Output of ``pd.show_versions()`` <details> commit : None python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-91-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.3 numpy : 1.18.2 pytz : 2019.3 dateutil : 2.8.1 pip : 9.0.1 setuptools : 46.1.3 Cython : 0.29.14 pytest : 5.3.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.1.8 lxml.etree : 4.3.4 html5lib : 0.999999999 pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.7.1 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.3.4 matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.13.0 pytables : None pytest : 5.3.2 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.15 tables : None tabulate : 0.8.3 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.1.8 numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33168/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33168/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33169
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33169/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33169/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33169/events
https://github.com/pandas-dev/pandas/pull/33169
590,916,016
MDExOlB1bGxSZXF1ZXN0Mzk2MTczODI0
33,169
CLN: Added static types
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
3
2020-03-31T08:46:57Z
2020-04-06T08:43:09Z
2020-04-03T19:42:16Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- I'll revert any change related to styling, I applied "black" formatting in some places, just so I could think straight.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33169/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33169/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33169.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33169", "merged_at": "2020-04-03T19:42:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33169.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33169" }
https://api.github.com/repos/pandas-dev/pandas/issues/33170
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33170/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33170/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33170/events
https://github.com/pandas-dev/pandas/issues/33170
590,925,081
MDU6SXNzdWU1OTA5MjUwODE=
33,170
Feature request: convert period to timedelta
{ "avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4", "events_url": "https://api.github.com/users/yohplala/events{/privacy}", "followers_url": "https://api.github.com/users/yohplala/followers", "following_url": "https://api.github.com/users/yohplala/following{/other_user}", "gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yohplala", "id": 13206058, "login": "yohplala", "node_id": "MDQ6VXNlcjEzMjA2MDU4", "organizations_url": "https://api.github.com/users/yohplala/orgs", "received_events_url": "https://api.github.com/users/yohplala/received_events", "repos_url": "https://api.github.com/users/yohplala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yohplala/subscriptions", "type": "User", "url": "https://api.github.com/users/yohplala" }
[]
closed
false
null
[]
null
4
2020-03-31T09:00:08Z
2020-03-31T20:32:12Z
2020-03-31T17:20:49Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd mPI = pd.period_range(start='2020-02-01 10:00', end='2020-05-20 10:00', freq='1M') mPI[0] >>> Period('2020-02', 'M') td = pd.Timedelta(mPI[0]) >>> ValueError: Value must be Timedelta, string, integer, float, timedelta or convertible, not Period td = pd.to_timedelta(mPI[0]) >>> ValueError: Value must be Timedelta, string, integer, float, timedelta or convertible, not Period mPI[0].to_timedelta() >>> AttributeError: 'Period' object has no attribute 'to_timedelta' # ok... write some more code then.. td = mPI[1].start_time - mPI[0].start_time >>> Timedelta('29 days') ``` #### Problem description Hi, I would like to retrieve the duration of a period as a timedelta. The 1st three examples are code I thought could be handled by pandas, but they are not. The last one is an example of result I would like to retrieve. Here, it is fine, I have the next period, so I can do the difference between the two successive periods. If you don't have it, you are forced to create it. Please, can pd.Period.to_timedelta() be defined in pandas? Thanks for your help and support! Bests,
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33170/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33170/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33171
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33171/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33171/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33171/events
https://github.com/pandas-dev/pandas/issues/33171
590,939,736
MDU6SXNzdWU1OTA5Mzk3MzY=
33,171
Resampling consistency issue/question
{ "avatar_url": "https://avatars.githubusercontent.com/u/10107101?v=4", "events_url": "https://api.github.com/users/MMCMA/events{/privacy}", "followers_url": "https://api.github.com/users/MMCMA/followers", "following_url": "https://api.github.com/users/MMCMA/following{/other_user}", "gists_url": "https://api.github.com/users/MMCMA/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MMCMA", "id": 10107101, "login": "MMCMA", "node_id": "MDQ6VXNlcjEwMTA3MTAx", "organizations_url": "https://api.github.com/users/MMCMA/orgs", "received_events_url": "https://api.github.com/users/MMCMA/received_events", "repos_url": "https://api.github.com/users/MMCMA/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MMCMA/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MMCMA/subscriptions", "type": "User", "url": "https://api.github.com/users/MMCMA" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
0
2020-03-31T09:21:16Z
2021-07-31T01:57:50Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd periods = 7 start = '20100131' dates = pd.date_range(start=start, freq='M', periods=periods) df = pd.DataFrame(range(periods), index=dates, columns=['a']) print('Original: freq="M"') print(df) print('\n-> "b" -> "BM"') print(df.resample('b').last().resample('BM').last()) print('\n-> "BM"') print(df.resample('BM').last()) print('\n"M"-date_range:') print(pd.date_range(start=start, freq='M', periods=periods)) print('\n"b"-date_range:') print(pd.date_range(start=start, freq='b', end=dates[-1])) print('\n"BM"-date_range:') print(pd.date_range(start=start, freq='BM', end=dates[-1])) ``` Original: freq="M" a 2010-01-31 0 2010-02-28 1 2010-03-31 2 2010-04-30 3 2010-05-31 4 2010-06-30 5 2010-07-31 6 -> "b" -> "BM" a 2010-01-29 0.0 2010-02-26 1.0 2010-03-31 2.0 2010-04-30 3.0 2010-05-31 4.0 2010-06-30 5.0 2010-07-30 6.0 -> "BM" a 2010-02-26 0.0 2010-03-31 2.0 2010-04-30 3.0 2010-05-31 4.0 2010-06-30 5.0 2010-07-30 NaN 2010-08-31 6.0 "M"-date_range: DatetimeIndex(['2010-01-31', '2010-02-28', '2010-03-31', '2010-04-30', '2010-05-31', '2010-06-30', '2010-07-31'], dtype='datetime64[ns]', freq='M') "b"-date_range: DatetimeIndex(['2010-02-01', '2010-02-02', '2010-02-03', '2010-02-04', '2010-02-05', '2010-02-08', '2010-02-09', '2010-02-10', '2010-02-11', '2010-02-12', ... '2010-07-19', '2010-07-20', '2010-07-21', '2010-07-22', '2010-07-23', '2010-07-26', '2010-07-27', '2010-07-28', '2010-07-29', '2010-07-30'], dtype='datetime64[ns]', length=130, freq='B') "BM"-date_range: DatetimeIndex(['2010-02-26', '2010-03-31', '2010-04-30', '2010-05-31', '2010-06-30', '2010-07-30'], dtype='datetime64[ns]', freq='BM') #### Problem description I am not sure if this behaviour is desired. I would assume that the conversion from M->b would not include a date pre-dateing the min of M-dates. But if it does, I would assume that the conversion from M->BM would also include '2010-01-29'. The same argument would apply for the '2010-7-30'. It feels a bit inconsistent, but it could also be that I am off and I miss to understand the full logic. #### 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 : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.1.3.post20200330 Cython : 0.29.15 pytest : 5.4.1 hypothesis : 5.5.4 sphinx : 2.4.4 blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : 0.9.3 psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.15 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.8 numba : 0.48.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/33171/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33171/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33172
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33172/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33172/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33172/events
https://github.com/pandas-dev/pandas/issues/33172
590,945,307
MDU6SXNzdWU1OTA5NDUzMDc=
33,172
value_counts not working correctly on (some?) ExtensionArrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/190342?v=4", "events_url": "https://api.github.com/users/buhrmann/events{/privacy}", "followers_url": "https://api.github.com/users/buhrmann/followers", "following_url": "https://api.github.com/users/buhrmann/following{/other_user}", "gists_url": "https://api.github.com/users/buhrmann/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/buhrmann", "id": 190342, "login": "buhrmann", "node_id": "MDQ6VXNlcjE5MDM0Mg==", "organizations_url": "https://api.github.com/users/buhrmann/orgs", "received_events_url": "https://api.github.com/users/buhrmann/received_events", "repos_url": "https://api.github.com/users/buhrmann/repos", "site_admin": false, "starred_url": "https://api.github.com/users/buhrmann/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/buhrmann/subscriptions", "type": "User", "url": "https://api.github.com/users/buhrmann" }
[ { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
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" }
5
2020-03-31T09:29:46Z
2020-05-01T00:34:43Z
2020-05-01T00:34:43Z
NONE
null
#### Code Sample ```python pd.Series(list("abcde"), dtype="string").value_counts(normalize=True) ``` ```bash --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-40-718821f804b4> in <module> 1 # lang.value_counts(normalize=True) ----> 2 pd.Series(list("abcde"), dtype="string").value_counts(normalize=True) ~/anaconda/envs/grapy/lib/python3.7/site-packages/pandas/core/base.py in value_counts(self, normalize, sort, ascending, bins, dropna) 1233 normalize=normalize, 1234 bins=bins, -> 1235 dropna=dropna, 1236 ) 1237 return result ~/anaconda/envs/grapy/lib/python3.7/site-packages/pandas/core/algorithms.py in value_counts(values, sort, ascending, normalize, bins, dropna) 729 730 if normalize: --> 731 result = result / float(counts.sum()) 732 733 return result AttributeError: 'IntegerArray' object has no attribute 'sum' ``` #### Problem description The problem seems to be that `value_counts()` on a string extension dtype returns an Int64 dtype, and `sum` is not implemented for IntegerArrays , although it is for Series with ExtensionArrays: #### Expected Output ```python vc = pd.Series(list("abcde"), dtype="string").value_counts(normalize=False) print(vc) print(vc / vc.sum()) ``` ```bash d 1 e 1 b 1 c 1 a 1 dtype: Int64 d 0.2 e 0.2 b 0.2 c 0.2 a 0.2 dtype: float64 ``` May be related to #22843? #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Darwin OS-release : 19.2.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.0 pip : 20.0.2 setuptools : 46.1.1.post20200322 Cython : None pytest : 5.4.1 hypothesis : None sphinx : 2.4.4 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : 0.9.3 psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.16.0 pytables : None pytest : 5.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.15 tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33172/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33172/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33173
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33173/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33173/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33173/events
https://github.com/pandas-dev/pandas/issues/33173
590,970,884
MDU6SXNzdWU1OTA5NzA4ODQ=
33,173
Setting histogram weights for multiple columns fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/37543656?v=4", "events_url": "https://api.github.com/users/mave240/events{/privacy}", "followers_url": "https://api.github.com/users/mave240/followers", "following_url": "https://api.github.com/users/mave240/following{/other_user}", "gists_url": "https://api.github.com/users/mave240/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mave240", "id": 37543656, "login": "mave240", "node_id": "MDQ6VXNlcjM3NTQzNjU2", "organizations_url": "https://api.github.com/users/mave240/orgs", "received_events_url": "https://api.github.com/users/mave240/received_events", "repos_url": "https://api.github.com/users/mave240/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mave240/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mave240/subscriptions", "type": "User", "url": "https://api.github.com/users/mave240" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
{ "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" }
[ { "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_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" }
3
2020-03-31T10:07:25Z
2020-04-10T16:59:56Z
2020-04-10T16:59:56Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd import numpy as np df = pd.DataFrame(dict(zip(['A', 'B'], np.random.randn(2, 100)))) df.plot.hist(weights=0.1*np.ones(shape=(100, 2))) # fail ``` #### Problem description Trying to plot a histogram of a multi-column data frame with weights fails with `ValueError: weights should have the same shape as a.` There is no error for a single column. It doesn't work with: ```python df.plot.hist(weights=0.1*np.ones(shape=(100,))) # fail ``` either. #### Expected Output A `matplotlib` figure. ![pandas_hist_weights_bug_01](https://user-images.githubusercontent.com/37543656/78025387-da493f00-7351-11ea-8b5f-a047dad14c9d.png) #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.1.1.post20200323 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.3 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33173/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33173/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33174
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33174/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33174/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33174/events
https://github.com/pandas-dev/pandas/pull/33174
590,976,404
MDExOlB1bGxSZXF1ZXN0Mzk2MjIzNjI4
33,174
CLN: using C-API of datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-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" }
2
2020-03-31T10:16:14Z
2020-04-01T09:37:46Z
2020-03-31T14:49:43Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/33174/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33174/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33174.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33174", "merged_at": "2020-03-31T14:49:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33174.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33174" }
https://api.github.com/repos/pandas-dev/pandas/issues/33175
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33175/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33175/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33175/events
https://github.com/pandas-dev/pandas/pull/33175
590,983,656
MDExOlB1bGxSZXF1ZXN0Mzk2MjI5NzMx
33,175
CI: add doctest check for done modules
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
1
2020-03-31T10:26:47Z
2020-03-31T13:14:37Z
2020-03-31T13:12:11Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/33175/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33175/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33175.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33175", "merged_at": "2020-03-31T13:12:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33175.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33175" }
https://api.github.com/repos/pandas-dev/pandas/issues/33176
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33176/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33176/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33176/events
https://github.com/pandas-dev/pandas/pull/33176
591,001,093
MDExOlB1bGxSZXF1ZXN0Mzk2MjQ0NTY1
33,176
DOC: Fix examples in pandas/core/ops/
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-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" }
3
2020-03-31T10:50:36Z
2020-04-03T16:17:15Z
2020-04-03T15:11:06Z
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/33176/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33176/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33176.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33176", "merged_at": "2020-04-03T15:11:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33176.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33176" }
https://api.github.com/repos/pandas-dev/pandas/issues/33177
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33177/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33177/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33177/events
https://github.com/pandas-dev/pandas/pull/33177
591,038,969
MDExOlB1bGxSZXF1ZXN0Mzk2Mjc2OTI0
33,177
Issue #33161 - Use empty_frame fixture
{ "avatar_url": "https://avatars.githubusercontent.com/u/17543208?v=4", "events_url": "https://api.github.com/users/anish29292/events{/privacy}", "followers_url": "https://api.github.com/users/anish29292/followers", "following_url": "https://api.github.com/users/anish29292/following{/other_user}", "gists_url": "https://api.github.com/users/anish29292/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/anish29292", "id": 17543208, "login": "anish29292", "node_id": "MDQ6VXNlcjE3NTQzMjA4", "organizations_url": "https://api.github.com/users/anish29292/orgs", "received_events_url": "https://api.github.com/users/anish29292/received_events", "repos_url": "https://api.github.com/users/anish29292/repos", "site_admin": false, "starred_url": "https://api.github.com/users/anish29292/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anish29292/subscriptions", "type": "User", "url": "https://api.github.com/users/anish29292" }
[]
closed
false
null
[]
null
1
2020-03-31T11:46:30Z
2020-04-01T12:50:18Z
2020-03-31T15:21:56Z
NONE
null
Replaced Empty data frames with fixture empty_frame() - [ ] 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/33177/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33177/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33177.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33177", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/33177.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33177" }
https://api.github.com/repos/pandas-dev/pandas/issues/33178
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33178/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33178/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33178/events
https://github.com/pandas-dev/pandas/pull/33178
591,072,238
MDExOlB1bGxSZXF1ZXN0Mzk2MzA0NDg5
33,178
WEB: Moving pandas blog to the 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
3
2020-03-31T12:35:55Z
2020-04-07T20:04:50Z
2020-04-07T20:04:50Z
MEMBER
null
Moving the pandas blog posts (now in a separate repo/project) to the `web/community/blog/` in our website. The static site generator we're using for the web, renders them automatically using our layout: ![pandas_blog_2](https://user-images.githubusercontent.com/10058240/78026717-01a10b80-7354-11ea-830e-65af77ed4838.png) The posts list doesn't have much visual change, just links to the new path: ![pandas_blog_1](https://user-images.githubusercontent.com/10058240/78026785-1b425300-7354-11ea-8cdd-ab632b62d41e.png) The main change here, besides adding the posts markdown files (and images) is that the static site generator is now able to not only fetch from rss, but also from the file system. CC: @TomAugspurger Btw @TomAugspurger , I increased the number of posts we show in the list, and see that there are some about dask-ml and other things unrelated to pandas being fetched from your blog. Would be great if you can add a pandas tag to your blog, so we only fetch the relevant content.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33178/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33178/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33178.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33178", "merged_at": "2020-04-07T20:04:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33178.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33178" }
https://api.github.com/repos/pandas-dev/pandas/issues/33179
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33179/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33179/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33179/events
https://github.com/pandas-dev/pandas/pull/33179
591,083,724
MDExOlB1bGxSZXF1ZXN0Mzk2MzE0MTc2
33,179
DOC: Fixed examples in pandas/core/arrays/
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-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" }
2
2020-03-31T12:52:44Z
2020-04-01T19:09:11Z
2020-04-01T19:07:42Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/33179/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33179/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33179.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33179", "merged_at": "2020-04-01T19:07:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33179.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33179" }
https://api.github.com/repos/pandas-dev/pandas/issues/33180
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33180/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33180/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33180/events
https://github.com/pandas-dev/pandas/pull/33180
591,125,065
MDExOlB1bGxSZXF1ZXN0Mzk2MzQ4NzI3
33,180
BUG: support min/max functions for rolling windows with custom BaseIndexer
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
9
2020-03-31T13:48:19Z
2020-04-09T06:35:39Z
2020-04-03T19:58:23Z
MEMBER
null
- [X] xref #32865 - [X] 1 tests added / 1 passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry ## The problem We currently don't support several rolling window functions when building a rolling window object using a custom class descended from `pandas.api.indexers.Baseindexer`. The implementations were written with backward-looking windows in mind, and this led to these functions breaking. Currently, using these functions returns a `NotImplemented` error thanks to #33057, but ideally we want to update the implementations, so that they will work without a performance hit. This is what I aim to do over a series of PRs. ## Scope of PR This PR proposes an alternative implementation for the `min` and `max` rolling window functions implemented in the `_roll_min_max_variable` function in the `aggregations.pyx` file. ## Perf note This implementation is slightly faster than the one on master branch (tested with a `Series` with 10e6 randomly generated values and `timeit`). If necessary, I can add a benchmark to the benchmark suite, although it must be noted that we need to benchmark with large arrays of data to minimize the effect of overhead.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33180/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33180/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33180.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33180", "merged_at": "2020-04-03T19:58:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33180.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33180" }
https://api.github.com/repos/pandas-dev/pandas/issues/33181
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33181/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33181/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33181/events
https://github.com/pandas-dev/pandas/issues/33181
591,137,378
MDU6SXNzdWU1OTExMzczNzg=
33,181
Timestamp' object has no attribute 'split' problem
{ "avatar_url": "https://avatars.githubusercontent.com/u/62927504?v=4", "events_url": "https://api.github.com/users/DanananBananan/events{/privacy}", "followers_url": "https://api.github.com/users/DanananBananan/followers", "following_url": "https://api.github.com/users/DanananBananan/following{/other_user}", "gists_url": "https://api.github.com/users/DanananBananan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DanananBananan", "id": 62927504, "login": "DanananBananan", "node_id": "MDQ6VXNlcjYyOTI3NTA0", "organizations_url": "https://api.github.com/users/DanananBananan/orgs", "received_events_url": "https://api.github.com/users/DanananBananan/received_events", "repos_url": "https://api.github.com/users/DanananBananan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DanananBananan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DanananBananan/subscriptions", "type": "User", "url": "https://api.github.com/users/DanananBananan" }
[ { "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
[]
null
1
2020-03-31T14:03:58Z
2020-03-31T17:14:24Z
2020-03-31T17:14:16Z
NONE
null
import pandas as pd import numpy as np from sklearn.svm import SVR from sklearn.linear_model import LinearRegression import matplotlib.pyplot as plt df1 = pd.read_excel("npl90.xlsx",parse_dates=True) dates = [] npl = [] df1.shape df=df1.iloc[::-1] df.tail(1) df=df.head(len(df)-1) df df_dates=df.loc[:, "Date"] df_npl=df.loc[:, 'NPL90+'] #Create independent data set x for date in df_dates: dates.append([int(date.split('-')[1])]) def predict_npl(dates, npl, x): svr_lin= SVR(kernel="linear", C=1e3) svr_poly= SVR(kernel="poly", C=1e3, degree=2) svr_rbf=SVR(kernel="rbf", C=1e3, gamma=0.1) #Training svr_poly.fit(df_dates, df_npl) svr_lin.fit(df_dates, df_npl) svr_rbf.fit(df_dates, df_npl) #Create the linear regression lin_reg=LinearRegression() #Train the Linear regression model lin_reg.fit(df_dates, df_npl) #Plot models plt.scatter(df_dates, df_npl, color="black", label="original data") plt.plot(df_dates, svr_rbf.predict(df_dates), color='red', label= 'SVR RBF') plt.plot(df_dates, svr_poly.predict(df_dates), color='blue', label= 'SVR POLY') plt.plot(df_dates, svr_lin.predict(df_dates), color='green', label= 'SVR LIN') plt.plot(df_dates, lin_reg.predict(df_dates), color='grey', label= 'LIN Reg') plt.xlabel('Date') plt.ylabel('NPL') plt.title('Regression') plt.legend() plt.show() return svr_rbf.predict(x)[0], svr_lin.predict(x)[0], svr_poly.predict(x)[0], lin_reg.predict(x)[0] #Predict price on predicted_npl=predict_npl(dates, npl,"2020-03-01") print(predicted_npl) [npl90.xlsx](https://github.com/pandas-dev/pandas/files/4409483/npl90.xlsx)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33181/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33181/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33182
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33182/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33182/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33182/events
https://github.com/pandas-dev/pandas/issues/33182
591,181,289
MDU6SXNzdWU1OTExODEyODk=
33,182
Support pydata/sparse arrays in DataFrame
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "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" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
open
false
null
[]
null
5
2020-03-31T14:59:58Z
2020-05-26T19:51:17Z
null
CONTRIBUTOR
null
This is a discussion topic for adding the ability to store [pydata/sparse](https://github.com/pydata/sparse) ndarrays inside a DataFrame. It's not proposing that we actually do this at this point. ### Background `sparse` implements a sparse ndarray that implements (much of) the NumPy API. This differs from `scipy.sparse` matricies which are strictly 2D and have their own API. It also differs from pandas' SparseArray, which is strictly 1D and implements the ExtensionArray interface. ### Motivation In some workflows (especially machine learning) it's common to convert a dense 1D array to a sparse 2D array. The sparse 2D array is often very wide, and so isn't well-suited to storage in a DataFrame with SparseArray values. Each column of the 2D table needs to be stored independently, which at a minimum requires one Python object per column, and makes it difficult (but not impossible) to have these 1D arrays be views on some 2D object. Since `sparse` implements the ndarray interface, we can in theory just store the `sparse.COO` array where we normally store a 2D ndarray, inside or Block. Indeed, with a minor change, this works ```diff diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 8deeb415c1..105c1c1a64 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -427,6 +427,7 @@ class DataFrame(NDFrame): dtype: Optional[Dtype] = None, copy: bool = False, ): + import sparse if data is None: data = {} if dtype is not None: @@ -459,7 +460,7 @@ class DataFrame(NDFrame): data = data.copy() mgr = init_ndarray(data, index, columns, dtype=dtype, copy=copy) - elif isinstance(data, (np.ndarray, Series, Index)): + elif isinstance(data, (np.ndarray, Series, Index, sparse.COO)): if data.dtype.names: data_columns = list(data.dtype.names) data = {k: data[k] for k in data_columns} ``` Which lets us *store* the 2D array ```python In [1]: import sparse In [2]: import pandas as pd In [3]: df = pd.DataFrame(sparse.zeros((10, 4))) In [4]: df._data.blocks[0] Out[4]: FloatBlock: slice(0, 4, 1), 4 x 10, dtype: float64 In [5]: df._data.blocks[0].values Out[5]: <COO: shape=(4, 10), dtype=float64, nnz=0, fill_value=0.0> ``` However, many things don't work. Notably 1. Anything calling `asarray(arr)` will raise. Sparse doesn't allow implicit conversion from sparse to dense. This includes things like the DataFrame repr 2. Anything touching Cython (groupby, join, factorize, etc.) will likely raise. So this would primarily be useful for storing data, at least initially. ### Arguments Against The biggest argument against allowing this is that pandas is potentially moving to a column store in the future. In this future, we don't have 2D blocks, so the value of a 2D sparse array diminishes. We may be able to do similar tricks as we'll do with numpy.ndarray, where 1D columns are views on a 2D object. The second argument against is that we could potentially make the EA interface 2D, and implement an EA compatible wrapper around a pydata/sparse array (similar to `PandasArray`). Finally, we can't really hope to offer "full" support for sparse-backed columns. Things like joining not working on sparse columns will cause user confusion, that may be hard to document and explain. cc @adrinjalali and @hameerabbasi, just for awareness. Most of the discussion will likely be on the pandas side of things though.
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33182/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33182/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33183
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33183/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33183/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33183/events
https://github.com/pandas-dev/pandas/pull/33183
591,231,739
MDExOlB1bGxSZXF1ZXN0Mzk2NDM2NzUw
33,183
REF: fillna tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" } ]
closed
false
null
[]
{ "closed_at": "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" }
0
2020-03-31T16:06:42Z
2020-03-31T17:34:41Z
2020-03-31T16:38:07Z
MEMBER
null
This gets them all for tests.indexes, a fraction for tests.series, and none for DataFrame. This will take multiple passes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33183/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33183/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33183.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33183", "merged_at": "2020-03-31T16:38:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33183.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33183" }
https://api.github.com/repos/pandas-dev/pandas/issues/33184
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33184/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33184/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33184/events
https://github.com/pandas-dev/pandas/pull/33184
591,260,458
MDExOlB1bGxSZXF1ZXN0Mzk2NDYwNzEw
33,184
REF/CLN: test_get_dummies
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
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" }
10
2020-03-31T16:48:35Z
2020-04-01T11:00:23Z
2020-04-01T00:28:49Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33184/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33184/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33184.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33184", "merged_at": "2020-04-01T00:28:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33184.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33184" }
https://api.github.com/repos/pandas-dev/pandas/issues/33185
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33185/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33185/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33185/events
https://github.com/pandas-dev/pandas/pull/33185
591,279,158
MDExOlB1bGxSZXF1ZXN0Mzk2NDc2MzM2
33,185
TST: cover search_sorted scalar mixed timezones case
{ "avatar_url": "https://avatars.githubusercontent.com/u/4970459?v=4", "events_url": "https://api.github.com/users/jamescobonkerr/events{/privacy}", "followers_url": "https://api.github.com/users/jamescobonkerr/followers", "following_url": "https://api.github.com/users/jamescobonkerr/following{/other_user}", "gists_url": "https://api.github.com/users/jamescobonkerr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jamescobonkerr", "id": 4970459, "login": "jamescobonkerr", "node_id": "MDQ6VXNlcjQ5NzA0NTk=", "organizations_url": "https://api.github.com/users/jamescobonkerr/orgs", "received_events_url": "https://api.github.com/users/jamescobonkerr/received_events", "repos_url": "https://api.github.com/users/jamescobonkerr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jamescobonkerr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jamescobonkerr/subscriptions", "type": "User", "url": "https://api.github.com/users/jamescobonkerr" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2020-03-31T17:17:12Z
2020-03-31T18:24:29Z
2020-03-31T18:24:23Z
CONTRIBUTOR
null
- [X] closes #30086 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Raises a `ValueError` on version 0.25.1 (reporter's version), as expected: ``` >>> import pandas as pd >>> pd.__version__ '0.25.1' >>> ser = pd.Series(date_range("20120101", periods=10, freq="2D", tz="UTC")) >>> val = pd.Timestamp("20120102", tz="America/New_York") >>> res = ser.searchsorted(val) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/jamescobonkerr/venv/lib/python3.7/site-packages/pandas/core/series.py", line 2694, in searchsorted return algorithms.searchsorted(self._values, value, side=side, sorter=sorter) File "/Users/jamescobonkerr/venv/lib/python3.7/site-packages/pandas/core/algorithms.py", line 1887, in searchsorted result = arr.searchsorted(value, side=side, sorter=sorter) File "/Users/jamescobonkerr/venv/lib/python3.7/site-packages/pandas/core/arrays/datetimelike.py", line 666, in searchsorted self._check_compatible_with(value) File "/Users/jamescobonkerr/venv/lib/python3.7/site-packages/pandas/core/arrays/datetimes.py", line 591, in _check_compatible_with own=self.tz, other=other.tz ValueError: Timezones don't match. 'UTC != America/New_York' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33185/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33185/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33185.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33185", "merged_at": "2020-03-31T18:24:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33185.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33185" }
https://api.github.com/repos/pandas-dev/pandas/issues/33186
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33186/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33186/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33186/events
https://github.com/pandas-dev/pandas/issues/33186
591,288,778
MDU6SXNzdWU1OTEyODg3Nzg=
33,186
pandas >= 1.0.0 fails to read an old HDF5 file
{ "avatar_url": "https://avatars.githubusercontent.com/u/13418822?v=4", "events_url": "https://api.github.com/users/lschr/events{/privacy}", "followers_url": "https://api.github.com/users/lschr/followers", "following_url": "https://api.github.com/users/lschr/following{/other_user}", "gists_url": "https://api.github.com/users/lschr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lschr", "id": 13418822, "login": "lschr", "node_id": "MDQ6VXNlcjEzNDE4ODIy", "organizations_url": "https://api.github.com/users/lschr/orgs", "received_events_url": "https://api.github.com/users/lschr/received_events", "repos_url": "https://api.github.com/users/lschr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lschr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lschr/subscriptions", "type": "User", "url": "https://api.github.com/users/lschr" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
open
false
null
[]
null
4
2020-03-31T17:31:53Z
2020-09-10T00:19:07Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd pd.read_hdf("beads1.h5", "features") ``` #### Problem description While working on pandas 0.25, this fails starting with pandas 1.0.0. The HDF file was created in November 2015 or even earlier and is inside the [zip file](https://github.com/pandas-dev/pandas/files/4410582/beads1.zip). Other files created at the same time seem to work. The error message is: ``` TypeError Traceback (most recent call last) <ipython-input-2-507ed8d14986> in <module> ----> 1 pd.read_hdf("Software/sdt-python/tests/data_chromatic/beads1.h5", "features") ~/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py in read_hdf(path_or_buf, key, mode, errors, where, start, stop, columns, iterator, chunksize, **kwargs) 426 iterator=iterator, 427 chunksize=chunksize, --> 428 auto_close=auto_close, 429 ) 430 except (ValueError, TypeError, KeyError): ~/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py in select(self, key, where, start, stop, columns, iterator, chunksize, auto_close) 812 ) 813 --> 814 return it.get_result() 815 816 def select_as_coordinates( ~/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py in get_result(self, coordinates) 1827 1828 # directly return the result -> 1829 results = self.func(self.start, self.stop, where) 1830 self.close() 1831 return results ~/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py in func(_start, _stop, _where) 796 # function to call on iteration 797 def func(_start, _stop, _where): --> 798 return s.read(start=_start, stop=_stop, where=_where, columns=columns) 799 800 # create the iterator ~/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py in read(self, where, columns, start, stop) 3067 for i in range(self.nblocks): 3068 -> 3069 blk_items = self.read_index(f"block{i}_items") 3070 values = self.read_array(f"block{i}_values", start=_start, stop=_stop) 3071 ~/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py in read_index(self, key, start, stop) 2757 elif variety == "regular": 2758 node = getattr(self.group, key) -> 2759 index = self.read_index_node(node, start=start, stop=stop) 2760 return index 2761 else: # pragma: no cover ~/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py in read_index_node(self, node, start, stop) 2878 data, kind, encoding=self.encoding, errors=self.errors 2879 ), -> 2880 **kwargs, 2881 ) 2882 ~/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py in __new__(cls, data, dtype, copy, name, tupleize_cols, **kwargs) 407 if new_dtype is not None: 408 return cls( --> 409 new_data, dtype=new_dtype, copy=False, name=name, **kwargs 410 ) 411 ~/anaconda3/lib/python3.7/site-packages/pandas/core/indexes/base.py in __new__(cls, data, dtype, copy, name, tupleize_cols, **kwargs) 411 412 if kwargs: --> 413 raise TypeError(f"Unexpected keyword arguments {repr(set(kwargs))}") 414 if subarr.ndim > 1: 415 # GH#13601, GH#20285, GH#27125 TypeError: Unexpected keyword arguments {'freq'} ``` #### Expected Output ``` x y z signal bg mass \ 0 128.664558 2.966443 0.0 4189.596881 417.007853 27574.470714 1 355.112881 3.865741 0.0 1061.439002 266.074445 12902.725487 2 169.607263 6.025977 0.0 3103.641263 273.718417 22003.694114 3 396.070422 6.681506 0.0 799.983142 227.225677 9527.816676 4 127.806587 9.435608 0.0 4543.589962 332.126465 33712.910416 .. ... ... ... ... ... ... 61 284.447272 56.068638 0.0 502.772436 221.098239 7438.331854 62 381.438571 96.586069 0.0 287.953711 227.066782 1912.087223 63 217.752114 3.596804 0.0 150.887499 206.701723 1118.474095 64 258.435664 54.131181 0.0 125.772954 209.084140 2859.549002 65 328.954684 100.785512 0.0 506.879163 224.691759 5695.560215 size frame 0 1.023476 0 1 1.390924 0 2 1.062239 0 3 1.376786 0 4 1.086697 0 .. ... ... 61 1.534483 0 62 1.028022 0 63 1.086166 0 64 1.902240 0 65 1.337291 0 [66 rows x 8 columns] ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.7.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-88-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : de_AT.UTF-8 LOCALE : de_AT.UTF-8 pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.1.3.post20200330 Cython : None pytest : 5.4.1 hypothesis : None sphinx : 2.4.4 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : 3.4.4 tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33186/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33186/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33187
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33187/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33187/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33187/events
https://github.com/pandas-dev/pandas/pull/33187
591,303,120
MDExOlB1bGxSZXF1ZXN0Mzk2NDk2NzEz
33,187
ADMIN: Create separate issue templates for different usecases
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "DDDDDD", "default": false, "description": "Administrative tasks related to the pandas project", "id": 32933285, "name": "Admin", "node_id": "MDU6TGFiZWwzMjkzMzI4NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin" } ]
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" }
2
2020-03-31T17:54:33Z
2020-04-06T08:24:06Z
2020-04-03T19:43:12Z
MEMBER
null
revival of #31551 originally opened by @jschendel ---- > I recall this being mentioned on one of the core dev calls a few months back, and took inspiration from [rapidsai/cudf](https://github.com/rapidsai/cudf) for the various templates. > > Added templates for the following use cases: > > * Bug Report > > * This is largely the same as the current issue template > > * Documentation Enhancement > > * Documentation Error > > * Feature Request > > * Submit Question > > * This attempts to direct users to StackOverflow for usage questions > > > We could also add a Blank Template for opening an issue without any template provided, but opted not to do that for now, as I don't want to encourage people to bypass these templates. Could certainly add one if there's a consensus that we want this. > > I've created a [local repo](https://github.com/jschendel/pandas-templates/issues) where you can see these templates in action since I couldn't figure out another way to actually display these. Click the "New Issue" button to see what these changes would look 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/33187/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33187/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33187.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33187", "merged_at": "2020-04-03T19:43:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33187.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33187" }
https://api.github.com/repos/pandas-dev/pandas/issues/33188
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33188/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33188/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33188/events
https://github.com/pandas-dev/pandas/issues/33188
591,314,685
MDU6SXNzdWU1OTEzMTQ2ODU=
33,188
pd.read_csv header inference
{ "avatar_url": "https://avatars.githubusercontent.com/u/684364?v=4", "events_url": "https://api.github.com/users/kernc/events{/privacy}", "followers_url": "https://api.github.com/users/kernc/followers", "following_url": "https://api.github.com/users/kernc/following{/other_user}", "gists_url": "https://api.github.com/users/kernc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kernc", "id": 684364, "login": "kernc", "node_id": "MDQ6VXNlcjY4NDM2NA==", "organizations_url": "https://api.github.com/users/kernc/orgs", "received_events_url": "https://api.github.com/users/kernc/received_events", "repos_url": "https://api.github.com/users/kernc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kernc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kernc/subscriptions", "type": "User", "url": "https://api.github.com/users/kernc" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
null
[]
null
1
2020-03-31T18:12:28Z
2021-07-31T02:02:11Z
null
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible With [data.csv.txt](https://github.com/pandas-dev/pandas/files/4410722/data.csv.txt): ```python >>> pd.read_csv('/tmp/data.csv.txt') # header='infer' default 1540 125205 PRODAJA 04-JUN-18 -3 -.625 -.726 0 1540 125205 PRODAJA 29-JUN-18 -1.00 -0.62 -0.75 1 1540 125205 PRODAJA 09-JUL-18 -3.00 -0.62 -0.77 2 1540 125205 PRODAJA 25-JUL-18 -2.00 -0.41 -0.51 3 1540 125205 PRODAJA 01-NOV-18 -3.00 -0.62 -0.74 4 1540 125205 PRODAJA 24-AUG-18 -1.00 -0.21 -0.26 ``` #### Problem description Given above-like data, a simple RangeIndex header would be preferred. As a heuristic, floats are rarely header representatives. As are values that are equal to next row's values. When six sevenths of values are rare header representatives, those are unlikely. One can override it all by passing `header=None`, but the inference does seem to be lacking. #### Expected Output ```py >>> pd.read_csv('/tmp/data.csv') 0 1 2 3 4 5 6 0 1540 125205 PRODAJA 04-JUN-18 -3.00 -0.62 -0.73 1 1540 125205 PRODAJA 29-JUN-18 -1.00 -0.62 -0.75 2 1540 125205 PRODAJA 09-JUL-18 -3.00 -0.62 -0.77 3 1540 125205 PRODAJA 25-JUL-18 -2.00 -0.41 -0.51 4 1540 125205 PRODAJA 01-NOV-18 -3.00 -0.62 -0.74 5 1540 125205 PRODAJA 24-AUG-18 -1.00 -0.21 -0.26 ``` #### Output of ``pd.show_versions()`` <details> 1.1.0.dev0+786.gec7734169 </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/33188/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33188/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33189
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33189/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33189/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33189/events
https://github.com/pandas-dev/pandas/pull/33189
591,422,337
MDExOlB1bGxSZXF1ZXN0Mzk2NTk3Nzk0
33,189
REF: set_axis tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
0
2020-03-31T20:57:56Z
2020-03-31T21:44:26Z
2020-03-31T21:24:43Z
MEMBER
null
Fully parametrized over Series/DataFrame
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33189/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33189/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33189.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33189", "merged_at": "2020-03-31T21:24:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33189.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33189" }
https://api.github.com/repos/pandas-dev/pandas/issues/33190
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33190/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33190/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33190/events
https://github.com/pandas-dev/pandas/pull/33190
591,479,978
MDExOlB1bGxSZXF1ZXN0Mzk2NjQ3Mjgw
33,190
CLN: Correct docstring to describe actual functionality.
{ "avatar_url": "https://avatars.githubusercontent.com/u/14019925?v=4", "events_url": "https://api.github.com/users/tv3141/events{/privacy}", "followers_url": "https://api.github.com/users/tv3141/followers", "following_url": "https://api.github.com/users/tv3141/following{/other_user}", "gists_url": "https://api.github.com/users/tv3141/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tv3141", "id": 14019925, "login": "tv3141", "node_id": "MDQ6VXNlcjE0MDE5OTI1", "organizations_url": "https://api.github.com/users/tv3141/orgs", "received_events_url": "https://api.github.com/users/tv3141/received_events", "repos_url": "https://api.github.com/users/tv3141/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tv3141/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tv3141/subscriptions", "type": "User", "url": "https://api.github.com/users/tv3141" }
[ { "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-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" }
1
2020-03-31T22:37:05Z
2020-04-01T00:25:23Z
2020-04-01T00:25:17Z
CONTRIBUTOR
null
- [x] closes #20560
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33190/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33190/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33190.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33190", "merged_at": "2020-04-01T00:25:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33190.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33190" }
https://api.github.com/repos/pandas-dev/pandas/issues/33191
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33191/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33191/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33191/events
https://github.com/pandas-dev/pandas/pull/33191
591,504,115
MDExOlB1bGxSZXF1ZXN0Mzk2NjY3OTIx
33,191
REF: misplaced sort_index test
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
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" }
1
2020-03-31T23:25:51Z
2020-04-01T00:53:42Z
2020-04-01T00:23:39Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33191/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33191/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33191.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33191", "merged_at": "2020-04-01T00:23:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33191.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33191" }
https://api.github.com/repos/pandas-dev/pandas/issues/33192
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33192/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33192/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33192/events
https://github.com/pandas-dev/pandas/pull/33192
591,538,294
MDExOlB1bGxSZXF1ZXN0Mzk2Njk3NTc4
33,192
CLN: Rename ordered_fixture --> ordered
{ "avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4", "events_url": "https://api.github.com/users/jschendel/events{/privacy}", "followers_url": "https://api.github.com/users/jschendel/followers", "following_url": "https://api.github.com/users/jschendel/following{/other_user}", "gists_url": "https://api.github.com/users/jschendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jschendel", "id": 5332445, "login": "jschendel", "node_id": "MDQ6VXNlcjUzMzI0NDU=", "organizations_url": "https://api.github.com/users/jschendel/orgs", "received_events_url": "https://api.github.com/users/jschendel/received_events", "repos_url": "https://api.github.com/users/jschendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jschendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jschendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jschendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
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" }
1
2020-04-01T00:47:49Z
2020-04-01T15:44:47Z
2020-04-01T15:44:42Z
MEMBER
null
A pretty small and straightforward rename to make things more readable and consistent with our existing naming convention for fixtures.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33192/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33192/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33192.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33192", "merged_at": "2020-04-01T15:44:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33192.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33192" }
https://api.github.com/repos/pandas-dev/pandas/issues/33193
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33193/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33193/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33193/events
https://github.com/pandas-dev/pandas/pull/33193
591,540,545
MDExOlB1bGxSZXF1ZXN0Mzk2Njk5NDIz
33,193
REF: test_mutate_columns -> test_setitem
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
1
2020-04-01T00:55:59Z
2020-04-01T17:56:25Z
2020-04-01T17:55:37Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33193/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33193/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33193.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33193", "merged_at": "2020-04-01T17:55:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33193.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33193" }
https://api.github.com/repos/pandas-dev/pandas/issues/33194
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33194/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33194/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33194/events
https://github.com/pandas-dev/pandas/issues/33194
591,552,415
MDU6SXNzdWU1OTE1NTI0MTU=
33,194
Pandas 1.03: pandas.tseries.offsets.QuarterBegin not showing correct date
{ "avatar_url": "https://avatars.githubusercontent.com/u/27298802?v=4", "events_url": "https://api.github.com/users/patrickxli/events{/privacy}", "followers_url": "https://api.github.com/users/patrickxli/followers", "following_url": "https://api.github.com/users/patrickxli/following{/other_user}", "gists_url": "https://api.github.com/users/patrickxli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/patrickxli", "id": 27298802, "login": "patrickxli", "node_id": "MDQ6VXNlcjI3Mjk4ODAy", "organizations_url": "https://api.github.com/users/patrickxli/orgs", "received_events_url": "https://api.github.com/users/patrickxli/received_events", "repos_url": "https://api.github.com/users/patrickxli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/patrickxli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/patrickxli/subscriptions", "type": "User", "url": "https://api.github.com/users/patrickxli" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
2
2020-04-01T01:35:06Z
2020-04-08T11:00:59Z
2020-04-08T11:00:59Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python from datetime import datetime from pandas.tseries.offsets import QuarterBegin now = datetime.datetime(2020, 1, 12) now - QuarterBegin() ``` #### Problem description The code shows the following results: now - QuarterBegin() Out[28]: Timestamp('2019-12-01 00:00:00') which is not expected. #### Expected Output Timestamp('2020-01-01 00:00:00') #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] pd.show_versions() INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.2 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 45.2.0.post20200210 Cython : 0.29.15 pytest : 5.3.5 hypothesis : 5.5.4 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : 1.2.7 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.12.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.5 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.13 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.7 numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33194/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33194/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33195
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33195/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33195/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33195/events
https://github.com/pandas-dev/pandas/pull/33195
591,553,707
MDExOlB1bGxSZXF1ZXN0Mzk2NzA5ODYx
33,195
Added test for #5091 (Missing Periods for some DateOffsets)
{ "avatar_url": "https://avatars.githubusercontent.com/u/30716350?v=4", "events_url": "https://api.github.com/users/gorogoroumaru/events{/privacy}", "followers_url": "https://api.github.com/users/gorogoroumaru/followers", "following_url": "https://api.github.com/users/gorogoroumaru/following{/other_user}", "gists_url": "https://api.github.com/users/gorogoroumaru/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gorogoroumaru", "id": 30716350, "login": "gorogoroumaru", "node_id": "MDQ6VXNlcjMwNzE2MzUw", "organizations_url": "https://api.github.com/users/gorogoroumaru/orgs", "received_events_url": "https://api.github.com/users/gorogoroumaru/received_events", "repos_url": "https://api.github.com/users/gorogoroumaru/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gorogoroumaru/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gorogoroumaru/subscriptions", "type": "User", "url": "https://api.github.com/users/gorogoroumaru" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
2
2020-04-01T01:39:05Z
2020-04-01T03:51:35Z
2020-04-01T03:51:35Z
NONE
null
- [x] closes #5091
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33195/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33195/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33195.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33195", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/33195.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33195" }
https://api.github.com/repos/pandas-dev/pandas/issues/33196
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33196/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33196/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33196/events
https://github.com/pandas-dev/pandas/issues/33196
591,559,720
MDU6SXNzdWU1OTE1NTk3MjA=
33,196
to_csv / to_pickle optionally use fast gzip compressionlevel=1
{ "avatar_url": "https://avatars.githubusercontent.com/u/684364?v=4", "events_url": "https://api.github.com/users/kernc/events{/privacy}", "followers_url": "https://api.github.com/users/kernc/followers", "following_url": "https://api.github.com/users/kernc/following{/other_user}", "gists_url": "https://api.github.com/users/kernc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kernc", "id": 684364, "login": "kernc", "node_id": "MDQ6VXNlcjY4NDM2NA==", "organizations_url": "https://api.github.com/users/kernc/orgs", "received_events_url": "https://api.github.com/users/kernc/received_events", "repos_url": "https://api.github.com/users/kernc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kernc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kernc/subscriptions", "type": "User", "url": "https://api.github.com/users/kernc" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/4183570?v=4", "events_url": "https://api.github.com/users/jessefarnham/events{/privacy}", "followers_url": "https://api.github.com/users/jessefarnham/followers", "following_url": "https://api.github.com/users/jessefarnham/following{/other_user}", "gists_url": "https://api.github.com/users/jessefarnham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jessefarnham", "id": 4183570, "login": "jessefarnham", "node_id": "MDQ6VXNlcjQxODM1NzA=", "organizations_url": "https://api.github.com/users/jessefarnham/orgs", "received_events_url": "https://api.github.com/users/jessefarnham/received_events", "repos_url": "https://api.github.com/users/jessefarnham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jessefarnham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jessefarnham/subscriptions", "type": "User", "url": "https://api.github.com/users/jessefarnham" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/4183570?v=4", "events_url": "https://api.github.com/users/jessefarnham/events{/privacy}", "followers_url": "https://api.github.com/users/jessefarnham/followers", "following_url": "https://api.github.com/users/jessefarnham/following{/other_user}", "gists_url": "https://api.github.com/users/jessefarnham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jessefarnham", "id": 4183570, "login": "jessefarnham", "node_id": "MDQ6VXNlcjQxODM1NzA=", "organizations_url": "https://api.github.com/users/jessefarnham/orgs", "received_events_url": "https://api.github.com/users/jessefarnham/received_events", "repos_url": "https://api.github.com/users/jessefarnham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jessefarnham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jessefarnham/subscriptions", "type": "User", "url": "https://api.github.com/users/jessefarnham" } ]
{ "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" }
1
2020-04-01T01:57:23Z
2020-04-10T22:21:10Z
2020-04-10T22:21:10Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible Enhancement proposal ```python >>> df.to_csv('data.csv.gz') # Awfully slow >>> df.to_pickle('data.pkl.bz2') # Awfully slow >>> df.to_csv('data.csv.gz', fast=True) # Uses fast compressionlevel=1 # or, better: >>> pd.options.io.compressionlevel = 1 >>> df.to_pickle('data.pkl.bz2') # Uses fast compressionlevel=1 ... ``` #### Problem description Compression of large objects in pandas is slow. Popular evidence comparing compression levels for average payloads shows [[1]](https://catchchallenger.first-world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO) [[2]](https://tukaani.org/lzma/benchmarks.html) that compressed size is usually far less variable than compression time, which most often spans several folds. `compressionlevel=1` is _orders of magnitude_ faster, whereas `compressionlevel=9` is only 10% smaller. One optimizes for size, the other for speed, and much fewer people ever need something in between. #### Expected Output #### Output of ``pd.show_versions()`` <details> 1.1.0.dev0+786.gec7734169 </details>
{ "+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/33196/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33196/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33197
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33197/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33197/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33197/events
https://github.com/pandas-dev/pandas/pull/33197
591,587,163
MDExOlB1bGxSZXF1ZXN0Mzk2NzM0MzE2
33,197
Requested ASV
{ "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": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2020-04-01T03:19:34Z
2020-04-02T00:13:49Z
2020-04-02T00:06:13Z
MEMBER
null
I think this was requested a while ago and has been sitting in a local branch
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33197/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33197/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33197.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33197", "merged_at": "2020-04-02T00:06:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33197.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33197" }
https://api.github.com/repos/pandas-dev/pandas/issues/33198
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33198/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33198/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33198/events
https://github.com/pandas-dev/pandas/issues/33198
591,601,876
MDU6SXNzdWU1OTE2MDE4NzY=
33,198
BUG: iloc setting columns not taking effect
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
open
false
null
[]
null
34
2020-04-01T03:56:38Z
2020-04-08T21:59:20Z
null
MEMBER
null
``` arr = np.random.randn(10 ** 6).reshape(500, 2000).astype(np.float64) df = pd.DataFrame(arr) df.iloc[:, 1000:] = df.iloc[:, 1000:].astype(np.float32) >>> df.dtypes.value_counts() float64 2000 dtype: int64 ``` I would expect 1000 float64 columns and 1000 float32 columns. I get the expected behavior if I set a single column before trying to set all 1000: ``` df = pd.DataFrame(arr) df[1000] = df[1000].astype(np.float32) df.iloc[:, 1000:] = df.iloc[:, 1000:].astype(np.float32) >>> df.dtypes.value_counts() float32 1000 float64 1000 dtype: int64 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33198/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33198/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33199
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33199/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33199/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33199/events
https://github.com/pandas-dev/pandas/pull/33199
591,655,557
MDExOlB1bGxSZXF1ZXN0Mzk2NzgyNDMx
33,199
DOC: Fix Error in pandas.Series.last
{ "avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4", "events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}", "followers_url": "https://api.github.com/users/farhanreynaldo/followers", "following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}", "gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/farhanreynaldo", "id": 8732795, "login": "farhanreynaldo", "node_id": "MDQ6VXNlcjg3MzI3OTU=", "organizations_url": "https://api.github.com/users/farhanreynaldo/orgs", "received_events_url": "https://api.github.com/users/farhanreynaldo/received_events", "repos_url": "https://api.github.com/users/farhanreynaldo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions", "type": "User", "url": "https://api.github.com/users/farhanreynaldo" }
[ { "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-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" }
1
2020-04-01T06:13:23Z
2020-04-03T14:42:43Z
2020-04-03T14:42:31Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977. output of `python scripts/validate_docstrings.py pandas.Series.last`: ``` ################################################################################ ################################## Validation ################################## ################################################################################ ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33199/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33199/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33199.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33199", "merged_at": "2020-04-03T14:42:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33199.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33199" }
https://api.github.com/repos/pandas-dev/pandas/issues/33200
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33200/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33200/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33200/events
https://github.com/pandas-dev/pandas/issues/33200
591,667,302
MDU6SXNzdWU1OTE2NjczMDI=
33,200
BUG: 'groupby()' results in shifted results for 'quantile()'
{ "avatar_url": "https://avatars.githubusercontent.com/u/30159027?v=4", "events_url": "https://api.github.com/users/1313e/events{/privacy}", "followers_url": "https://api.github.com/users/1313e/followers", "following_url": "https://api.github.com/users/1313e/following{/other_user}", "gists_url": "https://api.github.com/users/1313e/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/1313e", "id": 30159027, "login": "1313e", "node_id": "MDQ6VXNlcjMwMTU5MDI3", "organizations_url": "https://api.github.com/users/1313e/orgs", "received_events_url": "https://api.github.com/users/1313e/received_events", "repos_url": "https://api.github.com/users/1313e/repos", "site_admin": false, "starred_url": "https://api.github.com/users/1313e/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/1313e/subscriptions", "type": "User", "url": "https://api.github.com/users/1313e" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2020-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
4
2020-04-01T06:41:12Z
2020-05-25T21:58:07Z
2020-05-25T21:58:07Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Imports import pandas as pd import numpy as np # Define x and bins x = np.linspace(0, 1, 100) bins = np.arange(0, 1, 0.1) # Create Series object with the x-data series = pd.Series(x, name='X') # Group series by provided bins data_cut = pd.cut(series, bins, include_lowest=True) grp = series.groupby(by=data_cut) # Calculate the 0.5 quantile of this group perc = grp.quantile() # For every group, print the 0.5 quantile as determined by that group and its values for group, indices in grp.indices.items(): print() print("Bin:", group) print("Group quantile:", perc.loc[group]) grp_series = grp.get_group(group) print("Group values quantile:", grp_series.quantile()) ``` #### Problem description NOTE: I see that there are several other issues already open that discuss problems with `groupby` and `quantile` in v1.0.3, but I figured that I post this anyway, as it is a very easy and simple reproducible example. Executing the code above in pandas `v1.0.3` (or any `v1.0.x` version) results in the quantiles not agreeing with each other for every group, even though they should. Instead, it seems that the quantile as calculated by a group is shifted by 1 group. This will become 2 groups when using ``bins = np.arange(0, 0.9, 0.1)`` and goes away when using ``bins = np.arange(0, 1.1, 0.1)`` (or the ``bins = np.linspace(0, 1, 11)`` equivalent). The problem above does not occur for pandas `v0.24.x`, but instead gives the proper output. Additionally, replacing `x` and `bins` with ```python # Define x and bins x = np.linspace(1, 10, 100) bins = 10**np.arange(0, 1, 0.1) ``` in order to use logarithmic values (that are not equally binned), will not result in a simple shift, but simply values that make no sense at all at first. After some more testing, it seems that the `quantile` method of a `GroupBy` object, first goes through all values that are not in a group (their indices are NaN) and then goes through the remaining data normally. Not sure if that is helpful. #### Expected Output The expected output is that the two different values that are printed are always the same for each group, regardless of the bins that are used. #### 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-91-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : nl_NL.UTF-8 LOCALE : nl_NL.UTF-8 pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.0.0.post20200309 Cython : None pytest : 5.4.1 hypothesis : None sphinx : 2.4.4 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.2.0 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33200/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33200/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33201
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33201/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33201/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33201/events
https://github.com/pandas-dev/pandas/issues/33201
591,671,855
MDU6SXNzdWU1OTE2NzE4NTU=
33,201
ENH: provide standard BaseIndexers in pandas.api.indexers
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "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": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" } ]
{ "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" }
1
2020-04-01T06:51:32Z
2020-04-08T17:20:50Z
2020-04-08T17:20:50Z
MEMBER
null
### Problem description During my work on generalizing our rolling window functions, @mroeschke and @jreback have pointed out that it would be useful to expose a couple `BaseIndexer` subclasses as a part of our api (in pandas.api.indexers, to be specific). For instance, forward-looking windows are fairly common in signal analysis and the like, and it would benefit users if we had a default implementation of those. This is the implementation I'm currently using for testing: ```python class ForwardIndexer(BaseIndexer): def get_window_bounds(self, num_values, min_periods, center, closed): start = np.empty(num_values, dtype=np.int64) end = np.empty(num_values, dtype=np.int64) for i in range(num_values): if i + min_periods <= num_values: start[i] = i end[i] = min(i + self.window_size, num_values) else: start[i] = i end[i] = i + 1 return start, end ``` This should be rewritten to avoid the for loop, as it slows the function down a lot. We could also add a backward indexer for completeness or skip it, because it can be done by supplying an integer when creating the rolling window object. Tell me what you think. I'd be happy to submit a PR with a proposed implementation in a day or two. #### Implementation details I think we can put the implementation of the new class/classes in `pandas.core.window.indexers`. #### Cross-references xref #32865 xref #33180
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33201/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33201/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33202
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33202/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33202/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33202/events
https://github.com/pandas-dev/pandas/issues/33202
591,787,530
MDU6SXNzdWU1OTE3ODc1MzA=
33,202
row sum and column mean works but row mean gives all NaN, on heterogenous data types
{ "avatar_url": "https://avatars.githubusercontent.com/u/10172392?v=4", "events_url": "https://api.github.com/users/xuancong84/events{/privacy}", "followers_url": "https://api.github.com/users/xuancong84/followers", "following_url": "https://api.github.com/users/xuancong84/following{/other_user}", "gists_url": "https://api.github.com/users/xuancong84/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/xuancong84", "id": 10172392, "login": "xuancong84", "node_id": "MDQ6VXNlcjEwMTcyMzky", "organizations_url": "https://api.github.com/users/xuancong84/orgs", "received_events_url": "https://api.github.com/users/xuancong84/received_events", "repos_url": "https://api.github.com/users/xuancong84/repos", "site_admin": false, "starred_url": "https://api.github.com/users/xuancong84/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/xuancong84/subscriptions", "type": "User", "url": "https://api.github.com/users/xuancong84" }
[]
closed
false
null
[]
null
4
2020-04-01T09:57:58Z
2020-04-02T02:40:40Z
2020-04-02T02:24:18Z
NONE
null
When different DataFrame rows are of different types, row sum works but row mean gives all NaN values. ``` df=pd.DataFrame({'a':[1,pd.to_timedelta('1D'),3.], 'b':[4,pd.to_timedelta('1.5D'),6.], 'c':[7,pd.to_timedelta('0.5D'),np.nan]}) # df=pd.DataFrame({'a':[1,2,3.], 'b':[4,5,6.], 'c':[7,8,np.nan]}) display(df.transpose()) display(df.transpose().sum(axis=0)) display(df.transpose().mean(axis=0)) display(df) display(df.sum(axis=1)) display(df.mean(axis=1)) # bug ``` <img width="332" alt="image" src="https://user-images.githubusercontent.com/10172392/78124015-a4838380-7441-11ea-84fe-9bd45de54f1b.png"> As shown above, the last statement shows the bug by returning all NaN values which is incorrect. Interestingly, if the DataFrame entries are of the same type (uncomment the 2nd line), this bug does not occur.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33202/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33202/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33203
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33203/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33203/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33203/events
https://github.com/pandas-dev/pandas/issues/33203
591,825,824
MDU6SXNzdWU1OTE4MjU4MjQ=
33,203
STY/TST: what standard to follow to import top-level objects in tests
{ "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": "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
14
2020-04-01T10:59:39Z
2020-04-14T05:07:21Z
null
MEMBER
null
So this discussion regularly comes up (latest one being https://github.com/pandas-dev/pandas/pull/33184), so let's try to decide which one of the two we prefer. In test code, do we do: ``` from pandas import Series ... Series(...) ``` or ``` import pandas as pd ... pd.Series(..) ``` Personally, I prefer the second, and from recent discussions I have the impression @WillAyd and @datapythonista do as well (is that correct?) To be clear: consistency within a single file is most important (so not mixing Series and pd.Series in a single file). But *when* someone does a PR to fix such inconsistencies in a file, it would be good if there is agreement on whether such a PR should replace `pd.Series` with `Series` or rather replace `Series` with `pd.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/33203/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33203/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33204
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33204/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33204/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33204/events
https://github.com/pandas-dev/pandas/pull/33204
591,919,620
MDExOlB1bGxSZXF1ZXN0Mzk2OTk4MTI3
33,204
Add test for #24615 (Accept PandasArray (with correct dtype) in DatetimeArray constructor)
{ "avatar_url": "https://avatars.githubusercontent.com/u/30716350?v=4", "events_url": "https://api.github.com/users/gorogoroumaru/events{/privacy}", "followers_url": "https://api.github.com/users/gorogoroumaru/followers", "following_url": "https://api.github.com/users/gorogoroumaru/following{/other_user}", "gists_url": "https://api.github.com/users/gorogoroumaru/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gorogoroumaru", "id": 30716350, "login": "gorogoroumaru", "node_id": "MDQ6VXNlcjMwNzE2MzUw", "organizations_url": "https://api.github.com/users/gorogoroumaru/orgs", "received_events_url": "https://api.github.com/users/gorogoroumaru/received_events", "repos_url": "https://api.github.com/users/gorogoroumaru/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gorogoroumaru/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gorogoroumaru/subscriptions", "type": "User", "url": "https://api.github.com/users/gorogoroumaru" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
null
3
2020-04-01T13:32:47Z
2020-04-04T01:01:23Z
2020-04-04T01:01:23Z
NONE
null
issue #24615 I added a test for the issue 24615.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33204/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33204/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33204.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33204", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/33204.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33204" }
https://api.github.com/repos/pandas-dev/pandas/issues/33205
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33205/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33205/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33205/events
https://github.com/pandas-dev/pandas/issues/33205
591,923,395
MDU6SXNzdWU1OTE5MjMzOTU=
33,205
read_json ignores dictionary as dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/15322061?v=4", "events_url": "https://api.github.com/users/dtrizna/events{/privacy}", "followers_url": "https://api.github.com/users/dtrizna/followers", "following_url": "https://api.github.com/users/dtrizna/following{/other_user}", "gists_url": "https://api.github.com/users/dtrizna/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dtrizna", "id": 15322061, "login": "dtrizna", "node_id": "MDQ6VXNlcjE1MzIyMDYx", "organizations_url": "https://api.github.com/users/dtrizna/orgs", "received_events_url": "https://api.github.com/users/dtrizna/received_events", "repos_url": "https://api.github.com/users/dtrizna/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dtrizna/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dtrizna/subscriptions", "type": "User", "url": "https://api.github.com/users/dtrizna" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/48262067?v=4", "events_url": "https://api.github.com/users/mekeenan1/events{/privacy}", "followers_url": "https://api.github.com/users/mekeenan1/followers", "following_url": "https://api.github.com/users/mekeenan1/following{/other_user}", "gists_url": "https://api.github.com/users/mekeenan1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mekeenan1", "id": 48262067, "login": "mekeenan1", "node_id": "MDQ6VXNlcjQ4MjYyMDY3", "organizations_url": "https://api.github.com/users/mekeenan1/orgs", "received_events_url": "https://api.github.com/users/mekeenan1/received_events", "repos_url": "https://api.github.com/users/mekeenan1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mekeenan1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mekeenan1/subscriptions", "type": "User", "url": "https://api.github.com/users/mekeenan1" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/48262067?v=4", "events_url": "https://api.github.com/users/mekeenan1/events{/privacy}", "followers_url": "https://api.github.com/users/mekeenan1/followers", "following_url": "https://api.github.com/users/mekeenan1/following{/other_user}", "gists_url": "https://api.github.com/users/mekeenan1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mekeenan1", "id": 48262067, "login": "mekeenan1", "node_id": "MDQ6VXNlcjQ4MjYyMDY3", "organizations_url": "https://api.github.com/users/mekeenan1/orgs", "received_events_url": "https://api.github.com/users/mekeenan1/received_events", "repos_url": "https://api.github.com/users/mekeenan1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mekeenan1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mekeenan1/subscriptions", "type": "User", "url": "https://api.github.com/users/mekeenan1" } ]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
5
2020-04-01T13:37:39Z
2021-10-04T19:13:41Z
2021-10-04T19:13:40Z
NONE
null
#### Code Sample, a copy-pastable example if possible ``` dtypes = { 'created': 'int64', 'eventType' : 'category', 'severity' : 'category' } df = pd.read_json('dataset.json', lines=True, dtype=dtypes) df.info() ``` Results into: ``` created int64 eventType object severity object ``` Using .astype() instead converts types correctly: ``` df.astype(dtypes).info() created int64 eventType category severity category ``` #### Problem description Should take take appropriate data type during DataFrame loading from disc. #### Output of ``pd.show_versions()`` ``` INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.3 numpy : 1.17.4 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 41.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : 0.4.0 xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.16.0 pytables : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None xarray : None xlrd : 1.2.0 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/33205/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33205/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33206
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33206/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33206/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33206/events
https://github.com/pandas-dev/pandas/issues/33206
591,933,185
MDU6SXNzdWU1OTE5MzMxODU=
33,206
ENH: Add accessor for isocalendar returning iso year, week, and day
{ "avatar_url": "https://avatars.githubusercontent.com/u/124705?v=4", "events_url": "https://api.github.com/users/mgmarino/events{/privacy}", "followers_url": "https://api.github.com/users/mgmarino/followers", "following_url": "https://api.github.com/users/mgmarino/following{/other_user}", "gists_url": "https://api.github.com/users/mgmarino/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mgmarino", "id": 124705, "login": "mgmarino", "node_id": "MDQ6VXNlcjEyNDcwNQ==", "organizations_url": "https://api.github.com/users/mgmarino/orgs", "received_events_url": "https://api.github.com/users/mgmarino/received_events", "repos_url": "https://api.github.com/users/mgmarino/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mgmarino/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mgmarino/subscriptions", "type": "User", "url": "https://api.github.com/users/mgmarino" }
[ { "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2020-04-01T13:50:54Z
2020-04-12T21:34:32Z
2020-04-12T21:34:32Z
CONTRIBUTOR
null
This enhancement request is to add an accessor to DatetimeProperties for the ISO year, which is the year corresponding to the week calculated via ISO 8601. Currently, we can access the ISO week via `week` and `weekofyear`, *and* `Timestamp` objects provide `isocalendar`, which returns the correct ISO year, week, and day. ### Examples For example: ```python df = pandas.DataFrame() df["event_date"] = ["2020-01-01", "2019-12-31"] df["event_date"] = df.event_date.astype("datetime64[D]") df.event_date.dt.weekofyear.values, df.event_date.dt.year.values ``` outputs: ```python (array([1, 1]), array([2020, 2019])) ``` and accessing the Timestamp objects ```python df.event_date[0].isocalendar(), df.event_date[1].isocalendar() ``` yields ```python ((2020, 1, 3), (2020, 1, 2)) ``` It would be great to have an accessor to get access this isocalendar year value for a series, e.g.: ```python df.event_date.dt.year_for_weekofyear.values ``` ```python array([2020, 2020]) ``` or *maybe even better* to have an isocalendar accessor where the same iso values are available like in `Timestamp.isocalendar`, e.g. ```python df.event_date.dt.isocalendar.values ``` ```python array([[2020, 1, 3], [2020, 1, 2]])) ``` I am happy to try a PR here, but some input would be great as to: - which direction to proceed - naming, etc.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33206/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33206/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33207
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33207/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33207/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33207/events
https://github.com/pandas-dev/pandas/issues/33207
591,938,156
MDU6SXNzdWU1OTE5MzgxNTY=
33,207
Everything works fine
{ "avatar_url": "https://avatars.githubusercontent.com/u/11488142?v=4", "events_url": "https://api.github.com/users/ODemidenko/events{/privacy}", "followers_url": "https://api.github.com/users/ODemidenko/followers", "following_url": "https://api.github.com/users/ODemidenko/following{/other_user}", "gists_url": "https://api.github.com/users/ODemidenko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ODemidenko", "id": 11488142, "login": "ODemidenko", "node_id": "MDQ6VXNlcjExNDg4MTQy", "organizations_url": "https://api.github.com/users/ODemidenko/orgs", "received_events_url": "https://api.github.com/users/ODemidenko/received_events", "repos_url": "https://api.github.com/users/ODemidenko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ODemidenko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ODemidenko/subscriptions", "type": "User", "url": "https://api.github.com/users/ODemidenko" }
[]
closed
false
null
[]
null
0
2020-04-01T13:57:52Z
2020-04-01T14:24:24Z
2020-04-01T14:10:08Z
NONE
null
I made a stupid error) No bugs)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33207/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33207/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33208
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33208/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33208/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33208/events
https://github.com/pandas-dev/pandas/pull/33208
591,981,119
MDExOlB1bGxSZXF1ZXN0Mzk3MDQ5MTI1
33,208
DOC: Fixed examples in pandas/core/indexes/
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-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" }
2
2020-04-01T14:56:35Z
2020-04-03T10:57:32Z
2020-04-03T10:50:32Z
MEMBER
null
- [ ] closes #xxxx - [ ] 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/33208/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33208/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33208.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33208", "merged_at": "2020-04-03T10:50:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33208.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33208" }
https://api.github.com/repos/pandas-dev/pandas/issues/33209
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33209/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33209/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33209/events
https://github.com/pandas-dev/pandas/issues/33209
591,996,882
MDU6SXNzdWU1OTE5OTY4ODI=
33,209
API/BUG: isna_old on EAs?
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "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" }
2
2020-04-01T15:17:51Z
2020-05-10T18:50:58Z
2020-05-10T18:50:57Z
MEMBER
null
isna_new has a code path that handles EAs that isna_old doesnt, so the following will raise: ``` pd.set_option("mode.use_inf_as_na", True) pd.isna(my_decimal_array) ``` Most of this can be fixed by adding to isna_ndarray_old: ``` if is_extension_array_dtype(values.dtype): result = values.isna() ``` Then we can add into the interface tests: ``` def test_isna_old_extension_array(self, data_missing): # TODO: do we need EA.isna to handle `inf`? expected = data_missing.isna() with cf.option_context("mode.use_inf_as_na", True): result = pd.isna(data_missing) tm.assert_equal(result, expected) ``` The two problems here are 1) as in the comment, this may be wrong/ambiguous if the EA has a concept of "inf" and 2) we still get a test failure on `StringArray([<NA>, 'A'])`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33209/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33209/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33210
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33210/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33210/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33210/events
https://github.com/pandas-dev/pandas/issues/33210
591,997,838
MDU6SXNzdWU1OTE5OTc4Mzg=
33,210
MacPython/pandas-wheels wheel builds failing
{ "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": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
6
2020-04-01T15:19:08Z
2020-04-28T22:54:21Z
2020-04-28T22:54:21Z
CONTRIBUTOR
null
This affects the linux builds, both py37 and py38, 32 or 64-bit. https://dev.azure.com/pandas-dev/pandas-wheels/_build/results?buildId=30996&view=logs&j=517fe804-fa30-5dc2-1413-330699242c05&t=2e128ad5-2f7f-5333-3f34-c85b8fbc7250&l=1216 ``` =================================== FAILURES =================================== __________________________ test_no_permission[c_high] __________________________ [gw1] linux -- Python 3.7.0 /venv/bin/python with pytest.raises(PermissionError, match=msg) as e: > parser.read_csv(path) /venv/lib/python3.7/site-packages/pandas/tests/io/parser/test_common.py:978: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /venv/lib/python3.7/site-packages/pandas/tests/io/parser/conftest.py:22: in read_csv return read_csv(*args, **kwargs) /venv/lib/python3.7/site-packages/pandas/io/parsers.py:676: in parser_f return _read(filepath_or_buffer, kwds) /venv/lib/python3.7/site-packages/pandas/io/parsers.py:449: in _read parser = TextFileReader(fp_or_buf, **kwds) /venv/lib/python3.7/site-packages/pandas/io/parsers.py:880: in __init__ self._make_engine(self.engine) /venv/lib/python3.7/site-packages/pandas/io/parsers.py:1112: in _make_engine self._engine = CParserWrapper(self.f, **self.options) /venv/lib/python3.7/site-packages/pandas/io/parsers.py:1935: in __init__ self._reader = parsers.TextReader(src, **kwds) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E pandas.errors.EmptyDataError: No columns to parse from file pandas/_libs/parsers.pyx:532: EmptyDataError ``` Looks to be from https://github.com/pandas-dev/pandas/pull/32839 cc @gfyoung @roberthdevries
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33210/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33210/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33211
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33211/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33211/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33211/events
https://github.com/pandas-dev/pandas/pull/33211
592,071,177
MDExOlB1bGxSZXF1ZXN0Mzk3MTIyOTAw
33,211
CLN: remove Block.is_categorical_astype
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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-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" }
1
2020-04-01T17:10:17Z
2020-04-01T18:38:16Z
2020-04-01T18:33:51Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33211/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33211/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33211.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33211", "merged_at": "2020-04-01T18:33:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33211.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33211" }
https://api.github.com/repos/pandas-dev/pandas/issues/33212
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33212/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33212/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33212/events
https://github.com/pandas-dev/pandas/pull/33212
592,087,888
MDExOlB1bGxSZXF1ZXN0Mzk3MTM2MzMx
33,212
CI: Make `isort` to check the "scripts" folder as well
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-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" }
1
2020-04-01T17:38:43Z
2020-04-01T18:50:11Z
2020-04-01T18:42:20Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33212/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33212/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33212.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33212", "merged_at": "2020-04-01T18:42:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33212.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33212" }
https://api.github.com/repos/pandas-dev/pandas/issues/33213
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33213/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33213/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33213/events
https://github.com/pandas-dev/pandas/pull/33213
592,101,028
MDExOlB1bGxSZXF1ZXN0Mzk3MTQ3MjE1
33,213
DOC: Added check for standard pandas reference
{ "avatar_url": "https://avatars.githubusercontent.com/u/35984969?v=4", "events_url": "https://api.github.com/users/joybh98/events{/privacy}", "followers_url": "https://api.github.com/users/joybh98/followers", "following_url": "https://api.github.com/users/joybh98/following{/other_user}", "gists_url": "https://api.github.com/users/joybh98/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joybh98", "id": 35984969, "login": "joybh98", "node_id": "MDQ6VXNlcjM1OTg0OTY5", "organizations_url": "https://api.github.com/users/joybh98/orgs", "received_events_url": "https://api.github.com/users/joybh98/received_events", "repos_url": "https://api.github.com/users/joybh98/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joybh98/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joybh98/subscriptions", "type": "User", "url": "https://api.github.com/users/joybh98" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/21048435?v=4", "events_url": "https://api.github.com/users/willie3838/events{/privacy}", "followers_url": "https://api.github.com/users/willie3838/followers", "following_url": "https://api.github.com/users/willie3838/following{/other_user}", "gists_url": "https://api.github.com/users/willie3838/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/willie3838", "id": 21048435, "login": "willie3838", "node_id": "MDQ6VXNlcjIxMDQ4NDM1", "organizations_url": "https://api.github.com/users/willie3838/orgs", "received_events_url": "https://api.github.com/users/willie3838/received_events", "repos_url": "https://api.github.com/users/willie3838/repos", "site_admin": false, "starred_url": "https://api.github.com/users/willie3838/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/willie3838/subscriptions", "type": "User", "url": "https://api.github.com/users/willie3838" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/21048435?v=4", "events_url": "https://api.github.com/users/willie3838/events{/privacy}", "followers_url": "https://api.github.com/users/willie3838/followers", "following_url": "https://api.github.com/users/willie3838/following{/other_user}", "gists_url": "https://api.github.com/users/willie3838/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/willie3838", "id": 21048435, "login": "willie3838", "node_id": "MDQ6VXNlcjIxMDQ4NDM1", "organizations_url": "https://api.github.com/users/willie3838/orgs", "received_events_url": "https://api.github.com/users/willie3838/received_events", "repos_url": "https://api.github.com/users/willie3838/repos", "site_admin": false, "starred_url": "https://api.github.com/users/willie3838/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/willie3838/subscriptions", "type": "User", "url": "https://api.github.com/users/willie3838" } ]
null
6
2020-04-01T18:00:21Z
2020-04-16T23:11:21Z
2020-04-16T23:11:21Z
CONTRIBUTOR
null
- [x] xref #32316 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry As suggested by @datapythonista , I've added checks in `ci/code_checks.sh` to look if the pandas is being referenced in a standardized way i.e pandas, not *pandas* or Pandas
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33213/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33213/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33213.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33213", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/33213.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33213" }
https://api.github.com/repos/pandas-dev/pandas/issues/33214
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33214/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33214/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33214/events
https://github.com/pandas-dev/pandas/pull/33214
592,113,377
MDExOlB1bGxSZXF1ZXN0Mzk3MTU3NDMw
33,214
REF: .dot tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
10
2020-04-01T18:21:13Z
2020-04-10T21:13:43Z
2020-04-10T20:53:21Z
MEMBER
null
Fully parametrized over Series/DataFrame
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33214/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33214/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33214.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33214", "merged_at": "2020-04-10T20:53:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33214.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33214" }
https://api.github.com/repos/pandas-dev/pandas/issues/33215
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33215/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33215/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33215/events
https://github.com/pandas-dev/pandas/issues/33215
592,114,700
MDU6SXNzdWU1OTIxMTQ3MDA=
33,215
[PROPOSAL] Make Series.update() accept a dictionary
{ "avatar_url": "https://avatars.githubusercontent.com/u/54762742?v=4", "events_url": "https://api.github.com/users/raffaem/events{/privacy}", "followers_url": "https://api.github.com/users/raffaem/followers", "following_url": "https://api.github.com/users/raffaem/following{/other_user}", "gists_url": "https://api.github.com/users/raffaem/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/raffaem", "id": 54762742, "login": "raffaem", "node_id": "MDQ6VXNlcjU0NzYyNzQy", "organizations_url": "https://api.github.com/users/raffaem/orgs", "received_events_url": "https://api.github.com/users/raffaem/received_events", "repos_url": "https://api.github.com/users/raffaem/repos", "site_admin": false, "starred_url": "https://api.github.com/users/raffaem/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/raffaem/subscriptions", "type": "User", "url": "https://api.github.com/users/raffaem" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" } ]
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" }
5
2020-04-01T18:23:28Z
2020-04-26T19:49:37Z
2020-04-26T19:49:37Z
NONE
null
#### Code Sample, a copy-pastable example if possible I propose to re-write the `Series.update() ` method to accept a dictionary object. This would be useful for example when you are iterating over a DataFrame using `DataFrame.iterrows()`, and you want to update the `row` object returned by `iterrows()` in order to build another DataFrame starting from the DataFrame you are iterating over Here is an example that doesn't work: ```python import pandas as pd s = pd.Series({'city':'Rome'}) s.update({'country':'Italy'}) ``` #### Problem description > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "C:\InstalledPrograms\Anaconda3\lib\site-packages\pandas\core\series.py", line 2807, in update > other = other.reindex_like(self) > AttributeError: 'dict' object has no attribute 'reindex_like' #### Simple use case In this use case, an explicit conversion to dict() is needed ``` import random import pandas as pd def very_long_dictionary(): d = dict() for c in range(2,10): d[c] = random.randint(1,101) return d df = pd.DataFrame([[1,2],[3,4],[5,6]]) print(df) outdl = list() for index,row in df.iterrows(): #Explicit conversion to dict is needed row = dict(row) row.update(very_long_dictionary()) outdl.append(row) newdf = pd.DataFrame(outdl) print(newdf) ``` #### Expected Output The series would update to the new value #### Output of ``pd.show_versions()`` <details> >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit : None python : 3.7.7.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.1.3.post20200330 Cython : 0.29.15 pytest : 5.4.1 hypothesis : 5.5.4 sphinx : 2.4.4 blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.15 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.8 numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33215/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33215/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/33216
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/33216/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/33216/comments
https://api.github.com/repos/pandas-dev/pandas/issues/33216/events
https://github.com/pandas-dev/pandas/pull/33216
592,137,947
MDExOlB1bGxSZXF1ZXN0Mzk3MTc3NTY5
33,216
Added option to include/ignore file extensions in `scripts/validate_unwanted/patterns.py`
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
1
2020-04-01T19:04:40Z
2020-04-11T12:59:39Z
2020-04-10T21:08:17Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- This is needed for the check in #32942 to ignore cython files.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/33216/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/33216/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/33216.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/33216", "merged_at": "2020-04-10T21:08:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/33216.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/33216" }