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/26013
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26013/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26013/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26013/events
https://github.com/pandas-dev/pandas/issues/26013
430,048,447
MDU6SXNzdWU0MzAwNDg0NDc=
26,013
Fix type annotations in pandas.tseries.*
{ "avatar_url": "https://avatars.githubusercontent.com/u/1430066?v=4", "events_url": "https://api.github.com/users/gwrome/events{/privacy}", "followers_url": "https://api.github.com/users/gwrome/followers", "following_url": "https://api.github.com/users/gwrome/following{/other_user}", "gists_url": "https://api.github.com/users/gwrome/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gwrome", "id": 1430066, "login": "gwrome", "node_id": "MDQ6VXNlcjE0MzAwNjY=", "organizations_url": "https://api.github.com/users/gwrome/orgs", "received_events_url": "https://api.github.com/users/gwrome/received_events", "repos_url": "https://api.github.com/users/gwrome/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gwrome/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gwrome/subscriptions", "type": "User", "url": "https://api.github.com/users/gwrome" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
0
2019-04-06T16:02:32Z
2019-04-07T23:19:21Z
2019-04-07T23:19:21Z
CONTRIBUTOR
null
Part of #25882 pandas.tseries files currently have these errors: ``` pandas/tseries/frequencies.py:40: error: Need type annotation for '_offset_map' pandas/tseries/holiday.py:332: error: Need type annotation for 'rules' pandas/tseries/offsets.py:1656: error: Incompatible types in assignment (expression has type "int", base class "QuarterOffset" defined the type as "None") pandas/tseries/offsets.py:1657: error: Incompatible types in assignment (expression has type "int", base class "QuarterOffset" defined the type as "None") pandas/tseries/offsets.py:1666: error: Incompatible types in assignment (expression has type "int", base class "QuarterOffset" defined the type as "None") pandas/tseries/offsets.py:1667: error: Incompatible types in assignment (expression has type "int", base class "QuarterOffset" defined the type as "None") pandas/tseries/offsets.py:1681: error: Incompatible types in assignment (expression has type "int", base class "QuarterOffset" defined the type as "None") pandas/tseries/offsets.py:1688: error: Incompatible types in assignment (expression has type "int", base class "QuarterOffset" defined the type as "None") pandas/tseries/offsets.py:1689: error: Incompatible types in assignment (expression has type "int", base class "QuarterOffset" defined the type as "None") ``` I have added annotations to address these issues and removed the modules from mypy.ini. PR to follow presently.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26013/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26013/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26014
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26014/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26014/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26014/events
https://github.com/pandas-dev/pandas/pull/26014
430,048,751
MDExOlB1bGxSZXF1ZXN0MjY4MDQ0ODk4
26,014
GH26013 Fix type annotations in pandas/tseries/*
{ "avatar_url": "https://avatars.githubusercontent.com/u/1430066?v=4", "events_url": "https://api.github.com/users/gwrome/events{/privacy}", "followers_url": "https://api.github.com/users/gwrome/followers", "following_url": "https://api.github.com/users/gwrome/following{/other_user}", "gists_url": "https://api.github.com/users/gwrome/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gwrome", "id": 1430066, "login": "gwrome", "node_id": "MDQ6VXNlcjE0MzAwNjY=", "organizations_url": "https://api.github.com/users/gwrome/orgs", "received_events_url": "https://api.github.com/users/gwrome/received_events", "repos_url": "https://api.github.com/users/gwrome/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gwrome/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gwrome/subscriptions", "type": "User", "url": "https://api.github.com/users/gwrome" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-06T16:05:28Z
2019-04-08T00:00:14Z
2019-04-07T23:19:21Z
CONTRIBUTOR
null
- [X] closes #26013 - [X] tests passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Part of #25882
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26014/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26014/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26014.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26014", "merged_at": "2019-04-07T23:19:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26014.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26014" }
https://api.github.com/repos/pandas-dev/pandas/issues/26015
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26015/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26015/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26015/events
https://github.com/pandas-dev/pandas/pull/26015
430,051,010
MDExOlB1bGxSZXF1ZXN0MjY4MDQ2Mjk2
26,015
Improve dictionary map performance on category series, fixes #23785
{ "avatar_url": "https://avatars.githubusercontent.com/u/19578629?v=4", "events_url": "https://api.github.com/users/rtlee9/events{/privacy}", "followers_url": "https://api.github.com/users/rtlee9/followers", "following_url": "https://api.github.com/users/rtlee9/following{/other_user}", "gists_url": "https://api.github.com/users/rtlee9/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rtlee9", "id": 19578629, "login": "rtlee9", "node_id": "MDQ6VXNlcjE5NTc4NjI5", "organizations_url": "https://api.github.com/users/rtlee9/orgs", "received_events_url": "https://api.github.com/users/rtlee9/received_events", "repos_url": "https://api.github.com/users/rtlee9/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rtlee9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rtlee9/subscriptions", "type": "User", "url": "https://api.github.com/users/rtlee9" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e11d21", "default"...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
10
2019-04-06T16:28:39Z
2019-05-01T11:42:36Z
2019-05-01T11:42:32Z
CONTRIBUTOR
null
- [x] closes #23785 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Uses the built-in categorical series mapper when mapping categorical series with dictionaries or series (i.e., as opposed to with lambada functions) instead of reindexing in order to improve performance. ## benchmarking with asv I added some new benchmarks to test mapping performance -- performance improves substantially when mapping with dicts or series against categorical series ``` before after ratio [181f972d] [184feb77] <master~1> - 1.90±0.01ms 976±8μs 0.51 series_methods.Map.time_map('dict', 'category') - 1.33±0.01ms 418±2μs 0.31 series_methods.Map.time_map('Series', 'category') SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY. ``` ## benchmarking using example from #23785 upstream master ```python import pandas as pd print(pd.__version__) # 0.24.2 x = pd.Series(list('abcd') * 1000).astype('category') mapper = {'a': 1, 'b': 2, 'c': 3, 'd': 4} %timeit x.map(mapper) # 904 µs ± 3.06 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) %timeit x.map(lambda a: mapper[a]) # 254 µs ± 997 ns per loop (mean ± std. dev. of 7 runs, 1000 loops each) ``` this diff ```python import pandas as pd print(pd.__version__) # 0.25.0.dev0+379.g184feb77e x = pd.Series(list('abcd') * 1000).astype('category') mapper = {'a': 1, 'b': 2, 'c': 3, 'd': 4} %timeit x.map(mapper) # 622 µs ± 1.08 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) %timeit x.map(lambda a: mapper[a]) # 256 µs ± 4.72 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26015/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26015/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26015.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26015", "merged_at": "2019-05-01T11:42:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26015.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26015" }
https://api.github.com/repos/pandas-dev/pandas/issues/26016
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26016/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26016/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26016/events
https://github.com/pandas-dev/pandas/pull/26016
430,076,767
MDExOlB1bGxSZXF1ZXN0MjY4MDYyOTMy
26,016
CLN: PY3 compat signature
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-06T21:06:01Z
2019-04-07T23:49:27Z
2019-04-07T21:28:59Z
MEMBER
null
- [x] xref #25725 - [x] tests passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Replace `compat.signature` for `inspect.getfullargspec`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26016/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26016/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26016.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26016", "merged_at": "2019-04-07T21:28:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26016.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26016" }
https://api.github.com/repos/pandas-dev/pandas/issues/26017
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26017/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26017/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26017/events
https://github.com/pandas-dev/pandas/pull/26017
430,095,708
MDExOlB1bGxSZXF1ZXN0MjY4MDc1NTM2
26,017
Add explicit imports in top level pandas init as precursor to PR #25940
{ "avatar_url": "https://avatars.githubusercontent.com/u/16509490?v=4", "events_url": "https://api.github.com/users/ryankarlos/events{/privacy}", "followers_url": "https://api.github.com/users/ryankarlos/followers", "following_url": "https://api.github.com/users/ryankarlos/following{/other_user}", "gists_url": "https://api.github.com/users/ryankarlos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ryankarlos", "id": 16509490, "login": "ryankarlos", "node_id": "MDQ6VXNlcjE2NTA5NDkw", "organizations_url": "https://api.github.com/users/ryankarlos/orgs", "received_events_url": "https://api.github.com/users/ryankarlos/received_events", "repos_url": "https://api.github.com/users/ryankarlos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ryankarlos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ryankarlos/subscriptions", "type": "User", "url": "https://api.github.com/users/ryankarlos" }
[]
closed
false
null
[]
null
5
2019-04-07T02:02:26Z
2019-04-07T15:05:36Z
2019-04-07T14:52:17Z
CONTRIBUTOR
null
- [x] closes ##25932 - [x] tests added / passed - [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/26017/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26017/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26017.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26017", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/26017.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26017" }
https://api.github.com/repos/pandas-dev/pandas/issues/26018
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26018/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26018/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26018/events
https://github.com/pandas-dev/pandas/pull/26018
430,098,800
MDExOlB1bGxSZXF1ZXN0MjY4MDc3NTc2
26,018
Improve where docstring
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-07T02:58:09Z
2019-04-07T16:46:53Z
2019-04-07T15:25:56Z
MEMBER
null
A couple small fixes to the `where` docstring, also making an example a bit more clear.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26018/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26018/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26018.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26018", "merged_at": "2019-04-07T15:25:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26018.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26018" }
https://api.github.com/repos/pandas-dev/pandas/issues/26019
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26019/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26019/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26019/events
https://github.com/pandas-dev/pandas/pull/26019
430,155,537
MDExOlB1bGxSZXF1ZXN0MjY4MTEzMDcz
26,019
TYP: Replace wildcardimports in toplevelinit as precursor for reshape,stata,io PRs #25936 #25940 #25939
{ "avatar_url": "https://avatars.githubusercontent.com/u/16509490?v=4", "events_url": "https://api.github.com/users/ryankarlos/events{/privacy}", "followers_url": "https://api.github.com/users/ryankarlos/followers", "following_url": "https://api.github.com/users/ryankarlos/following{/other_user}", "gists_url": "https://api.github.com/users/ryankarlos/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ryankarlos", "id": 16509490, "login": "ryankarlos", "node_id": "MDQ6VXNlcjE2NTA5NDkw", "organizations_url": "https://api.github.com/users/ryankarlos/orgs", "received_events_url": "https://api.github.com/users/ryankarlos/received_events", "repos_url": "https://api.github.com/users/ryankarlos/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ryankarlos/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ryankarlos/subscriptions", "type": "User", "url": "https://api.github.com/users/ryankarlos" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
11
2019-04-07T15:03:51Z
2020-01-06T02:50:41Z
2019-04-10T01:18:39Z
CONTRIBUTOR
null
- [x] xref #25932, #25933, #25934 - [x] tests added / passed - [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/26019/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26019/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26019.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26019", "merged_at": "2019-04-10T01:18:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26019.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26019" }
https://api.github.com/repos/pandas-dev/pandas/issues/26020
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26020/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26020/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26020/events
https://github.com/pandas-dev/pandas/issues/26020
430,156,895
MDU6SXNzdWU0MzAxNTY4OTU=
26,020
Fix type annotations in pandas.plotting._core
{ "avatar_url": "https://avatars.githubusercontent.com/u/1430066?v=4", "events_url": "https://api.github.com/users/gwrome/events{/privacy}", "followers_url": "https://api.github.com/users/gwrome/followers", "following_url": "https://api.github.com/users/gwrome/following{/other_user}", "gists_url": "https://api.github.com/users/gwrome/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gwrome", "id": 1430066, "login": "gwrome", "node_id": "MDQ6VXNlcjE0MzAwNjY=", "organizations_url": "https://api.github.com/users/gwrome/orgs", "received_events_url": "https://api.github.com/users/gwrome/received_events", "repos_url": "https://api.github.com/users/gwrome/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gwrome/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gwrome/subscriptions", "type": "User", "url": "https://api.github.com/users/gwrome" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
0
2019-04-07T15:17:18Z
2019-04-08T17:33:05Z
2019-04-08T17:33:05Z
CONTRIBUTOR
null
Part of #25882 pandas.plotting._core currently has these errors: ``` pandas/plotting/_core.py:958: error: Incompatible types in assignment (expression has type "str", base class "MPLPlot" defined the type as "None") pandas/plotting/_core.py:1177: error: Incompatible types in assignment (expression has type "str", base class "MPLPlot" defined the type as "None") pandas/plotting/_core.py:1728: error: "type" has no attribute "_kind" ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26020/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26020/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26021
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26021/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26021/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26021/events
https://github.com/pandas-dev/pandas/pull/26021
430,156,986
MDExOlB1bGxSZXF1ZXN0MjY4MTE0MDQ0
26,021
#26020 Fixed type annotations for pandas.plotting._core
{ "avatar_url": "https://avatars.githubusercontent.com/u/1430066?v=4", "events_url": "https://api.github.com/users/gwrome/events{/privacy}", "followers_url": "https://api.github.com/users/gwrome/followers", "following_url": "https://api.github.com/users/gwrome/following{/other_user}", "gists_url": "https://api.github.com/users/gwrome/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gwrome", "id": 1430066, "login": "gwrome", "node_id": "MDQ6VXNlcjE0MzAwNjY=", "organizations_url": "https://api.github.com/users/gwrome/orgs", "received_events_url": "https://api.github.com/users/gwrome/received_events", "repos_url": "https://api.github.com/users/gwrome/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gwrome/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gwrome/subscriptions", "type": "User", "url": "https://api.github.com/users/gwrome" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-07T15:18:32Z
2019-04-08T17:21:32Z
2019-04-08T16:04:07Z
CONTRIBUTOR
null
- [X] closes ##26020 - [X] tests passed - [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/26021/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26021/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26021.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26021", "merged_at": "2019-04-08T16:04:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26021.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26021" }
https://api.github.com/repos/pandas-dev/pandas/issues/26022
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26022/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26022/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26022/events
https://github.com/pandas-dev/pandas/pull/26022
430,172,234
MDExOlB1bGxSZXF1ZXN0MjY4MTI0MTAx
26,022
BUG: Replace internal use of loc with reindex in DataFrame append
{ "avatar_url": "https://avatars.githubusercontent.com/u/20772838?v=4", "events_url": "https://api.github.com/users/cbertinato/events{/privacy}", "followers_url": "https://api.github.com/users/cbertinato/followers", "following_url": "https://api.github.com/users/cbertinato/following{/other_user}", "gists_url": "https://api.github.com/users/cbertinato/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cbertinato", "id": 20772838, "login": "cbertinato", "node_id": "MDQ6VXNlcjIwNzcyODM4", "organizations_url": "https://api.github.com/users/cbertinato/orgs", "received_events_url": "https://api.github.com/users/cbertinato/received_events", "repos_url": "https://api.github.com/users/cbertinato/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cbertinato/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cbertinato/subscriptions", "type": "User", "url": "https://api.github.com/users/cbertinato" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on s...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
10
2019-04-07T17:40:41Z
2019-04-21T16:21:07Z
2019-04-21T16:21:00Z
CONTRIBUTOR
null
The issue here was that the DataFrame append method was using .loc, which only throws a warning now, but would eventually throw a KeyError whenever that went into effect. Just swapped out that use of .loc for .reindex. - [x] closes #22252 - [x] tests added / passed - [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/26022/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26022/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26022.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26022", "merged_at": "2019-04-21T16:21:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26022.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26022" }
https://api.github.com/repos/pandas-dev/pandas/issues/26023
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26023/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26023/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26023/events
https://github.com/pandas-dev/pandas/issues/26023
430,193,742
MDU6SXNzdWU0MzAxOTM3NDI=
26,023
pd.DataFrame.to_csv('filename.zip') doesn't extract with a '.csv' extension
{ "avatar_url": "https://avatars.githubusercontent.com/u/2830459?v=4", "events_url": "https://api.github.com/users/stevesimmons/events{/privacy}", "followers_url": "https://api.github.com/users/stevesimmons/followers", "following_url": "https://api.github.com/users/stevesimmons/following{/other_user}", "gists_url": "https://api.github.com/users/stevesimmons/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stevesimmons", "id": 2830459, "login": "stevesimmons", "node_id": "MDQ6VXNlcjI4MzA0NTk=", "organizations_url": "https://api.github.com/users/stevesimmons/orgs", "received_events_url": "https://api.github.com/users/stevesimmons/received_events", "repos_url": "https://api.github.com/users/stevesimmons/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stevesimmons/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stevesimmons/subscriptions", "type": "User", "url": "https://api.github.com/users/stevesimmons" }
[ { "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...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
7
2019-04-07T21:19:59Z
2021-03-15T10:31:20Z
2019-08-26T14:27:41Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python df = pd.DataFrame({'name': ['Raphael', 'Donatello'], 'mask': ['red', 'purple']}) # When trying to create a compressed csv, these give odd results. df.to_csv('out.csv', compression='zip') # --> zip file named 'out.csv' containing csv file 'out.csv' df.to_csv('out.zip') # --> zip file named 'out.zip' containing csv file 'out.zip' df.to_csv('out.csv.zip') # --> zip file named 'out.csv.zip' containing csv file 'out.csv.zip' # This would be the desired behaviour, if we had an 'arcname' # parameter like zipfile.ZipFile.write(arcname, data) df.to_csv('out.zip', arcname='data.csv') # --> zip file named 'out.zip' containing csv file 'data.csv' ``` #### Problem description When `pd.DataFrame.to_csv` creates compressed zip files, the name of the csv file inside the archive is always the same as the name of the zip archive file itself. This is obviously problematic because the archive has a `.zip` extension but we want the csv file to have a `.csv` extension when it is extracted. Other compression methods meant for a single file like 'bz2', 'gzip', and 'xz' do not have this problem because a file 'file.csv.gz' for instance, will automatically become 'file.csv' when decompressed. This would be a relatively easy fix by adding an `arcname=None` parameter to `to_csv`, passing it through `pandas.io.formats.csvs.CSVFormatter` to `pandas.io.formats.csvs._get_handle` and using that instead of `ZipFile.filename` if provided. #### Expected Output See comments in Code Sample above for expected output. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.2.final.0 python-bits: 64 OS: Linux OS-release: 4.18.0-17-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.1 pytest: 4.3.0 pip: 19.0.3 setuptools: 40.0.0 Cython: 0.28.5 numpy: 1.16.2 scipy: 1.2.1 pyarrow: 0.11.1 xarray: None IPython: 7.1.1 sphinx: 1.8.5 patsy: 0.5.1 dateutil: 2.7.3 pytz: 2018.5 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.0.3 openpyxl: 2.4.11 xlrd: 1.1.0 xlwt: None xlsxwriter: None lxml.etree: None bs4: 4.6.3 html5lib: 1.0.1 sqlalchemy: 1.2.11 pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: 0.2.1 pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26023/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26023/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26024
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26024/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26024/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26024/events
https://github.com/pandas-dev/pandas/pull/26024
430,222,297
MDExOlB1bGxSZXF1ZXN0MjY4MTU4NTAy
26,024
ENH: Allow compression in NDFrame.to_csv to be a dict with optional arguments (#26023)
{ "avatar_url": "https://avatars.githubusercontent.com/u/5893410?v=4", "events_url": "https://api.github.com/users/drew-heenan/events{/privacy}", "followers_url": "https://api.github.com/users/drew-heenan/followers", "following_url": "https://api.github.com/users/drew-heenan/following{/other_user}", "gists_url": "https://api.github.com/users/drew-heenan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/drew-heenan", "id": 5893410, "login": "drew-heenan", "node_id": "MDQ6VXNlcjU4OTM0MTA=", "organizations_url": "https://api.github.com/users/drew-heenan/orgs", "received_events_url": "https://api.github.com/users/drew-heenan/received_events", "repos_url": "https://api.github.com/users/drew-heenan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/drew-heenan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/drew-heenan/subscriptions", "type": "User", "url": "https://api.github.com/users/drew-heenan" }
[ { "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...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
24
2019-04-08T01:51:16Z
2019-08-26T14:27:48Z
2019-08-26T14:27:41Z
CONTRIBUTOR
null
- [x] closes #26023 - [x] tests added / passed - [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/26024/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26024/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26024.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26024", "merged_at": "2019-08-26T14:27:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26024.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26024" }
https://api.github.com/repos/pandas-dev/pandas/issues/26025
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26025/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26025/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26025/events
https://github.com/pandas-dev/pandas/issues/26025
430,261,263
MDU6SXNzdWU0MzAyNjEyNjM=
26,025
DataFrame.eval column creation slow due to overhead
{ "avatar_url": "https://avatars.githubusercontent.com/u/11489772?v=4", "events_url": "https://api.github.com/users/tadejsv/events{/privacy}", "followers_url": "https://api.github.com/users/tadejsv/followers", "following_url": "https://api.github.com/users/tadejsv/following{/other_user}", "gists_url": "https://api.github.com/users/tadejsv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tadejsv", "id": 11489772, "login": "tadejsv", "node_id": "MDQ6VXNlcjExNDg5Nzcy", "organizations_url": "https://api.github.com/users/tadejsv/orgs", "received_events_url": "https://api.github.com/users/tadejsv/received_events", "repos_url": "https://api.github.com/users/tadejsv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tadejsv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tadejsv/subscriptions", "type": "User", "url": "https://api.github.com/users/tadejsv" }
[]
closed
false
null
[]
null
1
2019-04-08T05:27:15Z
2019-04-08T10:14:57Z
2019-04-08T10:14:57Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python df = pd.DataFrame({'a':np.random.uniform(size=int(1e7)), 'b':np.random.uniform(size=int(1e7))}) %%timeit df['c'] = df['a'] + df['b'] 41.7 ms ± 2.78 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) %%timeit df.eval('c = a + b', inplace = True) 68.8 ms ± 6.02 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) ``` ```python %prun -l 4 df.eval('c = a + b', inplace = True) 3548 function calls (3490 primitive calls) in 0.061 seconds Ordered by: internal time List reduced from 390 to 4 due to restriction <4> ncalls tottime percall cumtime percall filename:lineno(function) 7 0.039 0.006 0.039 0.006 {method 'copy' of 'numpy.ndarray' objects} 1 0.012 0.012 0.012 0.012 blocks.py:335(set) 1 0.006 0.006 0.006 0.006 necompiler.py:765(evaluate) 585 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance} %prun -l 4 df['c'] = df['a'] + df['b'] 638 function calls (636 primitive calls) in 0.037 seconds Ordered by: internal time List reduced from 160 to 4 due to restriction <4> ncalls tottime percall cumtime percall filename:lineno(function) 1 0.014 0.014 0.014 0.014 blocks.py:335(set) 2 0.014 0.007 0.014 0.007 {method 'copy' of 'numpy.ndarray' objects} 1 0.007 0.007 0.007 0.007 necompiler.py:765(evaluate) 1 0.000 0.000 0.014 0.014 managers.py:1019(set) ``` #### Problem description Column creation with DataFrame.eval seems to be slower (in this dummy example only somewhat slower, but in my "real-world" case it was slower by a factor of 4), because it is making a lot of calls to copy for numpy.ndarray. Also see [here](https://stackoverflow.com/questions/38725355/when-to-use-dataframe-eval-versus-pandas-eval-or-python-eval) #### Expected Output #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit: None python: 3.7.3.final.0 python-bits: 64 OS: Linux OS-release: 3.10.0-862.3.2.el7.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: None pip: 19.0.3 setuptools: 40.8.0 Cython: None numpy: 1.16.2 scipy: 1.2.1 pyarrow: None xarray: None IPython: 7.4.0 sphinx: None patsy: 0.5.1 dateutil: 2.8.0 pytz: 2018.9 blosc: None bottleneck: 1.2.1 tables: None numexpr: 2.6.9 feather: None matplotlib: 3.0.3 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26025/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26025/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26026
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26026/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26026/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26026/events
https://github.com/pandas-dev/pandas/issues/26026
430,267,234
MDU6SXNzdWU0MzAyNjcyMzQ=
26,026
Problem with reading .dat file with missing data
{ "avatar_url": "https://avatars.githubusercontent.com/u/49386047?v=4", "events_url": "https://api.github.com/users/Divyamurali1996/events{/privacy}", "followers_url": "https://api.github.com/users/Divyamurali1996/followers", "following_url": "https://api.github.com/users/Divyamurali1996/following{/other_user}", "gists_url": "https://api.github.com/users/Divyamurali1996/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Divyamurali1996", "id": 49386047, "login": "Divyamurali1996", "node_id": "MDQ6VXNlcjQ5Mzg2MDQ3", "organizations_url": "https://api.github.com/users/Divyamurali1996/orgs", "received_events_url": "https://api.github.com/users/Divyamurali1996/received_events", "repos_url": "https://api.github.com/users/Divyamurali1996/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Divyamurali1996/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Divyamurali1996/subscriptions", "type": "User", "url": "https://api.github.com/users/Divyamurali1996" }
[]
closed
false
null
[]
null
1
2019-04-08T05:54:28Z
2020-01-14T11:57:07Z
2019-04-08T10:12:31Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Your code here df=pd.read_table('out_missingdata.dat',sep='\s+',header=None) print(df.iloc[:37,:]) ``` #### Problem description I have a .dat file with three columns with some columns having missing values(empty) and delimiter is a whitespace.When I am printing dataframe data is getting shifted to empty spaces and NaN is displayed at last column.I don't know what is mistake in code. #### Expected Output 24 3869089 64529089 1296.0 25 NaN 64513024 1296 26 3876961 64496961 1296.0 27 3880900 64480900 1296.0 28 3884841 64464841 1296.0 29 3888784 64448784 1296.0 30 3892729 64432729 1296.0 31 3896676 64416676 1296.0 32 3900625 64400625 1296.0 33 3904576 64384576 1296.0 34 3908529 NaN 1296 35 3912484 64352484 1296.0 36 3916441 64336441 1296.0 #### Output of ``pd.show_versions()`` 24 3869089 64529089 1296.0 25 64513024 1296 NaN 26 3876961 64496961 1296.0 27 3880900 64480900 1296.0 28 3884841 64464841 1296.0 29 3888784 64448784 1296.0 30 3892729 64432729 1296.0 31 3896676 64416676 1296.0 32 3900625 64400625 1296.0 33 3904576 64384576 1296.0 34 3908529 1296 NaN 35 3912484 64352484 1296.0 36 3916441 64336441 1296.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/26026/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26026/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26027
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26027/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26027/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26027/events
https://github.com/pandas-dev/pandas/pull/26027
430,478,337
MDExOlB1bGxSZXF1ZXN0MjY4MzU3MzIx
26,027
ENH: partial string match in query
{ "avatar_url": "https://avatars.githubusercontent.com/u/2353626?v=4", "events_url": "https://api.github.com/users/dlnp2/events{/privacy}", "followers_url": "https://api.github.com/users/dlnp2/followers", "following_url": "https://api.github.com/users/dlnp2/following{/other_user}", "gists_url": "https://api.github.com/users/dlnp2/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dlnp2", "id": 2353626, "login": "dlnp2", "node_id": "MDQ6VXNlcjIzNTM2MjY=", "organizations_url": "https://api.github.com/users/dlnp2/orgs", "received_events_url": "https://api.github.com/users/dlnp2/received_events", "repos_url": "https://api.github.com/users/dlnp2/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dlnp2/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dlnp2/subscriptions", "type": "User", "url": "https://api.github.com/users/dlnp2" }
[ { "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": "5319e7", "default": false, "description": "S...
closed
false
null
[]
null
3
2019-04-08T14:18:36Z
2019-06-08T20:23:34Z
2019-06-08T20:23:34Z
NONE
null
- [x] closes na (once proposed in #8749 but not implemented so far) - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This PR proposes to add partial string matching functionality to `query` method. In the proposed implementation, a query like `df.query('"alice" in person_name', partial_str_match=True)` returns rows with 'person_name' containing 'alice' in them. For other kind of queries (e.g. `'["alice", "bob"] in person_name'` or `'age == 20'`) with `partial_str_match=True` or those with `partial_str_match=False` (which is set to default for backward compatibility), results as before are returned.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26027/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26027/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26027.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26027", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/26027.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26027" }
https://api.github.com/repos/pandas-dev/pandas/issues/26028
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26028/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26028/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26028/events
https://github.com/pandas-dev/pandas/issues/26028
430,572,179
MDU6SXNzdWU0MzA1NzIxNzk=
26,028
Fix Type Annotations in pandas.core.dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1430066?v=4", "events_url": "https://api.github.com/users/gwrome/events{/privacy}", "followers_url": "https://api.github.com/users/gwrome/followers", "following_url": "https://api.github.com/users/gwrome/following{/other_user}", "gists_url": "https://api.github.com/users/gwrome/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gwrome", "id": 1430066, "login": "gwrome", "node_id": "MDQ6VXNlcjE0MzAwNjY=", "organizations_url": "https://api.github.com/users/gwrome/orgs", "received_events_url": "https://api.github.com/users/gwrome/received_events", "repos_url": "https://api.github.com/users/gwrome/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gwrome/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gwrome/subscriptions", "type": "User", "url": "https://api.github.com/users/gwrome" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
0
2019-04-08T17:32:29Z
2019-04-12T14:46:19Z
2019-04-12T14:46:19Z
CONTRIBUTOR
null
Part of #25882 pandas.core.dtypes.dtypes and .missing have the following errors: ``` pandas/core/dtypes/dtypes.py:112: error: Need type annotation for 'shape' pandas/core/dtypes/dtypes.py:117: error: Need type annotation for '_cache' pandas/core/dtypes/dtypes.py:175: error: Definition of "type" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:175: error: Definition of "kind" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:220: error: Incompatible types in assignment (expression has type "Type[CategoricalDtypeType]", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:221: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:222: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:224: error: Incompatible types in assignment (expression has type "Tuple[str, str]", base class "_DtypeOpsMixin" defined the type as "Tuple[]") pandas/core/dtypes/dtypes.py:225: error: Need type annotation for '_cache' pandas/core/dtypes/dtypes.py:577: error: Definition of "type" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:577: error: Definition of "kind" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:588: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:589: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:593: error: Incompatible types in assignment (expression has type "Tuple[str, str]", base class "_DtypeOpsMixin" defined the type as "Tuple[]") pandas/core/dtypes/dtypes.py:595: error: Need type annotation for '_cache' pandas/core/dtypes/dtypes.py:732: error: Definition of "kind" in base class "ExtensionDtype" is incompatible with definition in base class "PandasExtensionDtype" pandas/core/dtypes/dtypes.py:732: error: Definition of "type" in base class "ExtensionDtype" is incompatible with definition in base class "PandasExtensionDtype" pandas/core/dtypes/dtypes.py:740: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:741: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:744: error: Incompatible types in assignment (expression has type "Tuple[str]", base class "_DtypeOpsMixin" defined the type as "Tuple[]") pandas/core/dtypes/dtypes.py:746: error: Need type annotation for '_cache' pandas/core/dtypes/dtypes.py:855: error: Definition of "type" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:855: error: Definition of "kind" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:864: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:867: error: Incompatible types in assignment (expression has type "Tuple[str]", base class "_DtypeOpsMixin" defined the type as "Tuple[]") pandas/core/dtypes/dtypes.py:869: error: Need type annotation for '_cache' pandas/core/dtypes/missing.py:6: error: Module 'pandas._libs' has no attribute 'missing' ``` Working on a PR to fix these.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26028/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26028/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26029
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26029/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26029/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26029/events
https://github.com/pandas-dev/pandas/pull/26029
430,685,391
MDExOlB1bGxSZXF1ZXN0MjY4NTIwMjg1
26,029
Fix type annotations in pandas.core.dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1430066?v=4", "events_url": "https://api.github.com/users/gwrome/events{/privacy}", "followers_url": "https://api.github.com/users/gwrome/followers", "following_url": "https://api.github.com/users/gwrome/following{/other_user}", "gists_url": "https://api.github.com/users/gwrome/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gwrome", "id": 1430066, "login": "gwrome", "node_id": "MDQ6VXNlcjE0MzAwNjY=", "organizations_url": "https://api.github.com/users/gwrome/orgs", "received_events_url": "https://api.github.com/users/gwrome/received_events", "repos_url": "https://api.github.com/users/gwrome/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gwrome/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gwrome/subscriptions", "type": "User", "url": "https://api.github.com/users/gwrome" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-08T22:25:48Z
2019-04-12T15:47:46Z
2019-04-12T14:46:20Z
CONTRIBUTOR
null
- [X] closes #26028 - [X] tests passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` This one was more complicated than other annotation corrections I've done. The following errors persisted even if the two type definitions in `PandasExtensionDtype` and `ExtensionDtype` were identical: ``` pandas/core/dtypes/dtypes.py:175: error: Definition of "type" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:175: error: Definition of "kind" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:577: error: Definition of "type" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:577: error: Definition of "kind" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:732: error: Definition of "kind" in base class "ExtensionDtype" is incompatible with definition in base class "PandasExtensionDtype" pandas/core/dtypes/dtypes.py:732: error: Definition of "type" in base class "ExtensionDtype" is incompatible with definition in base class "PandasExtensionDtype" pandas/core/dtypes/dtypes.py:855: error: Definition of "type" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:855: error: Definition of "kind" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" ``` I suspect this has something to do with how mypy handles classes with multiple inheritance and maybe even @property-decorated accessors. See, e.g., https://github.com/python/mypy/pull/6585. So to address the issue, I left the annotations in pandas.core.dtypes.base.ExtensionDtype.type and .kind (abstract-ish with @property decorators) alone but for a format change. I set the corresponding `type` and `kind` variables in `PandasExtensionDtype` to take the `Any` type explicitly to "correct" the mypy error. Then to provide actual type checking I explicitly typed the `kind` and `type` variables in the subclasses, i.e., CategoricalDtype, DatetimeTZDtype, etc. Not sure if this is the best approach, but it is a functioning approach that provides static type checking. This commit addresses all the following errors: <details> ``` pandas/core/dtypes/dtypes.py:112: error: Need type annotation for 'shape' pandas/core/dtypes/dtypes.py:117: error: Need type annotation for '_cache' pandas/core/dtypes/dtypes.py:175: error: Definition of "type" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:175: error: Definition of "kind" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:220: error: Incompatible types in assignment (expression has type "Type[CategoricalDtypeType]", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:221: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:222: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:224: error: Incompatible types in assignment (expression has type "Tuple[str, str]", base class "_DtypeOpsMixin" defined the type as "Tuple[]") pandas/core/dtypes/dtypes.py:225: error: Need type annotation for '_cache' pandas/core/dtypes/dtypes.py:577: error: Definition of "type" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:577: error: Definition of "kind" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:588: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:589: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:593: error: Incompatible types in assignment (expression has type "Tuple[str, str]", base class "_DtypeOpsMixin" defined the type as "Tuple[]") pandas/core/dtypes/dtypes.py:595: error: Need type annotation for '_cache' pandas/core/dtypes/dtypes.py:732: error: Definition of "kind" in base class "ExtensionDtype" is incompatible with definition in base class "PandasExtensionDtype" pandas/core/dtypes/dtypes.py:732: error: Definition of "type" in base class "ExtensionDtype" is incompatible with definition in base class "PandasExtensionDtype" pandas/core/dtypes/dtypes.py:740: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:741: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:744: error: Incompatible types in assignment (expression has type "Tuple[str]", base class "_DtypeOpsMixin" defined the type as "Tuple[]") pandas/core/dtypes/dtypes.py:746: error: Need type annotation for '_cache' pandas/core/dtypes/dtypes.py:855: error: Definition of "type" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:855: error: Definition of "kind" in base class "PandasExtensionDtype" is incompatible with definition in base class "ExtensionDtype" pandas/core/dtypes/dtypes.py:864: error: Incompatible types in assignment (expression has type "str", base class "PandasExtensionDtype" defined the type as "None") pandas/core/dtypes/dtypes.py:867: error: Incompatible types in assignment (expression has type "Tuple[str]", base class "_DtypeOpsMixin" defined the type as "Tuple[]") pandas/core/dtypes/dtypes.py:869: error: Need type annotation for '_cache' pandas/core/dtypes/missing.py:6: error: Module 'pandas._libs' has no attribute 'missing' ``` </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/26029/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26029/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26029.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26029", "merged_at": "2019-04-12T14:46:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26029.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26029" }
https://api.github.com/repos/pandas-dev/pandas/issues/26030
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26030/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26030/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26030/events
https://github.com/pandas-dev/pandas/issues/26030
430,816,977
MDU6SXNzdWU0MzA4MTY5Nzc=
26,030
to_sql with postgres fails silently when given uppercase/capitalized table names
{ "avatar_url": "https://avatars.githubusercontent.com/u/15183484?v=4", "events_url": "https://api.github.com/users/dbrakman/events{/privacy}", "followers_url": "https://api.github.com/users/dbrakman/followers", "following_url": "https://api.github.com/users/dbrakman/following{/other_user}", "gists_url": "https://api.github.com/users/dbrakman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dbrakman", "id": 15183484, "login": "dbrakman", "node_id": "MDQ6VXNlcjE1MTgzNDg0", "organizations_url": "https://api.github.com/users/dbrakman/orgs", "received_events_url": "https://api.github.com/users/dbrakman/received_events", "repos_url": "https://api.github.com/users/dbrakman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dbrakman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dbrakman/subscriptions", "type": "User", "url": "https://api.github.com/users/dbrakman" }
[ { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" }, { "color": "207de5", "default": false,...
closed
false
null
[]
null
4
2019-04-09T07:47:21Z
2019-04-10T16:52:45Z
2019-04-09T23:03:27Z
NONE
null
I attempted to use `to_sql` to insert into a Postgres table with a non-lowercase identifier. No error was raised in python, but the insert did not succeed: ```python import pandas as pd import sqlalchemy df = pd.DataFrame({ u'id': [1, 2], u'name': [u'foo', u'bar'], }) engine = sqlalchemy.create_engine('postgresql://{user}:{password}@{host}/{dbname}'. format( user='myuser', password='password', host='localhost', dbname='mydatabase')) df.to_sql('TMP1', engine, index=False, if_exists='replace') df.to_sql('tmp2', engine, index=False, if_exists='replace') df.to_sql('"TMP3"', engine, index=False, if_exists='replace') ``` When I check the psql console, the 'tmp2' table is populated, but there is no 'tmp1' or 'TMP3' table: ```psql mydatabase=> select * from tmp1; ERROR: relation "tmp1" does not exist LINE 1: select * from tmp1; ^ mydatabase=> select * from tmp2; id | name ----+------ 1 | foo 2 | bar mydatabase=> select * from "TMP3"; ERROR: relation "TMP3" does not exist LINE 1: select * from "TMP3"; ^ ``` </details> #### Problem description This MWE was tested with Postgres 11.2 on OSX 10.14.4 and with Postgres 9.5.15 on Red Hat 4.8.3-9. The most related issue I saw was [#7815](https://github.com/pandas-dev/pandas/issues/7815), but I didn't understand its resolution. It sounded to me as though a subsequent release would have `to_sql` check which table was created/updated, if any, and return a warning on mismatch with its name parameter, but I did not observe comparable behavior. #### Expected Output I would expect either a successful insert or an exception. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 2.7.15.final.0 python-bits: 64 OS: Darwin OS-release: 18.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: None.None pandas: 0.23.4 pytest: 4.0.2 pip: 18.1 setuptools: 40.6.3 Cython: 0.29.2 numpy: 1.15.4 scipy: 1.1.0 pyarrow: None xarray: None IPython: 5.8.0 sphinx: 1.8.2 patsy: 0.5.1 dateutil: 2.6.1 pytz: 2018.7 blosc: None bottleneck: 1.2.1 tables: 3.4.4 numexpr: 2.6.8 feather: None matplotlib: 2.2.3 openpyxl: 2.5.12 xlrd: 1.2.0 xlwt: 1.2.0 xlsxwriter: 1.1.2 lxml: 4.2.5 bs4: 4.6.3 html5lib: 1.0.1 sqlalchemy: 1.2.15 pymysql: None psycopg2: 2.8.1 (dt dec pq3 ext lo64) jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26030/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26030/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26031
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26031/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26031/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26031/events
https://github.com/pandas-dev/pandas/issues/26031
430,880,539
MDU6SXNzdWU0MzA4ODA1Mzk=
26,031
Series: inconsistent behavior of setting value with timestamp dtype for existed index and newly-added
{ "avatar_url": "https://avatars.githubusercontent.com/u/26566847?v=4", "events_url": "https://api.github.com/users/ianzhy/events{/privacy}", "followers_url": "https://api.github.com/users/ianzhy/followers", "following_url": "https://api.github.com/users/ianzhy/following{/other_user}", "gists_url": "https://api.github.com/users/ianzhy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ianzhy", "id": 26566847, "login": "ianzhy", "node_id": "MDQ6VXNlcjI2NTY2ODQ3", "organizations_url": "https://api.github.com/users/ianzhy/orgs", "received_events_url": "https://api.github.com/users/ianzhy/received_events", "repos_url": "https://api.github.com/users/ianzhy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ianzhy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ianzhy/subscriptions", "type": "User", "url": "https://api.github.com/users/ianzhy" }
[ { "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, "de...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
8
2019-04-09T10:05:22Z
2019-12-10T22:20:59Z
2019-12-10T22:20:58Z
NONE
null
```python sample = pd.Series([1,2],index=['a','b']) ts = pd.Timestamp('2019-01-01') sample['a'] = ts sample['c'] = ts print(sample) ``` #### output: ``` a 2019-01-01 00:00:00 b 2 c 1546300800000000000 dtype: object ``` #### Problem description With existed index `a`, the dtype will be Timestamp, as expected. Howerver, when setting a new index like `c`, the dtype will be int. Is this a bug? #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit: None python: 3.6.7.final.0 python-bits: 64 OS: Darwin OS-release: 18.2.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: zh_CN.UTF-8 LOCALE: zh_CN.UTF-8 pandas: 0.23.4 pytest: 4.0.2 pip: 18.1 setuptools: 40.6.3 Cython: 0.29.2 numpy: 1.15.4 scipy: 1.1.0 pyarrow: None xarray: None IPython: 7.2.0 sphinx: 1.8.2 patsy: 0.5.1 dateutil: 2.7.5 pytz: 2018.7 blosc: None bottleneck: 1.2.1 tables: 3.4.4 numexpr: 2.6.8 feather: None matplotlib: 3.0.2 openpyxl: 2.5.12 xlrd: 1.2.0 xlwt: 1.2.0 xlsxwriter: 1.1.2 lxml: 4.2.5 bs4: 4.6.3 html5lib: 1.0.1 sqlalchemy: 1.2.15 pymysql: 0.9.3 psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: 0.7.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/26031/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26031/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26032
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26032/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26032/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26032/events
https://github.com/pandas-dev/pandas/issues/26032
431,029,011
MDU6SXNzdWU0MzEwMjkwMTE=
26,032
Series.all much slower than Series.values.all
{ "avatar_url": "https://avatars.githubusercontent.com/u/24532979?v=4", "events_url": "https://api.github.com/users/ericstarr/events{/privacy}", "followers_url": "https://api.github.com/users/ericstarr/followers", "following_url": "https://api.github.com/users/ericstarr/following{/other_user}", "gists_url": "https://api.github.com/users/ericstarr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ericstarr", "id": 24532979, "login": "ericstarr", "node_id": "MDQ6VXNlcjI0NTMyOTc5", "organizations_url": "https://api.github.com/users/ericstarr/orgs", "received_events_url": "https://api.github.com/users/ericstarr/received_events", "repos_url": "https://api.github.com/users/ericstarr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ericstarr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ericstarr/subscriptions", "type": "User", "url": "https://api.github.com/users/ericstarr" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
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" }
5
2019-04-09T15:22:32Z
2020-09-24T03:27:39Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Series of bools s = pd.Series(np.random.randint(0, 2, 100000)).astype(bool) # ~1.45 ms %timeit s.any(skipna=True) # ~1.35 ms %timeit s.any(skipna=False) # ~6.5 us - Note that I get a message about possible caching, but # even after multiplying by worst case multiplier, still an order of # magnitude faster than s.any() %timeit s.values.any() # Series of ints s2 = pd.Series(np.random.randint(0, 2, 100000)) # ~330 us %timeit s2.any(skipna=True) # ~280 us %timeit s2.any(skipna=False) # ~90 us - No possible caching warning on this one %timeit s2.values.any() ``` #### Problem description Calling Series.any is much slower than calling Series.values.any on a series of bools Interestingly, calling Series.any on a series of ints is quite a bit faster than on a series of bools, though even if it is a series of ints, Series.values.any is still faster. I ran with both skipna=True and skipna=False in case it was an issue of how NaNs are being handled. I see the same time differences with Series.all #### Expected Output I would expect the performance to be comparable. Maybe not exactly the same,, but not order(s) of magnitude slower. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.5.4.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 45 Stepping 7, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None pandas: 0.23.3 pytest: 3.3.0 pip: 9.0.1 setuptools: 27.2.0 Cython: 0.25.1 numpy: 1.11.1 scipy: 0.18.0 pyarrow: None xarray: None IPython: 5.1.0 sphinx: 1.4.1 patsy: 0.4.1 dateutil: 2.5.3 pytz: 2016.6.1 blosc: None bottleneck: None tables: 3.2.2 numexpr: 2.6.1 feather: None matplotlib: 1.5.1 openpyxl: 2.5.6 xlrd: 1.0.0 xlwt: 1.1.2 xlsxwriter: 0.9.2 lxml: 3.6.4 bs4: 4.5.1 html5lib: 0.9999999 sqlalchemy: 1.0.13 pymysql: None psycopg2: 2.7.1 (dt dec pq3 ext lo64) jinja2: 2.8 s3fs: 0.0.8 fastparquet: None pandas_gbq: None pandas_datareader: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26032/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26032/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26033
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26033/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26033/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26033/events
https://github.com/pandas-dev/pandas/issues/26033
431,051,750
MDU6SXNzdWU0MzEwNTE3NTA=
26,033
Reverse Arithmetic operations between pandas series and custom objects
{ "avatar_url": "https://avatars.githubusercontent.com/u/16578178?v=4", "events_url": "https://api.github.com/users/prakhar987/events{/privacy}", "followers_url": "https://api.github.com/users/prakhar987/followers", "following_url": "https://api.github.com/users/prakhar987/following{/other_user}", "gists_url": "https://api.github.com/users/prakhar987/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/prakhar987", "id": 16578178, "login": "prakhar987", "node_id": "MDQ6VXNlcjE2NTc4MTc4", "organizations_url": "https://api.github.com/users/prakhar987/orgs", "received_events_url": "https://api.github.com/users/prakhar987/received_events", "repos_url": "https://api.github.com/users/prakhar987/repos", "site_admin": false, "starred_url": "https://api.github.com/users/prakhar987/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/prakhar987/subscriptions", "type": "User", "url": "https://api.github.com/users/prakhar987" }
[]
closed
false
null
[]
null
4
2019-04-09T16:07:10Z
2019-04-09T18:31:13Z
2019-04-09T18:31:13Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python class MyObject(): __array_priority__ =1000 # So __radd__ of this class is called def __init__(self,s=None): if s is None: self.s = pd.Series([1,2,4]) def __radd__(self,other): print("Series is passed as :",type(other)) self.s = self.s + other print("After operation, self.s is", self.s) # a pandas series return self # I want to return object of type:MyObject custom_obj = MyObject() s = pd.Series([5,6,7]) s + custom_obj # Making pd.Series interact with my custom object (reverse add) ``` #### Current Output ```python Series is passed as : <class 'numpy.ndarray'> After operation, self.s is 0 6 1 8 2 11 dtype: int64 0 <__main__.MyObject object at 0x7f6ebbb365f8> 1 <__main__.MyObject object at 0x7f6ebbb365f8> 2 <__main__.MyObject object at 0x7f6ebbb365f8> dtype: object ``` #### Problem description The returned object is inserted into a series which has same index as original series. Is there a better way to make pandas objects interact with custom objects. Currently a np.ndarray is passed to __radd__. I know there is a way to make pass the series itself (using extension type??) but I am not sure. #### Expected Output The operation s + custom_obj should return an object of type MyObject <details> pd.version:0.24 </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/26033/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26033/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26034
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26034/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26034/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26034/events
https://github.com/pandas-dev/pandas/issues/26034
431,170,358
MDU6SXNzdWU0MzExNzAzNTg=
26,034
Merge two time series and apply a function to overlapping dates
{ "avatar_url": "https://avatars.githubusercontent.com/u/12801051?v=4", "events_url": "https://api.github.com/users/MattConflitti/events{/privacy}", "followers_url": "https://api.github.com/users/MattConflitti/followers", "following_url": "https://api.github.com/users/MattConflitti/following{/other_user}", "gists_url": "https://api.github.com/users/MattConflitti/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MattConflitti", "id": 12801051, "login": "MattConflitti", "node_id": "MDQ6VXNlcjEyODAxMDUx", "organizations_url": "https://api.github.com/users/MattConflitti/orgs", "received_events_url": "https://api.github.com/users/MattConflitti/received_events", "repos_url": "https://api.github.com/users/MattConflitti/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MattConflitti/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MattConflitti/subscriptions", "type": "User", "url": "https://api.github.com/users/MattConflitti" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
2019-04-09T20:15:56Z
2019-04-09T20:54:41Z
2019-04-09T20:35:40Z
NONE
null
#### Problem/Enhancement description Is there a standard way to take two dataframes that have a DateTimeIndex and do a time series join where same dates will be together on the same day and allow me to apply a function to it in order to choose which value to take if more than one fall on the same day? If this functionality doesn't exist, can we open an enhancement request? #### Expected Output Time Series 1: ``` Date | Value ------------ 1-1-2019 | 1 1-2-2019 | 2 1-3-2019 | 3 ``` Time Series 2: ``` Date | Value ------------ 1-3-2019 | 4 1-4-2019 | 5 1-5-2019 | 6 ``` Then, ```python #default to taking 'right' time series value on overlapped days ts1.time_series_join(ts2, overlap_func='right') ``` or ```python #apply lambda applies to overlapped days ts1.time_series_join(ts2, overlap_func=lambda x,y: max(x,y)) ``` which would return (defaulting to a left join behavior as far as keeping the index goes): ``` Date | Value ------------ 1-1-2019 | 1 1-2-2019 | 2 1-3-2019 | 4 ``` I haven't seen anything like this on my data processing adventures and any insight for this would be great. Right now, I have resorted to doing some gross looping and utilizing the `.at[]` selector to update overlapping values. Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26034/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26034/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26035
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26035/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26035/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26035/events
https://github.com/pandas-dev/pandas/issues/26035
431,196,991
MDU6SXNzdWU0MzExOTY5OTE=
26,035
Enhancement: Merge two time series and apply a function to overlapping dates
{ "avatar_url": "https://avatars.githubusercontent.com/u/12801051?v=4", "events_url": "https://api.github.com/users/MattConflitti/events{/privacy}", "followers_url": "https://api.github.com/users/MattConflitti/followers", "following_url": "https://api.github.com/users/MattConflitti/following{/other_user}", "gists_url": "https://api.github.com/users/MattConflitti/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MattConflitti", "id": 12801051, "login": "MattConflitti", "node_id": "MDQ6VXNlcjEyODAxMDUx", "organizations_url": "https://api.github.com/users/MattConflitti/orgs", "received_events_url": "https://api.github.com/users/MattConflitti/received_events", "repos_url": "https://api.github.com/users/MattConflitti/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MattConflitti/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MattConflitti/subscriptions", "type": "User", "url": "https://api.github.com/users/MattConflitti" }
[ { "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": "207de5", "de...
closed
false
null
[]
null
2
2019-04-09T21:06:43Z
2021-07-02T05:20:24Z
2021-07-02T05:20:24Z
NONE
null
Enhancement description A standard way to take two dataframes that have a DateTimeIndex and do a time series join where same dates will be together on the same day and allow me to apply a function to it in order to choose which value to take if more than one fall on the same day. If this functionality doesn't exist, can we open an enhancement request? Expected Behavior Time Series 1: ``` Date | Value ------------ 1-1-2019 | 1 1-2-2019 | 2 1-3-2019 | 3 ``` Time Series 2: ``` Date | Value ------------ 1-3-2019 | 4 1-4-2019 | 5 1-5-2019 | 6 ``` Then, ```python #default to taking 'right' time series value on overlapped days ts1.time_series_join(ts2, overlap_func='right') ``` or ```python #apply lambda applies to overlapped days ts1.time_series_join(ts2, overlap_func=lambda x,y: max(x,y)) ``` which would return (defaulting to a left join behavior as far as keeping the index goes): ``` Date | Value ------------ 1-1-2019 | 1 1-2-2019 | 2 1-3-2019 | 4 ``` I haven't seen anything like this on my data processing adventures and think this would be a great feature. A similar feature is implemented in SparkTS for RDDs. Right now, I have resorted to doing some gross looping and utilizing the `.at[]` selector to update overlapping values. Thanks!
{ "+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/26035/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26035/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26036
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26036/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26036/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26036/events
https://github.com/pandas-dev/pandas/pull/26036
431,277,390
MDExOlB1bGxSZXF1ZXN0MjY4OTg3NzE4
26,036
CLN: Remove PY35 flag from pandas.compat
{ "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": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-10T02:40:08Z
2019-04-11T01:32:58Z
2019-04-10T06:20:21Z
MEMBER
null
- [X] xref #25725 - [X] tests passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` The `PY35` flag is always `True` after dropping Python 2, as Python 3.5 is now the lowest supported version.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26036/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26036/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26036.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26036", "merged_at": "2019-04-10T06:20:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26036.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26036" }
https://api.github.com/repos/pandas-dev/pandas/issues/26037
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26037/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26037/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26037/events
https://github.com/pandas-dev/pandas/pull/26037
431,292,227
MDExOlB1bGxSZXF1ZXN0MjY4OTk4NTg0
26,037
DOC: Fix quotes position in pandas.core (#24071)
{ "avatar_url": "https://avatars.githubusercontent.com/u/494201?v=4", "events_url": "https://api.github.com/users/alexcwatt/events{/privacy}", "followers_url": "https://api.github.com/users/alexcwatt/followers", "following_url": "https://api.github.com/users/alexcwatt/following{/other_user}", "gists_url": "https://api.github.com/users/alexcwatt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexcwatt", "id": 494201, "login": "alexcwatt", "node_id": "MDQ6VXNlcjQ5NDIwMQ==", "organizations_url": "https://api.github.com/users/alexcwatt/orgs", "received_events_url": "https://api.github.com/users/alexcwatt/received_events", "repos_url": "https://api.github.com/users/alexcwatt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexcwatt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexcwatt/subscriptions", "type": "User", "url": "https://api.github.com/users/alexcwatt" }
[ { "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
6
2019-04-10T03:54:49Z
2019-05-12T21:23:05Z
2019-05-12T21:23:05Z
CONTRIBUTOR
null
- [x] closes #24071 - [ ] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry `./scripts/validate_docstrings.py --prefix=pandas.core --errors=GL01,GL02` is now silent.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26037/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26037/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26037.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26037", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/26037.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26037" }
https://api.github.com/repos/pandas-dev/pandas/issues/26038
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26038/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26038/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26038/events
https://github.com/pandas-dev/pandas/pull/26038
431,335,024
MDExOlB1bGxSZXF1ZXN0MjY5MDMxMTA0
26,038
CLN: parse_date compat function
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
2
2019-04-10T06:58:46Z
2019-04-12T15:31:46Z
2019-04-12T11:36:00Z
MEMBER
null
- [x] tests passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` More `compat/__init__.py` cleaning. Remove `parse_date` in favor of `dateutil.parser.parse` directly. pandas min dateutil version is 2.5.0 so the import check is unnecessary.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26038/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26038/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26038.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26038", "merged_at": "2019-04-12T11:36:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26038.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26038" }
https://api.github.com/repos/pandas-dev/pandas/issues/26039
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26039/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26039/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26039/events
https://github.com/pandas-dev/pandas/issues/26039
431,480,603
MDU6SXNzdWU0MzE0ODA2MDM=
26,039
Comparing Timedelta and NaT gives inconsistent results depending on order
{ "avatar_url": "https://avatars.githubusercontent.com/u/27341103?v=4", "events_url": "https://api.github.com/users/frexvahi/events{/privacy}", "followers_url": "https://api.github.com/users/frexvahi/followers", "following_url": "https://api.github.com/users/frexvahi/following{/other_user}", "gists_url": "https://api.github.com/users/frexvahi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/frexvahi", "id": 27341103, "login": "frexvahi", "node_id": "MDQ6VXNlcjI3MzQxMTAz", "organizations_url": "https://api.github.com/users/frexvahi/orgs", "received_events_url": "https://api.github.com/users/frexvahi/received_events", "repos_url": "https://api.github.com/users/frexvahi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/frexvahi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/frexvahi/subscriptions", "type": "User", "url": "https://api.github.com/users/frexvahi" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, ...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-10T12:40:03Z
2019-04-28T16:39:55Z
2019-04-28T16:39:54Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python In [1]: import pandas as pd In [2]: pd.Timedelta(0) > pd.Timedelta(None) TypeError: Cannot compare type Timedelta with type NaTType In [3]: pd.Timedelta(None) < pd.Timedelta(0) Out[3]: False ``` #### Problem description I would expect the result of `a < b` to be the same as that of `b > a` but in this case one returns `False` and the other raises `TypeError`. Related issue: #24983 "Separate NaT values for Timedelta and Period" - if `pd.Timedelta(None)` gave a value of type `Timedelta` then maybe this error would not have occurred. #### Expected Output Either both `False` or both `TypeError` (both `False` would be more helpful) #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.8.final.0 python-bits: 64 OS: Linux OS-release: 4.15.0-46-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 LOCALE: en_GB.UTF-8 pandas: 0.24.2 pytest: 4.3.1 pip: 19.0.3 setuptools: 40.8.0 Cython: 0.29.5 numpy: 1.16.2 scipy: None pyarrow: None xarray: 0.11.3 IPython: 7.3.0 sphinx: None patsy: None dateutil: 2.6.1 pytz: 2018.9 blosc: None bottleneck: None tables: 3.4.4 numexpr: 2.6.9 feather: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: 1.0.1 sqlalchemy: 1.2.18 pymysql: None psycopg2: 2.7.6.1 (dt dec pq3 ext lo64) jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26039/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26039/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26040
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26040/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26040/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26040/events
https://github.com/pandas-dev/pandas/issues/26040
431,493,547
MDU6SXNzdWU0MzE0OTM1NDc=
26,040
date_range() option for closed='both' documented but not implemented
{ "avatar_url": "https://avatars.githubusercontent.com/u/49483005?v=4", "events_url": "https://api.github.com/users/eai-eo/events{/privacy}", "followers_url": "https://api.github.com/users/eai-eo/followers", "following_url": "https://api.github.com/users/eai-eo/following{/other_user}", "gists_url": "https://api.github.com/users/eai-eo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/eai-eo", "id": 49483005, "login": "eai-eo", "node_id": "MDQ6VXNlcjQ5NDgzMDA1", "organizations_url": "https://api.github.com/users/eai-eo/orgs", "received_events_url": "https://api.github.com/users/eai-eo/received_events", "repos_url": "https://api.github.com/users/eai-eo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/eai-eo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eai-eo/subscriptions", "type": "User", "url": "https://api.github.com/users/eai-eo" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2019-04-10T13:07:54Z
2019-04-10T15:49:51Z
2019-04-10T15:49:40Z
NONE
null
#### Problem description The docstring for `pandas.date_range()`'s `closed` argument says: ``` closed : {None, 'left', 'right'}, optional Make the interval closed with respect to the given frequency to the 'left', 'right', or both sides (None, the default). ``` Basically, this argument sets whether the date range includes or excludes the start and end dates. But I think 'both' is not possible. Either the docstring needs changing or (preferably) a 'both' option should be added. #### Links to the relevant code Here's the `date_range()` function (whose docstring I copied above): https://github.com/pandas-dev/pandas/blob/master/pandas/core/indexes/datetimes.py#L1403 it passes `closed` to `DatetimeArray._generate_range()` which is here: https://github.com/pandas-dev/pandas/blob/master/pandas/core/arrays/datetimes.py#L421 and which passes `closed` to: `dtl.validate_endpoints(closed)` which is here, and is where the `validate_endpoints(closed)` would need changing to add a 'both' option, or to allow 'left' and 'right' to be set simultaneously: https://github.com/pandas-dev/pandas/blob/master/pandas/core/arrays/datetimelike.py#L1471-1501 Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26040/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26040/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26041
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26041/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26041/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26041/events
https://github.com/pandas-dev/pandas/issues/26041
431,588,282
MDU6SXNzdWU0MzE1ODgyODI=
26,041
_setitem_with_indexer changes type from datetime to object
{ "avatar_url": "https://avatars.githubusercontent.com/u/7151980?v=4", "events_url": "https://api.github.com/users/NikolaTT/events{/privacy}", "followers_url": "https://api.github.com/users/NikolaTT/followers", "following_url": "https://api.github.com/users/NikolaTT/following{/other_user}", "gists_url": "https://api.github.com/users/NikolaTT/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/NikolaTT", "id": 7151980, "login": "NikolaTT", "node_id": "MDQ6VXNlcjcxNTE5ODA=", "organizations_url": "https://api.github.com/users/NikolaTT/orgs", "received_events_url": "https://api.github.com/users/NikolaTT/received_events", "repos_url": "https://api.github.com/users/NikolaTT/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NikolaTT/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NikolaTT/subscriptions", "type": "User", "url": "https://api.github.com/users/NikolaTT" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on s...
closed
false
null
[]
null
5
2019-04-10T16:05:48Z
2019-04-11T06:34:56Z
2019-04-11T00:06:50Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd from dateutil import parser as date_parser def perform_operations_that_change_dtype(df): # If df is a single row DataFrame, the type of the # datetime columns will be changed to object. for x in df.columns: if df[x].dtype.kind == 'M': # if it is a date if df[x].dt.tz is None: # not time zone aware df.loc[:, x] = df[x].dt.tz_localize('GMT') # tz aware df.loc[:, x] = df[x].dt.tz_convert('UTC') def perform_operations_that_do_not_change_dtype(df): for x in df.columns: if df[x].dtype.kind == 'M': # if it is a date if df[x].dt.tz is None: # not time zone aware df[x] = df[x].dt.tz_localize('GMT') # tz aware df[x] = df[x].dt.tz_convert('UTC') # Show effects of tz_operations on the 'broken' DataFrame when using # .loc for accessing columns. broken_df = pd.DataFrame( [{'reference_date': '2019-03-14T10:00:00Z', 'value': '0.0'}]) broken_df['reference_date'] = broken_df['reference_date'].apply( lambda datestr: date_parser.parse(datestr)) assert(broken_df['reference_date'].dtype == 'datetime64[ns, tzutc()]') # broken_df reference_date will be changed to object from datetime perform_operations_that_change_dtype(broken_df) assert(broken_df['reference_date'].dtype == 'object') # Show effects of tz_operations on the 'working' DataFrame when using # .loc for accessing columns. working_df = pd.DataFrame( [{'reference_date': '2019-03-14T10:00:00Z', 'value': '0.0'}, {'reference_date': '2019-03-14T10:00:00Z', 'value': '0.0'}]) working_df['reference_date'] = working_df['reference_date'].apply( lambda datestr: date_parser.parse(datestr)) assert(working_df['reference_date'].dtype == 'datetime64[ns, tzutc()]') # this time the datetime type will be perserved # the tz part will only be changed perform_operations_that_change_dtype(working_df) assert(working_df['reference_date'].dtype == 'datetime64[ns, UTC]') # Show effects of tz_operations on the 'broken' DataFrame when using # [] for accessing columns. broken_df = pd.DataFrame( [{'reference_date': '2019-03-14T10:00:00Z', 'value': '0.0'}]) broken_df['reference_date'] = broken_df['reference_date'].apply( lambda datestr: date_parser.parse(datestr)) assert(broken_df['reference_date'].dtype == 'datetime64[ns, tzutc()]') perform_operations_that_do_not_change_dtype(broken_df) assert(broken_df['reference_date'].dtype == 'datetime64[ns, UTC]') ``` #### Problem description Hello all! I am facing a particularly weird issue, which I have pinpointed to be caused by the [_setitem_with_indexer method](https://github.com/pandas-dev/pandas/blob/6d9b702a661891724e6c10dd96eb149404205c67/pandas/core/indexing.py#L298) From the code above, you can see that when `loc` is used inside `perform_operations_that_change_dtype` to retrieve a column and change its timezone, the resulting series is of dtype `object` instead of `datetime`. This behavior is not present when using `[]` as in `perform_operations_that_do_not_change_dtype`, and is only present for DataFrames with single rows. I know that the two approaches are different, but if both `loc` and `[]` return the same series, why is the resulting assignment different? From what I can see something happens inside the `_setitem_with_indexer` method that changes the type. One thing that might be the issue is the `_try_coerce_args` method inside `ObjectBlock`: [link to line](https://github.com/pandas-dev/pandas/blob/6d9b702a661891724e6c10dd96eb149404205c67/pandas/core/internals/blocks.py#L2705). Why is `other`'s type changed to object when it is a DatetimeArray? The only similar issue I managed to find is [this StackOverflow question](https://stackoverflow.com/questions/50359164/pandas-tz-convert-using-apply-returns-object-rather-than-datetime) that has 0 answers. Thank you for looking at this issue and for creating and maintaining this amazing library! Hope my findings would be enough to guide someone to help me resolve this; I've been hammering at it the whole day. #### Expected Output The dtype of datetime is not changed to object. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.2.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 79 Stepping 1, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None pandas: 0.24.2 pytest: 4.3.0 pip: 19.0.3 setuptools: 40.8.0 Cython: None numpy: 1.16.0 scipy: None pyarrow: None xarray: None IPython: 7.2.0 sphinx: None patsy: None dateutil: 2.8.0 pytz: 2018.9 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.0.3 openpyxl: None xlrd: 1.2.0 xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26041/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26041/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26042
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26042/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26042/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26042/events
https://github.com/pandas-dev/pandas/issues/26042
431,629,627
MDU6SXNzdWU0MzE2Mjk2Mjc=
26,042
Setting index = false in function to_csv is not working
{ "avatar_url": "https://avatars.githubusercontent.com/u/43244026?v=4", "events_url": "https://api.github.com/users/iamdeepti/events{/privacy}", "followers_url": "https://api.github.com/users/iamdeepti/followers", "following_url": "https://api.github.com/users/iamdeepti/following{/other_user}", "gists_url": "https://api.github.com/users/iamdeepti/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/iamdeepti", "id": 43244026, "login": "iamdeepti", "node_id": "MDQ6VXNlcjQzMjQ0MDI2", "organizations_url": "https://api.github.com/users/iamdeepti/orgs", "received_events_url": "https://api.github.com/users/iamdeepti/received_events", "repos_url": "https://api.github.com/users/iamdeepti/repos", "site_admin": false, "starred_url": "https://api.github.com/users/iamdeepti/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/iamdeepti/subscriptions", "type": "User", "url": "https://api.github.com/users/iamdeepti" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
8
2019-04-10T17:42:46Z
2021-05-03T12:44:08Z
2019-04-30T09:35:46Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Your code here df_ = pd.DataFrame([predicted_labels]) display(df_) df_.to_csv('person.csv',index=False) ``` #### Problem description Actually I don't want index in my csv file so I set index = false but It's not resolving the issue, my CSV file still has index values. #### Expected Output 3,6,0,6,3,0,6,6,6,6,6,0,2,6,6,6,0,0,2,0,0,0,6,0,2,6,6,6,6,6,3,6,3,6,2,0,6,0,6,6,3,2,6,6,6,6 #### Output of ``pd.show_versions()`` <details> 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46 3,6,0,6,3,0,6,6,6,6,6,0,2,6,6,6,0,0,2,0,0,0,6,0,2,6,6,6,6,6,3,6,3,6,2,0,6,0,6,6,3,2,6,6,6,6 </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/26042/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26042/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26043
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26043/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26043/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26043/events
https://github.com/pandas-dev/pandas/pull/26043
431,640,762
MDExOlB1bGxSZXF1ZXN0MjY5MjcxMjkx
26,043
PERF: changed default value of cache parameter to True in to_datetime function
{ "avatar_url": "https://avatars.githubusercontent.com/u/45976948?v=4", "events_url": "https://api.github.com/users/anmyachev/events{/privacy}", "followers_url": "https://api.github.com/users/anmyachev/followers", "following_url": "https://api.github.com/users/anmyachev/following{/other_user}", "gists_url": "https://api.github.com/users/anmyachev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/anmyachev", "id": 45976948, "login": "anmyachev", "node_id": "MDQ6VXNlcjQ1OTc2OTQ4", "organizations_url": "https://api.github.com/users/anmyachev/orgs", "received_events_url": "https://api.github.com/users/anmyachev/received_events", "repos_url": "https://api.github.com/users/anmyachev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/anmyachev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anmyachev/subscriptions", "type": "User", "url": "https://api.github.com/users/anmyachev" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "a10c02", "default": false, "description": "Memory or...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
33
2019-04-10T18:10:06Z
2019-07-04T01:38:09Z
2019-07-04T01:38:05Z
CONTRIBUTOR
null
- [x] closes #N/A - [x] tests added / passed - [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/26043/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26043/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26043.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26043", "merged_at": "2019-07-04T01:38:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26043.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26043" }
https://api.github.com/repos/pandas-dev/pandas/issues/26044
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26044/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26044/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26044/events
https://github.com/pandas-dev/pandas/issues/26044
431,670,126
MDU6SXNzdWU0MzE2NzAxMjY=
26,044
drop_duplicates: is return value a full new DataFrame object?
{ "avatar_url": "https://avatars.githubusercontent.com/u/344033?v=4", "events_url": "https://api.github.com/users/pauljohn32/events{/privacy}", "followers_url": "https://api.github.com/users/pauljohn32/followers", "following_url": "https://api.github.com/users/pauljohn32/following{/other_user}", "gists_url": "https://api.github.com/users/pauljohn32/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pauljohn32", "id": 344033, "login": "pauljohn32", "node_id": "MDQ6VXNlcjM0NDAzMw==", "organizations_url": "https://api.github.com/users/pauljohn32/orgs", "received_events_url": "https://api.github.com/users/pauljohn32/received_events", "repos_url": "https://api.github.com/users/pauljohn32/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pauljohn32/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pauljohn32/subscriptions", "type": "User", "url": "https://api.github.com/users/pauljohn32" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2019-04-10T19:17:59Z
2019-04-10T19:54:02Z
2019-04-10T19:53:50Z
NONE
null
#### Code Sample I want to sort a data frame by a series that has both string and numeric values. Today I have a sequence of commands that seems to 'work', except when the .drop_duplicates method is used. Along the way I had some trouble because a series that has both letters and numbers cannot be used to sort, and I thought that was causing my problem. However, I realized later that drop_duplicates() does not return a fully workable DataFrame. Here I have drop_duplicates to create a second DataFrame object, and the new thing df2 just doesn't work well: ```python x = pd.Series([1, 1, 2, 2, 2, 3, "."]) y = pd.Series([1, 1, 2, 2, 2, 3, np.nan]) df = pd.DataFrame({"old": x, "new": y}) df2 = df.drop_duplicates() df2['oldsort'] = df2['old'] ## causes error sorting, must convert oldsort to string ## df2.sort_values(by = ["oldsort"], axis = 0) df2['oldsort'] = df2['oldsort'].astype(str) df2.sort_values(by = ["oldsort"], axis = 0) ``` #### Problem description Output is littered with warnings like this: ``` /home/pauljohn/LinuxDownloads/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:312: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy ``` Eventually I traced problem back to `drop_duplicates`. Although it seems to be a data frame object, it does not respond well to anything I want to do. Here is an alternative method I use to achieve same purpose: ```{python} x = pd.Series([1, 1, 2, 2, 2, 3, "."]) y = pd.Series([1, 1, 2, 2, 2, 3, np.nan]) df = pd.DataFrame({"old": x, "new": y}) df['oldsort'] = df['old'] df['oldsort'] = df['oldsort'].astype(str) df.sort_values(by = ["oldsort"], axis = 0) df.drop(['oldsort'], axis=1) df2 = df.drop_duplicates() ``` I'm not confident that the output from drop_duplicates() is actually a full data frame, however, so I don't trust the last step very much :) #### Expected Output a new data frame in which columns can be copied and altered. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.3.final.0 python-bits: 64 OS: Linux OS-release: 4.18.0-16-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: 4.3.1 pip: 19.0.3 setuptools: 40.8.0 Cython: 0.29.6 numpy: 1.16.2 scipy: 1.2.1 pyarrow: None xarray: None IPython: 7.4.0 sphinx: 1.8.5 patsy: 0.5.1 dateutil: 2.8.0 pytz: 2018.9 blosc: None bottleneck: 1.2.1 tables: 3.5.1 numexpr: 2.6.9 feather: None matplotlib: 3.0.3 openpyxl: 2.6.1 xlrd: 1.2.0 xlwt: 1.3.0 xlsxwriter: 1.1.5 lxml.etree: 4.3.2 bs4: 4.7.1 html5lib: 1.0.1 sqlalchemy: 1.3.1 pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26044/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26044/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26045
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26045/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26045/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26045/events
https://github.com/pandas-dev/pandas/issues/26045
431,708,024
MDU6SXNzdWU0MzE3MDgwMjQ=
26,045
BUG: pandas.cut incorrectly raises a ValueError due to an overflow
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stac...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-10T20:44:45Z
2019-04-19T01:03:54Z
2019-04-19T01:03:54Z
MEMBER
null
#### Code Sample, a copy-pastable example if possible ```python In [1]: import pandas as pd; pd.__version__ Out[1]: '0.25.0.dev0+389.g6d9b702a66' In [2]: bins = [pd.Timestamp.min, pd.Timestamp('2018-01-01'), pd.Timestamp.max] In [3]: values = pd.date_range('2017-12-31', periods=3) In [4]: pd.cut(values, bins=bins) --------------------------------------------------------------------------- ValueError: bins must increase monotonically. ``` The issue appears to be due to an overflow in `np.diff`, which in turn makes it appear that the `bins` are not monotonically increasing. Essentially the following: ```python In [5]: bins_numeric = [b.value for b in bins] In [6]: bins_numeric Out[6]: [-9223372036854775000, 1514764800000000000, 9223372036854775807] In [7]: np.diff(bins_numeric) Out[7]: array([-7708607236854776616, 7708607236854775807], dtype=int64) ``` #### Problem description The `bins` are monotonically increasing but a `ValueError` is raised indicating that they aren't. #### Expected Output I'd expect `[4]` to not raise a `ValueError`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: 6d9b702a661891724e6c10dd96eb149404205c67 python: 3.6.8.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: 0.25.0.dev0+389.g6d9b702a66 pytest: 4.2.0 pip: 19.0.1 setuptools: 40.6.3 Cython: 0.28.2 numpy: 1.14.6 scipy: 1.0.0 pyarrow: 0.6.0 xarray: 0.9.6 IPython: 7.2.0 sphinx: 1.8.2 patsy: 0.4.1 dateutil: 2.6.0 pytz: 2017.2 blosc: None bottleneck: 1.2.1 tables: 3.4.2 numexpr: 2.6.4 feather: 0.4.0 matplotlib: 2.0.2 openpyxl: 2.4.8 xlrd: 1.1.0 xlwt: 1.3.0 xlsxwriter: 0.9.8 lxml.etree: 3.8.0 bs4: None html5lib: 0.999 sqlalchemy: 1.1.13 pymysql: None psycopg2: None jinja2: 2.9.6 s3fs: None fastparquet: 0.1.5 pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26045/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26045/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26046
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26046/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26046/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26046/events
https://github.com/pandas-dev/pandas/pull/26046
431,779,288
MDExOlB1bGxSZXF1ZXN0MjY5MzgzNTY5
26,046
BUG: Fix NaT comparisons with Timedelta (#26039)
{ "avatar_url": "https://avatars.githubusercontent.com/u/25773476?v=4", "events_url": "https://api.github.com/users/ArtificialQualia/events{/privacy}", "followers_url": "https://api.github.com/users/ArtificialQualia/followers", "following_url": "https://api.github.com/users/ArtificialQualia/following{/other_user}", "gists_url": "https://api.github.com/users/ArtificialQualia/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ArtificialQualia", "id": 25773476, "login": "ArtificialQualia", "node_id": "MDQ6VXNlcjI1NzczNDc2", "organizations_url": "https://api.github.com/users/ArtificialQualia/orgs", "received_events_url": "https://api.github.com/users/ArtificialQualia/received_events", "repos_url": "https://api.github.com/users/ArtificialQualia/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ArtificialQualia/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ArtificialQualia/subscriptions", "type": "User", "url": "https://api.github.com/users/ArtificialQualia" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, ...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-11T00:37:34Z
2019-04-28T16:40:00Z
2019-04-28T16:39:55Z
CONTRIBUTOR
null
- [x] closes #26039 - [x] tests added / passed - [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/26046/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26046/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26046.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26046", "merged_at": "2019-04-28T16:39:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26046.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26046" }
https://api.github.com/repos/pandas-dev/pandas/issues/26047
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26047/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26047/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26047/events
https://github.com/pandas-dev/pandas/pull/26047
431,789,511
MDExOlB1bGxSZXF1ZXN0MjY5MzkxMjAw
26,047
CLN: Remove PY2/PY3 flags from pandas.compat
{ "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": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
7
2019-04-11T01:31:48Z
2019-04-15T16:39:04Z
2019-04-13T21:11:21Z
MEMBER
null
- [X] xref #25725 - [X] tests passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26047/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26047/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26047.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26047", "merged_at": "2019-04-13T21:11:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26047.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26047" }
https://api.github.com/repos/pandas-dev/pandas/issues/26048
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26048/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26048/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26048/events
https://github.com/pandas-dev/pandas/pull/26048
431,858,045
MDExOlB1bGxSZXF1ZXN0MjY5NDQyNzIx
26,048
Removed resolved items from blacklist
{ "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": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
2
2019-04-11T06:51:44Z
2019-04-11T15:41:40Z
2019-04-11T15:41:36Z
MEMBER
null
Given the master list in #25882 a review it looks like these are no longer issues, I think from the top level import machinery changes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26048/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26048/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26048.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26048", "merged_at": "2019-04-11T15:41:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26048.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26048" }
https://api.github.com/repos/pandas-dev/pandas/issues/26049
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26049/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26049/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26049/events
https://github.com/pandas-dev/pandas/issues/26049
431,883,339
MDU6SXNzdWU0MzE4ODMzMzk=
26,049
Column dtype change on write of improper value
{ "avatar_url": "https://avatars.githubusercontent.com/u/26743098?v=4", "events_url": "https://api.github.com/users/jp68138743541/events{/privacy}", "followers_url": "https://api.github.com/users/jp68138743541/followers", "following_url": "https://api.github.com/users/jp68138743541/following{/other_user}", "gists_url": "https://api.github.com/users/jp68138743541/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jp68138743541", "id": 26743098, "login": "jp68138743541", "node_id": "MDQ6VXNlcjI2NzQzMDk4", "organizations_url": "https://api.github.com/users/jp68138743541/orgs", "received_events_url": "https://api.github.com/users/jp68138743541/received_events", "repos_url": "https://api.github.com/users/jp68138743541/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jp68138743541/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jp68138743541/subscriptions", "type": "User", "url": "https://api.github.com/users/jp68138743541" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on s...
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" }
5
2019-04-11T08:01:13Z
2020-11-10T17:50:45Z
null
NONE
null
#### Code Sample ```python import pandas as pd df = pd.DataFrame(columns=['col1'], data=[1,2,3,4], dtype='uint8') print('original dtypes:') print(df.dtypes) print() print('original data frame:') print(df) print() df.loc[2,'col1']=300 print('dtypes after write operation:') print(df.dtypes) print() print('data frameafter write:') print(df) ``` output: ``` original dtypes: col1 uint8 dtype: object original data frame: col1 0 1 1 2 2 3 3 4 dtypes after write operation: col1 int64 dtype: object data frameafter write: col1 0 1 1 2 2 44 3 4 ``` #### Problem description When writing, e.g., a too big integer to an 8-bit unsigned integer column, the value of the written integer is casted to uint8 and the data type of the column is changed to int64. #### Expected Output I would expect that **either** the value is casted and the data type is retained **or** the data type gets changed and the value is retained. ``` original dtypes: col1 uint8 dtype: object original data frame: col1 0 1 1 2 2 3 3 4 dtypes after write operation: col1 uint8 dtype: object data frameafter write: col1 0 1 1 2 2 44 3 4 ``` or ``` original dtypes: col1 uint8 dtype: object original data frame: col1 0 1 1 2 2 3 3 4 dtypes after write operation: col1 int64 [or even better uint16] dtype: object data frameafter write: col1 0 1 1 2 2 300 3 4 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.8.final.0 python-bits: 64 OS: Linux OS-release: 4.9.125-linuxkit machine: x86_64 processor: x86_64 byteorder: little LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: 4.3.1 pip: 19.0.3 setuptools: 40.8.0 Cython: 0.29.6 numpy: 1.16.2 scipy: 1.2.1 pyarrow: 0.11.1 xarray: 0.11.3 IPython: 7.1.1 sphinx: 2.0.0 patsy: 0.5.1 dateutil: 2.8.0 pytz: 2018.9 blosc: None bottleneck: None tables: 3.5.1 numexpr: 2.6.9 feather: None matplotlib: 3.0.3 openpyxl: None xlrd: 1.2.0 xlwt: None xlsxwriter: 1.1.5 lxml.etree: 4.3.0 bs4: 4.7.1 html5lib: None sqlalchemy: 1.3.1 pymysql: None psycopg2: 2.7.6.1 (dt dec pq3 ext lo64) jinja2: 2.10 s3fs: None fastparquet: 0.2.1 pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26049/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26049/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26050
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26050/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26050/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26050/events
https://github.com/pandas-dev/pandas/issues/26050
431,919,816
MDU6SXNzdWU0MzE5MTk4MTY=
26,050
Problem with DataFrame.replace using None
{ "avatar_url": "https://avatars.githubusercontent.com/u/40271262?v=4", "events_url": "https://api.github.com/users/josegcpa/events{/privacy}", "followers_url": "https://api.github.com/users/josegcpa/followers", "following_url": "https://api.github.com/users/josegcpa/following{/other_user}", "gists_url": "https://api.github.com/users/josegcpa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/josegcpa", "id": 40271262, "login": "josegcpa", "node_id": "MDQ6VXNlcjQwMjcxMjYy", "organizations_url": "https://api.github.com/users/josegcpa/orgs", "received_events_url": "https://api.github.com/users/josegcpa/received_events", "repos_url": "https://api.github.com/users/josegcpa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/josegcpa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/josegcpa/subscriptions", "type": "User", "url": "https://api.github.com/users/josegcpa" }
[ { "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
7
2019-04-11T09:25:05Z
2020-09-03T09:21:39Z
2020-04-25T12:40:03Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd import numpy as np ar = np.random.normal(size=[100,10]) df = pd.DataFrame(ar).astype(str) df.replace('0',None) ``` #### Problem description Every time I run something similar to this (replacing, in a string DataFrame/DataFrame column, a specific string with `None`), the columns get filled with the element directly above it in the column; this creates a lot of confusion since None is, pretty much, THE "pythonic" way of signalling the absence of a variable/whatever. It works fine if replaced with np.nan, but if anything, I would expect them to work very approximately the same. #### Expected Output The expected output would be all strings matching the expression in `replace` to either be replaced with either `None` or `NaN`, or at least a warning message alerting for this behaviour. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.8.final.0 python-bits: 64 OS: Darwin OS-release: 18.5.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_GB.UTF-8 LOCALE: en_GB.UTF-8 pandas: 0.24.1 pytest: None pip: 19.0.3 setuptools: 40.6.2 Cython: None numpy: 1.16.0 scipy: 1.2.0 pyarrow: None xarray: None IPython: 7.2.0 sphinx: None patsy: None dateutil: 2.7.5 pytz: 2018.9 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.0.2 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: 4.7.1 html5lib: 0.9999999 sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26050/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26050/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26051
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26051/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26051/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26051/events
https://github.com/pandas-dev/pandas/issues/26051
431,967,399
MDU6SXNzdWU0MzE5NjczOTk=
26,051
to_excel cannot handle large sheet
{ "avatar_url": "https://avatars.githubusercontent.com/u/22963490?v=4", "events_url": "https://api.github.com/users/Pzoom522/events{/privacy}", "followers_url": "https://api.github.com/users/Pzoom522/followers", "following_url": "https://api.github.com/users/Pzoom522/following{/other_user}", "gists_url": "https://api.github.com/users/Pzoom522/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Pzoom522", "id": 22963490, "login": "Pzoom522", "node_id": "MDQ6VXNlcjIyOTYzNDkw", "organizations_url": "https://api.github.com/users/Pzoom522/orgs", "received_events_url": "https://api.github.com/users/Pzoom522/received_events", "repos_url": "https://api.github.com/users/Pzoom522/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Pzoom522/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Pzoom522/subscriptions", "type": "User", "url": "https://api.github.com/users/Pzoom522" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "bfe5...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
14
2019-04-11T11:17:57Z
2021-08-17T12:19:59Z
2019-06-01T14:04:15Z
NONE
null
#### Problem description For **extremely** large sheets (row_num > 1048576, col_num > 16384), see [the code of XlsxWriter Engine](https://github.com/jmcnamara/XlsxWriter/blob/master/xlsxwriter/worksheet.py#L183), area which exceeds the limit won't be printed. **_However, no error or warning is raised._** #### Expected Output ```This sheet is too large! Area off (1048576, 1638) will not be printed.``` #### Output of ``pd.show_versions()`` latest (v0.24.2)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26051/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26051/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26052
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26052/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26052/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26052/events
https://github.com/pandas-dev/pandas/issues/26052
431,967,405
MDU6SXNzdWU0MzE5Njc0MDU=
26,052
pd.to_hdf throws AttributeError: module 'tables' has no attribute '__version__'
{ "avatar_url": "https://avatars.githubusercontent.com/u/8565617?v=4", "events_url": "https://api.github.com/users/mfittere/events{/privacy}", "followers_url": "https://api.github.com/users/mfittere/followers", "following_url": "https://api.github.com/users/mfittere/following{/other_user}", "gists_url": "https://api.github.com/users/mfittere/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mfittere", "id": 8565617, "login": "mfittere", "node_id": "MDQ6VXNlcjg1NjU2MTc=", "organizations_url": "https://api.github.com/users/mfittere/orgs", "received_events_url": "https://api.github.com/users/mfittere/received_events", "repos_url": "https://api.github.com/users/mfittere/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mfittere/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mfittere/subscriptions", "type": "User", "url": "https://api.github.com/users/mfittere" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
2
2019-04-11T11:17:58Z
2019-04-16T10:39:33Z
2019-04-16T10:39:33Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd df = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6]},index=['a', 'b', 'c']) df.to_hdf('data.h5', key='df', mode='w') ``` #### Problem description [The standard example (see above) throws the following error: ```python Traceback (most recent call last): File "test.py", line 5, in <module> df.to_hdf('data.h5', key='df', mode='w') File "/zpool/software/apps/anaconda3/lib/python3.7/site-packages/pandas/core/generic.py", line 1996, in to_hdf return pytables.to_hdf(path_or_buf, key, self, **kwargs) File "/zpool/software/apps/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py", line 278, in to_hdf complib=complib) as store: File "/zpool/software/apps/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py", line 491, in __init__ self.open(mode=mode, **kwargs) File "/zpool/software/apps/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py", line 576, in open tables = _tables() File "/zpool/software/apps/anaconda3/lib/python3.7/site-packages/pandas/io/pytables.py", line 249, in _tables if LooseVersion(tables.__version__) < LooseVersion('3.0.0'): AttributeError: module 'tables' has no attribute '__version__' ``` I did a fresh install of anaconda version 4.6.11 and the output of ``` conda list pytables ``` is ``` pytables 3.4.4 py37ha205bf6_0 ``` => pytables version should be bigger than 3.0.0 ] **Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates! **Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary. For documentation-related issues, you can check the latest versions of the docs on `master` here: https://pandas-docs.github.io/pandas-docs-travis/ If the issue has not been resolved there, go ahead and file it in the issue tracker. #### Expected Output #### Output of ``pd.show_versions()`` <details> [INSTALLED VERSIONS ------------------ commit: None python: 3.7.3.final.0 python-bits: 64 OS: Linux OS-release: 4.15.0-47-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.23.4 pytest: 4.3.1 pip: 19.0.3 setuptools: 40.8.0 Cython: 0.29.6 numpy: 1.15.1 scipy: 1.1.0 pyarrow: None xarray: None IPython: 7.4.0 sphinx: 1.8.5 patsy: 0.5.0 dateutil: 2.8.0 pytz: 2018.9 blosc: None bottleneck: 1.2.1 tables: None numexpr: 2.6.8 feather: None matplotlib: 2.2.3 openpyxl: 2.6.1 xlrd: 1.2.0 xlwt: 1.3.0 xlsxwriter: 1.1.5 lxml: 4.3.2 bs4: 4.7.1 html5lib: 1.0.1 sqlalchemy: 1.3.1 pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None ] </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26052/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26052/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26053
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26053/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26053/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26053/events
https://github.com/pandas-dev/pandas/issues/26053
432,046,943
MDU6SXNzdWU0MzIwNDY5NDM=
26,053
sort_index throws IndexError for some permutations
{ "avatar_url": "https://avatars.githubusercontent.com/u/16045385?v=4", "events_url": "https://api.github.com/users/soerenwolfers/events{/privacy}", "followers_url": "https://api.github.com/users/soerenwolfers/followers", "following_url": "https://api.github.com/users/soerenwolfers/following{/other_user}", "gists_url": "https://api.github.com/users/soerenwolfers/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/soerenwolfers", "id": 16045385, "login": "soerenwolfers", "node_id": "MDQ6VXNlcjE2MDQ1Mzg1", "organizations_url": "https://api.github.com/users/soerenwolfers/orgs", "received_events_url": "https://api.github.com/users/soerenwolfers/received_events", "repos_url": "https://api.github.com/users/soerenwolfers/repos", "site_admin": false, "starred_url": "https://api.github.com/users/soerenwolfers/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/soerenwolfers/subscriptions", "type": "User", "url": "https://api.github.com/users/soerenwolfers" }
[ { "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": null, "id": 71268330,...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-11T14:13:09Z
2019-04-24T21:03:05Z
2019-04-24T21:03:05Z
NONE
null
#### Code Sample ```python df = pd.DataFrame(list(range(8))) a.index = pd.MultiIndex.from_product([[0,1]]*3) a.sort_index(level=[1,2,0]) ``` #### Problem description This throws an `IndexEror: pop index out of range`. If I change the order to `[2,0,1]`, it doesn't. python: 3.6.6.final.0 pandas: 0.24.2 numpy: 1.15.4
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26053/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26053/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26054
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26054/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26054/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26054/events
https://github.com/pandas-dev/pandas/pull/26054
432,172,778
MDExOlB1bGxSZXF1ZXN0MjY5NjkzNjIy
26,054
BUG: sort_index throws IndexError for some permutations (#26053)
{ "avatar_url": "https://avatars.githubusercontent.com/u/19889586?v=4", "events_url": "https://api.github.com/users/jayanthkaturi/events{/privacy}", "followers_url": "https://api.github.com/users/jayanthkaturi/followers", "following_url": "https://api.github.com/users/jayanthkaturi/following{/other_user}", "gists_url": "https://api.github.com/users/jayanthkaturi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jayanthkaturi", "id": 19889586, "login": "jayanthkaturi", "node_id": "MDQ6VXNlcjE5ODg5NTg2", "organizations_url": "https://api.github.com/users/jayanthkaturi/orgs", "received_events_url": "https://api.github.com/users/jayanthkaturi/received_events", "repos_url": "https://api.github.com/users/jayanthkaturi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jayanthkaturi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jayanthkaturi/subscriptions", "type": "User", "url": "https://api.github.com/users/jayanthkaturi" }
[ { "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": null, "id": 71268330,...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
6
2019-04-11T18:27:03Z
2019-04-24T21:03:10Z
2019-04-24T21:03:06Z
CONTRIBUTOR
null
- [x] closes #26053 - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] tests added / passed
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26054/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26054/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26054.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26054", "merged_at": "2019-04-24T21:03:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26054.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26054" }
https://api.github.com/repos/pandas-dev/pandas/issues/26055
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26055/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26055/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26055/events
https://github.com/pandas-dev/pandas/pull/26055
432,236,576
MDExOlB1bGxSZXF1ZXN0MjY5NzQ2OTIx
26,055
BUG: rolling.count with axis=1
{ "avatar_url": "https://avatars.githubusercontent.com/u/37154464?v=4", "events_url": "https://api.github.com/users/yhaque1213/events{/privacy}", "followers_url": "https://api.github.com/users/yhaque1213/followers", "following_url": "https://api.github.com/users/yhaque1213/following{/other_user}", "gists_url": "https://api.github.com/users/yhaque1213/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yhaque1213", "id": 37154464, "login": "yhaque1213", "node_id": "MDQ6VXNlcjM3MTU0NDY0", "organizations_url": "https://api.github.com/users/yhaque1213/orgs", "received_events_url": "https://api.github.com/users/yhaque1213/received_events", "repos_url": "https://api.github.com/users/yhaque1213/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yhaque1213/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yhaque1213/subscriptions", "type": "User", "url": "https://api.github.com/users/yhaque1213" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stac...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
20
2019-04-11T20:37:07Z
2019-04-28T16:45:44Z
2019-04-28T16:45:40Z
CONTRIBUTOR
null
- [ ] closes #13503 - [X] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry Added axis parameter to the constructor call in the count function, fixing the original issue in #13503. This fix works for the example given in the issue. This does not fix the problem addressed by jorisvandenbossche, as that seems to be a type issue.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26055/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26055/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26055.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26055", "merged_at": "2019-04-28T16:45:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26055.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26055" }
https://api.github.com/repos/pandas-dev/pandas/issues/26056
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26056/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26056/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26056/events
https://github.com/pandas-dev/pandas/issues/26056
432,366,566
MDU6SXNzdWU0MzIzNjY1NjY=
26,056
can we execute sql on dataframe like spark?
{ "avatar_url": "https://avatars.githubusercontent.com/u/20642012?v=4", "events_url": "https://api.github.com/users/gwy1995/events{/privacy}", "followers_url": "https://api.github.com/users/gwy1995/followers", "following_url": "https://api.github.com/users/gwy1995/following{/other_user}", "gists_url": "https://api.github.com/users/gwy1995/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gwy1995", "id": 20642012, "login": "gwy1995", "node_id": "MDQ6VXNlcjIwNjQyMDEy", "organizations_url": "https://api.github.com/users/gwy1995/orgs", "received_events_url": "https://api.github.com/users/gwy1995/received_events", "repos_url": "https://api.github.com/users/gwy1995/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gwy1995/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gwy1995/subscriptions", "type": "User", "url": "https://api.github.com/users/gwy1995" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "370f77", "default": false, "descript...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2019-04-12T03:05:40Z
2019-04-12T06:47:18Z
2019-04-12T06:47:13Z
NONE
null
Like spark-sql,can we execute sql on dataframe to transform data ? for example: ```python import pandas as pd df=pd.DataFrame({"a":[1,1,2],"b":[2,3,4]}) df # a b # 0 1 2 # 1 1 3 # 2 2 4 df.create_temp_view("t") result=df.sql("select a, sum(b) from t group by a") result # a sum(b) # 0 1 5 # 1 2 4 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26056/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26056/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26057
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26057/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26057/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26057/events
https://github.com/pandas-dev/pandas/issues/26057
432,391,883
MDU6SXNzdWU0MzIzOTE4ODM=
26,057
Pandas to_csv not writing correctly to nas but working on lokal folders
{ "avatar_url": "https://avatars.githubusercontent.com/u/29671828?v=4", "events_url": "https://api.github.com/users/Detzi88/events{/privacy}", "followers_url": "https://api.github.com/users/Detzi88/followers", "following_url": "https://api.github.com/users/Detzi88/following{/other_user}", "gists_url": "https://api.github.com/users/Detzi88/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Detzi88", "id": 29671828, "login": "Detzi88", "node_id": "MDQ6VXNlcjI5NjcxODI4", "organizations_url": "https://api.github.com/users/Detzi88/orgs", "received_events_url": "https://api.github.com/users/Detzi88/received_events", "repos_url": "https://api.github.com/users/Detzi88/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Detzi88/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Detzi88/subscriptions", "type": "User", "url": "https://api.github.com/users/Detzi88" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "5319e7", "...
closed
false
null
[]
null
13
2019-04-12T05:21:22Z
2019-04-17T09:10:32Z
2019-04-17T09:08:50Z
NONE
null
I wrote a function which should remove duplicate lines from all .csv files in a certain path. When i run the skript on lokal ressources it works fine but when i enter a target in my nas the skript finds and states to process all files but does not drop any duplicate lines. Instead it messes up some lines and occasionally a reprocessing throws: "CRITICAL:root:'utf-8' codec can't decode byte 0xa0 in position 0: invalid start byte" which seems also to be caused by through the skript messed up data. I tried os.chdir(path) to make the execution path the target path - No change. I tried file as filename only and as full path - No change. if i read the file from the nas and save it locally, it works again. I am using Win7 x64 my function looks like this: ```python compress(path): codec='utf-8' file=path+name df = pd.read_csv(file, sep=';',lineterminator='\n', encoding=codec, index_col=0) df.drop_duplicates(subset=None, keep='first', inplace=True) df.to_csv(file, header=True, sep=';',line_terminator='\n', encoding=codec, mode='w') return 0 ``` ``` My Data look like: ;a;b;c;d;e 0;1;1;1;1;1 1;1;1;1;1;1 2;1;1;1;1;1 3;1;1;1;1;1 4;1;1;1;1;1 out comes: ;a;b;c;d;e 0;1;1;1;1;1 1;1;1;1;1;1 2;1;1;1;1;1 3;1;1;1;1;1 4;1;1;1;1;1 I would expect: ;a;b;c;d;e 0;1;1;1;1;1 ``` Which is also the result when the data are stored localy and not in the nas. Whats wrong here?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26057/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26057/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26058
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26058/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26058/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26058/events
https://github.com/pandas-dev/pandas/issues/26058
432,445,720
MDU6SXNzdWU0MzI0NDU3MjA=
26,058
DOC: test new sphinx 2 release
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "a2bca7", "default": false, "description": "Continuous Integratio...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
14
2019-04-12T08:23:12Z
2020-05-08T03:20:47Z
2020-05-08T03:20:46Z
MEMBER
null
The docs are currently being built with sphinx 1.8.5 (see eg https://travis-ci.org/pandas-dev/pandas/jobs/518832177 for a recent build on master). Sphinx has released 2.0.0 (http://www.sphinx-doc.org/en/master/changes.html#release-2-0-0-released-mar-29-2019), and it would be good to test our docs with this new release, and see if we need to make changes / report regressions to sphinx. For somebody wanting to tackle this: - test it locally to see if there are big problems with building the docs - make a PR that ensures sphinx 2 is installed in the doc environment, so we can check the build log on travis (I am actually not fully sure why it is not yet picking up sphinx 2 on travis, since we don't pin the version in the [travis-36-doc.yaml file](https://github.com/pandas-dev/pandas/blob/a07ed594ec6a5befc967fb1b18244bbeb3bc2bf1/ci/deps/travis-36-doc.yaml#L36)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26058/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26058/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26059
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26059/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26059/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26059/events
https://github.com/pandas-dev/pandas/pull/26059
432,449,597
MDExOlB1bGxSZXF1ZXN0MjY5OTE5MDM0
26,059
DOC: fix See Also constructs
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
2
2019-04-12T08:33:02Z
2019-04-12T14:36:59Z
2019-04-12T14:36:55Z
MEMBER
null
I am testing the numpydoc master version (almost to be released as 0.9, see https://github.com/numpy/numpydoc/issues/203), and it got a bit more strict on misformatted See Also sections. This PR fixes that.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26059/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26059/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26059.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26059", "merged_at": "2019-04-12T14:36:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26059.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26059" }
https://api.github.com/repos/pandas-dev/pandas/issues/26060
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26060/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26060/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26060/events
https://github.com/pandas-dev/pandas/pull/26060
432,455,696
MDExOlB1bGxSZXF1ZXN0MjY5OTIzNzI5
26,060
Update sql.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/8255800?v=4", "events_url": "https://api.github.com/users/521xueweihan/events{/privacy}", "followers_url": "https://api.github.com/users/521xueweihan/followers", "following_url": "https://api.github.com/users/521xueweihan/following{/other_user}", "gists_url": "https://api.github.com/users/521xueweihan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/521xueweihan", "id": 8255800, "login": "521xueweihan", "node_id": "MDQ6VXNlcjgyNTU4MDA=", "organizations_url": "https://api.github.com/users/521xueweihan/orgs", "received_events_url": "https://api.github.com/users/521xueweihan/received_events", "repos_url": "https://api.github.com/users/521xueweihan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/521xueweihan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/521xueweihan/subscriptions", "type": "User", "url": "https://api.github.com/users/521xueweihan" }
[ { "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
[]
null
4
2019-04-12T08:48:30Z
2019-04-26T18:30:38Z
2019-04-26T18:30:38Z
NONE
null
to_sql chunksize need commit very time. - [ ] closes #xxxx - [ ] tests added / passed - [ ] 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/26060/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26060/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26060.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26060", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/26060.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26060" }
https://api.github.com/repos/pandas-dev/pandas/issues/26061
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26061/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26061/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26061/events
https://github.com/pandas-dev/pandas/issues/26061
432,501,871
MDU6SXNzdWU0MzI1MDE4NzE=
26,061
dispatch_to_series is very slow
{ "avatar_url": "https://avatars.githubusercontent.com/u/22519984?v=4", "events_url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld/events{/privacy}", "followers_url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld/followers", "following_url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld/following{/other_user}", "gists_url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RunningToTheEdgeOfTheWorld", "id": 22519984, "login": "RunningToTheEdgeOfTheWorld", "node_id": "MDQ6VXNlcjIyNTE5OTg0", "organizations_url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld/orgs", "received_events_url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld/received_events", "repos_url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld/subscriptions", "type": "User", "url": "https://api.github.com/users/RunningToTheEdgeOfTheWorld" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "006b75", "default"...
closed
false
null
[]
null
3
2019-04-12T10:39:31Z
2019-08-09T13:55:44Z
2019-08-09T13:55:44Z
NONE
null
Since pandas 0.24.0 I found there is a function in ops.py named dispatch_to_series. But dispatch_to_series is very slow, that makes my code slower. when I use pandas==0.23.0, it cost about 100 seconds, but when I use pandas==0.24.* It cost 583 seconds. This is my profile result. ![factor_test_1555059433](https://user-images.githubusercontent.com/22519984/56031324-b6ac7380-5d51-11e9-853d-8dcdf7b16417.png) A and I found pandas become more slower because you call isinstance function too many times link to history merge : [[PERF] use numexpr in dispatch_to_series #22284](https://github.com/pandas-dev/pandas/pull/22284)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26061/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26061/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26062
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26062/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26062/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26062/events
https://github.com/pandas-dev/pandas/pull/26062
432,513,333
MDExOlB1bGxSZXF1ZXN0MjY5OTY5NjIy
26,062
CLN (PY2): Remove DataFrame/Series.timetuple
{ "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": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
8
2019-04-12T11:10:34Z
2019-04-15T12:14:33Z
2019-04-15T12:14:25Z
MEMBER
null
I was looking at the sphinx doc build warnings, and of them was complaining about the `DataFrame/Series.timetuple` attribute. This dummy `timetuple` attribute was added in https://github.com/pandas-dev/pandas/pull/24056, to fix comparison with `datetime.datetime`. Apart from the doc build problem (which can probably be fixed in another way as well), this also adds yet another (and for the rest useless / undocumented) attribute to our main classes. But from a quick test (at least on linux with python 3.7, with Series) this is not needed to make it work. So removing again to see what travis/azure say. @jbrockmendel do you remember the context of adding this?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26062/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26062/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26062.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26062", "merged_at": "2019-04-15T12:14:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26062.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26062" }
https://api.github.com/repos/pandas-dev/pandas/issues/26063
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26063/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26063/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26063/events
https://github.com/pandas-dev/pandas/pull/26063
432,567,443
MDExOlB1bGxSZXF1ZXN0MjcwMDEyNzEy
26,063
BUG: prevent overflowing diffs raising error in cut (#26045)
{ "avatar_url": "https://avatars.githubusercontent.com/u/11004857?v=4", "events_url": "https://api.github.com/users/Batalex/events{/privacy}", "followers_url": "https://api.github.com/users/Batalex/followers", "following_url": "https://api.github.com/users/Batalex/following{/other_user}", "gists_url": "https://api.github.com/users/Batalex/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Batalex", "id": 11004857, "login": "Batalex", "node_id": "MDQ6VXNlcjExMDA0ODU3", "organizations_url": "https://api.github.com/users/Batalex/orgs", "received_events_url": "https://api.github.com/users/Batalex/received_events", "repos_url": "https://api.github.com/users/Batalex/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Batalex/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Batalex/subscriptions", "type": "User", "url": "https://api.github.com/users/Batalex" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stac...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
5
2019-04-12T13:30:10Z
2019-04-19T01:04:06Z
2019-04-19T01:03:55Z
CONTRIBUTOR
null
- [X] closes #26045 - [X] tests added / passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I added a relevant test with the example reported in the issue in `\tests\reshape\test_cut.py`. I also tested with `grep -rn pandas -e 'np.diff(bins'` if we could have a similar situation elsewhere but it does not seem so. ~I will merge upstream & add changelog entry.~ Edit: whatsnew entry added & no need to merge master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26063/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26063/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26063.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26063", "merged_at": "2019-04-19T01:03:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26063.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26063" }
https://api.github.com/repos/pandas-dev/pandas/issues/26064
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26064/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26064/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26064/events
https://github.com/pandas-dev/pandas/issues/26064
432,621,301
MDU6SXNzdWU0MzI2MjEzMDE=
26,064
Non-unique integer index performance depending on index creation method
{ "avatar_url": "https://avatars.githubusercontent.com/u/49562501?v=4", "events_url": "https://api.github.com/users/quantuminternet/events{/privacy}", "followers_url": "https://api.github.com/users/quantuminternet/followers", "following_url": "https://api.github.com/users/quantuminternet/following{/other_user}", "gists_url": "https://api.github.com/users/quantuminternet/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/quantuminternet", "id": 49562501, "login": "quantuminternet", "node_id": "MDQ6VXNlcjQ5NTYyNTAx", "organizations_url": "https://api.github.com/users/quantuminternet/orgs", "received_events_url": "https://api.github.com/users/quantuminternet/received_events", "repos_url": "https://api.github.com/users/quantuminternet/repos", "site_admin": false, "starred_url": "https://api.github.com/users/quantuminternet/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/quantuminternet/subscriptions", "type": "User", "url": "https://api.github.com/users/quantuminternet" }
[ { "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": "ae68cc", "default": false, "de...
open
false
null
[]
null
2
2019-04-12T15:24:56Z
2021-07-08T07:31:23Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas pandas.__version__ # '0.24.2' df = pandas.DataFrame([[x // 2] for x in range(0, 10**7)], columns=['A']) df['B'] = df['A'] + 10**15 df = df.set_index('B').sort_index() # First access to index might be slow, so get that out of the way df.loc[1000000000000000] %timeit df.loc[1000000000000000] # 71.2 ms ± 1.29 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) index_name = df.index.name df.index = df.index.values.tolist() df.index.name = index_name %timeit df.loc[1000000000000000] # 422 µs ± 17 µs per loop (mean ± std. dev. of 7 runs, 1 loop each) ``` #### Problem description The issue seems to occur when using a non-unique, but sorted column as an index which is the result of a previous calculation. Access to rows with .loc is much slower than it could be. When all index values are copied into a python list and then reinerted into the index, performance increases by a large factor, although the DataFrames before and after look exactly the same. For the first try, the performance depends on the size of the DataFrame as well as the size of the offset. For the second try (after copying the values to a list and back) the operation seems to take constant time. I assume that these use different indexing methods. I have found no way to determine in advance whether the index will be affected by this and how it will perform. For a code that has to do many random access lookups in this DataFrame, the performance difference of more than 100 determines whether the code can run in reasonable time or not. The workaround is easy enough, but to me it is bad practice to premptively do this all the time, because you don't want to determine the exact history of operations that have been done on the index. There are different ways to 'rebuild' the index for this DataFrame, but as far as I can tell, all of them involve getting the index values into a non-pandas/numpy structure and back again. .reset_index().set_index('B') or .copy(deep=True) have no effect. #### Expected Output Ideally, pandas would chose the correct indexing method on set_index() or sort_index() and automatically arrange the data in for optimized access. If this is not possible for technical reasons or would create slowdowns for other use cases, I would like to have a method to check which index method will be used and a method to optimize the data for indexing. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.4.final.0 python-bits: 64 OS: Linux OS-release: 4.4.0-142-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: de_DE.UTF-8 LOCALE: de_DE.UTF-8 pandas: 0.24.2 pytest: 3.4.2 pip: 19.0.3 setuptools: 38.5.2 Cython: 0.27.3 numpy: 1.16.2 scipy: 1.0.0 pyarrow: 0.8.0 xarray: 0.10.1 IPython: 6.2.1 sphinx: 1.7.1 patsy: 0.5.0 dateutil: 2.7.3 pytz: 2018.4 blosc: None bottleneck: 1.2.1 tables: 3.5.1 numexpr: 2.6.4 feather: None matplotlib: 2.2.0 openpyxl: 2.5.0 xlrd: 1.1.0 xlwt: 1.3.0 xlsxwriter: 1.0.2 lxml.etree: 3.8.0 bs4: None html5lib: 1.0.1 sqlalchemy: 1.2.6 pymysql: 0.8.0 psycopg2: None jinja2: 2.8.1 s3fs: 0.1.3 fastparquet: 0.1.4 pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26064/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26064/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26065
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26065/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26065/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26065/events
https://github.com/pandas-dev/pandas/issues/26065
432,665,906
MDU6SXNzdWU0MzI2NjU5MDY=
26,065
Fix Type Annotations in pandas.core.arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/1430066?v=4", "events_url": "https://api.github.com/users/gwrome/events{/privacy}", "followers_url": "https://api.github.com/users/gwrome/followers", "following_url": "https://api.github.com/users/gwrome/following{/other_user}", "gists_url": "https://api.github.com/users/gwrome/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gwrome", "id": 1430066, "login": "gwrome", "node_id": "MDQ6VXNlcjE0MzAwNjY=", "organizations_url": "https://api.github.com/users/gwrome/orgs", "received_events_url": "https://api.github.com/users/gwrome/received_events", "repos_url": "https://api.github.com/users/gwrome/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gwrome/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gwrome/subscriptions", "type": "User", "url": "https://api.github.com/users/gwrome" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
0
2019-04-12T17:19:28Z
2019-04-30T13:05:48Z
2019-04-30T13:05:48Z
CONTRIBUTOR
null
Part of #25882 # Errors in pandas.core.arrays Type annotations for the following files need to be added or corrected to remove those files from the mypy blacklist: - pandas.core.arrays.array_.py - pandas.core.arrays.datetimelike.py - pandas.core.arrays.integer.py - pandas.core.arrays.interval.py - pandas.core.arrays.period.py - pandas.core.arrays.timedeltas.py I have started working on these and will make PR soon. Detailed errors are below. <details> ## array_.py ``` pandas/core/arrays/array_.py:232: error: Item "str" of "Union[str, Any, ExtensionDtype, None]" has no attribute "construct_array_type" pandas/core/arrays/array_.py:232: error: Item "None" of "Union[str, Any, ExtensionDtype, None]" has no attribute "construct_array_type" ``` ## datetimelike.py ``` pandas/core/arrays/datetimelike.py:367: error: "DatetimeLikeArrayMixin" has no attribute "_data" pandas/core/arrays/datetimelike.py:482: error: Argument 1 to "len" has incompatible type "Union[int, Sequence[int], Sequence[bool], slice]"; expected "Sized" pandas/core/arrays/datetimelike.py:486: error: Argument 1 to "len" has incompatible type "Union[int, Sequence[int], Sequence[bool], slice]"; expected "Sized" pandas/core/arrays/datetimelike.py:487: error: Argument 1 to "len" has incompatible type "Union[int, Sequence[int], Sequence[bool], slice]"; expected "Sized" pandas/core/arrays/datetimelike.py:503: error: Item "Tuple[Type[Any], ...]" of "Union[Type[Any], Tuple[Type[Any]]]" has no attribute "__name__" pandas/core/arrays/datetimelike.py:505: error: "DatetimeLikeArrayMixin" has no attribute "_data" ``` ## integer.py ``` pandas/core/arrays/integer.py:34: error: Incompatible types in assignment (expression has type "None", base class "ExtensionDtype" defined the type as "str") pandas/core/arrays/integer.py:36: error: Incompatible types in assignment (expression has type "None", base class "ExtensionDtype" defined the type as "Type[Any]") ``` ## interval.py ``` pandas/core/arrays/interval.py:946: error: Decorated property not supported ``` ## period.py ``` pandas/core/arrays/period.py:139: error: Need type annotation for '_other_ops' pandas/core/arrays/period.py:193: error: "PeriodDtype" has no attribute "freq" pandas/core/arrays/period.py:280: error: Read-only property cannot override read-write property pandas/core/arrays/period.py:550: error: Unsupported operand type for unary - ("Union[ExtensionArray, Any, Any]") pandas/core/arrays/period.py:787: error: Incompatible types in assignment (expression has type "None", variable has type "PeriodDtype") ``` ## timedeltas.py ``` pandas/core/arrays/timedeltas.py:134: error: Need type annotation for '_other_ops' pandas/core/arrays/timedeltas.py:135: error: Need type annotation for '_bool_ops' ``` </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/26065/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26065/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26066
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26066/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26066/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26066/events
https://github.com/pandas-dev/pandas/pull/26066
432,692,628
MDExOlB1bGxSZXF1ZXN0MjcwMTExNTM1
26,066
Add project_urls to setup
{ "avatar_url": "https://avatars.githubusercontent.com/u/123428?v=4", "events_url": "https://api.github.com/users/jarrodmillman/events{/privacy}", "followers_url": "https://api.github.com/users/jarrodmillman/followers", "following_url": "https://api.github.com/users/jarrodmillman/following{/other_user}", "gists_url": "https://api.github.com/users/jarrodmillman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jarrodmillman", "id": 123428, "login": "jarrodmillman", "node_id": "MDQ6VXNlcjEyMzQyOA==", "organizations_url": "https://api.github.com/users/jarrodmillman/orgs", "received_events_url": "https://api.github.com/users/jarrodmillman/received_events", "repos_url": "https://api.github.com/users/jarrodmillman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jarrodmillman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jarrodmillman/subscriptions", "type": "User", "url": "https://api.github.com/users/jarrodmillman" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-12T18:33:16Z
2019-04-12T21:58:15Z
2019-04-12T21:58:10Z
CONTRIBUTOR
null
These are used by PyPI and other services. - [ ] closes #xxxx - [ ] tests added / passed - [ ] 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/26066/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26066/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26066.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26066", "merged_at": "2019-04-12T21:58:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26066.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26066" }
https://api.github.com/repos/pandas-dev/pandas/issues/26067
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26067/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26067/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26067/events
https://github.com/pandas-dev/pandas/pull/26067
432,696,787
MDExOlB1bGxSZXF1ZXN0MjcwMTE0ODg0
26,067
DOC: better document Dtypes docstrings + avoid sphinx warnings
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy d...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
8
2019-04-12T18:44:44Z
2019-04-22T07:41:41Z
2019-04-20T16:50:39Z
MEMBER
null
- Use ``class_without_autosummary`` template for the dtypes (similar to what `CategoricalDtype` already did) to avoid a bunch of sphinx warnings - Therefore, explicitly list some attributes in the docstrings (for now, I went with only documenting the dtype-specific "metadata") - And while at it, I also gave the docstrings an update (documenting the parameters, etc) - And for doing the above, turned some metadata attributes of the dtypes into properties, so they 1) can be documented (have a docstring) b) cannot be set by the user (xref https://github.com/pandas-dev/pandas/issues/26096)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26067/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26067/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26067.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26067", "merged_at": "2019-04-20T16:50:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26067.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26067" }
https://api.github.com/repos/pandas-dev/pandas/issues/26068
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26068/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26068/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26068/events
https://github.com/pandas-dev/pandas/issues/26068
432,704,189
MDU6SXNzdWU0MzI3MDQxODk=
26,068
read_json: ValueError: Value is too big
{ "avatar_url": "https://avatars.githubusercontent.com/u/1126676?v=4", "events_url": "https://api.github.com/users/jmh045000/events{/privacy}", "followers_url": "https://api.github.com/users/jmh045000/followers", "following_url": "https://api.github.com/users/jmh045000/following{/other_user}", "gists_url": "https://api.github.com/users/jmh045000/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jmh045000", "id": 1126676, "login": "jmh045000", "node_id": "MDQ6VXNlcjExMjY2NzY=", "organizations_url": "https://api.github.com/users/jmh045000/orgs", "received_events_url": "https://api.github.com/users/jmh045000/received_events", "repos_url": "https://api.github.com/users/jmh045000/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jmh045000/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jmh045000/subscriptions", "type": "User", "url": "https://api.github.com/users/jmh045000" }
[ { "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
[]
null
5
2019-04-12T19:05:33Z
2021-11-19T16:31:03Z
2020-05-08T21:00:08Z
NONE
null
Reopening issue #14530. The close description is incorrect. The JSON specification explicitly states that limits are not in the specification. From https://tools.ietf.org/html/rfc7159#section-6 > This specification allows implementations to set limits on the range and precision of numbers accepted The standard `json` library in python supports large numbers, meaning the language supports JSON with these values. ``` Python 3.6.8 (default, Apr 7 2019, 21:09:51) [GCC 5.3.1 20160406 (Red Hat 5.3.1-6)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> j = """{"id": 9253674967913938907}""" >>> json.loads(j) {'id': 9253674967913938907} ``` > Loading a json file with large integers (> 2^32), results in "Value is too big". I have tried changing the orient to "records" and also passing in dtype={'id': numpy.dtype('uint64')}. The error is the same. > > ```python > import pandas > data = pandas.read_json('''{"id": 10254939386542155531}''') > print(data.describe()) > ``` > > #### Expected Output > ``` > id > count 1 > unique 1 > top 10254939386542155531 > freq 1 > ``` > #### Actual Output (even with dtype passed in) > ``` > File "./parse_dispatch_table.py", line 34, in <module> > print(pandas.read_json('''{"id": 10254939386542155531}''', dtype=dtype_conversions).describe()) > File "/users/XXX/.local/lib/python3.4/site-packages/pandas/io/json.py", line 234, in read_json > date_unit).parse() > File "/users/XXX/.local/lib/python3.4/site-packages/pandas/io/json.py", line 302, in parse > self._parse_no_numpy() > File "/users/XXX/.local/lib/python3.4/site-packages/pandas/io/json.py", line 519, in _parse_no_numpy > loads(json, precise_float=self.precise_float), dtype=None) > ValueError: Value is too big > ``` > No problem using read_csv: > > ```python > import pandas > import io > print(pandas.read_csv(io.StringIO('''id\n10254939386542155531''')).describe()) > ``` > > #### Output using read_csv > ``` > id > count 1 > unique 1 > top 10254939386542155531 > freq 1 > ``` > #### Output of `pd.show_versions()`
{ "+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/26068/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26068/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26069
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26069/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26069/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26069/events
https://github.com/pandas-dev/pandas/issues/26069
432,746,576
MDU6SXNzdWU0MzI3NDY1NzY=
26,069
CI: test_drop_duplicates_categorical_non_bool is flaky
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "5319e7", "default": false, "description": ...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2019-04-12T21:09:01Z
2019-10-09T05:43:07Z
2019-10-09T05:43:07Z
MEMBER
null
I've noticed recently that the xfailed part of the following test is occasionally xpassing, which is causing the test suite to fail due to being strict with xpass: https://github.com/pandas-dev/pandas/blob/90a85e0b154833577a4023f643d8aace0c0ae7f5/pandas/tests/series/test_analytics.py#L1405-L1412 The quick fix is to update the `xfail` with `strict=False` but additional investigation into why this is occasionally passing would also be appreciated. Examples of the xpass: - Select Attempt # 1 here: https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=10441&view=logs - https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=10459&view=logs&jobId=521b7dfd-2989-5ff8-bc8c-7481906480fa&taskId=07b8d9d4-6363-5e2d-bc2b-146a30521256&lineStart=64&lineEnd=70&colStart=1&colEnd=24
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26069/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26069/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26070
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26070/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26070/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26070/events
https://github.com/pandas-dev/pandas/issues/26070
432,752,724
MDU6SXNzdWU0MzI3NTI3MjQ=
26,070
Pandas style.bar(align='mid') does not make sense.
{ "avatar_url": "https://avatars.githubusercontent.com/u/3391614?v=4", "events_url": "https://api.github.com/users/sorenwacker/events{/privacy}", "followers_url": "https://api.github.com/users/sorenwacker/followers", "following_url": "https://api.github.com/users/sorenwacker/following{/other_user}", "gists_url": "https://api.github.com/users/sorenwacker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sorenwacker", "id": 3391614, "login": "sorenwacker", "node_id": "MDQ6VXNlcjMzOTE2MTQ=", "organizations_url": "https://api.github.com/users/sorenwacker/orgs", "received_events_url": "https://api.github.com/users/sorenwacker/received_events", "repos_url": "https://api.github.com/users/sorenwacker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sorenwacker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sorenwacker/subscriptions", "type": "User", "url": "https://api.github.com/users/sorenwacker" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "006b75", "default": false, "description": "conditional formattin...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
0
2019-04-12T21:29:35Z
2021-07-09T13:15:05Z
2021-07-09T13:15:05Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd import numpy as np N = 10 df = pd.DataFrame(np.random.normal(size=(10, N))+np.arange(N)*100, columns=range(N)) df.style.bar(align="mid", color=['pink', 'lightgreen'], axis=0) ``` #### Problem description With align='mid' I would expect the middle to be the mean. Essentially, as a tool to visualize the variance. The dataframe above contains 10 columns with random numbers. To the n's column n*100 is added. So, column-wise, I would expect pretty similar output cause the mid should be the mean of each column. But because for columns that contain only positive or (only negative) values, the alignment is done differently. The way it is done right now you cannot see anything for e.g. column 8. An alignment method where the mean is always used would be nice.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26070/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26070/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26071
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26071/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26071/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26071/events
https://github.com/pandas-dev/pandas/pull/26071
432,773,102
MDExOlB1bGxSZXF1ZXN0MjcwMTc2MjY4
26,071
#26065 Fix Type Annotations in pandas.core.arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/1430066?v=4", "events_url": "https://api.github.com/users/gwrome/events{/privacy}", "followers_url": "https://api.github.com/users/gwrome/followers", "following_url": "https://api.github.com/users/gwrome/following{/other_user}", "gists_url": "https://api.github.com/users/gwrome/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gwrome", "id": 1430066, "login": "gwrome", "node_id": "MDQ6VXNlcjE0MzAwNjY=", "organizations_url": "https://api.github.com/users/gwrome/orgs", "received_events_url": "https://api.github.com/users/gwrome/received_events", "repos_url": "https://api.github.com/users/gwrome/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gwrome/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gwrome/subscriptions", "type": "User", "url": "https://api.github.com/users/gwrome" }
[ { "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-12T22:53:35Z
2019-04-30T19:32:00Z
2019-04-30T13:05:48Z
CONTRIBUTOR
null
- [X] closes #26065 - [X] tests passed - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26071/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26071/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26071.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26071", "merged_at": "2019-04-30T13:05:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26071.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26071" }
https://api.github.com/repos/pandas-dev/pandas/issues/26072
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26072/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26072/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26072/events
https://github.com/pandas-dev/pandas/issues/26072
432,796,046
MDU6SXNzdWU0MzI3OTYwNDY=
26,072
Creating DataFrame from dict with columns orientation does not preserve order of index
{ "avatar_url": "https://avatars.githubusercontent.com/u/2050208?v=4", "events_url": "https://api.github.com/users/bchu/events{/privacy}", "followers_url": "https://api.github.com/users/bchu/followers", "following_url": "https://api.github.com/users/bchu/following{/other_user}", "gists_url": "https://api.github.com/users/bchu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bchu", "id": 2050208, "login": "bchu", "node_id": "MDQ6VXNlcjIwNTAyMDg=", "organizations_url": "https://api.github.com/users/bchu/orgs", "received_events_url": "https://api.github.com/users/bchu/received_events", "repos_url": "https://api.github.com/users/bchu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bchu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bchu/subscriptions", "type": "User", "url": "https://api.github.com/users/bchu" }
[ { "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", "de...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2019-04-13T02:00:05Z
2019-04-13T02:17:28Z
2019-04-13T02:17:15Z
NONE
null
``` import pandas as pd d = {'column': {'one': 1, 'two': 2, 'three': 3}} pd.DataFrame(d) # Or pd.DataFrame.from_dict(d, orient='columns') ``` results in: ``` column one 1 three 3 two 2 ``` instead of what we expect: ``` column one 1 two 2 three 3 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.6.5.final.0 python-bits: 64 OS: Darwin OS-release: 18.2.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: 4.4.0 pip: 19.0.3 setuptools: 39.0.1 Cython: 0.28.3 numpy: 1.15.4 scipy: 1.2.1 pyarrow: 0.13.0 xarray: 0.10.0 IPython: 7.4.0 sphinx: None patsy: 0.4.1 dateutil: 2.7.2 pytz: 2018.5 blosc: None bottleneck: 1.2.1 tables: 3.4.2 numexpr: 2.6.9 feather: None matplotlib: 2.1.0 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: 4.2.0 bs4: None html5lib: 0.9999999 sqlalchemy: 1.1.10 pymysql: None psycopg2: 2.7.1 (dt dec pq3 ext lo64) jinja2: 2.10 s3fs: None fastparquet: 0.3.0 pandas_gbq: None pandas_datareader: None gcsfs: 0.2.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26072/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26072/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26073
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26073/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26073/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26073/events
https://github.com/pandas-dev/pandas/issues/26073
432,810,115
MDU6SXNzdWU0MzI4MTAxMTU=
26,073
Reading pdf tables directly using Pandas
{ "avatar_url": "https://avatars.githubusercontent.com/u/22274436?v=4", "events_url": "https://api.github.com/users/hishamsajid/events{/privacy}", "followers_url": "https://api.github.com/users/hishamsajid/followers", "following_url": "https://api.github.com/users/hishamsajid/following{/other_user}", "gists_url": "https://api.github.com/users/hishamsajid/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hishamsajid", "id": 22274436, "login": "hishamsajid", "node_id": "MDQ6VXNlcjIyMjc0NDM2", "organizations_url": "https://api.github.com/users/hishamsajid/orgs", "received_events_url": "https://api.github.com/users/hishamsajid/received_events", "repos_url": "https://api.github.com/users/hishamsajid/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hishamsajid/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hishamsajid/subscriptions", "type": "User", "url": "https://api.github.com/users/hishamsajid" }
[]
closed
false
null
[]
null
2
2019-04-13T05:31:47Z
2019-04-15T06:15:40Z
2019-04-13T08:47:44Z
NONE
null
Would be pretty neat if you could read tables directly from pdf into a pandas 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/26073/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26073/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26074
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26074/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26074/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26074/events
https://github.com/pandas-dev/pandas/issues/26074
432,837,188
MDU6SXNzdWU0MzI4MzcxODg=
26,074
pandas._libs.parsers.TextReader('中文文件名-chinese-in-filename.csv') OSError: Initializing from file failed
{ "avatar_url": "https://avatars.githubusercontent.com/u/8005654?v=4", "events_url": "https://api.github.com/users/QGB/events{/privacy}", "followers_url": "https://api.github.com/users/QGB/followers", "following_url": "https://api.github.com/users/QGB/following{/other_user}", "gists_url": "https://api.github.com/users/QGB/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/QGB", "id": 8005654, "login": "QGB", "node_id": "MDQ6VXNlcjgwMDU2NTQ=", "organizations_url": "https://api.github.com/users/QGB/orgs", "received_events_url": "https://api.github.com/users/QGB/received_events", "repos_url": "https://api.github.com/users/QGB/repos", "site_admin": false, "starred_url": "https://api.github.com/users/QGB/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/QGB/subscriptions", "type": "User", "url": "https://api.github.com/users/QGB" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0e8a16", "d...
closed
false
null
[]
null
6
2019-04-13T11:24:28Z
2019-09-19T05:17:22Z
2019-09-19T05:17:22Z
NONE
null
kwargs={'delimiter': ',', 'doublequote': True, 'escapechar': None, 'quotechar': '"', 'quoting': 0, 'skipinitialspace': False, 'lineterminator': None, 'header': 0, 'index_col': None, 'names': None, 'skiprows': None, 'na_values': {'nan', '', 'NaN', 'N/A', '-NaN', 'null', '#N/A N/A', 'n/a', '-nan', '-1.#QNAN', 'NA', '1.#IND', '-1.#IND', '1.#QNAN', 'NULL', '#NA', '#N/A'}, 'true_values': None, 'false_values': None, 'converters': {}, 'dtype': None, 'keep_default_na': True, 'thousands': None, 'comment': None, 'decimal': b'.', 'usecols': None, 'verbose': False, 'encoding': 'gb2312', 'compression': None, 'mangle_dupe_cols': True, 'tupleize_cols': False, 'skip_blank_lines': True, 'delim_whitespace': False, 'na_filter': True, 'low_memory': True, 'memory_map': False, 'error_bad_lines': True, 'warn_bad_lines': True, 'float_precision': None, 'na_fvalues': set(), 'allow_leading_cols': True} parsers.TextReader('中文文件名-chinese-in-filename.csv',**kwargs) Traceback (most recent call last) <ipython-input-6-8864dc3e024e> in <module>() ----> 1 parsers.TextReader(f,**_2) pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader.__cinit__() pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._setup_parser_source() OSError: Initializing from file failed
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26074/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26074/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26075
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26075/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26075/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26075/events
https://github.com/pandas-dev/pandas/issues/26075
432,843,550
MDU6SXNzdWU0MzI4NDM1NTA=
26,075
DOC: clipboard library missing in doc env on travis
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "a2bca7", "default": false, "description": "Continuous Integratio...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
5
2019-04-13T12:46:16Z
2019-05-16T13:11:18Z
2019-05-16T13:11:18Z
MEMBER
null
The doc builds sees the following failure: ``` PyperclipException: Pyperclip could not find a copy/paste mechanism for your system. For more information, please visit https://pyperclip.readthedocs.org ``` which is happening since the refactor of the CI envs in https://github.com/pandas-dev/pandas/pull/24632. In unifying things we might have by accident removed some clipboard related things for the doc build. cc @saurav2608 if you want to take a look at this, always welcome
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26075/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26075/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26076
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26076/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26076/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26076/events
https://github.com/pandas-dev/pandas/pull/26076
432,848,203
MDExOlB1bGxSZXF1ZXN0MjcwMjI3MDkx
26,076
DOC: fix errors/warnings in running code blocks
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-13T13:33:53Z
2019-04-16T07:26:05Z
2019-04-16T07:26:01Z
MEMBER
null
Cleaning up errors / warnings in the doc build, related to the ipython code blocks: - put a section about hdf5 and Panel in verbatim code blocks + added some `:okwarning:` for Panel (will need to be properly cleaned up when Panel is removed) - fixed cases that raised deprecation warning for `TimedeltaIndex.fillna()` with integers - reworded case that raised deprecation warning about passing integers + timezone to DatetimeIndex - `pd.core.config` doesn't exist anymore -> removed that call + made the actual example verbatim
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26076/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26076/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26076.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26076", "merged_at": "2019-04-16T07:26:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26076.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26076" }
https://api.github.com/repos/pandas-dev/pandas/issues/26077
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26077/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26077/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26077/events
https://github.com/pandas-dev/pandas/issues/26077
432,866,524
MDU6SXNzdWU0MzI4NjY1MjQ=
26,077
TST: consolidate set_op tests across indexes
{ "avatar_url": "https://avatars.githubusercontent.com/u/11539266?v=4", "events_url": "https://api.github.com/users/fdroessler/events{/privacy}", "followers_url": "https://api.github.com/users/fdroessler/followers", "following_url": "https://api.github.com/users/fdroessler/following{/other_user}", "gists_url": "https://api.github.com/users/fdroessler/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fdroessler", "id": 11539266, "login": "fdroessler", "node_id": "MDQ6VXNlcjExNTM5MjY2", "organizations_url": "https://api.github.com/users/fdroessler/orgs", "received_events_url": "https://api.github.com/users/fdroessler/received_events", "repos_url": "https://api.github.com/users/fdroessler/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fdroessler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fdroessler/subscriptions", "type": "User", "url": "https://api.github.com/users/fdroessler" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2019-04-13T16:22:15Z
2020-09-23T17:14:58Z
2020-09-23T17:14:57Z
CONTRIBUTOR
null
#### Problem description Following up from a discussion in: https://github.com/pandas-dev/pandas/pull/25913#discussion_r272157952 Currently `set_ops` are not tested across all indexes and should probably be consolidated in a new file maybe `pandas/tests/indexes/test_setops.py` pulling tests from subdirectories and relevant tests from `pandas/tests/indexes/test_base.py` and potentially other files together. @jreback Would be good to get your input as well. I know that @reidy-p wanted to have a look at reorganising tests as well. I'll start looking into this and adding to this issue with an idea of how to proceed but input would be welcome.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26077/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26077/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26078
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26078/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26078/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26078/events
https://github.com/pandas-dev/pandas/pull/26078
432,881,842
MDExOlB1bGxSZXF1ZXN0MjcwMjQ0OTIx
26,078
BUG: pd.to_datetime() throws if caching is on with Null-like arguments
{ "avatar_url": "https://avatars.githubusercontent.com/u/45976948?v=4", "events_url": "https://api.github.com/users/anmyachev/events{/privacy}", "followers_url": "https://api.github.com/users/anmyachev/followers", "following_url": "https://api.github.com/users/anmyachev/following{/other_user}", "gists_url": "https://api.github.com/users/anmyachev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/anmyachev", "id": 45976948, "login": "anmyachev", "node_id": "MDQ6VXNlcjQ1OTc2OTQ4", "organizations_url": "https://api.github.com/users/anmyachev/orgs", "received_events_url": "https://api.github.com/users/anmyachev/received_events", "repos_url": "https://api.github.com/users/anmyachev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/anmyachev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anmyachev/subscriptions", "type": "User", "url": "https://api.github.com/users/anmyachev" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, ...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
5
2019-04-13T18:18:49Z
2021-08-19T11:56:48Z
2019-04-17T12:48:32Z
CONTRIBUTOR
null
- [x] closes #22305 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry The problem was in contradictory behavior between `pd.Index([pd.NaT, None]).is_unique` that returns `False` and `algorithms.unique([pd.NaT, None])` that returns `array([NaT, None], dtype=object)` equivalent to the object being unique. We are only using `Index(arg).unique()` now. The test written by @realead was added to verify changes.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26078/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26078/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26078.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26078", "merged_at": "2019-04-17T12:48:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26078.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26078" }
https://api.github.com/repos/pandas-dev/pandas/issues/26079
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26079/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26079/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26079/events
https://github.com/pandas-dev/pandas/pull/26079
432,900,325
MDExOlB1bGxSZXF1ZXN0MjcwMjU0MjY4
26,079
CLN: remove compat.iteritems
{ "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": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-13T21:07:10Z
2019-04-15T22:22:53Z
2019-04-15T04:05:36Z
CONTRIBUTOR
null
- [x] xref #25725 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Removes ``compat.iteritems``.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26079/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26079/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26079.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26079", "merged_at": "2019-04-15T04:05:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26079.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26079" }
https://api.github.com/repos/pandas-dev/pandas/issues/26080
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26080/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26080/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26080/events
https://github.com/pandas-dev/pandas/pull/26080
432,931,118
MDExOlB1bGxSZXF1ZXN0MjcwMjcwOTQ0
26,080
ERR: better error message on too large excel sheet
{ "avatar_url": "https://avatars.githubusercontent.com/u/7705027?v=4", "events_url": "https://api.github.com/users/anordin95/events{/privacy}", "followers_url": "https://api.github.com/users/anordin95/followers", "following_url": "https://api.github.com/users/anordin95/following{/other_user}", "gists_url": "https://api.github.com/users/anordin95/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/anordin95", "id": 7705027, "login": "anordin95", "node_id": "MDQ6VXNlcjc3MDUwMjc=", "organizations_url": "https://api.github.com/users/anordin95/orgs", "received_events_url": "https://api.github.com/users/anordin95/received_events", "repos_url": "https://api.github.com/users/anordin95/repos", "site_admin": false, "starred_url": "https://api.github.com/users/anordin95/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anordin95/subscriptions", "type": "User", "url": "https://api.github.com/users/anordin95" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "bfe5...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
17
2019-04-14T04:21:39Z
2019-06-01T14:04:21Z
2019-06-01T14:04:15Z
CONTRIBUTOR
null
- [ ] closes #26051 - [ ] tests added / passed - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26080/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26080/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26080.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26080", "merged_at": "2019-06-01T14:04:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26080.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26080" }
https://api.github.com/repos/pandas-dev/pandas/issues/26081
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26081/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26081/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26081/events
https://github.com/pandas-dev/pandas/pull/26081
432,951,943
MDExOlB1bGxSZXF1ZXN0MjcwMjgzOTIz
26,081
CLN: remove compat.iterkeys
{ "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": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
7
2019-04-14T09:33:37Z
2019-04-15T22:22:41Z
2019-04-15T12:13:34Z
CONTRIBUTOR
null
- [x] xref #25725 Removes ``compat.iterkeys``.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26081/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26081/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26081.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26081", "merged_at": "2019-04-15T12:13:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26081.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26081" }
https://api.github.com/repos/pandas-dev/pandas/issues/26082
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26082/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26082/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26082/events
https://github.com/pandas-dev/pandas/pull/26082
432,953,203
MDExOlB1bGxSZXF1ZXN0MjcwMjg0Nzc0
26,082
CLN: collect ordered fixtures in pandas.conftest
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "d...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-14T09:49:58Z
2019-05-08T04:47:02Z
2019-04-16T11:47:54Z
CONTRIBUTOR
null
Currently, ``Categorical .ordered``, ``CategoricaDtype.ordered`` and similar is tested using different fixtures + parametrization in some places. This PR collects the ordered fixtures/parametrizations and places a common ``ordered`` fixture in pandas.conftest.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26082/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26082/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26082.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26082", "merged_at": "2019-04-16T11:47:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26082.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26082" }
https://api.github.com/repos/pandas-dev/pandas/issues/26083
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26083/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26083/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26083/events
https://github.com/pandas-dev/pandas/pull/26083
432,958,349
MDExOlB1bGxSZXF1ZXN0MjcwMjg3Njk4
26,083
BUG: positional getitem indexing with list on Series with duplicate integer index fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/42478131?v=4", "events_url": "https://api.github.com/users/tranctan/events{/privacy}", "followers_url": "https://api.github.com/users/tranctan/followers", "following_url": "https://api.github.com/users/tranctan/following{/other_user}", "gists_url": "https://api.github.com/users/tranctan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tranctan", "id": 42478131, "login": "tranctan", "node_id": "MDQ6VXNlcjQyNDc4MTMx", "organizations_url": "https://api.github.com/users/tranctan/orgs", "received_events_url": "https://api.github.com/users/tranctan/received_events", "repos_url": "https://api.github.com/users/tranctan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tranctan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tranctan/subscriptions", "type": "User", "url": "https://api.github.com/users/tranctan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0b02e1", "d...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-14T10:46:53Z
2019-12-06T15:06:35Z
2019-04-16T11:59:05Z
CONTRIBUTOR
null
Create test case for issue GH17347 - [x] closes #17347 - [x] tests added / passed
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26083/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26083/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26083.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26083", "merged_at": "2019-04-16T11:59:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26083.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26083" }
https://api.github.com/repos/pandas-dev/pandas/issues/26084
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26084/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26084/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26084/events
https://github.com/pandas-dev/pandas/pull/26084
433,003,519
MDExOlB1bGxSZXF1ZXN0MjcwMzEwOTk0
26,084
DOC: Add test for encoding of docstring validation for Windows
{ "avatar_url": "https://avatars.githubusercontent.com/u/14759379?v=4", "events_url": "https://api.github.com/users/kpapdac/events{/privacy}", "followers_url": "https://api.github.com/users/kpapdac/followers", "following_url": "https://api.github.com/users/kpapdac/following{/other_user}", "gists_url": "https://api.github.com/users/kpapdac/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kpapdac", "id": 14759379, "login": "kpapdac", "node_id": "MDQ6VXNlcjE0NzU5Mzc5", "organizations_url": "https://api.github.com/users/kpapdac/orgs", "received_events_url": "https://api.github.com/users/kpapdac/received_events", "repos_url": "https://api.github.com/users/kpapdac/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kpapdac/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kpapdac/subscriptions", "type": "User", "url": "https://api.github.com/users/kpapdac" }
[]
closed
false
null
[]
null
1
2019-04-14T16:57:26Z
2019-04-14T16:59:26Z
2019-04-14T16:59:26Z
CONTRIBUTOR
null
Add a test for PR #25466
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26084/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26084/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26084.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26084", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/26084.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26084" }
https://api.github.com/repos/pandas-dev/pandas/issues/26085
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26085/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26085/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26085/events
https://github.com/pandas-dev/pandas/pull/26085
433,016,907
MDExOlB1bGxSZXF1ZXN0MjcwMzE3ODE4
26,085
CLN: Misc Python 2 references
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-14T18:42:26Z
2019-04-15T17:03:33Z
2019-04-15T12:12:58Z
MEMBER
null
- [x] xref https://github.com/pandas-dev/pandas/issues/25725#issuecomment-482460520 - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` The notable change here is removing the SIX license since I think we've removed any borrowed compatibility code.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26085/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26085/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26085.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26085", "merged_at": "2019-04-15T12:12:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26085.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26085" }
https://api.github.com/repos/pandas-dev/pandas/issues/26086
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26086/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26086/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26086/events
https://github.com/pandas-dev/pandas/issues/26086
433,041,999
MDU6SXNzdWU0MzMwNDE5OTk=
26,086
Performance regression in a1fee9199eba7ebf423880243936b9f1501d3d3a
{ "avatar_url": "https://avatars.githubusercontent.com/u/49615962?v=4", "events_url": "https://api.github.com/users/asv-bot/events{/privacy}", "followers_url": "https://api.github.com/users/asv-bot/followers", "following_url": "https://api.github.com/users/asv-bot/following{/other_user}", "gists_url": "https://api.github.com/users/asv-bot/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/asv-bot", "id": 49615962, "login": "asv-bot", "node_id": "MDQ6VXNlcjQ5NjE1OTYy", "organizations_url": "https://api.github.com/users/asv-bot/orgs", "received_events_url": "https://api.github.com/users/asv-bot/received_events", "repos_url": "https://api.github.com/users/asv-bot/repos", "site_admin": false, "starred_url": "https://api.github.com/users/asv-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/asv-bot/subscriptions", "type": "User", "url": "https://api.github.com/users/asv-bot" }
[]
closed
false
null
[]
null
1
2019-04-14T22:38:00Z
2019-04-14T23:06:48Z
2019-04-14T23:06:48Z
NONE
null
Possible performance regression in commit a1fee9
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26086/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26086/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26087
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26087/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26087/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26087/events
https://github.com/pandas-dev/pandas/issues/26087
433,044,588
MDU6SXNzdWU0MzMwNDQ1ODg=
26,087
Possible performance regression in a1fee9
{ "avatar_url": "https://avatars.githubusercontent.com/u/49615962?v=4", "events_url": "https://api.github.com/users/asv-bot/events{/privacy}", "followers_url": "https://api.github.com/users/asv-bot/followers", "following_url": "https://api.github.com/users/asv-bot/following{/other_user}", "gists_url": "https://api.github.com/users/asv-bot/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/asv-bot", "id": 49615962, "login": "asv-bot", "node_id": "MDQ6VXNlcjQ5NjE1OTYy", "organizations_url": "https://api.github.com/users/asv-bot/orgs", "received_events_url": "https://api.github.com/users/asv-bot/received_events", "repos_url": "https://api.github.com/users/asv-bot/repos", "site_admin": false, "starred_url": "https://api.github.com/users/asv-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/asv-bot/subscriptions", "type": "User", "url": "https://api.github.com/users/asv-bot" }
[]
closed
false
null
[]
null
0
2019-04-14T23:07:22Z
2019-04-14T23:08:45Z
2019-04-14T23:08:45Z
NONE
null
Possible performance regression in https://github.com/pandas-dev/pandas/commit/a1fee9199eba7ebf423880243936b9f1501d3d3a. Regression: http://pandas.pydata.org/speed/pandas/index.html#rolling.Quantile.time_quantile?commits=a1fee9199eba7ebf423880243936b9f1501d3d3a&p-window=1000&p-param5=%27lower%27&p-percentile=0.5&p-dtype=%27float%27&p-constructor=%27DataFrame%27 Benchmark: 15.23% rolling.Quantile.time_quantile('DataFrame', 1000, 'float', 0.5, 'lower') cc @BryanCutler.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26087/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26087/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26088
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26088/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26088/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26088/events
https://github.com/pandas-dev/pandas/issues/26088
433,044,716
MDU6SXNzdWU0MzMwNDQ3MTY=
26,088
Possible performance regression in a1fee9
{ "avatar_url": "https://avatars.githubusercontent.com/u/49615962?v=4", "events_url": "https://api.github.com/users/asv-bot/events{/privacy}", "followers_url": "https://api.github.com/users/asv-bot/followers", "following_url": "https://api.github.com/users/asv-bot/following{/other_user}", "gists_url": "https://api.github.com/users/asv-bot/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/asv-bot", "id": 49615962, "login": "asv-bot", "node_id": "MDQ6VXNlcjQ5NjE1OTYy", "organizations_url": "https://api.github.com/users/asv-bot/orgs", "received_events_url": "https://api.github.com/users/asv-bot/received_events", "repos_url": "https://api.github.com/users/asv-bot/repos", "site_admin": false, "starred_url": "https://api.github.com/users/asv-bot/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/asv-bot/subscriptions", "type": "User", "url": "https://api.github.com/users/asv-bot" }
[]
closed
false
null
[]
null
6
2019-04-14T23:09:02Z
2019-04-24T20:23:31Z
2019-04-14T23:10:04Z
NONE
null
Possible performance regression in https://github.com/pandas-dev/pandas/commit/a1fee9199eba7ebf423880243936b9f1501d3d3a. Regression: http://pandas.pydata.org/speed/pandas/index.html#rolling.Quantile.time_quantile?commits=a1fee9199eba7ebf423880243936b9f1501d3d3a&p-window=1000&p-param5=%27lower%27&p-percentile=0.5&p-dtype=%27float%27&p-constructor=%27DataFrame%27 Benchmark: 15.23% rolling.Quantile.time_quantile('DataFrame', 1000, 'float', 0.5, 'lower') cc @BryanCutler.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26088/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26088/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26089
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26089/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26089/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26089/events
https://github.com/pandas-dev/pandas/pull/26089
433,048,295
MDExOlB1bGxSZXF1ZXN0MjcwMzM3MzM0
26,089
Fix Up Typing in GroupBy
{ "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": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-14T23:49:31Z
2020-01-16T00:34:12Z
2019-04-17T22:00:11Z
MEMBER
null
More typing cleanups Original failures: ```sh pandas/core/groupby/ops.py:13: error: Module 'pandas._libs' has no attribute 'groupby' pandas/core/groupby/ops.py:13: error: Module 'pandas._libs' has no attribute 'reduction' pandas/core/groupby/groupby.py:22: error: Module 'pandas._libs' has no attribute 'groupby' pandas/core/groupby/groupby.py:329: error: Need type annotation for '_apply_whitelist' pandas/core/groupby/generic.py:220: error: Incompatible types in assignment (expression has type "Callable[[Arg(Any, 'arg'), VarArg(Any), KwArg(Any)], Any]", base class "SelectionMixin" defined the type as "Callable[[Arg(Any, 'func'), VarArg(Any), KwArg(Any)], Any]") ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26089/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26089/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26089.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26089", "merged_at": "2019-04-17T22:00:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26089.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26089" }
https://api.github.com/repos/pandas-dev/pandas/issues/26090
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26090/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26090/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26090/events
https://github.com/pandas-dev/pandas/pull/26090
433,048,782
MDExOlB1bGxSZXF1ZXN0MjcwMzM3NjE2
26,090
Cleanup of GroupBy Code
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": null, "id": ...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-14T23:54:15Z
2020-01-16T00:34:12Z
2019-04-16T11:56:03Z
MEMBER
null
Removing some dead code I came across on review of the module which appears in NDFrameGroupBy but is overridden by its only public child class DataFrameGroupBy FWIW with the removal of PanelGroupBy the NDFrameGroupBy is an unnecessary layer of inheritance and could probably be merged in with DataFrameGroupBy, though I figure that could be a separate dedicated PR to merge those if so desired
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26090/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26090/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26090.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26090", "merged_at": "2019-04-16T11:56:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26090.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26090" }
https://api.github.com/repos/pandas-dev/pandas/issues/26091
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26091/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26091/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26091/events
https://github.com/pandas-dev/pandas/pull/26091
433,052,982
MDExOlB1bGxSZXF1ZXN0MjcwMzQwNzU2
26,091
CLN: pylint references
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-15T00:31:30Z
2019-04-15T05:19:58Z
2019-04-15T04:07:48Z
MEMBER
null
Removing leftover `pylint` references since we exclusively use `flake8` for style checking.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26091/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26091/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26091.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26091", "merged_at": "2019-04-15T04:07:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26091.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26091" }
https://api.github.com/repos/pandas-dev/pandas/issues/26092
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26092/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26092/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26092/events
https://github.com/pandas-dev/pandas/issues/26092
433,053,786
MDU6SXNzdWU0MzMwNTM3ODY=
26,092
export a R-compatible msgpack file?
{ "avatar_url": "https://avatars.githubusercontent.com/u/8282510?v=4", "events_url": "https://api.github.com/users/randomgambit/events{/privacy}", "followers_url": "https://api.github.com/users/randomgambit/followers", "following_url": "https://api.github.com/users/randomgambit/following{/other_user}", "gists_url": "https://api.github.com/users/randomgambit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/randomgambit", "id": 8282510, "login": "randomgambit", "node_id": "MDQ6VXNlcjgyODI1MTA=", "organizations_url": "https://api.github.com/users/randomgambit/orgs", "received_events_url": "https://api.github.com/users/randomgambit/received_events", "repos_url": "https://api.github.com/users/randomgambit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/randomgambit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/randomgambit/subscriptions", "type": "User", "url": "https://api.github.com/users/randomgambit" }
[]
closed
false
null
[]
null
2
2019-04-15T00:38:51Z
2019-04-15T01:35:22Z
2019-04-15T01:21:51Z
NONE
null
Hello the dream team Please have a look here https://stackoverflow.com/questions/55578378/how-to-exchange-msgpack-files-between-python-and-r Would it be possible/doable to have `pandas` export a `msgpack` file that can be read in `R`? What do you think? Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26092/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26092/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26093
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26093/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26093/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26093/events
https://github.com/pandas-dev/pandas/pull/26093
433,058,985
MDExOlB1bGxSZXF1ZXN0MjcwMzQ0OTI4
26,093
STY: Turn on flake8 for pandas/compat/__init__.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4", "events_url": "https://api.github.com/users/gfyoung/events{/privacy}", "followers_url": "https://api.github.com/users/gfyoung/followers", "following_url": "https://api.github.com/users/gfyoung/following{/other_user}", "gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gfyoung", "id": 9273653, "login": "gfyoung", "node_id": "MDQ6VXNlcjkyNzM2NTM=", "organizations_url": "https://api.github.com/users/gfyoung/orgs", "received_events_url": "https://api.github.com/users/gfyoung/received_events", "repos_url": "https://api.github.com/users/gfyoung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions", "type": "User", "url": "https://api.github.com/users/gfyoung" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-15T01:21:58Z
2019-04-15T02:50:19Z
2019-04-15T02:50:04Z
MEMBER
null
With all of the great cleanup in this file, let's ensure that it remains nice and tidy.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26093/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26093/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26093.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26093", "merged_at": "2019-04-15T02:50:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26093.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26093" }
https://api.github.com/repos/pandas-dev/pandas/issues/26094
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26094/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26094/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26094/events
https://github.com/pandas-dev/pandas/pull/26094
433,077,908
MDExOlB1bGxSZXF1ZXN0MjcwMzU4MzMy
26,094
day_of_week
{ "avatar_url": "https://avatars.githubusercontent.com/u/28599027?v=4", "events_url": "https://api.github.com/users/Violet-XiaoWeiHuang/events{/privacy}", "followers_url": "https://api.github.com/users/Violet-XiaoWeiHuang/followers", "following_url": "https://api.github.com/users/Violet-XiaoWeiHuang/following{/other_user}", "gists_url": "https://api.github.com/users/Violet-XiaoWeiHuang/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Violet-XiaoWeiHuang", "id": 28599027, "login": "Violet-XiaoWeiHuang", "node_id": "MDQ6VXNlcjI4NTk5MDI3", "organizations_url": "https://api.github.com/users/Violet-XiaoWeiHuang/orgs", "received_events_url": "https://api.github.com/users/Violet-XiaoWeiHuang/received_events", "repos_url": "https://api.github.com/users/Violet-XiaoWeiHuang/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Violet-XiaoWeiHuang/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Violet-XiaoWeiHuang/subscriptions", "type": "User", "url": "https://api.github.com/users/Violet-XiaoWeiHuang" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "AD7FA8", "default": false, "description": null, ...
closed
false
null
[]
null
6
2019-04-15T03:17:44Z
2019-06-08T20:38:18Z
2019-06-08T20:38:18Z
NONE
null
- [ ] closes #9606 - [ ] tests added / passed - [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/26094/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26094/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26094.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26094", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/26094.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26094" }
https://api.github.com/repos/pandas-dev/pandas/issues/26095
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26095/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26095/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26095/events
https://github.com/pandas-dev/pandas/pull/26095
433,103,058
MDExOlB1bGxSZXF1ZXN0MjcwMzc2OTgx
26,095
CLN: Remove accidentally added pycache
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-15T05:40:43Z
2019-04-15T17:04:05Z
2019-04-15T12:25:29Z
MEMBER
null
Removes this accidentally committed file https://github.com/pandas-dev/pandas/pull/26079/files#diff-0e2f9eb4477870d5461d93c7d8add1ec
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26095/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26095/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26095.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26095", "merged_at": "2019-04-15T12:25:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26095.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26095" }
https://api.github.com/repos/pandas-dev/pandas/issues/26096
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26096/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26096/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26096/events
https://github.com/pandas-dev/pandas/issues/26096
433,175,045
MDU6SXNzdWU0MzMxNzUwNDU=
26,096
Dtype attributes (eg PeriodDtype.freq) should not be settable
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "AD7...
closed
false
null
[]
{ "closed_at": "2020-01-30T12:18:05Z", "closed_issues": 2207, "created_at": "2012-09-13T02:13:00Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "on-merge: backport to 1.0.x", "due_on": "2020-02-01T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/16", "id": 174211, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels", "node_id": "MDk6TWlsZXN0b25lMTc0MjEx", "number": 16, "open_issues": 0, "state": "closed", "title": "1.0.0", "updated_at": "2020-01-30T12:18:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16" }
3
2019-04-15T09:12:43Z
2019-11-12T20:51:20Z
2019-11-12T20:51:20Z
MEMBER
null
You can currently do this: ``` In [2]: pdt = pd.PeriodDtype(freq='D') In [3]: pdt Out[3]: period[D] In [4]: pdt.freq = 'F' In [5]: pdt ... AttributeError: 'str' object has no attribute 'freqstr' ``` I think in general it would be good to make those dtype specific attributes not settable (this is already the case for DatetimeTZDtype.unit/tz, but not yet for the above case of PeriodDtype, and also not eg for IntervalDtype.subtype).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26096/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26096/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26097
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26097/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26097/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26097/events
https://github.com/pandas-dev/pandas/pull/26097
433,252,139
MDExOlB1bGxSZXF1ZXN0MjcwNDkzMDA2
26,097
BUG: _convert_and_box_cache raise ValueError: Tz-aware datetime.datetime cannot be converted to datetime64 unless utc=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/45976948?v=4", "events_url": "https://api.github.com/users/anmyachev/events{/privacy}", "followers_url": "https://api.github.com/users/anmyachev/followers", "following_url": "https://api.github.com/users/anmyachev/following{/other_user}", "gists_url": "https://api.github.com/users/anmyachev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/anmyachev", "id": 45976948, "login": "anmyachev", "node_id": "MDQ6VXNlcjQ1OTc2OTQ4", "organizations_url": "https://api.github.com/users/anmyachev/orgs", "received_events_url": "https://api.github.com/users/anmyachev/received_events", "repos_url": "https://api.github.com/users/anmyachev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/anmyachev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anmyachev/subscriptions", "type": "User", "url": "https://api.github.com/users/anmyachev" }
[ { "color": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
26
2019-04-15T12:22:57Z
2019-07-03T13:18:04Z
2019-07-03T13:17:59Z
CONTRIBUTOR
null
- [x] closes #N/A - [x] tests added / passed - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Bug was found there: https://github.com/pandas-dev/pandas/pull/26043#issuecomment-483214458 Reproduction: ```python import pandas as pd N = 10 half = int(N / 2) ts_string_1 = 'March 1, 2018 12:00:00+0400' ts_string_2 = 'March 1, 2018 12:00:00+0500' diff_offset = [ts_string_1] * half + [ts_string_2] * half pd.to_datetime(diff_offset, cache=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/26097/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26097/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26097.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26097", "merged_at": "2019-07-03T13:17:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26097.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26097" }
https://api.github.com/repos/pandas-dev/pandas/issues/26098
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26098/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26098/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26098/events
https://github.com/pandas-dev/pandas/pull/26098
433,254,627
MDExOlB1bGxSZXF1ZXN0MjcwNDk0OTEw
26,098
BLD: add __pycache__ to .gitignore
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
0
2019-04-15T12:28:31Z
2019-04-15T13:35:36Z
2019-04-15T13:35:36Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26098/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26098/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26098.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26098", "merged_at": "2019-04-15T13:35:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26098.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26098" }
https://api.github.com/repos/pandas-dev/pandas/issues/26099
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26099/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26099/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26099/events
https://github.com/pandas-dev/pandas/pull/26099
433,262,711
MDExOlB1bGxSZXF1ZXN0MjcwNTAxMjkw
26,099
CLN: remove compat.itervalues
{ "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": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
4
2019-04-15T12:47:06Z
2019-04-15T22:22:29Z
2019-04-15T17:09:20Z
CONTRIBUTOR
null
- [x] xref #25725 Removes ``compat.itervalues``.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26099/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26099/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26099.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26099", "merged_at": "2019-04-15T17:09:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26099.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26099" }
https://api.github.com/repos/pandas-dev/pandas/issues/26100
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26100/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26100/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26100/events
https://github.com/pandas-dev/pandas/issues/26100
433,279,146
MDU6SXNzdWU0MzMyNzkxNDY=
26,100
is_categorical_dtype depends on boolness of the object passed.
{ "avatar_url": "https://avatars.githubusercontent.com/u/8366281?v=4", "events_url": "https://api.github.com/users/rsaim/events{/privacy}", "followers_url": "https://api.github.com/users/rsaim/followers", "following_url": "https://api.github.com/users/rsaim/following{/other_user}", "gists_url": "https://api.github.com/users/rsaim/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rsaim", "id": 8366281, "login": "rsaim", "node_id": "MDQ6VXNlcjgzNjYyODE=", "organizations_url": "https://api.github.com/users/rsaim/orgs", "received_events_url": "https://api.github.com/users/rsaim/received_events", "repos_url": "https://api.github.com/users/rsaim/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rsaim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rsaim/subscriptions", "type": "User", "url": "https://api.github.com/users/rsaim" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
4
2019-04-15T13:21:41Z
2020-03-08T18:23:38Z
2020-03-08T18:23:38Z
NONE
null
```python In [76]: from pandas.core.dtypes.common import is_categorical_dtype In [77]: class Foo(object): ...: def __bool__(self): ...: raise NotImplementedError("Foo doesn't support boolness") ...: ...: def __eq__(self, other): ...: return Foo() In [78]: is_categorical(Foo()) NotImplementedError Traceback (most recent call last) <ipython-input-78-e619c3f62c63> in <module> ----> 1 is_categorical(Foo()) /usr/python3.7/site-packages/pandas/core/dtypes/common.py in is_categorical(arr) 289 """ 290 --> 291 return isinstance(arr, ABCCategorical) or is_categorical_dtype(arr) 292 293 /usr/python3.7/site-packages/pandas/core/dtypes/common.py in is_categorical_dtype(arr_or_dtype) 600 if arr_or_dtype is None: 601 return False --> 602 return CategoricalDtype.is_dtype(arr_or_dtype) 603 604 /usr/python3.7/site-packages/pandas/core/dtypes/base.py in is_dtype(cls, dtype) 110 return True 111 try: --> 112 return cls.construct_from_string(dtype) is not None 113 except TypeError: 114 return False /usr/python3.7/site-packages/pandas/core/dtypes/dtypes.py in construct_from_string(cls, string) 456 it's not possible """ 457 try: --> 458 if string == 'category': 459 return cls() 460 else: <ipython-input-77-645d89edd55f> in __bool__(self) 1 class Foo(object): 2 def __bool__(self): ----> 3 raise NotImplementedError("Foo doesn't support boolness") 4 5 def __eq__(self, other): NotImplementedError: Foo doesn't support boolness ``` #### Problem description is_categorical breaks if \_\_boo\_\_ of an object returns another (or same) object for which \_\_bool\_\_ raises an exception. We return the an object of **Foo** itself in the reproducer above to demonstrate this behavior. This affects `pandas.to_datetime` and probably other functionalities as well. I guess converting an object to datetime should not depend on it's bool'ness. #### Expected Output True or False #### Output of ``pd.show_versions()`` In [79]: pandas.show_versions() <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.3.final.0 python-bits: 64 OS: Linux OS-release: 3.10.0-957.saim.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: 4.4.0 pip: 10.0.1 setuptools: 39.0.1 Cython: 0.29.5 numpy: 1.14.3 scipy: 1.1.0 pyarrow: None xarray: None IPython: 7.3.0 sphinx: 2.0.0 patsy: 0.5.1 dateutil: 2.8.0 pytz: 2017.3 blosc: 1.8.1 bottleneck: None tables: 3.4.4 numexpr: 2.6.9 feather: None matplotlib: 2.2.3 openpyxl: 2.6.2 xlrd: 1.2.0 xlwt: 1.3.0 xlsxwriter: 1.1.5 lxml.etree: 3.6.0 bs4: 4.7.1 html5lib: 1.0.1 sqlalchemy: 1.2.5+4.saim pymysql: None psycopg2: 2.7.7 (dt dec pq3 ext) jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26100/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26100/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26101
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26101/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26101/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26101/events
https://github.com/pandas-dev/pandas/issues/26101
433,294,810
MDU6SXNzdWU0MzMyOTQ4MTA=
26,101
Improve documentation for assert_frame|series_equal
{ "avatar_url": "https://avatars.githubusercontent.com/u/754175?v=4", "events_url": "https://api.github.com/users/qris/events{/privacy}", "followers_url": "https://api.github.com/users/qris/followers", "following_url": "https://api.github.com/users/qris/following{/other_user}", "gists_url": "https://api.github.com/users/qris/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/qris", "id": 754175, "login": "qris", "node_id": "MDQ6VXNlcjc1NDE3NQ==", "organizations_url": "https://api.github.com/users/qris/orgs", "received_events_url": "https://api.github.com/users/qris/received_events", "repos_url": "https://api.github.com/users/qris/repos", "site_admin": false, "starred_url": "https://api.github.com/users/qris/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qris/subscriptions", "type": "User", "url": "https://api.github.com/users/qris" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
2
2019-04-15T13:52:25Z
2019-04-22T15:31:40Z
2019-04-22T15:31:40Z
NONE
null
#21528 improved the documentation for assert_almost_equal, but this is actually an undocumented function (not listed in the Pandas docs) and the same issue seems to apply to both `assert_series_equal` and `assert_frame_equal`, which are documented. Could we apply the same change as #21580 to those methods too, i.e. add the following text: > When comparing two numbers, if the first number has magnitude less than 1e-5, we compare the two numbers directly and check whether they are equivalent within the specified precision. Otherwise, we compare the **ratio** of the second number to the first number and check whether it is equivalent to 1 within the specified precision.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26101/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26101/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26102
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26102/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26102/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26102/events
https://github.com/pandas-dev/pandas/pull/26102
433,374,630
MDExOlB1bGxSZXF1ZXN0MjcwNTg5ODE2
26,102
Include missing data count in pd.DataFrame.describe()
{ "avatar_url": "https://avatars.githubusercontent.com/u/33966871?v=4", "events_url": "https://api.github.com/users/alexander-ponomaroff/events{/privacy}", "followers_url": "https://api.github.com/users/alexander-ponomaroff/followers", "following_url": "https://api.github.com/users/alexander-ponomaroff/following{/other_user}", "gists_url": "https://api.github.com/users/alexander-ponomaroff/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexander-ponomaroff", "id": 33966871, "login": "alexander-ponomaroff", "node_id": "MDQ6VXNlcjMzOTY2ODcx", "organizations_url": "https://api.github.com/users/alexander-ponomaroff/orgs", "received_events_url": "https://api.github.com/users/alexander-ponomaroff/received_events", "repos_url": "https://api.github.com/users/alexander-ponomaroff/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexander-ponomaroff/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexander-ponomaroff/subscriptions", "type": "User", "url": "https://api.github.com/users/alexander-ponomaroff" }
[ { "color": "370f77", "default": false, "description": "DataFrame data structure", "id": 1049312478, "name": "DataFrame", "node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame" } ]
closed
false
null
[]
null
8
2019-04-15T16:31:16Z
2019-06-27T03:35:13Z
2019-06-27T03:35:13Z
CONTRIBUTOR
null
- [x] closes #21689 - [x] tests added / passed - [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/26102/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26102/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26102.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26102", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/26102.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26102" }
https://api.github.com/repos/pandas-dev/pandas/issues/26103
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26103/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26103/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26103/events
https://github.com/pandas-dev/pandas/pull/26103
433,416,529
MDExOlB1bGxSZXF1ZXN0MjcwNjIyNzQ3
26,103
CI/DOC: fix clipboard on travis
{ "avatar_url": "https://avatars.githubusercontent.com/u/4477229?v=4", "events_url": "https://api.github.com/users/saurav2608/events{/privacy}", "followers_url": "https://api.github.com/users/saurav2608/followers", "following_url": "https://api.github.com/users/saurav2608/following{/other_user}", "gists_url": "https://api.github.com/users/saurav2608/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/saurav2608", "id": 4477229, "login": "saurav2608", "node_id": "MDQ6VXNlcjQ0NzcyMjk=", "organizations_url": "https://api.github.com/users/saurav2608/orgs", "received_events_url": "https://api.github.com/users/saurav2608/received_events", "repos_url": "https://api.github.com/users/saurav2608/repos", "site_admin": false, "starred_url": "https://api.github.com/users/saurav2608/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/saurav2608/subscriptions", "type": "User", "url": "https://api.github.com/users/saurav2608" }
[ { "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 Integratio...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
21
2019-04-15T18:20:37Z
2019-05-17T06:32:24Z
2019-05-16T13:11:18Z
CONTRIBUTOR
null
- [ ] closes #26075
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26103/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26103/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26103.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26103", "merged_at": "2019-05-16T13:11:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26103.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26103" }
https://api.github.com/repos/pandas-dev/pandas/issues/26104
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26104/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26104/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26104/events
https://github.com/pandas-dev/pandas/pull/26104
433,483,869
MDExOlB1bGxSZXF1ZXN0MjcwNjc2NTkx
26,104
ENH: Add parameter to download BigQuery results with the BigQuery Storage API
{ "avatar_url": "https://avatars.githubusercontent.com/u/247555?v=4", "events_url": "https://api.github.com/users/tswast/events{/privacy}", "followers_url": "https://api.github.com/users/tswast/followers", "following_url": "https://api.github.com/users/tswast/following{/other_user}", "gists_url": "https://api.github.com/users/tswast/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tswast", "id": 247555, "login": "tswast", "node_id": "MDQ6VXNlcjI0NzU1NQ==", "organizations_url": "https://api.github.com/users/tswast/orgs", "received_events_url": "https://api.github.com/users/tswast/received_events", "repos_url": "https://api.github.com/users/tswast/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tswast/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tswast/subscriptions", "type": "User", "url": "https://api.github.com/users/tswast" }
[ { "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": "pandas-g...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
6
2019-04-15T21:20:55Z
2019-04-22T15:54:34Z
2019-04-20T18:33:34Z
CONTRIBUTOR
null
pandas-gbq 0.10.0 adds a new `use_bqstorage_api` parameter to speed up downloads of large dataframes. - [ ] ~closes #xxxx~ - [x] tests added / passed ``` $ pytest pandas/tests/io/test_gbq.py =============================== test session starts ================================ platform darwin -- Python 3.6.4, pytest-4.4.1, py-1.5.3, pluggy-0.9.0 hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/Users/swast/src/pandas/pandas/.hypothesis/examples') rootdir: /Users/swast/src/pandas/pandas, inifile: setup.cfg plugins: xdist-1.22.2, forked-0.2, cov-2.5.1, hypothesis-3.70.3 collected 1 item pandas/tests/io/test_gbq.py . [100%] ============================= 1 passed in 9.84 seconds ============================= ``` - [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/26104/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26104/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26104.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26104", "merged_at": "2019-04-20T18:33:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26104.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26104" }
https://api.github.com/repos/pandas-dev/pandas/issues/26105
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26105/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26105/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26105/events
https://github.com/pandas-dev/pandas/issues/26105
433,516,412
MDU6SXNzdWU0MzM1MTY0MTI=
26,105
Inconsistent behavior of index when grouping a multiindex series of length two
{ "avatar_url": "https://avatars.githubusercontent.com/u/30533489?v=4", "events_url": "https://api.github.com/users/brian-c-ogorman/events{/privacy}", "followers_url": "https://api.github.com/users/brian-c-ogorman/followers", "following_url": "https://api.github.com/users/brian-c-ogorman/following{/other_user}", "gists_url": "https://api.github.com/users/brian-c-ogorman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brian-c-ogorman", "id": 30533489, "login": "brian-c-ogorman", "node_id": "MDQ6VXNlcjMwNTMzNDg5", "organizations_url": "https://api.github.com/users/brian-c-ogorman/orgs", "received_events_url": "https://api.github.com/users/brian-c-ogorman/received_events", "repos_url": "https://api.github.com/users/brian-c-ogorman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brian-c-ogorman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brian-c-ogorman/subscriptions", "type": "User", "url": "https://api.github.com/users/brian-c-ogorman" }
[]
closed
false
null
[]
null
1
2019-04-15T23:13:43Z
2019-04-16T03:06:19Z
2019-04-16T03:06:19Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd df = pd.DataFrame({'A': [0, 1, 2], 'B': [3, 4, 5], 'C': [6, 7, 8]}) df = df.set_index(['A', 'B']) c = df.C # series with multiindex and two rows: # c[:2].groupby(['A', 'B']).sum() # # expected output # A B # 0 3 6 # 1 4 7 # Name: C, dtype: int64 # # actual output: # A 6 # B 7 # Name: C, dtype: int64 # series with three rows: # c.groupby(['A', 'B']).sum() # # expected and actual output: # A B # 0 3 6 # 1 4 7 # 2 5 8 # Name: C, dtype: int64 # as a dataframe with two rows and one column: # df[:2].groupby(['A', 'B']).sum().C # expected and actual output: # A B # 0 3 6 # 1 4 7 # Name: C, dtype: int64 ``` #### Problem description When doing a `groupby` and aggregation on a multi-index Series, if the length of the series is two, the index of the output is incorrect. The behavior is unexpected and inconsistent with other operations that would be expected to produce the same output: - for a multi-index DataFrame of two rows and a single column (`C`), performing a `groupby`, aggregation and returning the column (`C`) as a series should be the same as performing the `groupby` and aggregation on that Series (`C`). - performing the `groupby` and aggregation on a multi-index series with at least three rows yields the expected output and is consistent with a single column DataFrame. #### Expected Output ```python # c[:2].groupby(['A', 'B']).sum() # A B 0 3 6 1 4 7 Name: C, dtype: int64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.3.final.0 python-bits: 64 OS: Darwin OS-release: 18.2.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: None pip: 19.0.3 setuptools: 41.0.0 Cython: None numpy: 1.16.2 scipy: None pyarrow: None xarray: None IPython: None sphinx: None patsy: None dateutil: 2.8.0 pytz: 2018.9 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: None sqlalchemy: None pymysql: None psycopg2: None jinja2: None s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26105/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26105/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26106
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26106/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26106/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26106/events
https://github.com/pandas-dev/pandas/pull/26106
433,716,574
MDExOlB1bGxSZXF1ZXN0MjcwODU4Mzcw
26,106
Improve documentation for assert_frame|series_equal #26101
{ "avatar_url": "https://avatars.githubusercontent.com/u/13930543?v=4", "events_url": "https://api.github.com/users/sandepp123/events{/privacy}", "followers_url": "https://api.github.com/users/sandepp123/followers", "following_url": "https://api.github.com/users/sandepp123/following{/other_user}", "gists_url": "https://api.github.com/users/sandepp123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sandepp123", "id": 13930543, "login": "sandepp123", "node_id": "MDQ6VXNlcjEzOTMwNTQz", "organizations_url": "https://api.github.com/users/sandepp123/orgs", "received_events_url": "https://api.github.com/users/sandepp123/received_events", "repos_url": "https://api.github.com/users/sandepp123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sandepp123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sandepp123/subscriptions", "type": "User", "url": "https://api.github.com/users/sandepp123" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-16T10:58:30Z
2019-04-22T15:31:48Z
2019-04-22T15:31:40Z
CONTRIBUTOR
null
- [x] closes #26101 - [ ] tests added / passed - [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/26106/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26106/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26106.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26106", "merged_at": "2019-04-22T15:31:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26106.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26106" }
https://api.github.com/repos/pandas-dev/pandas/issues/26107
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26107/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26107/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26107/events
https://github.com/pandas-dev/pandas/issues/26107
433,774,853
MDU6SXNzdWU0MzM3NzQ4NTM=
26,107
TypeError on while retrieving values from a Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/8366281?v=4", "events_url": "https://api.github.com/users/rsaim/events{/privacy}", "followers_url": "https://api.github.com/users/rsaim/followers", "following_url": "https://api.github.com/users/rsaim/following{/other_user}", "gists_url": "https://api.github.com/users/rsaim/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rsaim", "id": 8366281, "login": "rsaim", "node_id": "MDQ6VXNlcjgzNjYyODE=", "organizations_url": "https://api.github.com/users/rsaim/orgs", "received_events_url": "https://api.github.com/users/rsaim/received_events", "repos_url": "https://api.github.com/users/rsaim/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rsaim/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rsaim/subscriptions", "type": "User", "url": "https://api.github.com/users/rsaim" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" } ]
closed
false
null
[]
null
3
2019-04-16T13:17:13Z
2020-08-29T11:47:48Z
2020-08-29T11:47:48Z
NONE
null
```python In [37]: import pandas as pd ...: import numpy as np ...: from pandas.core.indexes.datetimes import DatetimeIndex ...: ...: data = np.ma.array(data=DatetimeIndex(['2011-01-01'])) ...: s = pd.Series(data=data) ...: s.values # FAILS OUTPUT: TypeError Traceback (most recent call last) <ipython-input-37-b6f50d56e315> in <module> 5 data = np.ma.array(data=DatetimeIndex(['2011-01-01'])) 6 s = pd.Series(data=data) ----> 7 s.values # FAILS /home/user1/python3.7/site-packages/pandas/core/series.py in values(self) 472 '2013-01-03T05:00:00.000000000'], dtype='datetime64[ns]') 473 """ --> 474 return self._data.external_values() 475 476 @property /home/user1/python3.7/site-packages/pandas/core/internals/managers.py in external_values(self) 1545 1546 def external_values(self): -> 1547 return self._block.external_values() 1548 1549 def internal_values(self): /home/user1/python3.7/site-packages/pandas/core/internals/blocks.py in external_values(self) 2234 2235 def external_values(self): -> 2236 return np.asarray(self.values.astype('datetime64[ns]', copy=False)) 2237 2238 TypeError: astype() got an unexpected keyword argument 'copy' ``` #### Problem description This breaks with **0.24.2** but not with **0.23.4**. #### Expected Output masked_array(data=['2011-01-01T00:00:00.000000000'], mask=False, fill_value=numpy.datetime64('NaT'), dtype='datetime64[ns]') OR ['2011-01-01T00:00:00.000000000'] #### Output of ``pd.show_versions()`` <details> In [38]: pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.7.3.final.0 python-bits: 64 OS: Linux OS-release: 3.10.rsaim.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.2 pytest: 4.4.0 pip: 10.0.1 setuptools: 39.0.1 Cython: 0.29.5 numpy: 1.14.3 scipy: 1.1.0 pyarrow: None xarray: None IPython: 7.3.0 sphinx: 2.0.0 patsy: 0.5.1 dateutil: 2.8.0 pytz: 2017.3 blosc: 1.8.1 bottleneck: None tables: 3.4.4 numexpr: 2.6.9 feather: None matplotlib: 2.2.3 openpyxl: 2.6.2 xlrd: 1.2.0 xlwt: 1.3.0 xlsxwriter: 1.1.5 lxml.etree: 3.6.0 bs4: 4.7.1 html5lib: 1.0.1 sqlalchemy: 1.2.5+4.rsaim pymysql: None psycopg2: 2.7.7 (dt dec pq3 ext) jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26107/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26107/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26108
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26108/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26108/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26108/events
https://github.com/pandas-dev/pandas/issues/26108
433,779,612
MDU6SXNzdWU0MzM3Nzk2MTI=
26,108
PERF: Performance regression (memory and time) on set_index method between 0.20.3 and 0.24.2
{ "avatar_url": "https://avatars.githubusercontent.com/u/17923999?v=4", "events_url": "https://api.github.com/users/Ahrimanox/events{/privacy}", "followers_url": "https://api.github.com/users/Ahrimanox/followers", "following_url": "https://api.github.com/users/Ahrimanox/following{/other_user}", "gists_url": "https://api.github.com/users/Ahrimanox/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Ahrimanox", "id": 17923999, "login": "Ahrimanox", "node_id": "MDQ6VXNlcjE3OTIzOTk5", "organizations_url": "https://api.github.com/users/Ahrimanox/orgs", "received_events_url": "https://api.github.com/users/Ahrimanox/received_events", "repos_url": "https://api.github.com/users/Ahrimanox/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Ahrimanox/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ahrimanox/subscriptions", "type": "User", "url": "https://api.github.com/users/Ahrimanox" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
open
false
null
[]
null
8
2019-04-16T13:27:07Z
2020-03-08T18:24:17Z
null
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Method used to set index of data frame (defined for make time-memory recording possible) def set_index(data_frame: pd.DataFrame, index_cols: list): time_res = %timeit -n 1 -r 1 -o data_frame.set_index(index_cols) return time_res # Method that appends N-integers columns and call set_index while recording its memory usage def insert_cols_and_index(data_frame: pd.DataFrame, col_number: int, values: np.ndarray): idf = data_frame.copy() index_cols = [None] * col_number for i in range(col_number): current_col_name = str(i) index_cols[i] = current_col_name idf[current_col_name] = values # Record memory usage and get spent time on indexing return memory_usage((set_index, (idf, index_cols)), interval=1e-7, retval=True) # Values we'll use as new columns content df_size = int(1e7) unique_len = int(1e7) int_array = np.tile(np.arange(unique_len), df_size // unique_len) # Create an empty pandas data frame df = pd.DataFrame() # Make iterative add of integer columns # Set index on all data frame columns and record memory usage peaks max_col_num = 14 min_mem_usages = np.zeros(max_col_num) max_mem_usages = np.zeros(max_col_num) time_usages = np.zeros(max_col_num) for i in range(max_col_num): print("{0} iteration(s)".format(i+1)) mem, time = insert_cols_and_index(df, i + 1, int_array) min_mem_usages[i] = min(mem) max_mem_usages[i] = max(mem) time_usages[i] = time.average np.save("min_mem_usages_" + pd.__version__ + "_" + str(unique_len), min_mem_usages) np.save("max_mem_usages_" + pd.__version__ + "_" + str(unique_len), max_mem_usages) np.save("time_usages_" + pd.__version__ + "_" + str(unique_len), time_usages) ``` #### Problem description For a bit of context : I'm working on a mid-range ETL software based on pandas and recently, we decided to upgrade our pandas version to the latest one : 0.24.2. We're working with 0.20.3 version and since we've passed to the latest, set_index method seems to be responsible of big performance losses on our soft. Setting index now takes ~2 times as long compared with the older version and use more memory. After making some research about indexing changes between these two versions, I've found that indexing in pandas has changed from the 0.23 version : #19074 I've made a bunch of tests to understand what could be the cause of this overhead. One type of tests i've made shows a big difference between the two version. For this test, I've used a data frame of 1e7 size. This test consisting of iteratively adding a new integer column to the data frame and then, trying to call set_index method with every columns as index cols. The code is expressed above. I've made some variations to it by changing the ratio : number of unique values / size of the column. For each set_index call, i've recorded min and max memory usage and spent time on indexing. First, I've concluded that the time and memory usage difference between these two versions becomes larger when we want to index on many columns. ```python df_size = int(1e7) unique_len = int(1e7) int_array = np.tile(np.arange(unique_len), df_size // unique_len) ``` ![mem_cmp](https://user-images.githubusercontent.com/17923999/56212238-eb724080-6059-11e9-8456-f10a161166b0.png) ![time_use](https://user-images.githubusercontent.com/17923999/56212242-ed3c0400-6059-11e9-8f1a-47625ff6b959.png) Even if this test is non-representative, we clearly see that the difference increases with the number of columns we're indexing on. This may be also caused by : - the number of combinations of unique values along index levels (product of length of unique values for each column) - the number of unique values for each index level (sum of length of unique values for each column) If I reduce the number of unique values to 100, memory usage peaks and spent time (for the two versions) are : ```python df_size = int(1e7) unique_len = int(1e2) int_array = np.tile(np.arange(unique_len), df_size // unique_len) ``` ![mem_cmp](https://user-images.githubusercontent.com/17923999/56211165-97665c80-6057-11e9-8af2-5adfdb0a2f55.png) ![time_use](https://user-images.githubusercontent.com/17923999/56211174-99302000-6057-11e9-899d-da0186e5912e.png) The above plot shows that after some point, pandas seems to change its indexing method. I'm not sure about that but it seems to be. So, i've tried with a more representative case according to our use cases (but always with integer columns) : ```python df_size = int(1e7) unique_len = int(1e4) int_array = np.tile(np.arange(unique_len), df_size // unique_len) ``` ![mem_cmp](https://user-images.githubusercontent.com/17923999/56211259-cc72af00-6057-11e9-9745-1521b68accb2.png) ![time_use](https://user-images.githubusercontent.com/17923999/56211264-ce3c7280-6057-11e9-8182-17c8f317d654.png) Same pattern for memory usages and spent time. According to my tests, indexing in newer pandas version takes a lot of memory compared to the older version and takes more time to do the same thing. Even if recording memory could affect performance, difference is still visible. This difference seems growing with how long the unique values set is for each column. Indexing is a functionality we use a lot where i'm working and we often put 15-30 columns in the index and just a few in columns (1-5). Some of our columns we're indexing on may contain more than 10e4 unique values. Maybe, it is not a good practice to index on so many columns, but it is really convenient to represent and explain data in high dimensions. Selections in data frame are also faster. Maybe, we're doing wrong ? Thanks in advance for your help or your suggestions. All tests were made in two exactly environnements except for the pandas version. I put pd.show_versions() output of this two environnements in 'details' section. For information, is used numpy+mkl 1.16.2 got from : https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS (0.24.2) ------------------ commit: None python: 3.6.7.final.0 python-bits: 64 OS: Windows OS-release: 2008ServerR2 machine: AMD64 processor: Intel64 Family 6 Model 63 Stepping 2, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None pandas: 0.24.2 pytest: None pip: 19.0.3 setuptools: 40.8.0 Cython: None numpy: 1.16.2 scipy: 1.1.0 pyarrow: None xarray: None IPython: 7.4.0 sphinx: None patsy: None dateutil: 2.8.0 pytz: 2019.1 blosc: None bottleneck: 1.2.1 tables: 3.5.1 numexpr: 2.6.9 feather: None matplotlib: 3.0.3 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: None sqlalchemy: 1.3.2 pymysql: None psycopg2: None jinja2: None s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None None INSTALLED VERSIONS (0.20.3) ------------------ commit: None python: 3.6.7.final.0 python-bits: 64 OS: Windows OS-release: 2008ServerR2 machine: AMD64 processor: Intel64 Family 6 Model 63 Stepping 2, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None pandas: 0.20.3 pytest: None pip: 19.0.3 setuptools: 40.8.0 Cython: None numpy: 1.16.2 scipy: 1.1.0 xarray: None IPython: 7.4.0 sphinx: None patsy: None dateutil: 2.8.0 pytz: 2019.1 blosc: None bottleneck: 1.2.1 tables: 3.5.1 numexpr: 2.6.9 feather: None matplotlib: 3.0.3 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None sqlalchemy: 1.3.2 pymysql: None psycopg2: None jinja2: None s3fs: None pandas_gbq: None pandas_datareader: None 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/26108/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26108/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26109
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26109/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26109/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26109/events
https://github.com/pandas-dev/pandas/issues/26109
433,809,682
MDU6SXNzdWU0MzM4MDk2ODI=
26,109
Constructing PeriodIndex with string data
{ "avatar_url": "https://avatars.githubusercontent.com/u/9365603?v=4", "events_url": "https://api.github.com/users/mfaafm/events{/privacy}", "followers_url": "https://api.github.com/users/mfaafm/followers", "following_url": "https://api.github.com/users/mfaafm/following{/other_user}", "gists_url": "https://api.github.com/users/mfaafm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mfaafm", "id": 9365603, "login": "mfaafm", "node_id": "MDQ6VXNlcjkzNjU2MDM=", "organizations_url": "https://api.github.com/users/mfaafm/orgs", "received_events_url": "https://api.github.com/users/mfaafm/received_events", "repos_url": "https://api.github.com/users/mfaafm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mfaafm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mfaafm/subscriptions", "type": "User", "url": "https://api.github.com/users/mfaafm" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": ...
closed
false
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
2019-04-16T14:24:18Z
2020-04-10T17:29:56Z
2020-04-10T17:29:56Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # quarters as string representation quarters = pd.Series(["2018Q1", "2018Q2", "2018Q1", "2018Q3"]) # gives TypeError (see details for stack trace) pi = pd.PeriodIndex(quarters, freq="Q") TypeError: Incorrect dtype # works as intended pi = pd.PeriodIndex(quarters.values, freq="Q") ``` #### Problem description Creating a PeriodIndex with string data fails when using a pandas.Series but works if using the underlying np.array. Is this expected behavior? #### Output of stack trace <details> ```python --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-6-1d88474891ea> in <module> ----> 1 pi = pd.PeriodIndex(quarters, freq="Q") /usr/local/anaconda3/envs/PCS/lib/python3.7/site-packages/pandas/core/indexes/period.py in __new__(cls, data, ordinal, freq, start, end, periods, tz, dtype, copy, name, **fields) 238 else: 239 # don't pass copy here, since we copy later. --> 240 data = period_array(data=data, freq=freq) 241 242 if copy: /usr/local/anaconda3/envs/PCS/lib/python3.7/site-packages/pandas/core/arrays/period.py in period_array(data, freq, copy) 767 return PeriodArray._from_datetime64(data, freq) 768 if isinstance(data, (ABCPeriodIndex, ABCSeries, PeriodArray)): --> 769 return PeriodArray(data, freq) 770 771 # other iterable of some kind /usr/local/anaconda3/envs/PCS/lib/python3.7/site-packages/pandas/core/arrays/period.py in __init__(self, values, freq, dtype, copy) 155 values = values._values 156 if not isinstance(values, type(self)): --> 157 raise TypeError("Incorrect dtype") 158 159 elif isinstance(values, ABCPeriodIndex): TypeError: Incorrect dtype ``` </details> #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.2.final.0 python-bits: 64 OS: Darwin OS-release: 18.2.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 pandas: 0.24.1 pytest: None pip: 19.0.3 setuptools: 40.8.0 Cython: 0.29.5 numpy: 1.15.4 scipy: 1.2.1 pyarrow: 0.11.1 xarray: None IPython: 7.3.0 sphinx: None patsy: None dateutil: 2.8.0 pytz: 2018.9 blosc: None bottleneck: None tables: None numexpr: None feather: None matplotlib: 3.0.3 openpyxl: 2.6.1 xlrd: 1.2.0 xlwt: None xlsxwriter: None lxml.etree: None bs4: None html5lib: None sqlalchemy: None pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26109/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26109/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26110
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26110/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26110/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26110/events
https://github.com/pandas-dev/pandas/pull/26110
433,844,737
MDExOlB1bGxSZXF1ZXN0MjcwOTYxNDQ5
26,110
CLN: remove compat.lfilter
{ "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": "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": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-16T15:27:46Z
2019-05-05T06:59:30Z
2019-04-16T17:17:17Z
CONTRIBUTOR
null
- [x] xref #25725 Removes ``compat.lfilter``.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26110/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26110/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26110.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26110", "merged_at": "2019-04-16T17:17:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26110.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26110" }
https://api.github.com/repos/pandas-dev/pandas/issues/26111
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26111/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26111/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26111/events
https://github.com/pandas-dev/pandas/issues/26111
433,900,452
MDU6SXNzdWU0MzM5MDA0NTI=
26,111
to_latex adds extra empty header row when index has a name even if index=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/1098280?v=4", "events_url": "https://api.github.com/users/javidcf/events{/privacy}", "followers_url": "https://api.github.com/users/javidcf/followers", "following_url": "https://api.github.com/users/javidcf/following{/other_user}", "gists_url": "https://api.github.com/users/javidcf/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/javidcf", "id": 1098280, "login": "javidcf", "node_id": "MDQ6VXNlcjEwOTgyODA=", "organizations_url": "https://api.github.com/users/javidcf/orgs", "received_events_url": "https://api.github.com/users/javidcf/received_events", "repos_url": "https://api.github.com/users/javidcf/repos", "site_admin": false, "starred_url": "https://api.github.com/users/javidcf/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/javidcf/subscriptions", "type": "User", "url": "https://api.github.com/users/javidcf" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251...
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2019-04-16T17:29:38Z
2021-05-24T13:44:06Z
2021-05-24T13:44:05Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd df = pd.DataFrame([[1, 2], [3, 4]], columns=['a', 'b'], index=pd.RangeIndex(2, name='Idx')) # When the index has a name you get an extra header row for it print(df.to_latex()) # \begin{tabular}{lrr} # \toprule # {} & a & b \\ # Idx & & \\ # \midrule # 0 & 1 & 2 \\ # 1 & 3 & 4 \\ # \bottomrule # \end{tabular} # However, when you do not want the index you still get the extra header row print(df.to_latex(index=False)) # \begin{tabular}{rr} # \toprule # a & b \\ # & \\ # \midrule # 1 & 2 \\ # 3 & 4 \\ # \bottomrule # \end{tabular} # What I would expect is the same as if there was no index name print(df.reset_index(drop=True).to_latex(index=False)) # \begin{tabular}{rr} # \toprule # a & b \\ # \midrule # 1 & 2 \\ # 3 & 4 \\ # \bottomrule # \end{tabular} ``` #### Problem description As shown above, producing LaTeX tables with indices that have a name produces an extra row in the header even when `index=False`. As I see it, this is not correct, since you just get an empty extra header line, and the behavior should be the same as if the data frame did not have an index with a name. #### Expected Output ```python import pandas as pd df = pd.DataFrame([[1, 2], [3, 4]], columns=['a', 'b'], index=pd.RangeIndex(2, name='Idx')) print(df.to_latex(index=False)) # \begin{tabular}{rr} # \toprule # a & b \\ # \midrule # 1 & 2 \\ # 3 & 4 \\ # \bottomrule # \end{tabular} ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit: None python: 3.7.1.final.0 python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 158 Stepping 9, GenuineIntel byteorder: little LC_ALL: None LANG: None LOCALE: None.None pandas: 0.24.2 pytest: 4.0.2 pip: 18.1 setuptools: 40.6.3 Cython: 0.29.2 numpy: 1.15.4 scipy: 1.1.0 pyarrow: None xarray: None IPython: 7.2.0 sphinx: 1.8.2 patsy: 0.5.1 dateutil: 2.7.5 pytz: 2018.7 blosc: None bottleneck: 1.2.1 tables: 3.4.4 numexpr: 2.6.8 feather: None matplotlib: 3.0.2 openpyxl: 2.5.12 xlrd: 1.2.0 xlwt: 1.3.0 xlsxwriter: 1.1.2 lxml.etree: 4.2.5 bs4: 4.6.3 html5lib: 1.0.1 sqlalchemy: 1.2.15 pymysql: None psycopg2: None jinja2: 2.10 s3fs: None fastparquet: None pandas_gbq: None pandas_datareader: None gcsfs: None </details>
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/26111/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26111/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/26112
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/26112/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/26112/comments
https://api.github.com/repos/pandas-dev/pandas/issues/26112/events
https://github.com/pandas-dev/pandas/pull/26112
434,002,113
MDExOlB1bGxSZXF1ZXN0MjcxMDg3NjE2
26,112
BUG: GroupBy.size with all-null data raises ValueError
{ "avatar_url": "https://avatars.githubusercontent.com/u/10812?v=4", "events_url": "https://api.github.com/users/adamhooper/events{/privacy}", "followers_url": "https://api.github.com/users/adamhooper/followers", "following_url": "https://api.github.com/users/adamhooper/following{/other_user}", "gists_url": "https://api.github.com/users/adamhooper/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adamhooper", "id": 10812, "login": "adamhooper", "node_id": "MDQ6VXNlcjEwODEy", "organizations_url": "https://api.github.com/users/adamhooper/orgs", "received_events_url": "https://api.github.com/users/adamhooper/received_events", "repos_url": "https://api.github.com/users/adamhooper/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adamhooper/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adamhooper/subscriptions", "type": "User", "url": "https://api.github.com/users/adamhooper" }
[ { "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, ...
closed
false
null
[]
{ "closed_at": "2019-07-19T00:34:29Z", "closed_issues": 1289, "created_at": "2018-10-23T02:34:15Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2019-07-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/61", "id": 3759483, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61/labels", "node_id": "MDk6TWlsZXN0b25lMzc1OTQ4Mw==", "number": 61, "open_issues": 0, "state": "closed", "title": "0.25.0", "updated_at": "2020-01-02T15:10:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/61" }
3
2019-04-16T21:53:06Z
2019-04-17T12:51:16Z
2019-04-17T12:51:13Z
CONTRIBUTOR
null
- [x] closes #23050 - [x] tests added / passed - [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/26112/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/26112/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/26112.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/26112", "merged_at": "2019-04-17T12:51:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/26112.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/26112" }