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/7601
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7601/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7601/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7601/events
https://github.com/pandas-dev/pandas/issues/7601
36,724,097
MDU6SXNzdWUzNjcyNDA5Nw==
7,601
API: DatetimeIndex and PeriodIndex string representation
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
1
2014-06-28T12:10:47Z
2014-06-29T20:15:53Z
2014-06-29T20:15:53Z
MEMBER
null
`DatetimeIndex` and `PeriodIndex` have inconsistent representations. Should `PeriodIndex` behaves as the same as `DatetimeIndex`, or `DatetimeIndex` should have one-liner representation in some methods? ``` import pandas and pd # DatetimeIndex --------------------------------------------------------------- idx = pd.DatetimeIndex(['2011-01-01', '2011-01-02', '2011-01-03'], freq='D') print(idx) # <class 'pandas.tseries.index.DatetimeIndex'> # [2011-01-01, ..., 2011-01-03] # Length: 3, Freq: D, Timezone: None idx.__repr__() # <class 'pandas.tseries.index.DatetimeIndex'> # [2011-01-01, ..., 2011-01-03] # Length: 3, Freq: D, Timezone: None idx.__unicode__() # <class 'pandas.tseries.index.DatetimeIndex'> # [2011-01-01, ..., 2011-01-03] # Length: 3, Freq: D, Timezone: None idx.__str__() # <class 'pandas.tseries.index.DatetimeIndex'> # [2011-01-01, ..., 2011-01-03] # Length: 3, Freq: D, Timezone: None idx.__bytes__() # <class 'pandas.tseries.index.DatetimeIndex'> # [2011-01-01, ..., 2011-01-03] # Length: 3, Freq: D, Timezone: None # PeriodIndex --------------------------------------------------------------- idx = pd.PeriodIndex(['2011-01-01', '2011-01-02', '2011-01-03'], freq='D') print(idx) # PeriodIndex([u'2011-01-01', u'2011-01-02', u'2011-01-03'], freq='D') idx.__repr__() # <class 'pandas.tseries.period.PeriodIndex'> # freq: D # [2011-01-01, ..., 2011-01-03] # length: 3 idx.__unicode__() # PeriodIndex([u'2011-01-01', u'2011-01-02', u'2011-01-03'], freq='D') idx.__str__() # PeriodIndex([u'2011-01-01', u'2011-01-02', u'2011-01-03'], freq='D') idx.__bytes__() # PeriodIndex([u'2011-01-01', u'2011-01-02', u'2011-01-03'], freq='D') ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7601/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7601/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7602
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7602/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7602/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7602/events
https://github.com/pandas-dev/pandas/pull/7602
36,726,466
MDExOlB1bGxSZXF1ZXN0MTc3Mzg0MTE=
7,602
API: DatetimeIndex and PeriodIndex have same representation
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
6
2014-06-28T14:48:14Z
2014-09-02T13:21:29Z
2014-06-29T20:15:53Z
MEMBER
null
Closes #7601. Made `PeriodIndex` to have dummy timezone representation to be consistent with `DatetimeIndex`, but this should be ommited? ### Output after the fix ``` # DatetimeIndex (No change) pd.date_range(start='2011-01-01', periods=10, freq='M') # <class 'pandas.tseries.index.DatetimeIndex'> # [2011-01-31, ..., 2011-10-31] # Length: 10, Freq: M, Timezone: None # PeriodIndex pd.period_range(start='2011-01-01', periods=10, freq='M') # <class 'pandas.tseries.period.PeriodIndex'> # [2011-01, ..., 2011-10] # Length: 10, Freq: M ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7602/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7602/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7602.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7602", "merged_at": "2014-06-29T20:15:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7602.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7602" }
https://api.github.com/repos/pandas-dev/pandas/issues/7603
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7603/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7603/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7603/events
https://github.com/pandas-dev/pandas/pull/7603
36,729,354
MDExOlB1bGxSZXF1ZXN0MTc3Mzk3MDU=
7,603
BUG: ewma() weights incorrect when some values are missing
{ "avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4", "events_url": "https://api.github.com/users/seth-p/events{/privacy}", "followers_url": "https://api.github.com/users/seth-p/followers", "following_url": "https://api.github.com/users/seth-p/following{/other_user}", "gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seth-p", "id": 7441788, "login": "seth-p", "node_id": "MDQ6VXNlcjc0NDE3ODg=", "organizations_url": "https://api.github.com/users/seth-p/orgs", "received_events_url": "https://api.github.com/users/seth-p/received_events", "repos_url": "https://api.github.com/users/seth-p/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seth-p/subscriptions", "type": "User", "url": "https://api.github.com/users/seth-p" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
19
2014-06-28T17:21:56Z
2014-09-10T00:12:55Z
2014-07-24T17:07:18Z
CONTRIBUTOR
null
Closes https://github.com/pydata/pandas/issues/7543.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7603/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7603/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7603.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7603", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/7603.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7603" }
https://api.github.com/repos/pandas-dev/pandas/issues/7604
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7604/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7604/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7604/events
https://github.com/pandas-dev/pandas/pull/7604
36,736,394
MDExOlB1bGxSZXF1ZXN0MTc3NDI5NDA=
7,604
BUG: {expanding,rolling}_{cov,corr} don't handle arguments with different index sets properly
{ "avatar_url": "https://avatars.githubusercontent.com/u/7441788?v=4", "events_url": "https://api.github.com/users/seth-p/events{/privacy}", "followers_url": "https://api.github.com/users/seth-p/followers", "following_url": "https://api.github.com/users/seth-p/following{/other_user}", "gists_url": "https://api.github.com/users/seth-p/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/seth-p", "id": 7441788, "login": "seth-p", "node_id": "MDQ6VXNlcjc0NDE3ODg=", "organizations_url": "https://api.github.com/users/seth-p/orgs", "received_events_url": "https://api.github.com/users/seth-p/received_events", "repos_url": "https://api.github.com/users/seth-p/repos", "site_admin": false, "starred_url": "https://api.github.com/users/seth-p/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/seth-p/subscriptions", "type": "User", "url": "https://api.github.com/users/seth-p" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
3
2014-06-29T00:20:04Z
2014-09-10T00:12:47Z
2014-07-01T10:14:18Z
CONTRIBUTOR
null
Closes https://github.com/pydata/pandas/issues/7512.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7604/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7604/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7604.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7604", "merged_at": "2014-07-01T10:14:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7604.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7604" }
https://api.github.com/repos/pandas-dev/pandas/issues/7605
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7605/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7605/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7605/events
https://github.com/pandas-dev/pandas/issues/7605
36,736,463
MDU6SXNzdWUzNjczNjQ2Mw==
7,605
to_hdf writes data that doesn't match read back
{ "avatar_url": "https://avatars.githubusercontent.com/u/1772592?v=4", "events_url": "https://api.github.com/users/vm-wylbur/events{/privacy}", "followers_url": "https://api.github.com/users/vm-wylbur/followers", "following_url": "https://api.github.com/users/vm-wylbur/following{/other_user}", "gists_url": "https://api.github.com/users/vm-wylbur/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vm-wylbur", "id": 1772592, "login": "vm-wylbur", "node_id": "MDQ6VXNlcjE3NzI1OTI=", "organizations_url": "https://api.github.com/users/vm-wylbur/orgs", "received_events_url": "https://api.github.com/users/vm-wylbur/received_events", "repos_url": "https://api.github.com/users/vm-wylbur/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vm-wylbur/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vm-wylbur/subscriptions", "type": "User", "url": "https://api.github.com/users/vm-wylbur" }
[]
closed
false
null
[]
null
7
2014-06-29T00:25:48Z
2014-06-29T01:58:05Z
2014-06-29T01:53:38Z
NONE
null
here's the code: ``` records.to_hdf( args.output, 'records', mode='w', format='fixed', append=False, complib='zlib', complevel=7, fletcher32=True) r2 = pd.read_hdf( path_or_buf=args.output, key='records', encoding='utf-8', start=None, stop=None) from pandas.util.testing import assert_frame_equal assert_frame_equal(records, r2, check_exact=True) ``` and the traceback: ``` /Users/pball/miniconda3/lib/python3.3/site-packages/pandas/io/pytables.py:2441: PerformanceWarning: your performance may suffer as PyTables will pickle object types that it cannot map directly to c-types [inferred_type->mixed,key->block1_values] [items->['dataset', 'record_id', 'DOD', 'CC', 'sex', 'name', 'loc', 'manner_of_death', 'eth', 'social_group', 'occ', 'clean_loc', 'month_of_death', 'year_of_death', 'name_sorted']] warnings.warn(ws, PerformanceWarning) Traceback (most recent call last): File "src/import.py", line 59, in <module> tools.epilog(args, records, logger) File "/Users/pball/git/CO/match/import/src/lib/import_tools.py", line 46, in epilog assert_frame_equal(records, r2, check_exact=True) File "/Users/pball/miniconda3/lib/python3.3/site-packages/pandas/util/testing.py", line 585, in assert_frame_equal check_exact=check_exact) File "/Users/pball/miniconda3/lib/python3.3/site-packages/pandas/util/testing.py", line 530, in assert_series_equal right.values)) AssertionError: [nan nan nan ..., 'c2681113' 'c12266508' 'c2680757'] is not equal to [nan nan nan ..., 'c2681113' 'c12266508' 'c2680757']. make: *** [output/input-records.h5] Error 1 ``` I've been trying to figure out why upstream fixes didn't seem to appear downstream. I finally came here: apparently to_hdf is writing a file that's different when it's read back. As I've been re-running this over the last hour or so, different fields have come up in the AssertionError. Here are a few things that do not eliminate the error: with or without compression; format table or fixed. However, changing these arguments does change which field is identified by assert_frame_equal as unequal. I have no idea how to reproduce this without my entire dataset, which is unfortunately confidential. I'll fall back to csv for now, and I hope that I'm just doing something horribly dumb that we can fix.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7605/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7605/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7606
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7606/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7606/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7606/events
https://github.com/pandas-dev/pandas/pull/7606
36,740,475
MDExOlB1bGxSZXF1ZXN0MTc3NDQ3MTI=
7,606
BUG: DTI.freqstr raises AttributeError when freq is None
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
1
2014-06-29T06:37:38Z
2014-06-30T10:58:09Z
2014-06-29T11:12:57Z
MEMBER
null
`DatetimeIndex.freqstr` raises `AttributeError` if `freq/offset` is `None`, even though docstring says "return the frequency object as a string if its set, otherwise None" ``` idx = pd.DatetimeIndex(['2011-01-01', '2011-01-02', '2011-01-03', '2011-01-04']) idx.freqstr # AttributeError: 'NoneType' object has no attribute 'freqstr' ``` Also, `DataFrame/Series.to_period` has a logic to use `inferred_freq` when the freq is not passed, but it doesn't work actually because of the bug. Moved the logic to `DatetimeIndex.to_period` for consistency and made it works. The fix will simplify #7602 a little.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7606/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7606/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7606.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7606", "merged_at": "2014-06-29T11:12:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7606.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7606" }
https://api.github.com/repos/pandas-dev/pandas/issues/7607
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7607/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7607/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7607/events
https://github.com/pandas-dev/pandas/pull/7607
36,740,591
MDExOlB1bGxSZXF1ZXN0MTc3NDQ3NjQ=
7,607
CLN: Simplify Period Construction / Resolution
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
6
2014-06-29T06:49:15Z
2014-07-09T12:37:56Z
2014-07-06T13:36:20Z
MEMBER
null
Simplified `Period` construction a little by adding `millisecond` resolution.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7607/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7607/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7607.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7607", "merged_at": "2014-07-06T13:36:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7607.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7607" }
https://api.github.com/repos/pandas-dev/pandas/issues/7608
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7608/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7608/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7608/events
https://github.com/pandas-dev/pandas/pull/7608
36,743,168
MDExOlB1bGxSZXF1ZXN0MTc3NDU4Mzk=
7,608
BUG: DatetimeIndex.delete with tz raises ValueError
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
3
2014-06-29T10:16:42Z
2014-07-05T04:48:06Z
2014-07-03T21:31:22Z
MEMBER
null
Found and fixed `DatetimeIndex.delete` (#7302) results in `ValueError` when it has `tz` and `freq` is less than daily.. ``` idx = pd.date_range(start='2011-01-01 09:00', periods=40, freq='H', tz='Asia/Tokyo') idx.delete(0) # ValueError: Inferred frequency None from passed dates does notconform to passed frequency H ``` `insert` (#7299) and `take` don't have problems, but changed test case to use hourly frequencies to detect this kind of problem.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7608/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7608/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7608.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7608", "merged_at": "2014-07-03T21:31:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7608.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7608" }
https://api.github.com/repos/pandas-dev/pandas/issues/7609
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7609/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7609/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7609/events
https://github.com/pandas-dev/pandas/pull/7609
36,743,303
MDExOlB1bGxSZXF1ZXN0MTc3NDU4OTc=
7,609
BUG: PeriodIndex.min/max returns int
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
3
2014-06-29T10:26:56Z
2014-06-30T10:58:00Z
2014-06-29T12:43:00Z
MEMBER
null
Related to #7279. `PeriodIndex.min/max` should return `Period` ignoring `NaT`. ``` pidx = pd.PeriodIndex(['2011-01', 'NaT'], freq='M') pidx.min() # -9223372036854775808 pidx.max() #492 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7609/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7609/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7609.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7609", "merged_at": "2014-06-29T12:43:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7609.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7609" }
https://api.github.com/repos/pandas-dev/pandas/issues/7610
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7610/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7610/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7610/events
https://github.com/pandas-dev/pandas/pull/7610
36,746,799
MDExOlB1bGxSZXF1ZXN0MTc3NDczNDg=
7,610
BUG: Timestamp.__new__ doesnt preserve nanosecond
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
2
2014-06-29T14:14:44Z
2014-07-02T16:45:22Z
2014-06-30T13:29:09Z
MEMBER
null
When `Timestamp.__new__` accepts a timestamp with nanosecond, nanosecond is not preserved properly. ``` # create Timestamp with ns (OK) t = pd.Timestamp('2011-01-01') + pd.offsets.Nano(5) t, t.value # (Timestamp('2011-01-01 00:00:00.000000005'), 1293840000000000005) # If it is passed to Timestamp.__init__, ns is not displayed even though internal value includes it. (NG) t = pd.Timestamp(t) t, t.value # (Timestamp('2011-01-01 00:00:00'), 1293840000000000005) # If offset is added to above result, ns is displayed properly (OK) t = t + pd.offsets.Nano(5) t, t.value # (Timestamp('2011-01-01 00:00:00.000000010'), 1293840000000000010) ``` NOTE: Unrelated to this issue, test_tslib had `test_timedelta_ns_arithmetic` method duplicatelly. Thus renamed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7610/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7610/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7610.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7610", "merged_at": "2014-06-30T13:29:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7610.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7610" }
https://api.github.com/repos/pandas-dev/pandas/issues/7611
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7611/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7611/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7611/events
https://github.com/pandas-dev/pandas/issues/7611
36,747,251
MDU6SXNzdWUzNjc0NzI1MQ==
7,611
to_timedelta does not recognize 'h' and 'm' units
{ "avatar_url": "https://avatars.githubusercontent.com/u/1324881?v=4", "events_url": "https://api.github.com/users/vfilimonov/events{/privacy}", "followers_url": "https://api.github.com/users/vfilimonov/followers", "following_url": "https://api.github.com/users/vfilimonov/following{/other_user}", "gists_url": "https://api.github.com/users/vfilimonov/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vfilimonov", "id": 1324881, "login": "vfilimonov", "node_id": "MDQ6VXNlcjEzMjQ4ODE=", "organizations_url": "https://api.github.com/users/vfilimonov/orgs", "received_events_url": "https://api.github.com/users/vfilimonov/received_events", "repos_url": "https://api.github.com/users/vfilimonov/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vfilimonov/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vfilimonov/subscriptions", "type": "User", "url": "https://api.github.com/users/vfilimonov" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
12
2014-06-29T14:38:05Z
2014-09-05T19:17:55Z
2014-09-05T10:24:18Z
CONTRIBUTOR
null
'h' and 'm' units are not correctly recognized in to_timedelta: ``` print pd.to_timedelta(1,unit='D') print pd.to_timedelta(1,unit='h') print pd.to_timedelta(1,unit='m') print pd.to_timedelta(1,unit='s') print pd.to_timedelta(1,unit='ms') print pd.to_timedelta(1,unit='us') print pd.to_timedelta(1,unit='ns') ``` results in ``` 86400000000000 nanoseconds 1 nanoseconds 1 nanoseconds 1000000000 nanoseconds 1000000 nanoseconds 1000 nanoseconds 1 nanoseconds ``` version: 0.14.0 Most likely related to Issue #6423
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7611/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7611/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7612
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7612/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7612/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7612/events
https://github.com/pandas-dev/pandas/issues/7612
36,747,825
MDU6SXNzdWUzNjc0NzgyNQ==
7,612
plotting with index of objects should use `FixedLocator`
{ "avatar_url": "https://avatars.githubusercontent.com/u/199813?v=4", "events_url": "https://api.github.com/users/tacaswell/events{/privacy}", "followers_url": "https://api.github.com/users/tacaswell/followers", "following_url": "https://api.github.com/users/tacaswell/following{/other_user}", "gists_url": "https://api.github.com/users/tacaswell/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tacaswell", "id": 199813, "login": "tacaswell", "node_id": "MDQ6VXNlcjE5OTgxMw==", "organizations_url": "https://api.github.com/users/tacaswell/orgs", "received_events_url": "https://api.github.com/users/tacaswell/received_events", "repos_url": "https://api.github.com/users/tacaswell/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tacaswell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tacaswell/subscriptions", "type": "User", "url": "https://api.github.com/users/tacaswell" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "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" } ]
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
2014-06-29T15:09:37Z
2019-04-30T12:59:53Z
2019-04-30T12:59:53Z
CONTRIBUTOR
null
As pointed out here (https://stackoverflow.com/questions/24468333/set-xlim-for-pandas-matplotlib-where-index-is-string/24477138#24477138) if the index of a data frame is objects (that is not, the index obviously convertible to scalars and the data is being plotted against `range(len(df))`), the ticklabels are set to be string representations of the objects (I presume via `set_xticklabels`) but the locator is still a `AutoLocator` which means if you change the xlimits or pan/zoom the axes, the ticklabels become de-coupled from the data. A solution is to also use a fixed locator which will pin the ticks to only be on the index locations. ``` import pandas as pd import numpy as np import matplotlib.pyplot as plt import matplotlib.ticker as mticker df = pd.DataFrame({'Foo': pd.Series([2,3,4], index=['2002', '2003', '2004'])}) fig, ax = plt.subplots() df.plot(ax=ax) ax.xaxis.set_major_locator(mticker.FixedLocator(np.arange(len(df)))) ax.xaxis.set_major_formatter(mticker.FixedFormatter(df.index)) ``` I can make changes to the code if someone points me to where the relevant section is.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7612/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7612/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7613
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7613/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7613/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7613/events
https://github.com/pandas-dev/pandas/pull/7613
36,781,055
MDExOlB1bGxSZXF1ZXN0MTc3NjI4Nzc=
7,613
Fix typo in documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/2644?v=4", "events_url": "https://api.github.com/users/jd/events{/privacy}", "followers_url": "https://api.github.com/users/jd/followers", "following_url": "https://api.github.com/users/jd/following{/other_user}", "gists_url": "https://api.github.com/users/jd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jd", "id": 2644, "login": "jd", "node_id": "MDQ6VXNlcjI2NDQ=", "organizations_url": "https://api.github.com/users/jd/orgs", "received_events_url": "https://api.github.com/users/jd/received_events", "repos_url": "https://api.github.com/users/jd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jd/subscriptions", "type": "User", "url": "https://api.github.com/users/jd" }
[]
closed
false
null
[]
null
1
2014-06-30T09:16:50Z
2014-06-30T09:41:37Z
2014-06-30T09:41:27Z
CONTRIBUTOR
null
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/7613/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7613/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7613.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7613", "merged_at": "2014-06-30T09:41:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7613.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7613" }
https://api.github.com/repos/pandas-dev/pandas/issues/7614
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7614/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7614/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7614/events
https://github.com/pandas-dev/pandas/issues/7614
36,790,649
MDU6SXNzdWUzNjc5MDY0OQ==
7,614
BUG: Unexpected behavior from DataFrame.index.levels
{ "avatar_url": "https://avatars.githubusercontent.com/u/4360170?v=4", "events_url": "https://api.github.com/users/8one6/events{/privacy}", "followers_url": "https://api.github.com/users/8one6/followers", "following_url": "https://api.github.com/users/8one6/following{/other_user}", "gists_url": "https://api.github.com/users/8one6/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/8one6", "id": 4360170, "login": "8one6", "node_id": "MDQ6VXNlcjQzNjAxNzA=", "organizations_url": "https://api.github.com/users/8one6/orgs", "received_events_url": "https://api.github.com/users/8one6/received_events", "repos_url": "https://api.github.com/users/8one6/repos", "site_admin": false, "starred_url": "https://api.github.com/users/8one6/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/8one6/subscriptions", "type": "User", "url": "https://api.github.com/users/8one6" }
[]
closed
false
null
[]
null
4
2014-06-30T11:50:33Z
2015-10-20T22:27:27Z
2015-10-20T22:27:27Z
NONE
null
Perhaps this is me misunderstanding the way Pandas handles indices for related objects behind the scenes, but I found the following behavior very unintuitive: ``` python import pandas as pd import numpy as np np.random.seed(0) idx = pd.MultiIndex.from_product([['John', 'Josh', 'Alex'], list('abcde')], names=['Person', 'Letter']) large = pd.DataFrame(data=np.random.randn(15, 2), index=idx, columns=['one', 'two']) small = large.loc[['Jo'==d[0:2] for d in large.index.get_level_values('Person')]] print small.index.levels[0] print large.index.levels[0] ``` This returns: ``` python Index([u'Alex', u'John', u'Josh'], dtype='object') Index([u'Alex', u'John', u'Josh'], dtype='object') ``` rather than the expected ``` python Index([u'John', u'Josh'], dtype='object') Index([u'Alex', u'John', u'Josh'], dtype='object') ``` I could get the results I expected by running ``` python small.index.get_level_values('Person').unique() large.index.get_level_values('Person').unique() ``` but could someone explain why the behavior I'm seeing above with `DataFrame.index.levels` is an appropriate result rather than a bug?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7614/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7614/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7615
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7615/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7615/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7615/events
https://github.com/pandas-dev/pandas/issues/7615
36,794,262
MDU6SXNzdWUzNjc5NDI2Mg==
7,615
ENH: DataFrame.to_csv support for "compression='gzip'"
{ "avatar_url": "https://avatars.githubusercontent.com/u/6755870?v=4", "events_url": "https://api.github.com/users/francescomalandrino/events{/privacy}", "followers_url": "https://api.github.com/users/francescomalandrino/followers", "following_url": "https://api.github.com/users/francescomalandrino/following{/other_user}", "gists_url": "https://api.github.com/users/francescomalandrino/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/francescomalandrino", "id": 6755870, "login": "francescomalandrino", "node_id": "MDQ6VXNlcjY3NTU4NzA=", "organizations_url": "https://api.github.com/users/francescomalandrino/orgs", "received_events_url": "https://api.github.com/users/francescomalandrino/received_events", "repos_url": "https://api.github.com/users/francescomalandrino/repos", "site_admin": false, "starred_url": "https://api.github.com/users/francescomalandrino/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/francescomalandrino/subscriptions", "type": "User", "url": "https://api.github.com/users/francescomalandrino" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2015-11-21T13:47:07Z", "closed_issues": 216, "created_at": "2015-09-10T14:30:44Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.17.0 of course!", "due_on": "2015-11-21T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/37", "id": 1299459, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37/labels", "node_id": "MDk6TWlsZXN0b25lMTI5OTQ1OQ==", "number": 37, "open_issues": 0, "state": "closed", "title": "0.17.1", "updated_at": "2016-07-21T16:02:53Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/37" }
15
2014-06-30T12:49:46Z
2016-10-18T14:46:48Z
2015-10-12T15:49:37Z
NONE
null
the DataFrame.to_csv method seems to accept a "compression" named parameter: ``` import numpy as np,pandas as pd data=np.arange(10).reshape(5,2) df=pd.DataFrame(data,columns=['a','b']) df.to_csv('test.csv.gz',compression='gzip') ``` However, the file it creates is not compressed at all: francesco@i3 ~/Desktop $ cat test.csv.gz ,a,b 0,0,1 1,2,3 2,4,5 3,6,7 4,8,9 How about either (i) actually implementing compression, or at least (ii) raise an error? The current behavior is confusing...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7615/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7615/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7616
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7616/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7616/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7616/events
https://github.com/pandas-dev/pandas/pull/7616
36,797,416
MDExOlB1bGxSZXF1ZXN0MTc3NzMwOTg=
7,616
BUG: Bug in to_timedelta that accepted invalid units and misinterpreted m/h (GH7611, GH6423)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-06-30T13:32:38Z
2014-09-05T03:18:03Z
2014-06-30T14:35:18Z
CONTRIBUTOR
null
closes #7611 closes #6423
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7616/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7616/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7616.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7616", "merged_at": "2014-06-30T14:35:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7616.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7616" }
https://api.github.com/repos/pandas-dev/pandas/issues/7617
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7617/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7617/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7617/events
https://github.com/pandas-dev/pandas/pull/7617
36,803,389
MDExOlB1bGxSZXF1ZXN0MTc3NzY3Mjk=
7,617
COMPAT: make numpy NaT comparison use a view to avoid implicit conversions
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-06-30T14:40:13Z
2014-06-30T15:17:20Z
2014-06-30T15:17:20Z
CONTRIBUTOR
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7617/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7617/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7617.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7617", "merged_at": "2014-06-30T15:17:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7617.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7617" }
https://api.github.com/repos/pandas-dev/pandas/issues/7618
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7618/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7618/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7618/events
https://github.com/pandas-dev/pandas/issues/7618
36,806,229
MDU6SXNzdWUzNjgwNjIyOQ==
7,618
BUG: rolling_window yields unexpected results with win_type='triang'
{ "avatar_url": "https://avatars.githubusercontent.com/u/1882093?v=4", "events_url": "https://api.github.com/users/AllenDowney/events{/privacy}", "followers_url": "https://api.github.com/users/AllenDowney/followers", "following_url": "https://api.github.com/users/AllenDowney/following{/other_user}", "gists_url": "https://api.github.com/users/AllenDowney/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AllenDowney", "id": 1882093, "login": "AllenDowney", "node_id": "MDQ6VXNlcjE4ODIwOTM=", "organizations_url": "https://api.github.com/users/AllenDowney/orgs", "received_events_url": "https://api.github.com/users/AllenDowney/received_events", "repos_url": "https://api.github.com/users/AllenDowney/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AllenDowney/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AllenDowney/subscriptions", "type": "User", "url": "https://api.github.com/users/AllenDowney" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
12
2014-06-30T15:08:40Z
2014-09-23T13:04:18Z
2014-09-23T13:04:18Z
CONTRIBUTOR
null
Here's the example in the documentation, modified to have non-zero mean: ``` n = 100 ser = pandas.Series(randn(n)+10, index=pandas.date_range('1/1/2000', periods=n)) pandas.rolling_window(ser, 5, 'triang').plot() pandas.rolling_window(ser, 5, 'boxcar').plot() ``` The rolling boxcar window is centered around 10, as expected. The triang window is centered around 6. That suggests that the weights in the window don't add up to 1. Either that or my expectation of how it should work is wrong?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7618/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7618/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7619
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7619/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7619/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7619/events
https://github.com/pandas-dev/pandas/pull/7619
36,825,681
MDExOlB1bGxSZXF1ZXN0MTc3OTAyODA=
7,619
ENH: dataframe memory usage
{ "avatar_url": "https://avatars.githubusercontent.com/u/223897?v=4", "events_url": "https://api.github.com/users/asobrien/events{/privacy}", "followers_url": "https://api.github.com/users/asobrien/followers", "following_url": "https://api.github.com/users/asobrien/following{/other_user}", "gists_url": "https://api.github.com/users/asobrien/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/asobrien", "id": 223897, "login": "asobrien", "node_id": "MDQ6VXNlcjIyMzg5Nw==", "organizations_url": "https://api.github.com/users/asobrien/orgs", "received_events_url": "https://api.github.com/users/asobrien/received_events", "repos_url": "https://api.github.com/users/asobrien/repos", "site_admin": false, "starred_url": "https://api.github.com/users/asobrien/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/asobrien/subscriptions", "type": "User", "url": "https://api.github.com/users/asobrien" }
[ { "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
61
2014-06-30T18:44:51Z
2014-10-05T02:35:24Z
2014-10-05T02:31:10Z
CONTRIBUTOR
null
Closes [#6852](https://github.com/pydata/pandas/issues/6852) For a sample DataFrame: ``` python df = pd.DataFrame({ 'float' : np.random.randn(10000000), 'int' : np.random.randint(0,5,size=10000000), 'date' : Timestamp('20130101'), 'string' : 'foo', 'smallint' : np.random.randint(0,5,size=10000000).astype('int16') }) ``` The memory usage of the elements of each column (in units of bytes) are returned by accessing the `meminfo` method. This returns a Series: ``` python >>> df.meminfo() date 80000000 float 80000000 int 80000000 smallint 20000000 string 80000000 dtype: int64 ``` Also, the total memory usage (in a human readable format) can be found via the `info(memory_usage=True)` method: ``` python >>> df.info(memory_usage=True) <class 'pandas.core.frame.DataFrame'> Int64Index: 10000000 entries, 0 to 9999999 Data columns (total 5 columns): date datetime64[ns] float float64 int int64 smallint int16 string object dtypes: datetime64[ns](1), float64(1), int16(1), int64(1), object(1) memory usage: 324.2 MB ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7619/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7619/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7619.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7619", "merged_at": "2014-10-05T02:31:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7619.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7619" }
https://api.github.com/repos/pandas-dev/pandas/issues/7620
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7620/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7620/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7620/events
https://github.com/pandas-dev/pandas/issues/7620
36,835,931
MDU6SXNzdWUzNjgzNTkzMQ==
7,620
Timezones are not comparable between different pytz versions
{ "avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4", "events_url": "https://api.github.com/users/rockg/events{/privacy}", "followers_url": "https://api.github.com/users/rockg/followers", "following_url": "https://api.github.com/users/rockg/following{/other_user}", "gists_url": "https://api.github.com/users/rockg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rockg", "id": 3195015, "login": "rockg", "node_id": "MDQ6VXNlcjMxOTUwMTU=", "organizations_url": "https://api.github.com/users/rockg/orgs", "received_events_url": "https://api.github.com/users/rockg/received_events", "repos_url": "https://api.github.com/users/rockg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rockg/subscriptions", "type": "User", "url": "https://api.github.com/users/rockg" }
[ { "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": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
9
2014-06-30T20:33:28Z
2014-07-06T14:45:14Z
2014-07-06T14:45:14Z
CONTRIBUTOR
null
I have HDF5 files created in 0.12 which were localized to a timezone ('US/Eastern'). When the dataframe is updated, it is done by calling combine_first which ultimately calls tseries.index.join. Now when I try to update in 0.14, the HDF5 representation changes. This is because of the different versions of pytz and timezone representation (see below), both sets of data will be converted to UTC and ultimately saved in UTC rather than US/Eastern. This certainly surprised me. This is using master branch as of this morning. ``` tz Out[10]: <DstTzInfo 'US/Eastern' LMT-1 day, 19:04:00 STD> #New data data.index.tz Out[11]: <DstTzInfo 'US/Eastern' EST-1 day, 19:00:00 STD> #Saved data data.index.tz == tz Out[12]: False ``` Also, in ipython typing "data.index.tz" gets stuck at "data.index." for about 20 seconds and my CPU spikes to 100% before completing. I don't know if this is simply related to the versions or something else.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7620/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7620/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7621
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7621/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7621/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7621/events
https://github.com/pandas-dev/pandas/issues/7621
36,839,824
MDU6SXNzdWUzNjgzOTgyNA==
7,621
ENH: Categorical serialized
{ "avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4", "events_url": "https://api.github.com/users/jankatins/events{/privacy}", "followers_url": "https://api.github.com/users/jankatins/followers", "following_url": "https://api.github.com/users/jankatins/following{/other_user}", "gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jankatins", "id": 890156, "login": "jankatins", "node_id": "MDQ6VXNlcjg5MDE1Ng==", "organizations_url": "https://api.github.com/users/jankatins/orgs", "received_events_url": "https://api.github.com/users/jankatins/received_events", "repos_url": "https://api.github.com/users/jankatins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jankatins/subscriptions", "type": "User", "url": "https://api.github.com/users/jankatins" }
[ { "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_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
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" }
5
2014-06-30T21:19:09Z
2018-07-06T22:31:40Z
2018-07-06T22:31:36Z
CONTRIBUTOR
null
Currently df which include a categorical can be written to a hdf store and other on disc storage formats. For formats which include factors/categoricals, also ensure that such data is read into a categorical. - [ ] CSV #7217, #7444 (just testing, not a completely fungible format) - [x] HDF5 #7217, #7444 / #8793 - [x] msgpack #8632 (closed by #12573) - [x] stata #8633 / #8767
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7621/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7621/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7622
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7622/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7622/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7622/events
https://github.com/pandas-dev/pandas/issues/7622
36,842,139
MDU6SXNzdWUzNjg0MjEzOQ==
7,622
DataFrame groupby partially drops timezone info (to_csv, in notebook)
{ "avatar_url": "https://avatars.githubusercontent.com/u/7874108?v=4", "events_url": "https://api.github.com/users/Poquaruse/events{/privacy}", "followers_url": "https://api.github.com/users/Poquaruse/followers", "following_url": "https://api.github.com/users/Poquaruse/following{/other_user}", "gists_url": "https://api.github.com/users/Poquaruse/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Poquaruse", "id": 7874108, "login": "Poquaruse", "node_id": "MDQ6VXNlcjc4NzQxMDg=", "organizations_url": "https://api.github.com/users/Poquaruse/orgs", "received_events_url": "https://api.github.com/users/Poquaruse/received_events", "repos_url": "https://api.github.com/users/Poquaruse/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Poquaruse/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Poquaruse/subscriptions", "type": "User", "url": "https://api.github.com/users/Poquaruse" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
null
4
2014-06-30T21:48:08Z
2014-07-18T16:42:38Z
2014-06-30T22:16:09Z
NONE
null
Hi all, I've encountered a problem with DataFrames, groupby and timezones. import pandas as pd import numpy as np dt_rng = pd.date_range(start='2014-01-01 00:00', periods = 1000, freq='1s', tz='Europe/Berlin') df = pd.DataFrame({'a':np.random.randn(1000), 'b': np.random.randn(1000)},index = dt_rng) df['b'] = df['b'].round() df.to_csv() --> Timezones are shown in the csv output, for example 2014-01-01 00:00:00+01:00 Now with resampling: dt_rng = pd.date_range(start='2014-01-01 00:00', periods = 1000, freq='1s', tz='Europe/Berlin') df = pd.DataFrame({'a':np.random.randn(1000), 'b': np.random.randn(1000)},index = dt_rng) df['b'] = df['b'].round() df.groupby(df['b']).resample('1min').to_csv() --> 2013-12-31 23:01:00 no timezone info, not even UTC. However: dt_rng = pd.date_range(start='2014-01-01 00:00', periods = 1000, freq='1s', tz='Europe/Berlin') df = pd.DataFrame({'a':np.random.randn(1000), 'b': np.random.randn(1000)},index = dt_rng) df['b'] = df['b'].round() df.groupby(df['b']).resample('1min').index.levels[1] shows: Timezone: Europe/Berlin So the info seems to be there, but is not exported - even if it was exported before without resampling... Any ideas? Thanks and best regards
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7622/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7622/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7623
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7623/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7623/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7623/events
https://github.com/pandas-dev/pandas/issues/7623
36,843,792
MDU6SXNzdWUzNjg0Mzc5Mg==
7,623
TST: failing windows parser test
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
7
2014-06-30T22:10:22Z
2014-07-02T14:19:28Z
2014-07-02T14:19:28Z
CONTRIBUTOR
null
This test is failing on all versions of windows (but not linux). related to #7582, #7591 cc @amras1 cc @mcwitt not sure what is failing this ``` FAIL: test_concat_invalid_first_argument (pandas.tools.tests.test_merge.TestConcatenate) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-2.7\pandas\tools\tests\test_merge.py", line 2107, in test_concat_invalid_first_argument assert_frame_equal(result,expected) File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-2.7\pandas\util\testing.py", line 641, in assert_frame_equal check_exact=check_exact) File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-2.7\pandas\util\testing.py", line 588, in assert_series_equal assert_almost_equal(left.values, right.values, check_less_precise) File "testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas\src\testing.c:2465) File "testing.pyx", line 93, in pandas._testing.assert_almost_equal (pandas\src\testing.c:1793) File "testing.pyx", line 69, in pandas._testing.assert_almost_equal (pandas\src\testing.c:1489) AssertionError: nan != 'bar' ``` can you guys take a look...thxs Here's some debug output ``` C:\Users\Jeff Reback\Documents\GitHub\pandas>c:\python27-64\Scripts\nosetests.exe build\lib.win-amd64-2.7\pandas\tools\tests\test_merge.py --pdb --pdb-failure ................> c:\users\jeff reback\documents\github\pandas\testing.pyx(69)pandas._testing.assert_almost_equal (pandas\src\testing.c:1489)() (Pdb) u > c:\users\jeff reback\documents\github\pandas\testing.pyx(93)pandas._testing.assert_almost_equal (pandas\src\testing.c:1793)() (Pdb) u > c:\users\jeff reback\documents\github\pandas\testing.pyx(58)pandas._testing.assert_almost_equal (pandas\src\testing.c:2465)() (Pdb) u > c:\users\jeff reback\documents\github\pandas\build\lib.win-amd64-2.7\pandas\util\testing.py(588)assert_series_equal() -> assert_almost_equal(left.values, right.values, check_less_precise) (Pdb) u > c:\users\jeff reback\documents\github\pandas\build\lib.win-amd64-2.7\pandas\util\testing.py(641)assert_frame_equal() -> check_exact=check_exact) (Pdb) u > c:\users\jeff reback\documents\github\pandas\build\lib.win-amd64-2.7\pandas\tools\tests\test_merge.py(2107)test_concat_invalid_first_argument() -> assert_frame_equal(result,expected) (Pdb) l 2102 """ 2103 2104 reader = read_csv(StringIO(data), chunksize=1) 2105 result = concat(reader, ignore_index=True) 2106 expected = read_csv(StringIO(data)) 2107 -> assert_frame_equal(result,expected) 2108 2109 class TestOrderedMerge(tm.TestCase): 2110 2111 def setUp(self): 2112 self.left = DataFrame({'key': ['a', 'c', 'e'], (Pdb) p result index A B C D 0 foo 2 3 4 5 1 NaN ?¶ n NaN NaN 2 baz 12 13 14 15 3 qux 12 13 14 15 4 foo2 12 13 14 15 5 bar2 12 13 14 15 (Pdb) p data 'index,A,B,C,D\nfoo,2,3,4,5\nbar,7,8,9,10\nbaz,12,13,14,15\nqux,12,13,14,15\nfoo2,12,13,14,15\nbar2,12,13,14,15\n' (Pdb) p expected index A B C D 0 foo 2 3 4 5 1 bar 7 8 9 10 2 baz 12 13 14 15 3 qux 12 13 14 15 4 foo2 12 13 14 15 5 bar2 12 13 14 15 (Pdb) !reader = read_csv(StringIO(data),chunksize=1) (Pdb) p list(reader) [ index A B C D 0 foo 2 3 4 5, index A B C D 0 NaN ?¶ n NaN NaN, index A B C D 0 baz 12 13 14 15, index A B C D 0 qux 12 13 14 15, index A B C D 0 foo2 12 13 14 15, index A B C D 0 bar2 12 13 14 15] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7623/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7623/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7624
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7624/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7624/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7624/events
https://github.com/pandas-dev/pandas/pull/7624
36,856,382
MDExOlB1bGxSZXF1ZXN0MTc4MDg4MDU=
7,624
CLN: Fix typo
{ "avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4", "events_url": "https://api.github.com/users/bwignall/events{/privacy}", "followers_url": "https://api.github.com/users/bwignall/followers", "following_url": "https://api.github.com/users/bwignall/following{/other_user}", "gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bwignall", "id": 5581066, "login": "bwignall", "node_id": "MDQ6VXNlcjU1ODEwNjY=", "organizations_url": "https://api.github.com/users/bwignall/orgs", "received_events_url": "https://api.github.com/users/bwignall/received_events", "repos_url": "https://api.github.com/users/bwignall/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bwignall/subscriptions", "type": "User", "url": "https://api.github.com/users/bwignall" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
2
2014-07-01T02:05:42Z
2014-07-01T12:12:29Z
2014-07-01T10:41:40Z
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/7624/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7624/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7624.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7624", "merged_at": "2014-07-01T10:41:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7624.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7624" }
https://api.github.com/repos/pandas-dev/pandas/issues/7625
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7625/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7625/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7625/events
https://github.com/pandas-dev/pandas/pull/7625
36,857,320
MDExOlB1bGxSZXF1ZXN0MTc4MDkyOTQ=
7,625
CLN/DEPR: Fix instances of 'U'/'rU' in open(...)
{ "avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4", "events_url": "https://api.github.com/users/bwignall/events{/privacy}", "followers_url": "https://api.github.com/users/bwignall/followers", "following_url": "https://api.github.com/users/bwignall/following{/other_user}", "gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bwignall", "id": 5581066, "login": "bwignall", "node_id": "MDQ6VXNlcjU1ODEwNjY=", "organizations_url": "https://api.github.com/users/bwignall/orgs", "received_events_url": "https://api.github.com/users/bwignall/received_events", "repos_url": "https://api.github.com/users/bwignall/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bwignall/subscriptions", "type": "User", "url": "https://api.github.com/users/bwignall" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
1
2014-07-01T02:28:22Z
2014-07-02T11:46:11Z
2014-07-01T17:52:25Z
CONTRIBUTOR
null
closes #7131
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7625/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7625/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7625.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7625", "merged_at": "2014-07-01T17:52:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7625.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7625" }
https://api.github.com/repos/pandas-dev/pandas/issues/7626
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7626/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7626/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7626/events
https://github.com/pandas-dev/pandas/issues/7626
36,858,406
MDU6SXNzdWUzNjg1ODQwNg==
7,626
nrows limit fails reading well formed csv files from Australian electricity market data
{ "avatar_url": "https://avatars.githubusercontent.com/u/5546684?v=4", "events_url": "https://api.github.com/users/ChristopherShort/events{/privacy}", "followers_url": "https://api.github.com/users/ChristopherShort/followers", "following_url": "https://api.github.com/users/ChristopherShort/following{/other_user}", "gists_url": "https://api.github.com/users/ChristopherShort/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ChristopherShort", "id": 5546684, "login": "ChristopherShort", "node_id": "MDQ6VXNlcjU1NDY2ODQ=", "organizations_url": "https://api.github.com/users/ChristopherShort/orgs", "received_events_url": "https://api.github.com/users/ChristopherShort/received_events", "repos_url": "https://api.github.com/users/ChristopherShort/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ChristopherShort/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ChristopherShort/subscriptions", "type": "User", "url": "https://api.github.com/users/ChristopherShort" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2016-12-24T22:50:46Z", "closed_issues": 107, "created_at": "2016-11-12T15:44:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.1", "due_on": "2016-12-24T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/45", "id": 2131068, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45/labels", "node_id": "MDk6TWlsZXN0b25lMjEzMTA2OA==", "number": 45, "open_issues": 0, "state": "closed", "title": "0.19.2", "updated_at": "2017-01-29T09:53:52Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45" }
18
2014-07-01T02:55:23Z
2016-12-06T01:48:05Z
2016-12-06T01:48:05Z
NONE
null
Reading Australian electricity market data files, read_csv reads past the nrows limit for certain nrows values and consequently fails. These market data files are 4 csv files combined into a single csv file and so the file has multiple headers and variable field size across the rows. The first set of data is from rows 1-1442. Intent was to extract first set of data with nrows = 1442. Testing several arbitrary CSV files from this data source shows well formed CSV - 120 fields between rows 1 to 1442 (with a 10 field at row 0) ``` lines = [len(line.strip().split(',')) for i,line in enumerate(csvFile) if i < 1442] s = pd.Series(lines) print (s.value_counts()) ``` returns 120 1441 10 1 dtype: int64 Other python examples of reading the market data using csv module [work fine](https://github.com/hsenot/aemo-json/blob/master/script/extract-historic-public-prices.py) In the reproducible example below, code works for nrows< 824, but fails on any value above it. Testing on arbitrary files suggests the 824 limit is variable - sometimes a few more rows, sometimes a few less rows. ``` import requests, io, zipfile import pandas as pd url = 'http://www.nemweb.com.au/Reports/CURRENT/Public_Prices/PUBLIC_PRICES_201406290000_20140630040528.zip' # get the zip-archive request = requests.get(url) # make the archive available as a byte-stream zipdata = io.BytesIO() zipdata.write(request.content) thezipfile = zipfile.ZipFile(zipdata, mode='r') # there is only one csv file per arhive - read it into a Pandas DataFrame fname = thezipfile.namelist()[0] with thezipfile.open(fname) as csvFile: #works for nrows < = 823 df1 = pd.read_csv(csvFile, header=1, index_col=4, parse_dates=True, nrows=823) print(df1.head()) #fails for n> 823 df1 = pd.read_csv(csvFile, header=1, index_col=4, parse_dates=True, nrows=824) print(df1.head()) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7626/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7626/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7627
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7627/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7627/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7627/events
https://github.com/pandas-dev/pandas/pull/7627
36,863,993
MDExOlB1bGxSZXF1ZXN0MTc4MTI5Njk=
7,627
PERF: optimize MultiIndex.from_product
{ "avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4", "events_url": "https://api.github.com/users/immerrr/events{/privacy}", "followers_url": "https://api.github.com/users/immerrr/followers", "following_url": "https://api.github.com/users/immerrr/following{/other_user}", "gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/immerrr", "id": 579798, "login": "immerrr", "node_id": "MDQ6VXNlcjU3OTc5OA==", "organizations_url": "https://api.github.com/users/immerrr/orgs", "received_events_url": "https://api.github.com/users/immerrr/received_events", "repos_url": "https://api.github.com/users/immerrr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/immerrr/subscriptions", "type": "User", "url": "https://api.github.com/users/immerrr" }
[ { "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
11
2014-07-01T05:45:02Z
2014-07-01T17:42:19Z
2014-07-01T11:36:24Z
CONTRIBUTOR
null
This PR speeds up MultiIndex.from_product employing the fact that operating on categorical codes is faster than on the values themselves. This yields about 2x improvement in the benchmark ``` python In [1]: import pandas.util.testing as tm In [2]: data = [tm.makeStringIndex(10000), tm.makeFloatIndex(20)] In [3]: %timeit pd.MultiIndex.from_product(data) 100 loops, best of 3: 10.6 ms per loop In [4]: %timeit pd.MultiIndex.from_arrays(pd.tools.util.cartesian_product(data)) 10 loops, best of 3: 23.4 ms per loop ``` It's only marginally slower in small size cases: ``` python In [1]: data = [np.arange(20).astype(object), np.arange(20)] In [2]: %timeit pd.MultiIndex.from_product(data) 1000 loops, best of 3: 317 µs per loop In [3]: %timeit pd.MultiIndex.from_arrays(pd.tools.util.cartesian_product(data)) 1000 loops, best of 3: 308 µs per loop In [4]: data_int = [np.arange(20), np.arange(20)] In [5]: %timeit pd.MultiIndex.from_product(data_int) 1000 loops, best of 3: 285 µs per loop In [6]: %timeit pd.MultiIndex.from_arrays(pd.tools.util.cartesian_product(data_int)) 1000 loops, best of 3: 269 µs per loop ``` And this case came as a surprise because the cartesian product is blazingly fast both in old and new versions, but profiling showed that factorization is a lot faster when done on a smaller array: ``` python In [7]: data_large = [np.arange(10000), np.arange(20)] In [8]: %timeit pd.MultiIndex.from_arrays(pd.tools.util.cartesian_product(data_large)) 100 loops, best of 3: 9.88 ms per loop In [9]: %timeit pd.MultiIndex.from_product(data_large) 100 loops, best of 3: 2.74 ms per loop ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7627/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7627/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7627.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7627", "merged_at": "2014-07-01T11:36:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7627.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7627" }
https://api.github.com/repos/pandas-dev/pandas/issues/7628
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7628/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7628/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7628/events
https://github.com/pandas-dev/pandas/issues/7628
36,867,599
MDU6SXNzdWUzNjg2NzU5OQ==
7,628
BUG: nth on series groupby with dropna=True gives TypeError
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
1
2014-07-01T07:12:20Z
2014-07-01T12:50:25Z
2014-07-01T12:50:25Z
MEMBER
null
From the docs: http://pandas-docs.github.io/pandas-docs-travis/groupby.html#taking-the-nth-row-of-each-group ``` In [1]: df = DataFrame([[1, np.nan], [1, 4], [5, 6]], columns=['A', 'B']) In [2]: g = df.groupby('A') In [3]: g.B.nth(0, dropna=True) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-3-bcb9dcbefdf5> in <module>() ----> 1 g.B.nth(0, dropna=True) C:\Users\vdbosscj\Scipy\pandas-joris\pandas\core\groupby.py in nth(self, n, drop na) 831 # get a new grouper for our dropped obj 832 grouper, exclusions, obj = _get_grouper(dropped, key=self.keys, axis=self.axis, --> 833 level=self.level, sort=s elf.sort) 834 835 sizes = obj.groupby(grouper).size() C:\Users\vdbosscj\Scipy\pandas-joris\pandas\core\groupby.py in _get_grouper(obj, key, axis, level, sort) 2035 raise AssertionError(errmsg) 2036 -> 2037 ping = Grouping(group_axis, gpr, obj=obj, name=name, level=level , sort=sort) 2038 groupings.append(ping) 2039 C:\Users\vdbosscj\Scipy\pandas-joris\pandas\core\groupby.py in __init__(self, in dex, grouper, obj, name, level, sort) 1874 # no level passed 1875 if not isinstance(self.grouper, (Series, np.ndarray)): -> 1876 self.grouper = self.index.map(self.grouper) 1877 if not (hasattr(self.grouper, "__len__") and 1878 len(self.grouper) == len(self.index)): C:\Users\vdbosscj\Scipy\pandas-joris\pandas\core\index.py in map(self, mapper) 1332 1333 def map(self, mapper): -> 1334 return self._arrmap(self.values, mapper) 1335 1336 def isin(self, values): C:\Users\vdbosscj\Scipy\pandas-joris\pandas\algos.pyd in pandas.algos.arrmap_int 64 (pandas\algos.c:72351)() TypeError: 'NoneType' object is not callable ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7628/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7628/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7629
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7629/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7629/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7629/events
https://github.com/pandas-dev/pandas/issues/7629
36,879,985
MDU6SXNzdWUzNjg3OTk4NQ==
7,629
Implement CategoricalIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4", "events_url": "https://api.github.com/users/jankatins/events{/privacy}", "followers_url": "https://api.github.com/users/jankatins/followers", "following_url": "https://api.github.com/users/jankatins/following{/other_user}", "gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jankatins", "id": 890156, "login": "jankatins", "node_id": "MDQ6VXNlcjg5MDE1Ng==", "organizations_url": "https://api.github.com/users/jankatins/orgs", "received_events_url": "https://api.github.com/users/jankatins/received_events", "repos_url": "https://api.github.com/users/jankatins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jankatins/subscriptions", "type": "User", "url": "https://api.github.com/users/jankatins" }
[ { "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": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
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" }
9
2014-07-01T10:28:34Z
2015-04-20T11:19:57Z
2015-04-20T11:19:57Z
CONTRIBUTOR
null
When #7217 becomes available, it would be nice to also have a 'CategoricalIndex' so that the sorting behaviour based on levels will be preserved when a categorical becomes a index: ``` python cats = pd.Categorical([1,2,3,4], levels=[4,2,3,1]) strings = ["a","b","c","d"] values = [4,2,3,1] df = pd.DataFrame({"strings":strings, "values":values}, index=cats) df.index # This should sort by levels but does not as there is no CategoricalIndex! df.sort_index() ``` CC: @shoyer
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7629/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7629/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7630
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7630/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7630/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7630/events
https://github.com/pandas-dev/pandas/issues/7630
36,884,036
MDU6SXNzdWUzNjg4NDAzNg==
7,630
BUG: tz lost on combine first/fillna
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2016-10-03T08:52:13Z", "closed_issues": 733, "created_at": "2016-03-11T21:24:45Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2016-09-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/40", "id": 1639795, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40/labels", "node_id": "MDk6TWlsZXN0b25lMTYzOTc5NQ==", "number": 40, "open_issues": 0, "state": "closed", "title": "0.19.0", "updated_at": "2017-11-06T02:01:14Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/40" }
3
2014-07-01T11:33:16Z
2016-08-12T15:44:54Z
2016-08-12T15:44:54Z
CONTRIBUTOR
null
http://stackoverflow.com/questions/24502838/pandas-tzinfo-lost-by-combine-first ``` In [10]: df1 = pd.DataFrame(columns=['UTCdatetime','abc'], ....: data=pd.to_datetime('20100101 01:01').tz_localize('UTC'), ....: index=pd.date_range('20140627', periods=1)) In [11]: print(df1) UTCdatetime abc 2014-06-27 2010-01-01 01:01:00+00:00 2010-01-01 01:01:00+00:00 In [12]: df2 = pd.DataFrame(columns=['UTCdatetime','xyz'], ....: data=pd.to_datetime('20121212 12:12').tz_localize('UTC'), ....: index=pd.date_range('20140628', periods=1)) In [13]: In [13]: df1 Out[13]: UTCdatetime abc 2014-06-27 2010-01-01 01:01:00+00:00 2010-01-01 01:01:00+00:00 In [14]: df2 Out[14]: UTCdatetime xyz 2014-06-28 2012-12-12 12:12:00+00:00 2012-12-12 12:12:00+00:00 In [15]: df1.dtypes Out[15]: UTCdatetime object abc object dtype: object In [16]: df2.dtypes Out[16]: UTCdatetime object xyz object dtype: object In [17]: df2[['UTCdatetime']].combine_first(df1) Out[17]: UTCdatetime abc 2014-06-27 2010-01-01 01:01:00 2010-01-01 01:01:00+00:00 2014-06-28 2012-12-12 12:12:00 NaN In [18]: df2[['UTCdatetime']].combine_first(df1).dtypes Out[18]: UTCdatetime datetime64[ns] abc object dtype: object ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7630/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7630/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7631
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7631/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7631/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7631/events
https://github.com/pandas-dev/pandas/pull/7631
36,886,310
MDExOlB1bGxSZXF1ZXN0MTc4MjYzMzY=
7,631
BUG: doc example in groupby.rst (GH7559 / GH7628)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-01T12:10:14Z
2014-07-01T12:50:25Z
2014-07-01T12:50:25Z
CONTRIBUTOR
null
closes #7628
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7631/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7631/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7631.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7631", "merged_at": "2014-07-01T12:50:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7631.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7631" }
https://api.github.com/repos/pandas-dev/pandas/issues/7632
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7632/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7632/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7632/events
https://github.com/pandas-dev/pandas/issues/7632
36,887,783
MDU6SXNzdWUzNjg4Nzc4Mw==
7,632
Bug? Dubious resulting index from merge outer join with left_index=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/3813698?v=4", "events_url": "https://api.github.com/users/matthiasjfrank/events{/privacy}", "followers_url": "https://api.github.com/users/matthiasjfrank/followers", "following_url": "https://api.github.com/users/matthiasjfrank/following{/other_user}", "gists_url": "https://api.github.com/users/matthiasjfrank/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/matthiasjfrank", "id": 3813698, "login": "matthiasjfrank", "node_id": "MDQ6VXNlcjM4MTM2OTg=", "organizations_url": "https://api.github.com/users/matthiasjfrank/orgs", "received_events_url": "https://api.github.com/users/matthiasjfrank/received_events", "repos_url": "https://api.github.com/users/matthiasjfrank/repos", "site_admin": false, "starred_url": "https://api.github.com/users/matthiasjfrank/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/matthiasjfrank/subscriptions", "type": "User", "url": "https://api.github.com/users/matthiasjfrank" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
7
2014-07-01T12:32:27Z
2019-04-09T16:36:32Z
2018-07-06T22:30:45Z
NONE
null
The following occurs when using pandas.merge for an (left) outer join with the left_index=True and right_on="something" options. The index of the resulting DataFrame contains duplicate values and the "something" column contains new (compared to before) values that look suspiciously like what the index should be. Is this expected behavior, or could this be a bug? A minimal illustration is: ``` python In [2]: pandas.__version__ Out[2]: '0.14.0' In [3]: df1 = pandas.DataFrame(zeros(8).reshape(4,2), columns=['A', 'B']) In [4]: df2 = pandas.DataFrame(arange(4).reshape(2,2), columns=['C', 'D']) In [5]: df1 Out[5]: A B 0 0 0 1 0 0 2 0 0 3 0 0 In [6]: df2 Out[6]: C D 0 0 1 1 2 3 In [7]: pandas.merge(df1, df2, left_index=True, right_on='C', how='left') Out[7]: A B C D 0 0 0 0 1 1 0 0 1 NaN 1 0 0 2 3 1 0 0 3 NaN ``` What I would expect as the result is the following and can be constructed by adding an extra column carrying the left index, doing the join with left_on instead of left_index, and dropping the extra column again: ``` python In [8]: df1['i'] = pandas.Series(df1.index) In [9]: pandas.merge(df1, df2, left_on='i', right_on='C', how='left').drop(['i'],axis=1) Out[9]: A B C D 0 0 0 0 1 1 0 0 NaN NaN 2 0 0 2 3 3 0 0 NaN NaN ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7632/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7632/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7633
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7633/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7633/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7633/events
https://github.com/pandas-dev/pandas/issues/7633
36,888,709
MDU6SXNzdWUzNjg4ODcwOQ==
7,633
PERF: perf regressions vs 0.14.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
24
2014-07-01T12:45:12Z
2014-07-18T23:24:46Z
2014-07-07T19:24:50Z
CONTRIBUTOR
null
We have many + perf fixes in 0.14.1 yeh! but need to look at these (resamples could be spurious) ``` dataframe_resample_mean_string | 4.0483 | 2.4170 | 1.6749 | dataframe_resample_max_numpy | 3.3394 | 1.7230 | 1.9381 | dataframe_resample_max_string | 3.3154 | 1.7047 | 1.9448 | dataframe_resample_min_numpy | 3.3020 | 1.6843 | 1.9604 | dataframe_resample_min_string | 3.2830 | 1.6587 | 1.9793 | timeseries_timestamp_downsample_mean | 11.4803 | 4.0847 | 2.8106 | timeseries_period_downsample_mean | 29.7631 | 10.3510 | 2.8754 | datetimeindex_normalize | 77.5570 | 3.0633 | 25.3183 | ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- Ratio < 1.0 means the target commit is faster then the baseline. Seed used: 1234 Target [272dae5] : BUG: doc example in groupby.rst (GH7559 / GH7628) Base [da0f7ae] : RLS: 0.14.0 final ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7633/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7633/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7634
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7634/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7634/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7634/events
https://github.com/pandas-dev/pandas/pull/7634
36,889,772
MDExOlB1bGxSZXF1ZXN0MTc4Mjg1MTE=
7,634
FIX: don't create 32 bit int type for int64 column (GH7433)
{ "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": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
10
2014-07-01T12:59:02Z
2014-07-06T14:52:45Z
2014-07-05T13:48:39Z
MEMBER
null
Closes #7433 Replace the sqlalchemy `Integer` type with `BigInteger` as the default integer type in pandas is int64. Probably we could be more specific in the type conversion (check for the exact integer type).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7634/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7634/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7634.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7634", "merged_at": "2014-07-05T13:48:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7634.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7634" }
https://api.github.com/repos/pandas-dev/pandas/issues/7635
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7635/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7635/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7635/events
https://github.com/pandas-dev/pandas/pull/7635
36,890,364
MDExOlB1bGxSZXF1ZXN0MTc4Mjg4NTk=
7,635
DOC: small doc build fixes
{ "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" }
[]
closed
false
null
[]
null
0
2014-07-01T13:06:48Z
2014-07-01T13:07:00Z
2014-07-01T13:07:00Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7635/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7635/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7635.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7635", "merged_at": "2014-07-01T13:07:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7635.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7635" }
https://api.github.com/repos/pandas-dev/pandas/issues/7636
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7636/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7636/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7636/events
https://github.com/pandas-dev/pandas/issues/7636
36,892,751
MDU6SXNzdWUzNjg5Mjc1MQ==
7,636
Color bars by category
{ "avatar_url": "https://avatars.githubusercontent.com/u/5517189?v=4", "events_url": "https://api.github.com/users/wefer/events{/privacy}", "followers_url": "https://api.github.com/users/wefer/followers", "following_url": "https://api.github.com/users/wefer/following{/other_user}", "gists_url": "https://api.github.com/users/wefer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wefer", "id": 5517189, "login": "wefer", "node_id": "MDQ6VXNlcjU1MTcxODk=", "organizations_url": "https://api.github.com/users/wefer/orgs", "received_events_url": "https://api.github.com/users/wefer/received_events", "repos_url": "https://api.github.com/users/wefer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wefer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wefer/subscriptions", "type": "User", "url": "https://api.github.com/users/wefer" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
8
2014-07-01T13:36:21Z
2018-07-06T22:26:45Z
2018-07-06T22:26:26Z
NONE
null
Would it make sense to add functionality for coloring bar charts according to a categorical value in a column? It could then by be passed as an argument such as: ``` python df.plot(kind='bar', colors=['r', 'g', 'b'], color_by=['B']) ``` which would lead to ['r', 'g', 'b'] being cycled throughout the values in column 'B' Something along the lines of: ``` python def color_by_category(series, colormap): from itertools import cycle unique_categories = set(series) color_cycle = cycle(colormap) repeat_colors = [color_cycle.next() for i in range(len(unique_categories))] category_color = {i:j for i,j in zip(unique_categories, repeat_colors)} color_array = [category_color[k] for k in series] return color_array ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7636/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7636/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7637
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7637/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7637/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7637/events
https://github.com/pandas-dev/pandas/issues/7637
36,898,928
MDU6SXNzdWUzNjg5ODkyOA==
7,637
Accessing Series with duplicate index returns Series, but accessing a unique index returns scalar
{ "avatar_url": "https://avatars.githubusercontent.com/u/453745?v=4", "events_url": "https://api.github.com/users/chrisaycock/events{/privacy}", "followers_url": "https://api.github.com/users/chrisaycock/followers", "following_url": "https://api.github.com/users/chrisaycock/following{/other_user}", "gists_url": "https://api.github.com/users/chrisaycock/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chrisaycock", "id": 453745, "login": "chrisaycock", "node_id": "MDQ6VXNlcjQ1Mzc0NQ==", "organizations_url": "https://api.github.com/users/chrisaycock/orgs", "received_events_url": "https://api.github.com/users/chrisaycock/received_events", "repos_url": "https://api.github.com/users/chrisaycock/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chrisaycock/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chrisaycock/subscriptions", "type": "User", "url": "https://api.github.com/users/chrisaycock" }
[ { "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
null
2
2014-07-01T14:40:49Z
2014-08-15T12:49:14Z
2014-07-07T15:40:28Z
CONTRIBUTOR
null
Suppose I have a Series with a duplicate indices: ``` python In [109]: s = pd.Series([1, 2, 3, 4, 5], index=['a', 'a', 'a', 'a', 'b']) In [110]: s Out[110]: a 1 a 2 a 3 a 4 b 5 dtype: int64 ``` If I access the duplicated index, I get a Series: ``` python In [111]: s.xs('a') Out[111]: a 1 a 2 a 3 a 4 dtype: int64 ``` But if I access a unique index, I get a scalar: ``` python In [112]: s.xs('b') Out[112]: 5 ``` Thus, I get different return types. This led to a really hard bug to track down.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7637/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7637/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7638
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7638/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7638/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7638/events
https://github.com/pandas-dev/pandas/pull/7638
36,904,710
MDExOlB1bGxSZXF1ZXN0MTc4Mzc4MDQ=
7,638
BUG: Bug in Series.get with a boolean accessor (GH7407)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-01T15:39:11Z
2014-07-01T16:02:12Z
2014-07-01T16:02:12Z
CONTRIBUTOR
null
closes #7407
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7638/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7638/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7638.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7638", "merged_at": "2014-07-01T16:02:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7638.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7638" }
https://api.github.com/repos/pandas-dev/pandas/issues/7639
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7639/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7639/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7639/events
https://github.com/pandas-dev/pandas/pull/7639
36,906,529
MDExOlB1bGxSZXF1ZXN0MTc4Mzg5NjE=
7,639
REGR: Add back #N/A N/A as a default NA value (regresion from 0.12) (GH5521)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-01T15:57:47Z
2014-07-01T16:33:07Z
2014-07-01T16:33:07Z
CONTRIBUTOR
null
closes #5521
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7639/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7639/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7639.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7639", "merged_at": "2014-07-01T16:33:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7639.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7639" }
https://api.github.com/repos/pandas-dev/pandas/issues/7640
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7640/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7640/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7640/events
https://github.com/pandas-dev/pandas/issues/7640
36,932,609
MDU6SXNzdWUzNjkzMjYwOQ==
7,640
Proposal: New Index type for binned data (IntervalIndex)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1217238?v=4", "events_url": "https://api.github.com/users/shoyer/events{/privacy}", "followers_url": "https://api.github.com/users/shoyer/followers", "following_url": "https://api.github.com/users/shoyer/following{/other_user}", "gists_url": "https://api.github.com/users/shoyer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shoyer", "id": 1217238, "login": "shoyer", "node_id": "MDQ6VXNlcjEyMTcyMzg=", "organizations_url": "https://api.github.com/users/shoyer/orgs", "received_events_url": "https://api.github.com/users/shoyer/received_events", "repos_url": "https://api.github.com/users/shoyer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shoyer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shoyer/subscriptions", "type": "User", "url": "https://api.github.com/users/shoyer" }
[ { "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": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
20
2014-07-01T21:18:41Z
2018-05-08T00:06:51Z
2017-04-14T13:32:37Z
MEMBER
null
### Design The idea is to have a natural representation of the grids that ubiquitously appear in simulations and measurements of physical systems. Instead of referencing a single value, a grid cell references a _range_ of values, based on the chosen discretization. Typically, cells boundaries would be specified by floating point numbers. In one dimension, a grid cell corresponds to an _interval_, the name we use here. The key feature of `IntervalIndex` is that looking up an indexer should return all intervals in which the indexer's values fall. `FloatIndex` is a poor substitute, because of [floating point precision issues](https://groups.google.com/d/topic/pydata/8aTLVKrPJfs/discussion), and because I don't want to label values by a single point. A `IntervalIndex` is uniquely identified by its `intervals` and `closed` (`'left'` or `'right'`) properties, an ndarray of shape `(len(idx), 2)`, indicating each interval. Other useful properties for `IntervalIndex` would include `left`, `right` and `mid`, which should return arrays (indexes?) corresponding to the left, right or mid-points of each interval. The constructor should allow the optional keyword argument `breaks` (an array of length `len(idx) + 1`) to specified instead of `intervals`. It's not entirely obvious what `idx.values` should be (`idx.mid`? strings like `'(0, 1]'`? an array of tuples or `Interval` objects?). I think the most useful choice for cross compatibility would probably be to an ndarray like `idx.mid`. `IntervalIndex` _should_ support mathematical operations (e.g., `idx + 1`), which are calculated by vectorizing the operation over the breaks. ### Examples An example already in pandas that should be a `IntervalIndex` is the `levels` property of categorical returned by `cut`, which is currently an object array of strings: ``` >>> pd.cut([], [0, 5, 10]).levels Index([u'(0, 5]', u'(5, 10]'], dtype='object') ``` Example usage: ``` python >>> # should be equivalent to pd.cut([], [0, 1, 2]).levels >>> idx = IntervalIndex(intervals=[(0, 1), (1, 2)]) >>> idx2 = IntervalIndex(breaks=[0, 1, 2]) # equivalent >>> idx IntervalIndex([(0, 1), (1, 2)], closed='right') >>> idx.left np.array([0, 1]) >>> idx.right np.array([1, 2]) >>> idx.mid np.array([0.5, 1.5]) >>> s = pd.Series([1, 2], idx) (0, 1] 1 (1, 2] 2 dtype: int64 >>> s.loc[1] 1 >>> s.loc[0.5] 1 >>> s.loc[0] KeyError ``` ### Implementation A `IntervalIndex` would be a monotonic and non-overlapping one-dimensional array of intervals. It is _not_ required to be contiguous. A scalar `Interval` would correspond to a contiguous interval between start and stop values (e.g., given by integers, floating point numbers or datetimes). For index lookups, I propose to do a binary search (`np.searchsorted`) on `idx.left`. If we add the constraint that all intervals must have a fixed width, we could calculate the bin using a formula in constant time, but I'm not sure the loss in flexibility would be worth the speedup. `IntervalIndex` should play nicely when used as the levels for `Categorical` variable (#7217), but it is _not_ the same as a `CategoricalIndex` (#7629). For example, a `IntervalIndex` should not allow for redundant values. To represent redundant or non-continuous intervals, you would need to make in a `Categorical` or `CategoricalIndex` which uses a `IntervalIndex` for the levels. Calling `df.reset_index()` on an `DataFrame` with an `IntervalIndex` would create a new `Categorical` column. --- Note: I'm not entirely sure if this design doc belongs here or on mailing list (I'm happy to post it there if requested). Here is the comment where I brought this up previously: https://github.com/pydata/pandas/issues/5460#issuecomment-44474502 CC @hugadams -- I expect `IntervalIndex` would be very handy for your [pyuvvis](https://github.com/hugadams/pyuvvis).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7640/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7640/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7641
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7641/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7641/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7641/events
https://github.com/pandas-dev/pandas/issues/7641
36,940,305
MDU6SXNzdWUzNjk0MDMwNQ==
7,641
kernel crash
{ "avatar_url": "https://avatars.githubusercontent.com/u/5225572?v=4", "events_url": "https://api.github.com/users/bcabs/events{/privacy}", "followers_url": "https://api.github.com/users/bcabs/followers", "following_url": "https://api.github.com/users/bcabs/following{/other_user}", "gists_url": "https://api.github.com/users/bcabs/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bcabs", "id": 5225572, "login": "bcabs", "node_id": "MDQ6VXNlcjUyMjU1NzI=", "organizations_url": "https://api.github.com/users/bcabs/orgs", "received_events_url": "https://api.github.com/users/bcabs/received_events", "repos_url": "https://api.github.com/users/bcabs/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bcabs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bcabs/subscriptions", "type": "User", "url": "https://api.github.com/users/bcabs" }
[ { "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
2014-07-01T23:32:05Z
2015-10-20T22:28:32Z
2015-10-20T22:28:32Z
NONE
null
So I have a 1.07 GB json file that I am trying to open. However, the kernel crashes every time I try to run these three lines: import pandas as pd f = open("large json file", "r") pd.read_json(f) Anyone have any ideas on this? Is it a defect? Python 2.7.3 [GCC 4.7.2] on linux2 **\* glibc detected **\* python: double free or corruption (out): 0x00007fff0d86a480 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7fd1b46b2d76] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fd1b46b7aac] /usr/local/lib/python2.7/dist-packages/pandas/json.so(JSON_DecodeObject+0x149)[0x7fd1afc35909] /usr/local/lib/python2.7/dist-packages/pandas/json.so(JSONToObj+0x248)[0x7fd1afc33078] python(PyEval_EvalFrameEx+0x69f0)[0x4b2ce0] python(PyEval_EvalFrameEx+0xaf0)[0x4acde0] ======= Memory map: ======== 00400000-00658000 r-xp 00000000 08:03 2269915 /usr/bin/python2.7 00857000-00858000 r--p 00257000 08:03 2269915 /usr/bin/python2.7 00858000-008c1000 rw-p 00258000 08:03 2269915 /usr/bin/python2.7 008c1000-008d3000 rw-p 00000000 00:00 0 02075000-036ca000 rw-p 00000000 00:00 0 [heap] 7fd164000000-7fd164021000 rw-p 00000000 00:00 0 7fd164021000-7fd168000000 ---p 00000000 00:00 0 7fd1699e3000-7fd1aeaf2000 rw-p 00000000 00:00 0 7fd1aeaf2000-7fd1aeafb000 r-xp 00000000 08:03 2370198 /usr/local/lib/python2.7/dist-packages/pandas/_testing.so 7fd1aeafb000-7fd1aecfa000 ---p 00009000 08:03 2370198 /usr/local/lib/python2.7/dist-packages/pandas/_testing.so 7fd1aecfa000-7fd1aecfb000 r--p 00008000 08:03 2370198 /usr/local/lib/python2.7/dist-packages/pandas/_testing.so 7fd1aecfb000-7fd1aecfc000 rw-p 00009000 08:03 2370198 /usr/local/lib/python2.7/dist-packages/pandas/_testing.so 7fd1aecfc000-7fd1aeffd000 rw-p 00000000 00:00 0 7fd1aeffd000-7fd1af0e5000 r-xp 00000000 08:03 2327743 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fd1af0e5000-7fd1af2e5000 ---p 000e8000 08:03 2327743 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fd1af2e5000-7fd1af2ed000 r--p 000e8000 08:03 2327743 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fd1af2ed000-7fd1af2ef000 rw-p 000f0000 08:03 2327743 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 7fd1af2ef000-7fd1af304000 rw-p 00000000 00:00 0 7fd1af304000-7fd1af31a000 r-xp 00000000 08:03 2370192 /usr/local/lib/python2.7/dist-packages/pandas/msgpack.so 7fd1af31a000-7fd1af51a000 ---p 00016000 08:03 2370192 /usr/local/lib/python2.7/dist-packages/pandas/msgpack.so 7fd1af51a000-7fd1af51b000 r--p 00016000 08:03 2370192 /usr/local/lib/python2.7/dist-packages/pandas/msgpack.so 7fd1af51b000-7fd1af51e000 rw-p 00017000 08:03 2370192 /usr/local/lib/python2.7/dist-packages/pandas/msgpack.so 7fd1af51e000-7fd1af5e0000 rw-p 00000000 00:00 0 7fd1af5e0000-7fd1af5ef000 r-xp 00000000 08:03 2319476 /usr/lib/python2.7/lib-dynload/pyexpat.so 7fd1af5ef000-7fd1af7ee000 ---p 0000f000 08:03 2319476 /usr/lib/python2.7/lib-dynload/pyexpat.so 7fd1af7ee000-7fd1af7ef000 r--p 0000e000 08:03 2319476 /usr/lib/python2.7/lib-dynload/pyexpat.so 7fd1af7ef000-7fd1af7f1000 rw-p 0000f000 08:03 2319476 /usr/lib/python2.7/lib-dynload/pyexpat.so 7fd1af7f1000-7fd1af818000 r-xp 00000000 08:03 5276611 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 7fd1af818000-7fd1afa18000 ---p 00027000 08:03 5276611 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 7fd1afa18000-7fd1afa1a000 r--p 00027000 08:03 5276611 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 7fd1afa1a000-7fd1afa1b000 rw-p 00029000 08:03 5276611 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 7fd1afa1b000-7fd1afa28000 r-xp 00000000 08:03 2319452 /usr/lib/python2.7/lib-dynload/_elementtree.so 7fd1afa28000-7fd1afc27000 ---p 0000d000 08:03 2319452 /usr/lib/python2.7/lib-dynload/_elementtree.so 7fd1afc27000-7fd1afc28000 r--p 0000c000 08:03 2319452 /usr/lib/python2.7/lib-dynload/_elementtree.so 7fd1afc28000-7fd1afc29000 rw-p 0000d000 08:03 2319452 /usr/lib/python2.7/lib-dynload/_elementtree.so 7fd1afc29000-7fd1afc3d000 r-xp 00000000 08:03 2370203 /usr/local/lib/python2.7/dist-packages/pandas/json.so 7fd1afc3d000-7fd1afe3d000 ---p 00014000 08:03 2370203 /usr/local/lib/python2.7/dist-packages/pandas/json.so 7fd1afe3d000-7fd1afe3e000 r--p 00014000 08:03 2370203 /usr/local/lib/python2.7/dist-packages/pandas/json.so 7fd1afe3e000-7fd1afe3f000 rw-p 00015000 08:03 2370203 /usr/local/lib/python2.7/dist-packages/pandas/json.so 7fd1afe3f000-7fd1afe8a000 r-xp 00000000 08:03 2370199 /usr/local/lib/python2.7/dist-packages/pandas/parser.so 7fd1afe8a000-7fd1b0089000 ---p 0004b000 08:03 2370199 /usr/local/lib/python2.7/dist-packages/pandas/parser.so 7fd1b0089000-7fd1b008a000 r--p 0004a000 08:03 2370199 /usr/local/lib/python2.7/dist-packages/pandas/parser.so 7fd1b008a000-7fd1b008f000 rw-p 0004b000 08:03 2370199 /usr/local/lib/python2.7/dist-packages/pandas/parser.so 7fd1b008f000-7fd1b0090000 rw-p 00000000 00:00 0 7fd1b0090000-7fd1b00cb000 r-xp 00000000 08:03 2370195 /usr/local/lib/python2.7/dist-packages/pandas/_sparse.so 7fd1b00cb000-7fd1b02ca000 ---p 0003b000 08:03 2370195 /usr/local/lib/python2.7/dist-packages/pandas/_sparse.so 7fd1b02ca000-7fd1b02cb000 r--p 0003a000 08:03 2370195 /usr/local/lib/python2.7/dist-packages/pandas/_sparse.so 7fd1b02cb000-7fd1b02cf000 rw-p 0003b000 08:03 2370195 /usr/local/lib/python2.7/dist-packages/pandas/_sparse.so 7fd1b02cf000-7fd1b02d0000 rw-p 00000000 00:00 0 7fd1b02d0000-7fd1b02fb000 r-xp 00000000 08:03 2370191 /usr/local/lib/python2.7/dist-packages/pandas/index.so 7fd1b02fb000-7fd1b04fb000 ---p 0002b000 08:03 2370191 /usr/local/lib/python2.7/dist-packages/pandas/index.so 7fd1b04fb000-7fd1b04fc000 r--p 0002b000 08:03 2370191 /usr/local/lib/python2.7/dist-packages/pandas/index.so 7fd1b04fc000-7fd1b04ff000 rw-p 0002c000 08:03 2370191 /usr/local/lib/python2.7/dist-packages/pandas/index.so 7fd1b04ff000-7fd1b0500000 rw-p 00000000 00:00 0 7fd1b0500000-7fd1b06e6000 r-xp 00000000 08:03 2370193 /usr/local/lib/python2.7/dist-packages/pandas/algos.so 7fd1b06e6000-7fd1b08e5000 ---p 001e6000 08:03 2370193 /usr/local/lib/python2.7/dist-packages/pandas/algos.so 7fd1b08e5000-7fd1b08e6000 r--p 001e5000 08:03 2370193 /usr/local/lib/python2.7/dist-packages/pandas/algos.so 7fd1b08e6000-7fd1b08f9000 rw-p 001e6000 08:03 2370193 /usr/local/lib/python2.7/dist-packages/pandas/algos.so 7fd1b08f9000-7fd1b08fc000 rw-p 00000000 00:00 0 7fd1b08fc000-7fd1b0902000 r-xp 00000000 08:03 2319447 /usr/lib/python2.7/lib-dynload/_csv.so 7fd1b0902000-7fd1b0b01000 ---p 00006000 08:03 2319447 /usr/lib/python2.7/lib-dynload/_csv.so 7fd1b0b01000-7fd1b0b02000 r--p 00005000 08:03 2319447 /usr/lib/python2.7/lib-dynload/_csv.so 7fd1b0b02000-7fd1b0b04000 rw-p 00006000 08:03 2319447 /usr/lib/python2.7/lib-dynload/_csv.so 7fd1b0b04000-7fd1b0bc0000 r-xp 00000000 08:03 2370196 /usr/local/lib/python2.7/dist-packages/pandas/lib.so 7fd1b0bc0000-7fd1b0dc0000 ---p 000bc000 08:03 2370196 /usr/local/lib/python2.7/dist-packages/pandas/lib.so 7fd1b0dc0000-7fd1b0dc1000 r--p 000bc000 08:03 2370196 /usr/local/lib/python2.7/dist-packages/pandas/lib.so 7fd1b0dc1000-7fd1b0dce000 rw-p 000bd000 08:03 2370196 /usr/local/lib/python2.7/dist-packages/pandas/lib.so 7fd1b0dce000-7fd1b0dd2000 rw-p 00000000 00:00 0 7fd1b0dd2000-7fd1b0dd5000 r-xp 00000000 08:03 2319453 /usr/lib/python2.7/lib-dynload/_hashlib.so 7fd1b0dd5000-7fd1b0fd5000 ---p 00003000 08:03 2319453 /usr/lib/python2.7/lib-dynload/_hashlib.so 7fd1b0fd5000-7fd1b0fd6000 r--p 00003000 08:03 2319453 /usr/lib/python2.7/lib-dynload/_hashlib.so 7fd1b0fd6000-7fd1b0fd7000 rw-p 00004000 08:03 2319453 /usr/lib/python2.7/lib-dynload/_hashlib.so 7fd1b0fd7000-7fd1b118e000 r-xp 00000000 08:03 2327265 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fd1b118e000-7fd1b138d000 ---p 001b7000 08:03 2327265 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fd1b138d000-7fd1b13a8000 r--p 001b6000 08:03 2327265 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fd1b13a8000-7fd1b13b7000 rw-p 001d1000 08:03 2327265 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fd1b13b7000-7fd1b13bb000 rw-p 00000000 00:00 0 7fd1b13bb000-7fd1b1411000 r-xp 00000000 08:03 2327740 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 7fd1b1411000-7fd1b1610000 ---p 00056000 08:03 2327740 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 7fd1b1610000-7fd1b1613000 r--p 00055000 08:03 2327740 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 7fd1b1613000-7fd1b161a000 rw-p 00058000 08:03 2327740 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 7fd1b161a000-7fd1b1622000 r-xp 00000000 08:03 2319461 /usr/lib/python2.7/lib-dynload/_ssl.so 7fd1b1622000-7fd1b1821000 ---p 00008000 08:03 2319461 /usr/lib/python2.7/lib-dynload/_ssl.so 7fd1b1821000-7fd1b1822000 r--p 00007000 08:03 2319461 /usr/lib/python2.7/lib-dynload/_ssl.so 7fd1b1822000-7fd1b1823000 rw-p 00008000 08:03 2319461 /usr/lib/python2.7/lib-dynload/_ssl.so 7fd1b1823000-7fd1b18f1000 r-xp 00000000 08:03 2370202 /usr/local/lib/python2.7/dist-packages/pandas/tslib.so 7fd1b18f1000-7fd1b1af0000 ---p 000ce000 08:03 2370202 /usr/local/lib/python2.7/dist-packages/pandas/tslib.so 7fd1b1af0000-7fd1b1af1000 r--p 000cd000 08:03 2370202 /usr/local/lib/python2.7/dist-packages/pandas/tslib.so 7fd1b1af1000-7fd1b1aff000 rw-p 000ce000 08:03 2370202 /usr/local/lib/python2.7/dist-packages/pandas/tslib.so 7fd1b1aff000-7fd1b1b02000 rw-p 00000000 00:00 0 7fd1b1b02000-7fd1b1b28000 r-xp 00000000 08:03 2319448 /usr/lib/python2.7/lib-dynload/_ctypes.so 7fd1b1b28000-7fd1b1d27000 ---p 00026000 08:03 2319448 /usr/lib/python2.7/lib-dynload/_ctypes.so 7fd1b1d27000-7fd1b1d28000 r--p 00025000 08:03 2319448 /usr/lib/python2.7/lib-dynload/_ctypes.so 7fd1b1d28000-7fd1b1d2c000 rw-p 00026000 08:03 2319448 /usr/lib/python2.7/lib-dynload/_ctypes.so 7fd1b1d2c000-7fd1b1d2d000 rw-p 00000000 00:00 0 7fd1b1d2d000-7fd1b1d75000 r-xp 00000000 08:03 1024002 /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so 7fd1b1d75000-7fd1b1f75000 ---p 00048000 08:03 1024002 /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so 7fd1b1f75000-7fd1b1f76000 r--p 00048000 08:03 1024002 /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so 7fd1b1f76000-7fd1b1fac000 rw-p 00049000 08:03 1024002 /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so 7fd1b1fac000-7fd1b1fad000 rw-p 00000000 00:00 0 7fd1b1fad000-7fd1b1fb6000 r-xp 00000000 08:03 1040387 /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so 7fd1b1fb6000-7fd1b21b5000 ---p 00009000 08:03 1040387 /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so 7fd1b21b5000-7fd1b21b6000 r--p 00008000 08:03 1040387 /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so 7fd1b21b6000-7fd1b21b7000 rw-p 00009000 08:03 1040387 /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so 7fd1b21b7000-7fd1b21b8000 r-xp 00000000 08:03 2319470 /usr/lib/python2.7/lib-dynload/future_builtins.so 7fd1b21b8000-7fd1b23b7000 ---p 00001000 08:03 2319470 /usr/lib/python2.7/lib-dynload/future_builtins.so 7fd1b23b7000-7fd1b23b8000 r--p 00000000 08:03 2319470 /usr/lib/python2.7/lib-dynload/future_builtins.so 7fd1b23b8000-7fd1b23b9000 rw-p 00001000 08:03 2319470 /usr/lib/python2.7/lib-dynload/future_builtins.so 7fd1b23b9000-7fd1b23d8000 r-xp 00000000 08:03 2319455 /usr/lib/python2.7/lib-dynload/_io.so 7fd1b23d8000-7fd1b25d7000 ---p 0001f000 08:03 2319455 /usr/lib/python2.7/lib-dynload/_io.so 7fd1b25d7000-7fd1b25d8000 r--p 0001e000 08:03 2319455 /usr/lib/python2.7/lib-dynload/_io.so 7fd1b25d8000-7fd1b25e1000 rw-p 0001f000 08:03 2319455 /usr/lib/python2.7/lib-dynload/_io.so 7fd1b25e1000-7fd1b275e000 r-xp 00000000 08:03 1392651 /usr/local/lib/python2.7/dist-packages/numpy/linalg/_umath_linalg.so 7fd1b275e000-7fd1b295e000 ---p 0017d000 08:03 1392651 /usr/local/lib/python2.7/dist-packages/numpy/linalg/_umath_linalg.so 7fd1b295e000-7fd1b295f000 r--p 0017d000 08:03 1392651 /usr/local/lib/python2.7/dist-packages/numpy/linalg/_umath_linalg.so 7fd1b295f000-7fd1b2960000 rw-p 0017e000 08:03 1392651 /usr/local/lib/python2.7/dist-packages/numpy/linalg/_umath_linalg.so 7fd1b2960000-7fd1b29fc000 rw-p 00000000 00:00 0 7fd1b29fc000-7fd1b2b61000 r-xp 00000000 08:03 999427 /usr/local/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so 7fd1b2b61000-7fd1b2d60000 ---p 00165000 08:03 999427 /usr/local/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so 7fd1b2d60000-7fd1b2d61000 r--p 00164000 08:03 999427 /usr/local/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so 7fd1b2d61000-7fd1b2d62000 rw-p 00165000 08:03 999427 /usr/local/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so 7fd1b2d62000-7fd1b2dfd000 rw-p 00000000 00:00 0 7fd1b2dfd000-7fd1b2e03000 r-xp 00000000 08:03 1122311 /usr/local/lib/python2.7/dist-packages/numpy/lib/_compiled_base.so 7fd1b2e03000-7fd1b3002000 ---p 00006000 08:03 1122311 /usr/local/lib/python2.7/dist-packages/numpy/lib/_compiled_base.soAborted
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7641/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7641/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7642
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7642/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7642/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7642/events
https://github.com/pandas-dev/pandas/issues/7642
36,943,112
MDU6SXNzdWUzNjk0MzExMg==
7,642
openpyxl compatibility warning doesn't catch no openpyxl installed
{ "avatar_url": "https://avatars.githubusercontent.com/u/1348834?v=4", "events_url": "https://api.github.com/users/patricktokeeffe/events{/privacy}", "followers_url": "https://api.github.com/users/patricktokeeffe/followers", "following_url": "https://api.github.com/users/patricktokeeffe/following{/other_user}", "gists_url": "https://api.github.com/users/patricktokeeffe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/patricktokeeffe", "id": 1348834, "login": "patricktokeeffe", "node_id": "MDQ6VXNlcjEzNDg4MzQ=", "organizations_url": "https://api.github.com/users/patricktokeeffe/orgs", "received_events_url": "https://api.github.com/users/patricktokeeffe/received_events", "repos_url": "https://api.github.com/users/patricktokeeffe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/patricktokeeffe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/patricktokeeffe/subscriptions", "type": "User", "url": "https://api.github.com/users/patricktokeeffe" }
[]
closed
false
null
[]
null
2
2014-07-02T00:31:57Z
2014-07-21T11:20:49Z
2014-07-02T00:35:36Z
CONTRIBUTOR
null
Just installed 0.14.0 (on Windows 7) and received this warning: > Installed openpyxl is not supported at this time. Use >=1.6.1 and <2.0.0. I did not have any version of openpyxl installed though. Perhaps the change made to `pandas/io/excel.py` in #7214 should have been more like: ``` diff -register_writer(_OpenpyxlWriter) + +openpyxl_check = openpyxl_compat.is_compat() +if openpyxl_check is None: + warn('Could not import openpyxl -- not using.') +elif openpyxl_check: + register_writer(_OpenpyxlWriter) +else: + warn('Installed openpyxl is not supported at this time. Use >={} and <{}.' + .format(openpyxl_compat.start_ver, openpyxl_compat.stop_ver)) ``` --- As a side note, I received the same warning after installing openpyxl 1.9.0 but it was because I didn't have `lxml` (<-- I may have misspelled this module name).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7642/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7642/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7643
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7643/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7643/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7643/events
https://github.com/pandas-dev/pandas/issues/7643
36,945,839
MDU6SXNzdWUzNjk0NTgzOQ==
7,643
Plot method ignores upper and lower error bar arguments
{ "avatar_url": "https://avatars.githubusercontent.com/u/1308430?v=4", "events_url": "https://api.github.com/users/theandygross/events{/privacy}", "followers_url": "https://api.github.com/users/theandygross/followers", "following_url": "https://api.github.com/users/theandygross/following{/other_user}", "gists_url": "https://api.github.com/users/theandygross/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/theandygross", "id": 1308430, "login": "theandygross", "node_id": "MDQ6VXNlcjEzMDg0MzA=", "organizations_url": "https://api.github.com/users/theandygross/orgs", "received_events_url": "https://api.github.com/users/theandygross/received_events", "repos_url": "https://api.github.com/users/theandygross/repos", "site_admin": false, "starred_url": "https://api.github.com/users/theandygross/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/theandygross/subscriptions", "type": "User", "url": "https://api.github.com/users/theandygross" }
[]
closed
false
null
[]
null
1
2014-07-02T01:39:32Z
2015-10-20T22:30:01Z
2015-10-20T22:30:01Z
CONTRIBUTOR
null
This seems to be specific to Pandas as opposed to matplotlib. Worked as desired as of a few months ago when I last updated from master. This is the desired behavior in matplotlib: ``` python barh([0,1], [.3, .5], xerr=[[.1,.2], [.3,.4]], color = ['red','green'], ecolor='black') ``` ![image](https://cloud.githubusercontent.com/assets/1308430/3450982/6507afc8-0189-11e4-9ea6-2cb3b417a9c0.png) In the Pandas call, it seems to ignore the second error bar argument, both the upper and lower bounds of the error bar are the same: ``` python s = pd.Series([.3,.5]) s.plot(kind='barh', xerr=[[.1,.2], [.3,.4]], color = ['red','green'], ecolor='black') ``` ![image](https://cloud.githubusercontent.com/assets/1308430/3450991/928769fc-0189-11e4-9b16-670a6c98ce66.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7643/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7643/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7644
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7644/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7644/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7644/events
https://github.com/pandas-dev/pandas/issues/7644
36,950,738
MDU6SXNzdWUzNjk1MDczOA==
7,644
Segmentation Fault 11 When Adding a New Empty Column
{ "avatar_url": "https://avatars.githubusercontent.com/u/1276363?v=4", "events_url": "https://api.github.com/users/stantontcady/events{/privacy}", "followers_url": "https://api.github.com/users/stantontcady/followers", "following_url": "https://api.github.com/users/stantontcady/following{/other_user}", "gists_url": "https://api.github.com/users/stantontcady/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stantontcady", "id": 1276363, "login": "stantontcady", "node_id": "MDQ6VXNlcjEyNzYzNjM=", "organizations_url": "https://api.github.com/users/stantontcady/orgs", "received_events_url": "https://api.github.com/users/stantontcady/received_events", "repos_url": "https://api.github.com/users/stantontcady/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stantontcady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stantontcady/subscriptions", "type": "User", "url": "https://api.github.com/users/stantontcady" }
[]
closed
false
null
[]
null
5
2014-07-02T04:02:24Z
2014-10-02T12:29:19Z
2014-10-02T12:29:19Z
NONE
null
While running OS X 10.9.3 and Python 2.7.6 I get a seg fault when trying to add a new column to an existing DataFrame where the new column is initialized to an empty string (""). When initializing to np.NaN, the fault does not occur. An example is below. mydataframe['new_column'] = "" <- this results in 'Segmentation Fault 11' mydataframe['new_column'] = np.nan <- this works
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7644/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7644/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7645
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7645/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7645/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7645/events
https://github.com/pandas-dev/pandas/issues/7645
36,961,957
MDU6SXNzdWUzNjk2MTk1Nw==
7,645
Using .compound in groupby
{ "avatar_url": "https://avatars.githubusercontent.com/u/674200?v=4", "events_url": "https://api.github.com/users/twiecki/events{/privacy}", "followers_url": "https://api.github.com/users/twiecki/followers", "following_url": "https://api.github.com/users/twiecki/following{/other_user}", "gists_url": "https://api.github.com/users/twiecki/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twiecki", "id": 674200, "login": "twiecki", "node_id": "MDQ6VXNlcjY3NDIwMA==", "organizations_url": "https://api.github.com/users/twiecki/orgs", "received_events_url": "https://api.github.com/users/twiecki/received_events", "repos_url": "https://api.github.com/users/twiecki/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twiecki/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twiecki/subscriptions", "type": "User", "url": "https://api.github.com/users/twiecki" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "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" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
6
2014-07-02T08:38:16Z
2018-07-06T22:15:43Z
2018-07-06T22:15:43Z
CONTRIBUTOR
null
``` python df = pd.DataFrame({'grp': [0, 0, 1, 1], 'returns': [0, 0.1, -.1, .1]}) df.groupby('grp').returns.compound() df.groupby('grp').returns.apply('compound') ``` Doesn't seem to work: ``` --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-193-cb3ce32c6c2e> in <module>() 1 df = pd.DataFrame({'grp': [0, 0, 1, 1], 'returns': [0, 0.1, -.1, .1]}) ----> 2 df.groupby('grp').returns.compound() 3 df.groupby('grp').returns.apply('compound') /home/wiecki/envs/zipline_p14/lib/python2.7/site-packages/pandas/core/groupby.py in __getattr__(self, attr) 481 return self[attr] 482 if hasattr(self.obj, attr): --> 483 return self._make_wrapper(attr) 484 485 raise AttributeError("%r object has no attribute %r" % /home/wiecki/envs/zipline_p14/lib/python2.7/site-packages/pandas/core/groupby.py in _make_wrapper(self, name) 496 "using the 'apply' method".format(kind, name, 497 type(self).__name__)) --> 498 raise AttributeError(msg) 499 500 # need to setup the selection AttributeError: Cannot access callable attribute 'compound' of 'SeriesGroupBy' objects, try using the 'apply' method ``` apply also doesn't work. This is with pandas 0.14.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7645/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7645/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7646
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7646/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7646/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7646/events
https://github.com/pandas-dev/pandas/issues/7646
36,967,231
MDU6SXNzdWUzNjk2NzIzMQ==
7,646
Can't append hdf5 file with df.to_hdf
{ "avatar_url": "https://avatars.githubusercontent.com/u/399854?v=4", "events_url": "https://api.github.com/users/juhi24/events{/privacy}", "followers_url": "https://api.github.com/users/juhi24/followers", "following_url": "https://api.github.com/users/juhi24/following{/other_user}", "gists_url": "https://api.github.com/users/juhi24/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/juhi24", "id": 399854, "login": "juhi24", "node_id": "MDQ6VXNlcjM5OTg1NA==", "organizations_url": "https://api.github.com/users/juhi24/orgs", "received_events_url": "https://api.github.com/users/juhi24/received_events", "repos_url": "https://api.github.com/users/juhi24/repos", "site_admin": false, "starred_url": "https://api.github.com/users/juhi24/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/juhi24/subscriptions", "type": "User", "url": "https://api.github.com/users/juhi24" }
[]
closed
false
null
[]
null
9
2014-07-02T09:56:04Z
2014-08-28T18:00:27Z
2014-07-07T15:39:14Z
NONE
null
I recently upgraded most of my python packages via pip. After the upgrade ``` df.to_hdf('store.h5', 'data', format='table', append=True) ``` gives ``` /home/jussitii/py3env/lib/python3.2/site-packages/pandas/core/generic.py in to_hdf(self, path_or_buf, key, **kwargs) 894 895 from pandas.io import pytables --> 896 return pytables.to_hdf(path_or_buf, key, self, **kwargs) 897 898 def to_msgpack(self, path_or_buf=None, **kwargs): /home/jussitii/py3env/lib/python3.2/site-packages/pandas/io/pytables.py in to_hdf(path_or_buf, key, value, mode, complevel, complib, append, **kwargs) 284 f(store) 285 else: --> 286 f(path_or_buf) 287 288 /home/jussitii/py3env/lib/python3.2/site-packages/pandas/io/pytables.py in <lambda>(store) 275 """ store this object, close it if we opened it """ 276 if append: --> 277 f = lambda store: store.append(key, value, **kwargs) 278 else: 279 f = lambda store: store.put(key, value, **kwargs) TypeError: append() takes no keyword arguments ``` ``` In [13]: pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 3.2.3.final.0 python-bits: 64 OS: Linux OS-release: 3.2.0-64-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: None pandas: 0.14.0 nose: 1.3.3 Cython: 0.20.2 numpy: 1.8.1 scipy: 0.14.0 statsmodels: None IPython: 1.2.1 sphinx: None patsy: None scikits.timeseries: None dateutil: 2.2 pytz: 2014.4 bottleneck: None tables: 3.1.1 numexpr: 2.4 matplotlib: 1.3.1 openpyxl: 1.8.6 xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None bq: None apiclient: None rpy2: None sqlalchemy: None pymysql: 0.6.2.None psycopg2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7646/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7646/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7647
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7647/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7647/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7647/events
https://github.com/pandas-dev/pandas/issues/7647
36,976,741
MDU6SXNzdWUzNjk3Njc0MQ==
7,647
Different behaviour when assigning None using loc[] and []
{ "avatar_url": "https://avatars.githubusercontent.com/u/5693301?v=4", "events_url": "https://api.github.com/users/socheon/events{/privacy}", "followers_url": "https://api.github.com/users/socheon/followers", "following_url": "https://api.github.com/users/socheon/following{/other_user}", "gists_url": "https://api.github.com/users/socheon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/socheon", "id": 5693301, "login": "socheon", "node_id": "MDQ6VXNlcjU2OTMzMDE=", "organizations_url": "https://api.github.com/users/socheon/orgs", "received_events_url": "https://api.github.com/users/socheon/received_events", "repos_url": "https://api.github.com/users/socheon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/socheon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/socheon/subscriptions", "type": "User", "url": "https://api.github.com/users/socheon" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
2
2014-07-02T12:26:08Z
2014-09-04T00:21:50Z
2014-09-04T00:21:50Z
NONE
null
``` import pandas as pd import numpy as np ser = pd.Series(['a', 'b', np.nan]) print ser ser.loc[ser.isnull()] = None print ser ser[ser.isnull()] = None print ser ``` Output ``` 0 a 1 b 2 NaN dtype: object 0 a 1 b 2 None dtype: object 0 a 1 b 2 NaN dtype: object ``` I am not sure whether this behaviour is intentional. Using .loc[], None was correctly assigned but when using [], NaN was assigned instead. Thanks I am using version 0.14.0-169-g7684b6e
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7647/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7647/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7648
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7648/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7648/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7648/events
https://github.com/pandas-dev/pandas/issues/7648
36,980,405
MDU6SXNzdWUzNjk4MDQwNQ==
7,648
TST: yahoo retrieve tests failure
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-02T13:14:39Z
2014-07-07T11:09:41Z
2014-07-07T11:09:41Z
CONTRIBUTOR
null
cc @dstephens99 prob just need to protect these a bit here as well: https://travis-ci.org/jreback/pandas/jobs/28958102 ``` ====================================================================== ERROR: test_get_all_data (pandas.io.tests.test_data.TestYahooOptions) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-2.7\pandas\util\testing.py", line 1337, in wrapper return t(*args, **kwargs) File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-2.7\pandas\io\tests\test_data.py", line 307, in test_get_all_data data = self.aapl.get_all_data(put=True) File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-2.7\pandas\io\data.py", line 1095, in get_all_data months = self._get_expiry_months() File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-2.7\pandas\io\data.py", line 1130, in _get_expiry_months links = root.xpath('.//*[@id="yfncsumtab"]')[0].xpath('.//a') IndexError: list index out of range ---------------------------------------------------------------------- Ran 6897 tests in 353.413s FAILED (SKIP=315, errors=1) C:\Users\Jeff Reback\Documents\GitHub\pandas> ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7648/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7648/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7649
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7649/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7649/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7649/events
https://github.com/pandas-dev/pandas/issues/7649
36,989,005
MDU6SXNzdWUzNjk4OTAwNQ==
7,649
BUG: Aggregating over an integer on an empty DataFrame causes datetime64 types to convert to float64
{ "avatar_url": "https://avatars.githubusercontent.com/u/453745?v=4", "events_url": "https://api.github.com/users/chrisaycock/events{/privacy}", "followers_url": "https://api.github.com/users/chrisaycock/followers", "following_url": "https://api.github.com/users/chrisaycock/following{/other_user}", "gists_url": "https://api.github.com/users/chrisaycock/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chrisaycock", "id": 453745, "login": "chrisaycock", "node_id": "MDQ6VXNlcjQ1Mzc0NQ==", "organizations_url": "https://api.github.com/users/chrisaycock/orgs", "received_events_url": "https://api.github.com/users/chrisaycock/received_events", "repos_url": "https://api.github.com/users/chrisaycock/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chrisaycock/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chrisaycock/subscriptions", "type": "User", "url": "https://api.github.com/users/chrisaycock" }
[]
closed
false
null
[]
null
4
2014-07-02T14:45:31Z
2014-07-02T16:04:21Z
2014-07-02T15:44:11Z
CONTRIBUTOR
null
Possibly related to issue #7574: Suppose I have a DataFrame: ``` python In [61]: df Out[61]: ref localtime size 0 45361866 2014-06-25 14:11:11.753597 100 1 45361866 2014-06-25 14:11:11.753769 100 2 45361866 2014-06-25 14:11:11.754350 200 3 45361866 2014-06-25 14:11:11.756413 200 4 45361866 2014-06-25 14:18:59.442972 200 .. ... ... ... 29 204286294 2014-06-25 19:43:27.770083 100 30 204286294 2014-06-25 19:43:27.771266 7036 31 216308339 2014-06-25 19:57:32.468547 100 32 216308339 2014-06-25 19:57:37.534973 200 33 216308339 2014-06-25 19:57:37.535035 300 [34 rows x 3 columns] ``` If I aggregate over an integer, the resulting types are as expected: ``` python In [62]: df.groupby('ref').first().reset_index().dtypes Out[62]: ref int64 localtime datetime64[ns] size int64 dtype: object ``` However, if I aggregate on an empty DataFrame, then my timestamp's type is converted from datetime64 to float64: ``` python In [63]: df.query('size>10000').groupby('ref').first().reset_index().dtypes Out[63]: index int64 localtime float64 size float64 dtype: object ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7649/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7649/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7650
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7650/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7650/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7650/events
https://github.com/pandas-dev/pandas/issues/7650
37,003,994
MDU6SXNzdWUzNzAwMzk5NA==
7,650
TST: random read_html failure?
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
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" }
0
2014-07-02T17:17:38Z
2018-07-06T22:14:47Z
2018-07-06T22:14:47Z
CONTRIBUTOR
null
https://travis-ci.org/jreback/pandas/jobs/28982207 @cpcloud
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7650/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7650/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7651
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7651/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7651/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7651/events
https://github.com/pandas-dev/pandas/issues/7651
37,004,694
MDU6SXNzdWUzNzAwNDY5NA==
7,651
Index API proposal: unified axis label lookup
{ "avatar_url": "https://avatars.githubusercontent.com/u/579798?v=4", "events_url": "https://api.github.com/users/immerrr/events{/privacy}", "followers_url": "https://api.github.com/users/immerrr/followers", "following_url": "https://api.github.com/users/immerrr/following{/other_user}", "gists_url": "https://api.github.com/users/immerrr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/immerrr", "id": 579798, "login": "immerrr", "node_id": "MDQ6VXNlcjU3OTc5OA==", "organizations_url": "https://api.github.com/users/immerrr/orgs", "received_events_url": "https://api.github.com/users/immerrr/received_events", "repos_url": "https://api.github.com/users/immerrr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/immerrr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/immerrr/subscriptions", "type": "User", "url": "https://api.github.com/users/immerrr" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
6
2014-07-02T17:25:47Z
2018-07-06T23:08:57Z
2018-07-06T22:14:27Z
CONTRIBUTOR
null
As the next step of separation-of-concerns plan (#6744) I'd like to propose adding a method (or several, actually) to `Index` class that would encapsulate the details of `foo.loc[l1,l2,...]` lookup. ### Implementation Idea Roughly, the idea is to make `loc`'s getitem as simple as ``` python def __getitem__(self, indexer): axes = self.obj.axes return self.obj.iloc[axes[0].lookup_labels_nd(indexer, axes[1:], typ='loc')] ``` Not quite, but hopefully you get the point. The default `lookup_labels_nd` implementation would then look something like this: ``` python def lookup(self, indexer, other_axes, typ=None): if not isinstance(indexer, tuple): return self.lookup_labels(indexer, typ=typ) else: # ndim mismatch error handling is omitted intentionally return (self.lookup_labels(indexer[0]),) + \ tuple(ax.lookup_labels(ix, typ=typ) for ax, ix in zip(other_axes, indexer)) ``` The result should be an object that could be fed to an underlying BlockManager to perform the requested operation. To support adding new rows with "setitem", it is only needed to agree that `lookup_labels_nd` will never return negative indices unless they reference newly appended items along that axis. This would allow to hide Index-subclass-specific lookup peculiarities in their respective overrides of `lookup_labels_nd` and `lookup_labels` (proposals for better names are welcome), e.g.: - looking up str in DatetimeIndex/PeriodIndex - looking up int in FloatIndex - looking up per-level slices in MultiIndex ### Benefits - no more confusing errors due to `try .. catch` block carpet-catching a logic error, because corner cases will be handled precisely where they are needed and nowhere else - no more relying on isinstance checks and exceptions to seek for alternative lookup scenarios, meaning more performance - the API will provide a contract that is simple to grasp, test, benchmark and, eventually, cythonize (as a side effect of this point I'd like to try putting up a wiki page with indexing API reference)
{ "+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/7651/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7651/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7652
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7652/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7652/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7652/events
https://github.com/pandas-dev/pandas/pull/7652
37,007,921
MDExOlB1bGxSZXF1ZXN0MTc5MDE5NTE=
7,652
PERF: fix perf issue in tz conversions w/o affecting DST transitions
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
1
2014-07-02T18:02:53Z
2014-07-02T18:38:23Z
2014-07-02T18:38:23Z
CONTRIBUTOR
null
``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- datetimeindex_normalize | 3.3297 | 83.0923 | 0.0401 | Ratio < 1.0 means the target commit is faster then the baseline. Seed used: 1234 Target [fc88541] : PERF: allow slice indexers to be computed faster Base [160419e] : TST: fixes for 2.6 comparisons ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7652/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7652/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7652.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7652", "merged_at": "2014-07-02T18:38:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7652.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7652" }
https://api.github.com/repos/pandas-dev/pandas/issues/7653
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7653/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7653/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7653/events
https://github.com/pandas-dev/pandas/issues/7653
37,022,780
MDU6SXNzdWUzNzAyMjc4MA==
7,653
PyTables: any limitation on the number of columns?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4", "events_url": "https://api.github.com/users/bluefir/events{/privacy}", "followers_url": "https://api.github.com/users/bluefir/followers", "following_url": "https://api.github.com/users/bluefir/following{/other_user}", "gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bluefir", "id": 1903683, "login": "bluefir", "node_id": "MDQ6VXNlcjE5MDM2ODM=", "organizations_url": "https://api.github.com/users/bluefir/orgs", "received_events_url": "https://api.github.com/users/bluefir/received_events", "repos_url": "https://api.github.com/users/bluefir/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bluefir/subscriptions", "type": "User", "url": "https://api.github.com/users/bluefir" }
[ { "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": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
closed
false
null
[]
null
9
2014-07-02T20:47:36Z
2014-07-16T23:51:25Z
2014-07-03T19:40:30Z
NONE
null
I got the following error trying to do ``` store.append(output_name, data_frame) ``` for a DataFrame with 2 rows and 3202 columns: ``` File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 914, in append **kwargs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 1273, in _write_to_group s.write(obj=value, append=append, complib=complib, **kwargs) File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 3589, in write self.set_attrs() File "C:\Python27\lib\site-packages\pandas\io\pytables.py", line 2887, in set_attrs self.attrs.non_index_axes = self.non_index_axes File "C:\Python27\lib\site-packages\tables\attributeset.py", line 455, in __setattr__ self._g__setattr(name, value) File "C:\Python27\lib\site-packages\tables\attributeset.py", line 397, in _g__setattr self._g_setattr(self._v_node, name, stvalue) File "hdf5extension.pyx", line 704, in tables.hdf5extension.AttributeSet._g_setattr (tables\hdf5extension.c:6832) tables.exceptions.HDF5ExtError: HDF5 error back trace File "..\..\hdf5-1.8.11\src\H5A.c", line 254, in H5Acreate2 unable to create attribute File "..\..\hdf5-1.8.11\src\H5A.c", line 503, in H5A_create unable to create attribute in object header File "..\..\hdf5-1.8.11\src\H5Oattribute.c", line 347, in H5O_attr_create unable to create new attribute in header File "..\..\hdf5-1.8.11\src\H5Omessage.c", line 224, in H5O_msg_append_real unable to create new message File "..\..\hdf5-1.8.11\src\H5Omessage.c", line 1945, in H5O_msg_alloc unable to allocate space for message File "..\..\hdf5-1.8.11\src\H5Oalloc.c", line 1142, in H5O_alloc object header message is too large End of HDF5 error back trace Can't set attribute 'non_index_axes' in node: /alpha_regression_results/liquid/alpha_adv_deciles/factors (Group) u''. Process finished with exit code 1 ``` Frames with 1402 columns saved just fine. Are there any limitations for the number of columns?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7653/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7653/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7654
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7654/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7654/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7654/events
https://github.com/pandas-dev/pandas/issues/7654
37,068,833
MDU6SXNzdWUzNzA2ODgzMw==
7,654
tz-aware datetime not converted to datetime64
{ "avatar_url": "https://avatars.githubusercontent.com/u/426636?v=4", "events_url": "https://api.github.com/users/altaurog/events{/privacy}", "followers_url": "https://api.github.com/users/altaurog/followers", "following_url": "https://api.github.com/users/altaurog/following{/other_user}", "gists_url": "https://api.github.com/users/altaurog/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/altaurog", "id": 426636, "login": "altaurog", "node_id": "MDQ6VXNlcjQyNjYzNg==", "organizations_url": "https://api.github.com/users/altaurog/orgs", "received_events_url": "https://api.github.com/users/altaurog/received_events", "repos_url": "https://api.github.com/users/altaurog/repos", "site_admin": false, "starred_url": "https://api.github.com/users/altaurog/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/altaurog/subscriptions", "type": "User", "url": "https://api.github.com/users/altaurog" }
[]
closed
false
null
[]
null
3
2014-07-03T11:37:03Z
2014-07-03T12:47:18Z
2014-07-03T12:47:18Z
NONE
null
Is this intentional? ``` python In [4]: pd.Series([datetime.now()]).dtype Out[4]: dtype('<M8[ns]') In [5]: pd.Series([pytz.UTC.localize(datetime.now())]).dtype Out[5]: dtype('O') ``` pandas 0.13.1 and 0.14.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/7654/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7654/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7655
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7655/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7655/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7655/events
https://github.com/pandas-dev/pandas/issues/7655
37,079,161
MDU6SXNzdWUzNzA3OTE2MQ==
7,655
BUG/API: assignment of frame in a multi-indexed column frame with a matching level
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
0
2014-07-03T12:59:47Z
2014-10-06T13:03:02Z
2014-10-06T13:03:02Z
CONTRIBUTOR
null
http://stackoverflow.com/questions/24553921/pandas-matching-on-level-of-hierarchical-index/24554350#24554350 This should align on the columns axis. Not clear how to specify the alignment level though (e.g. broadcasting would be tricky here). ``` import numpy as np import pandas as pd arrays = [np.hstack([ ['one']*3, ['two']*3]), ['Dog', 'Bird', 'Cat']*2] columns = pd.MultiIndex.from_arrays(arrays, names=['foo', 'bar']) df = pd.DataFrame(np.zeros((3,6)),columns=columns, index=pd.date_range('20000103',periods=3)) df['one'] = pd.DataFrame({'Bird' : np.ones(3)*2, 'Dog' : np.ones(3), 'Cat' : np.ones(3)*3}, index= pd.date_range('20000103',periods=3)) df['two'] = pd.DataFrame({'Dog' : np.ones(3)*4, 'Bird' : np.ones(3)*5, 'Cat' : np.ones(3)*6,}, index= pd.date_range('20000103',periods=3)) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7655/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7655/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7656
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7656/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7656/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7656/events
https://github.com/pandas-dev/pandas/issues/7656
37,086,687
MDU6SXNzdWUzNzA4NjY4Nw==
7,656
DataFrame.where does not work as expected with inplace=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4", "events_url": "https://api.github.com/users/rockg/events{/privacy}", "followers_url": "https://api.github.com/users/rockg/followers", "following_url": "https://api.github.com/users/rockg/following{/other_user}", "gists_url": "https://api.github.com/users/rockg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rockg", "id": 3195015, "login": "rockg", "node_id": "MDQ6VXNlcjMxOTUwMTU=", "organizations_url": "https://api.github.com/users/rockg/orgs", "received_events_url": "https://api.github.com/users/rockg/received_events", "repos_url": "https://api.github.com/users/rockg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rockg/subscriptions", "type": "User", "url": "https://api.github.com/users/rockg" }
[ { "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": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
6
2014-07-03T14:25:22Z
2014-07-03T16:26:12Z
2014-07-03T16:26:12Z
CONTRIBUTOR
null
related #4667, #7647 According to the documentation, `inplace` should replace values appropriately with `other`, but this does not seem to work as expected. This worked in 0.12. ``` In [6]: df = pandas.DataFrame([{'A': 1, 'B': np.nan, 'C': 'Test'}, {'A': np.nan, 'B': 'Test', 'C': np.nan}]) In [7]: df Out[7]: A B C 0 1 NaN Test 1 NaN Test NaN In [8]: df1 = df.where(~pandas.isnull(df), None) In [9]: df1 Out[9]: A B C 0 1 None Test 1 None Test None In [10]: df.where(~pandas.isnull(df), None, inplace=True) In [11]: df Out[11]: A B C 0 1 NaN Test 1 NaN Test NaN ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7656/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7656/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7657
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7657/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7657/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7657/events
https://github.com/pandas-dev/pandas/pull/7657
37,093,932
MDExOlB1bGxSZXF1ZXN0MTc5NTE2MDk=
7,657
API: disallow inplace setting with where and a non-np.nan value (GH7656)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-03T15:40:07Z
2014-07-03T16:26:12Z
2014-07-03T16:26:12Z
CONTRIBUTOR
null
closes #7656
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7657/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7657/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7657.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7657", "merged_at": "2014-07-03T16:26:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7657.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7657" }
https://api.github.com/repos/pandas-dev/pandas/issues/7658
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7658/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7658/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7658/events
https://github.com/pandas-dev/pandas/issues/7658
37,107,532
MDU6SXNzdWUzNzEwNzUzMg==
7,658
SettingWithCopyWarning in Core\Indexing.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/2855412?v=4", "events_url": "https://api.github.com/users/rhaskett/events{/privacy}", "followers_url": "https://api.github.com/users/rhaskett/followers", "following_url": "https://api.github.com/users/rhaskett/following{/other_user}", "gists_url": "https://api.github.com/users/rhaskett/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhaskett", "id": 2855412, "login": "rhaskett", "node_id": "MDQ6VXNlcjI4NTU0MTI=", "organizations_url": "https://api.github.com/users/rhaskett/orgs", "received_events_url": "https://api.github.com/users/rhaskett/received_events", "repos_url": "https://api.github.com/users/rhaskett/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhaskett/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhaskett/subscriptions", "type": "User", "url": "https://api.github.com/users/rhaskett" }
[ { "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": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
8
2014-07-03T18:06:36Z
2014-07-26T00:28:52Z
2014-07-26T00:28:44Z
NONE
null
The code I ran looked something like the below df.loc[:, 'A'] = df['A'] \* (df['B'] / df['C']) and I received a warning from within Pandas ...\pandas\core\indexing.py:385: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_index,col_indexer] = value instead self.obj[item] = s
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7658/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7658/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7659
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7659/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7659/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7659/events
https://github.com/pandas-dev/pandas/issues/7659
37,107,978
MDU6SXNzdWUzNzEwNzk3OA==
7,659
Documentation on pandas.DataFrame.to_excel
{ "avatar_url": "https://avatars.githubusercontent.com/u/3021223?v=4", "events_url": "https://api.github.com/users/jetheurer/events{/privacy}", "followers_url": "https://api.github.com/users/jetheurer/followers", "following_url": "https://api.github.com/users/jetheurer/following{/other_user}", "gists_url": "https://api.github.com/users/jetheurer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jetheurer", "id": 3021223, "login": "jetheurer", "node_id": "MDQ6VXNlcjMwMjEyMjM=", "organizations_url": "https://api.github.com/users/jetheurer/orgs", "received_events_url": "https://api.github.com/users/jetheurer/received_events", "repos_url": "https://api.github.com/users/jetheurer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jetheurer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jetheurer/subscriptions", "type": "User", "url": "https://api.github.com/users/jetheurer" }
[]
closed
false
null
[]
null
3
2014-07-03T18:11:59Z
2014-07-03T18:54:12Z
2014-07-03T18:54:12Z
NONE
null
Hi all, I noticed there is a typo in the documentation of [pandas.DataFrame.to_excel](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.to_excel.html): The parameter startow should be startrow. **startow**: upper left cell row to dump data frame should be: **startrow** upper left cell row to dump data frame I'm not sure how to make this change myself; I've noticed it is correct in the [source code](https://github.com/pydata/pandas/blob/master/pandas/core/frame.py)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7659/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7659/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7660
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7660/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7660/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7660/events
https://github.com/pandas-dev/pandas/issues/7660
37,116,660
MDU6SXNzdWUzNzExNjY2MA==
7,660
BUG: stacking multiple levels
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
0
2014-07-03T19:39:08Z
2014-07-21T11:42:51Z
2014-07-21T11:42:51Z
CONTRIBUTOR
null
from #7653 cc @bluefir ``` df = DataFrame(np.random.randn(1000, 27), columns=MultiIndex.from_tuples(list( itertools.product(xrange(3), repeat=3)))) df.stack(level=[1, 2]) ``` should be equiv to: `df.stack(level=1).stack(level=1)` but is raising
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7660/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7660/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7661
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7661/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7661/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7661/events
https://github.com/pandas-dev/pandas/pull/7661
37,126,259
MDExOlB1bGxSZXF1ZXN0MTc5Njk4NDI=
7,661
FIX: Scalar timedelta NaT results raise
{ "avatar_url": "https://avatars.githubusercontent.com/u/4306187?v=4", "events_url": "https://api.github.com/users/ischwabacher/events{/privacy}", "followers_url": "https://api.github.com/users/ischwabacher/followers", "following_url": "https://api.github.com/users/ischwabacher/following{/other_user}", "gists_url": "https://api.github.com/users/ischwabacher/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ischwabacher", "id": 4306187, "login": "ischwabacher", "node_id": "MDQ6VXNlcjQzMDYxODc=", "organizations_url": "https://api.github.com/users/ischwabacher/orgs", "received_events_url": "https://api.github.com/users/ischwabacher/received_events", "repos_url": "https://api.github.com/users/ischwabacher/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ischwabacher/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ischwabacher/subscriptions", "type": "User", "url": "https://api.github.com/users/ischwabacher" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
10
2014-07-03T21:36:46Z
2014-09-14T14:20:10Z
2014-09-14T14:20:10Z
CONTRIBUTOR
null
Currently, coercion of scalar results from `float` to `timedelta64[ns]` passes through `int`, which raises when attempting to coerce `NaN` to `NaT`. To reproduce: ``` python import pandas as pd import numpy as np pd.Series([np.timedelta64('NaT')]).sum() # TypeError: reduction operation 'sum' not allowed for this dtype ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7661/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7661/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7661.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7661", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/7661.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7661" }
https://api.github.com/repos/pandas-dev/pandas/issues/7662
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7662/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7662/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7662/events
https://github.com/pandas-dev/pandas/issues/7662
37,128,067
MDU6SXNzdWUzNzEyODA2Nw==
7,662
read_csv/to_csv sep/delimiter inconsistency
{ "avatar_url": "https://avatars.githubusercontent.com/u/980054?v=4", "events_url": "https://api.github.com/users/dsm054/events{/privacy}", "followers_url": "https://api.github.com/users/dsm054/followers", "following_url": "https://api.github.com/users/dsm054/following{/other_user}", "gists_url": "https://api.github.com/users/dsm054/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dsm054", "id": 980054, "login": "dsm054", "node_id": "MDQ6VXNlcjk4MDA1NA==", "organizations_url": "https://api.github.com/users/dsm054/orgs", "received_events_url": "https://api.github.com/users/dsm054/received_events", "repos_url": "https://api.github.com/users/dsm054/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dsm054/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dsm054/subscriptions", "type": "User", "url": "https://api.github.com/users/dsm054" }
[ { "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": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": 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" }
19
2014-07-03T22:06:24Z
2020-09-09T11:20:23Z
2016-10-24T22:08:22Z
CONTRIBUTOR
null
related #7615 Bit of a UI problem here (although it's behaving as the docstring says it does, so it doesn't quite qualify as a bug): ``` >>> df = pd.DataFrame({"A": [1,2,3], "B": [4,5,6]}) >>> df.to_csv("tmp.csv", sep=";") >>> !cat tmp.csv ;A;B 0;1;4 1;2;5 2;3;6 >>> df.to_csv("tmp.csv", delimiter=";") >>> !cat tmp.csv ,A,B 0,1,4 1,2,5 2,3,6 ``` `read_csv` accepts both `sep` and `delimiter` but `to_csv` silently ignores `delimiter`. Someone was recently tripped up by this on SO. I'm fine with either teaching `to_csv` to behave the same way `read_csv` does or, alternatively, raising if `delimiter` is found as a keyword. That is, I'm less bothered by the inconsistency than the silent unexpected behaviour.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7662/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7662/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7663
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7663/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7663/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7663/events
https://github.com/pandas-dev/pandas/issues/7663
37,132,256
MDU6SXNzdWUzNzEzMjI1Ng==
7,663
DOC: clarify that .ix[] is always label based with integer index
{ "avatar_url": "https://avatars.githubusercontent.com/u/5655024?v=4", "events_url": "https://api.github.com/users/Louis-Tian/events{/privacy}", "followers_url": "https://api.github.com/users/Louis-Tian/followers", "following_url": "https://api.github.com/users/Louis-Tian/following{/other_user}", "gists_url": "https://api.github.com/users/Louis-Tian/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Louis-Tian", "id": 5655024, "login": "Louis-Tian", "node_id": "MDQ6VXNlcjU2NTUwMjQ=", "organizations_url": "https://api.github.com/users/Louis-Tian/orgs", "received_events_url": "https://api.github.com/users/Louis-Tian/received_events", "repos_url": "https://api.github.com/users/Louis-Tian/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Louis-Tian/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Louis-Tian/subscriptions", "type": "User", "url": "https://api.github.com/users/Louis-Tian" }
[ { "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": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
11
2014-07-03T23:26:29Z
2015-01-17T09:58:20Z
2015-01-17T09:57:14Z
NONE
null
According to the documentation, ix should accept the all the input to iloc. In the following the .ix raises an KeyError while .iloc work as expected. I suspect the fall back mechanism is broken in this case with integer index. ``` python import pandas as pd import numpy as np df = pd.Series(np.random.randn(9)) df.iloc[-1] df.ix[-1] # raise KeyError ``` version: pandas: 0.13.1 python: 2.7.6.final.0 EDIT: Changed title from "df.ix[-1] broken" to "DOC: clarify that .ix[] is always label based with integer index"
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7663/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7663/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7664
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7664/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7664/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7664/events
https://github.com/pandas-dev/pandas/issues/7664
37,137,775
MDU6SXNzdWUzNzEzNzc3NQ==
7,664
TST: test_ts_plot_format_coord ValueError: Unknown format code 'f' for object of type 'str'
{ "avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4", "events_url": "https://api.github.com/users/yarikoptic/events{/privacy}", "followers_url": "https://api.github.com/users/yarikoptic/followers", "following_url": "https://api.github.com/users/yarikoptic/following{/other_user}", "gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yarikoptic", "id": 39889, "login": "yarikoptic", "node_id": "MDQ6VXNlcjM5ODg5", "organizations_url": "https://api.github.com/users/yarikoptic/orgs", "received_events_url": "https://api.github.com/users/yarikoptic/received_events", "repos_url": "https://api.github.com/users/yarikoptic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions", "type": "User", "url": "https://api.github.com/users/yarikoptic" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
7
2014-07-04T02:11:47Z
2014-07-07T16:00:22Z
2014-07-07T16:00:22Z
CONTRIBUTOR
null
Only with ubuntu 12.04 i386: ``` ====================================================================== ERROR: test_ts_plot_format_coord (pandas.tseries.tests.test_plotting.TestTSPlot) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/pandas-0.14.0+git345-g8cd3dd6/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tseries/tests/test_plotting.py", line 138, in test_ts_plot_format_coord check_format_of_first_point(annual.plot(), 't = 2014 y = 1.000000') File "/tmp/buildd/pandas-0.14.0+git345-g8cd3dd6/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tseries/tests/test_plotting.py", line 135, in check_format_of_first_point self.assertEqual(expected_string, ax.format_coord(first_x, first_y)) File "/tmp/buildd/pandas-0.14.0+git345-g8cd3dd6/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tseries/plotting.py", line 90, in <lambda> y)) ValueError: Unknown format code 'f' for object of type 'str' ``` ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.3.final.0 python-bits: 32 OS: Linux OS-release: 3.2.0-4-amd64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: C LANG: C pandas: 0.14.0.dev nose: 1.1.2 Cython: 0.15.1 numpy: 1.6.1 scipy: 0.9.0 statsmodels: 0.5.0 IPython: None sphinx: 1.1.3 patsy: 0.2.1 scikits.timeseries: None dateutil: 1.5 pytz: 2012c bottleneck: None tables: 2.3.1 numexpr: 1.4.2 matplotlib: 1.1.1rc openpyxl: 1.7.0 xlrd: 0.6.1 xlwt: 0.7.2 xlsxwriter: None lxml: None bs4: 4.0.2 html5lib: 0.90 httplib2: None apiclient: None rpy2: None sqlalchemy: None pymysql: None psycopg2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7664/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7664/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7665
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7665/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7665/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7665/events
https://github.com/pandas-dev/pandas/pull/7665
37,142,126
MDExOlB1bGxSZXF1ZXN0MTc5Nzk1MDQ=
7,665
TST/CLN: Refactor io.data.options class to improve testing
{ "avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4", "events_url": "https://api.github.com/users/davidastephens/events{/privacy}", "followers_url": "https://api.github.com/users/davidastephens/followers", "following_url": "https://api.github.com/users/davidastephens/following{/other_user}", "gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/davidastephens", "id": 5957850, "login": "davidastephens", "node_id": "MDQ6VXNlcjU5NTc4NTA=", "organizations_url": "https://api.github.com/users/davidastephens/orgs", "received_events_url": "https://api.github.com/users/davidastephens/received_events", "repos_url": "https://api.github.com/users/davidastephens/repos", "site_admin": false, "starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions", "type": "User", "url": "https://api.github.com/users/davidastephens" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
5
2014-07-04T04:58:46Z
2014-07-07T11:09:46Z
2014-07-07T11:09:41Z
CONTRIBUTOR
null
Removed most references to month and year (passing expiry date around instead). Also protected with RemoteDataError checking for the expiry month links. Fixes #7648
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7665/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7665/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7665.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7665", "merged_at": "2014-07-07T11:09:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7665.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7665" }
https://api.github.com/repos/pandas-dev/pandas/issues/7666
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7666/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7666/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7666/events
https://github.com/pandas-dev/pandas/issues/7666
37,145,177
MDU6SXNzdWUzNzE0NTE3Nw==
7,666
BUG: aggregate(sum) returns wrong result for certain boolean input
{ "avatar_url": "https://avatars.githubusercontent.com/u/4759559?v=4", "events_url": "https://api.github.com/users/veor/events{/privacy}", "followers_url": "https://api.github.com/users/veor/followers", "following_url": "https://api.github.com/users/veor/following{/other_user}", "gists_url": "https://api.github.com/users/veor/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/veor", "id": 4759559, "login": "veor", "node_id": "MDQ6VXNlcjQ3NTk1NTk=", "organizations_url": "https://api.github.com/users/veor/orgs", "received_events_url": "https://api.github.com/users/veor/received_events", "repos_url": "https://api.github.com/users/veor/repos", "site_admin": false, "starred_url": "https://api.github.com/users/veor/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/veor/subscriptions", "type": "User", "url": "https://api.github.com/users/veor" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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": "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
[]
{ "closed_at": "2015-03-23T10:50:37Z", "closed_issues": 400, "created_at": "2014-02-14T03:31:22Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.15 of course!", "due_on": "2015-03-22T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/25", "id": 569113, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels", "node_id": "MDk6TWlsZXN0b25lNTY5MTEz", "number": 25, "open_issues": 0, "state": "closed", "title": "0.16.0", "updated_at": "2017-08-24T09:17:49Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25" }
1
2014-07-04T06:42:48Z
2014-07-04T14:57:00Z
2014-07-04T14:57:00Z
NONE
null
I have a DataFrame that looks like the following format: ``` python df = pd.DataFrame({'foo': [1, 2, 2], 'bar': [True, False, False]}) ``` I want group this by foo and count the number of True values in the bar column. Counting the True values can be achieved with the sum command. ``` python In [7]: bar = [True, False, True, False, False] In [8]: sum(bar) Out[8]: 2 In [9]: sum(df['bar']) Out[9]: 1 ``` To group and count this: ``` python In [16]: df.groupby('foo').aggregate(sum) Out[16]: bar foo 1 True 2 False ``` This output is erroneous. Expected output is: ``` python bar foo 1 1 2 0 ``` It works in the following case (changed so that not all cases for foo:2 are false). ``` python In [18]: df = pd.DataFrame({'foo': [1, 2, 2, 2, 2], 'bar': [True, True, True, False, False]}) In [18]: df.groupby('foo').aggregate(sum) Out[18]: bar foo 1 1 2 2 ``` Here are my installed versions: ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.7.final.0 python-bits: 32 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.14.0 nose: 1.3.3 Cython: 0.20.1 numpy: 1.8.1 scipy: 0.14.0 statsmodels: 0.5.0 IPython: 2.1.0 sphinx: 1.2.2 patsy: 0.2.1 scikits.timeseries: None dateutil: 1.5 pytz: 2014.3 bottleneck: None tables: 3.1.1 numexpr: 2.3.1 matplotlib: 1.3.1 openpyxl: 1.8.5 xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: 0.5.5 lxml: 3.3.5 bs4: 4.3.1 html5lib: None bq: None apiclient: None rpy2: None sqlalchemy: 0.9.4 pymysql: None psycopg2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7666/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7666/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7667
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7667/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7667/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7667/events
https://github.com/pandas-dev/pandas/pull/7667
37,176,413
MDExOlB1bGxSZXF1ZXN0MTc5OTk1MTY=
7,667
BUG: Bug in multi-index slice setting, related GH3738
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-04T15:41:25Z
2014-07-04T16:10:17Z
2014-07-04T16:10:17Z
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/7667/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7667/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7667.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7667", "merged_at": "2014-07-04T16:10:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7667.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7667" }
https://api.github.com/repos/pandas-dev/pandas/issues/7668
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7668/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7668/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7668/events
https://github.com/pandas-dev/pandas/pull/7668
37,180,222
MDExOlB1bGxSZXF1ZXN0MTgwMDE2Njc=
7,668
BUG: windows failure on GH7667
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
null
0
2014-07-04T17:23:44Z
2014-07-22T18:40:51Z
2014-07-04T17:23:48Z
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/7668/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7668/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7668.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7668", "merged_at": "2014-07-04T17:23:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7668.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7668" }
https://api.github.com/repos/pandas-dev/pandas/issues/7669
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7669/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7669/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7669/events
https://github.com/pandas-dev/pandas/pull/7669
37,194,328
MDExOlB1bGxSZXF1ZXN0MTgwMDg1Mjc=
7,669
Update docs to use display.width instead of deprecated line_width.
{ "avatar_url": "https://avatars.githubusercontent.com/u/410907?v=4", "events_url": "https://api.github.com/users/lexual/events{/privacy}", "followers_url": "https://api.github.com/users/lexual/followers", "following_url": "https://api.github.com/users/lexual/following{/other_user}", "gists_url": "https://api.github.com/users/lexual/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lexual", "id": 410907, "login": "lexual", "node_id": "MDQ6VXNlcjQxMDkwNw==", "organizations_url": "https://api.github.com/users/lexual/orgs", "received_events_url": "https://api.github.com/users/lexual/received_events", "repos_url": "https://api.github.com/users/lexual/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lexual/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lexual/subscriptions", "type": "User", "url": "https://api.github.com/users/lexual" }
[]
closed
false
null
[]
null
1
2014-07-05T07:52:42Z
2014-07-05T09:05:37Z
2014-07-05T09:05:37Z
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/7669/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7669/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7669.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7669", "merged_at": "2014-07-05T09:05:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7669.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7669" }
https://api.github.com/repos/pandas-dev/pandas/issues/7670
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7670/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7670/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7670/events
https://github.com/pandas-dev/pandas/pull/7670
37,198,634
MDExOlB1bGxSZXF1ZXN0MTgwMTAyMjc=
7,670
(WIP) BUG/CLN: Better timeseries plotting / refactoring tsplot
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "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" }
26
2014-07-05T13:08:45Z
2017-03-20T13:48:34Z
2017-03-20T13:48:33Z
MEMBER
null
Must be revisited after #7717. #6608 seems to be solved by following 4 fixes. - [ ] `PeriodIndex` should support the same freqs as `DatetimeIndex` (Related to #7222, maybe solved by #5148) - [ ] Better logic to find common divisor frequency (try to use `tsplot` as much) - [x] When plotting with `x_compat` to the `ax` which already holds `tsplot` lines, `tsplot` lines must be redrawn on `x_compat` coordinates. - [ ] Check whether `to_timestamp(how='e')` always revert `PeriodIndex` back to original `DatetimeIndex` - [x] If target ax already holds `x_compat` lines, continuous plot should be drawn on `x_compat` coordinates (current version already have a logic, but cannot work if `ax` once have `freq` property). Other refactoring: - [x] Do not re-plot every row in `tsplot` - [x] Simplify `LinePlot` flow (separated as #7717) - [x] Store plot_func for line and area mixed time-series plot (separated as #7733) Result using current PR (modified #6608 a little to show legend). ``` s1 = pd.Series([1, 2, 3], index=[datetime.datetime(1995, 12, 31), datetime.datetime(2000, 12, 31), datetime.datetime(2005, 12, 31)], name='idx1') s2 = pd.Series([1, 2, 3], index=[datetime.datetime(1997, 12, 31), datetime.datetime(2003, 12, 31), datetime.datetime(2008, 12, 31)], name='idx2') ax = s1.plot(legend=True) ax = s2.plot(legend=True) s1.plot(ax=ax, legend=True) ``` ![figure_1](https://cloud.githubusercontent.com/assets/1696302/3486598/477df0e8-0445-11e4-873b-dc619adaa92a.png) One question is whether `tsplot` is categorized as public function? If so, I'll prepare separate func.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7670/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7670/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7670.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7670", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/7670.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7670" }
https://api.github.com/repos/pandas-dev/pandas/issues/7671
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7671/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7671/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7671/events
https://github.com/pandas-dev/pandas/pull/7671
37,199,601
MDExOlB1bGxSZXF1ZXN0MTgwMTA1ODY=
7,671
DOC: remove mention of TimeSeries in docs
{ "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": "2015-06-13T17:49:05Z", "closed_issues": 119, "created_at": "2015-06-02T19:23:30Z", "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": "", "due_on": "2015-06-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/35", "id": 1145853, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35/labels", "node_id": "MDk6TWlsZXN0b25lMTE0NTg1Mw==", "number": 35, "open_issues": 0, "state": "closed", "title": "0.16.2", "updated_at": "2016-07-22T08:55:52Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/35" }
8
2014-07-05T14:17:52Z
2015-06-02T19:26:59Z
2015-05-15T08:10:13Z
MEMBER
null
As a Series with a DatetimeIndex is no longer presented as a `TimeSeries`, I think we also should not longer mention it in the docs as a 'seperate object', so removed the last few mentions.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7671/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7671/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7671.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7671", "merged_at": "2015-05-15T08:10:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7671.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7671" }
https://api.github.com/repos/pandas-dev/pandas/issues/7672
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7672/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7672/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7672/events
https://github.com/pandas-dev/pandas/pull/7672
37,206,632
MDExOlB1bGxSZXF1ZXN0MTgwMTM1MDQ=
7,672
Add some documentation on gotchas related to pytz updates #7620
{ "avatar_url": "https://avatars.githubusercontent.com/u/3195015?v=4", "events_url": "https://api.github.com/users/rockg/events{/privacy}", "followers_url": "https://api.github.com/users/rockg/followers", "following_url": "https://api.github.com/users/rockg/following{/other_user}", "gists_url": "https://api.github.com/users/rockg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rockg", "id": 3195015, "login": "rockg", "node_id": "MDQ6VXNlcjMxOTUwMTU=", "organizations_url": "https://api.github.com/users/rockg/orgs", "received_events_url": "https://api.github.com/users/rockg/received_events", "repos_url": "https://api.github.com/users/rockg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rockg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rockg/subscriptions", "type": "User", "url": "https://api.github.com/users/rockg" }
[ { "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": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
6
2014-07-05T21:27:39Z
2014-07-06T19:02:51Z
2014-07-06T14:45:15Z
CONTRIBUTOR
null
closes #7620
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7672/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7672/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7672.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7672", "merged_at": "2014-07-06T14:45:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7672.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7672" }
https://api.github.com/repos/pandas-dev/pandas/issues/7673
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7673/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7673/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7673/events
https://github.com/pandas-dev/pandas/pull/7673
37,208,418
MDExOlB1bGxSZXF1ZXN0MTgwMTQyNzU=
7,673
PERF: improve resample perf
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
5
2014-07-05T23:49:20Z
2014-07-09T12:37:40Z
2014-07-07T13:12:20Z
MEMBER
null
Related to #7633. It gets better than the result attached #7633, but still slower more than 1.2 times compared to 1.4.0 Modified: - Avoid every time module `import` in `Index.max/min` - Avoid duplicated `max` call from `resample/_get_time_bins` and `_get_range_edges`. - Optimize `lib/generate_bins_dt64` and `tslib/period_asfreq_arr`. Remaining bottlenecks are `NaT` masking performed in `lib/generate_bins_dt64` and `tslib/period_asfreq_arr`. Is there any better way to do that? ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- dataframe_resample_mean_numpy | 4.9963 | 3.7940 | 1.3169 | dataframe_resample_mean_string | 5.0424 | 3.8280 | 1.3172 | dataframe_resample_max_numpy | 4.1796 | 3.0069 | 1.3900 | dataframe_resample_min_numpy | 4.2127 | 2.9987 | 1.4049 | dataframe_resample_min_string | 4.1687 | 2.9490 | 1.4136 | dataframe_resample_max_string | 4.3443 | 2.9283 | 1.4835 | timeseries_timestamp_downsample_mean | 16.1959 | 8.6366 | 1.8753 | timeseries_period_downsample_mean | 47.6096 | 19.7030 | 2.4164 | ------------------------------------------------------------------------------- Ratio < 1.0 means the target commit is faster then the baseline. Seed used: 1234 Target [54fb875] : PERF: Improve index.min and max perf Base [da0f7ae] : RLS: 0.14.0 final ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7673/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7673/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7673.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7673", "merged_at": "2014-07-07T13:12:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7673.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7673" }
https://api.github.com/repos/pandas-dev/pandas/issues/7674
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7674/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7674/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7674/events
https://github.com/pandas-dev/pandas/pull/7674
37,220,316
MDExOlB1bGxSZXF1ZXN0MTgwMTg2NzQ=
7,674
DOC: remove extra spaces from option descriptions
{ "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": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-06T14:29:18Z
2014-07-07T07:10:04Z
2014-07-07T07:09:55Z
MEMBER
null
There are already 4 spaces in the description strings in config_init.py, so no need to add some more. This caused the descriptions to be longer than 79 characters, and so line wrapping in the terminal. Closes #6838. Plus, moved the default and current values to the last line of the description as proposed by @jseabold Example output now is: ``` display.max_colwidth : int The maximum width in characters of a column in the repr of a pandas data structure. When the column overflows, a "..." placeholder is embedded in the output. [default: 50] [currently: 50] display.max_info_columns : int max_info_columns is used in DataFrame.info method to decide if per column information will be printed. [default: 100] [currently: 100] ``` Previous in 0.14 this was: ``` display.max_colwidth : [default: 50] [currently: 50]: int The maximum width in characters of a column in the repr of a pandas data structure. When the column overflows, a "..." placeholder is embedded in the output. display.max_info_columns : [default: 100] [currently: 100]: int max_info_columns is used in DataFrame.info method to decide if per column information will be printed. ``` Before 0.14 it was worse (as reported in #6838), but I already improved it a bit some time ago.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7674/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7674/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7674.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7674", "merged_at": "2014-07-07T07:09:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7674.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7674" }
https://api.github.com/repos/pandas-dev/pandas/issues/7675
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7675/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7675/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7675/events
https://github.com/pandas-dev/pandas/pull/7675
37,223,708
MDExOlB1bGxSZXF1ZXN0MTgwMjAxMjI=
7,675
TST: skip buggy tests on debian (GH6270, GH7664)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
3
2014-07-06T17:43:50Z
2014-07-07T16:01:01Z
2014-07-07T16:00:22Z
CONTRIBUTOR
null
closes #6270 closes #7664
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7675/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7675/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7675.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7675", "merged_at": "2014-07-07T16:00:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7675.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7675" }
https://api.github.com/repos/pandas-dev/pandas/issues/7676
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7676/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7676/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7676/events
https://github.com/pandas-dev/pandas/pull/7676
37,224,455
MDExOlB1bGxSZXF1ZXN0MTgwMjA0NjQ=
7,676
Create DOC: Xls Visualization
{ "avatar_url": "https://avatars.githubusercontent.com/u/8059735?v=4", "events_url": "https://api.github.com/users/NoonienSoong/events{/privacy}", "followers_url": "https://api.github.com/users/NoonienSoong/followers", "following_url": "https://api.github.com/users/NoonienSoong/following{/other_user}", "gists_url": "https://api.github.com/users/NoonienSoong/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/NoonienSoong", "id": 8059735, "login": "NoonienSoong", "node_id": "MDQ6VXNlcjgwNTk3MzU=", "organizations_url": "https://api.github.com/users/NoonienSoong/orgs", "received_events_url": "https://api.github.com/users/NoonienSoong/received_events", "repos_url": "https://api.github.com/users/NoonienSoong/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NoonienSoong/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NoonienSoong/subscriptions", "type": "User", "url": "https://api.github.com/users/NoonienSoong" }
[]
closed
false
null
[]
null
5
2014-07-06T18:29:02Z
2014-08-05T17:07:24Z
2014-08-05T17:07:24Z
NONE
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/7676/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7676/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7676.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7676", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/7676.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7676" }
https://api.github.com/repos/pandas-dev/pandas/issues/7677
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7677/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7677/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7677/events
https://github.com/pandas-dev/pandas/issues/7677
37,250,973
MDU6SXNzdWUzNzI1MDk3Mw==
7,677
BUG: sqrt not implemented in df.eval
{ "avatar_url": "https://avatars.githubusercontent.com/u/2300692?v=4", "events_url": "https://api.github.com/users/acorbe/events{/privacy}", "followers_url": "https://api.github.com/users/acorbe/followers", "following_url": "https://api.github.com/users/acorbe/following{/other_user}", "gists_url": "https://api.github.com/users/acorbe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/acorbe", "id": 2300692, "login": "acorbe", "node_id": "MDQ6VXNlcjIzMDA2OTI=", "organizations_url": "https://api.github.com/users/acorbe/orgs", "received_events_url": "https://api.github.com/users/acorbe/received_events", "repos_url": "https://api.github.com/users/acorbe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/acorbe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/acorbe/subscriptions", "type": "User", "url": "https://api.github.com/users/acorbe" }
[ { "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2015-10-09T18:34:35Z", "closed_issues": 593, "created_at": "2015-03-23T10:47:38Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2015-10-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/34", "id": 1033710, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels", "node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==", "number": 34, "open_issues": 0, "state": "closed", "title": "0.17.0", "updated_at": "2016-12-11T14:02:02Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34" }
16
2014-07-07T09:08:09Z
2015-10-19T20:52:48Z
2015-10-19T20:52:40Z
CONTRIBUTOR
null
In the following scenario: ``` import pandas as pd import numpy as np a = np.random.rand(1000) df = pd.DataFrame({'a' : a }) ``` This call doesn't work (while it is supposed to, I guess) ``` df.eval('sqrt(a)') NotImplementedError: 'Call' nodes are not implemented ``` while this one does ``` df.eval('(a)**(.5)') ``` I guess this is a bug.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7677/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7677/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7678
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7678/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7678/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7678/events
https://github.com/pandas-dev/pandas/pull/7678
37,253,821
MDExOlB1bGxSZXF1ZXN0MTgwMzQ5NzA=
7,678
FIX: to_sql takes the boolean column as text column
{ "avatar_url": "https://avatars.githubusercontent.com/u/3517225?v=4", "events_url": "https://api.github.com/users/yelite/events{/privacy}", "followers_url": "https://api.github.com/users/yelite/followers", "following_url": "https://api.github.com/users/yelite/following{/other_user}", "gists_url": "https://api.github.com/users/yelite/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yelite", "id": 3517225, "login": "yelite", "node_id": "MDQ6VXNlcjM1MTcyMjU=", "organizations_url": "https://api.github.com/users/yelite/orgs", "received_events_url": "https://api.github.com/users/yelite/received_events", "repos_url": "https://api.github.com/users/yelite/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yelite/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yelite/subscriptions", "type": "User", "url": "https://api.github.com/users/yelite" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
12
2014-07-07T09:47:10Z
2014-07-07T20:07:52Z
2014-07-07T17:46:41Z
CONTRIBUTOR
null
In the original code, `com.is_bool(arr_or_dtype)` checks whether `arr_or_dtype` is a boolean value instead of a boolean dtype. A new function `is_bool_dtype` is added to `pandas.core.common` to fix this bug.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7678/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7678/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7678.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7678", "merged_at": "2014-07-07T17:46:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7678.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7678" }
https://api.github.com/repos/pandas-dev/pandas/issues/7679
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7679/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7679/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7679/events
https://github.com/pandas-dev/pandas/issues/7679
37,263,838
MDU6SXNzdWUzNzI2MzgzOA==
7,679
Interpolate fails when passed limit argument.
{ "avatar_url": "https://avatars.githubusercontent.com/u/103420?v=4", "events_url": "https://api.github.com/users/ianp/events{/privacy}", "followers_url": "https://api.github.com/users/ianp/followers", "following_url": "https://api.github.com/users/ianp/following{/other_user}", "gists_url": "https://api.github.com/users/ianp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ianp", "id": 103420, "login": "ianp", "node_id": "MDQ6VXNlcjEwMzQyMA==", "organizations_url": "https://api.github.com/users/ianp/orgs", "received_events_url": "https://api.github.com/users/ianp/received_events", "repos_url": "https://api.github.com/users/ianp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ianp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ianp/subscriptions", "type": "User", "url": "https://api.github.com/users/ianp" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "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
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
8
2014-07-07T12:25:44Z
2014-09-10T15:25:29Z
2014-07-07T13:30:46Z
NONE
null
When I try to interpolate time series data it fails with an index error: arrays used as indices must be of integer (or boolean) type. ``` python from pandas import read_csv from StringIO import StringIO data = '''2013-09-28,4018.02 2013-10-05,5806.78 2013-10-26,6334.4 2013-11-02,6199.6 2013-11-09,6213.07 2013-11-16,7099.39 2013-11-23,7332.98 2013-11-30,6157.37 2013-12-07,7427.65 2014-01-04,5856.38 2014-01-11,6208.99 2014-01-18,7440.29 2014-01-25,7295.97 2014-02-08,7654.42 ''' df = read_csv(StringIO(data)) df.interpolate(limit=1) ``` Removing the `limit=1` argument works as expected. Python 2.7.6, pandas 0.14.0, numpy 1.8.1, on OS X. I'll try it with a Python 3 environment when I get chance later this week.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7679/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7679/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7680
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7680/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7680/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7680/events
https://github.com/pandas-dev/pandas/issues/7680
37,266,017
MDU6SXNzdWUzNzI2NjAxNw==
7,680
index bug in 0.14?
{ "avatar_url": "https://avatars.githubusercontent.com/u/849427?v=4", "events_url": "https://api.github.com/users/ruidc/events{/privacy}", "followers_url": "https://api.github.com/users/ruidc/followers", "following_url": "https://api.github.com/users/ruidc/following{/other_user}", "gists_url": "https://api.github.com/users/ruidc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ruidc", "id": 849427, "login": "ruidc", "node_id": "MDQ6VXNlcjg0OTQyNw==", "organizations_url": "https://api.github.com/users/ruidc/orgs", "received_events_url": "https://api.github.com/users/ruidc/received_events", "repos_url": "https://api.github.com/users/ruidc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ruidc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ruidc/subscriptions", "type": "User", "url": "https://api.github.com/users/ruidc" }
[]
closed
false
null
[]
null
5
2014-07-07T12:57:42Z
2014-07-07T13:42:43Z
2014-07-07T13:22:05Z
CONTRIBUTOR
null
``` pandas.Index([('a',), ('a', 'b')]).values ``` pandas < 0.14 returns: ``` array([('a',), ('a', 'b')], dtype=object) ``` pandas 0.14 returns: ``` array([('a', nan), ('a', 'b')], dtype=object) ``` possibly related to https://github.com/pydata/pandas/issues/7548 ?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7680/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7680/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7681
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7681/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7681/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7681/events
https://github.com/pandas-dev/pandas/pull/7681
37,272,339
MDExOlB1bGxSZXF1ZXN0MTgwNDYyOTY=
7,681
TST/COMPAT: numpy master compat with timedelta type coercion
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-07T14:15:46Z
2014-07-07T15:11:58Z
2014-07-07T15:11:58Z
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/7681/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7681/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7681.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7681", "merged_at": "2014-07-07T15:11:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7681.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7681" }
https://api.github.com/repos/pandas-dev/pandas/issues/7682
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7682/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7682/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7682/events
https://github.com/pandas-dev/pandas/issues/7682
37,277,075
MDU6SXNzdWUzNzI3NzA3NQ==
7,682
S3 path doesn't support ~/.boto profiles.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1735650?v=4", "events_url": "https://api.github.com/users/hunterowens/events{/privacy}", "followers_url": "https://api.github.com/users/hunterowens/followers", "following_url": "https://api.github.com/users/hunterowens/following{/other_user}", "gists_url": "https://api.github.com/users/hunterowens/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hunterowens", "id": 1735650, "login": "hunterowens", "node_id": "MDQ6VXNlcjE3MzU2NTA=", "organizations_url": "https://api.github.com/users/hunterowens/orgs", "received_events_url": "https://api.github.com/users/hunterowens/received_events", "repos_url": "https://api.github.com/users/hunterowens/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hunterowens/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hunterowens/subscriptions", "type": "User", "url": "https://api.github.com/users/hunterowens" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
6
2014-07-07T15:03:08Z
2018-07-06T22:04:14Z
2018-07-06T22:04:06Z
CONTRIBUTOR
null
If multiple credentials exits, many users have profiles in their ~/.boto as such- ``` python [profile Data-Robot] aws_access_key_id = a key aws_secret_access_key = a secret [Credentials] aws_access_key_id = default key aws_secret_access_key = default secret ``` you can pass `````` In [70]: con = boto.connect_s3(profile_name="Data-Robot") ``` to load from a profile. However, you can not do this in pandas. ``````
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7682/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7682/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7683
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7683/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7683/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7683/events
https://github.com/pandas-dev/pandas/issues/7683
37,295,640
MDU6SXNzdWUzNzI5NTY0MA==
7,683
.iterrows takes too long and generate large memory footprint
{ "avatar_url": "https://avatars.githubusercontent.com/u/792423?v=4", "events_url": "https://api.github.com/users/yrlihuan/events{/privacy}", "followers_url": "https://api.github.com/users/yrlihuan/followers", "following_url": "https://api.github.com/users/yrlihuan/following{/other_user}", "gists_url": "https://api.github.com/users/yrlihuan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yrlihuan", "id": 792423, "login": "yrlihuan", "node_id": "MDQ6VXNlcjc5MjQyMw==", "organizations_url": "https://api.github.com/users/yrlihuan/orgs", "received_events_url": "https://api.github.com/users/yrlihuan/received_events", "repos_url": "https://api.github.com/users/yrlihuan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yrlihuan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yrlihuan/subscriptions", "type": "User", "url": "https://api.github.com/users/yrlihuan" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
10
2014-07-07T18:21:52Z
2014-07-16T00:29:51Z
2014-07-16T00:29:51Z
CONTRIBUTOR
null
When using df.iterrows on large data frame, it takes a long time to run and consumes huge amount of memory. The name of the function implies that it is an iterator and should not take much to run. ~~However~~, ~~in the method it uses builtin method 'zip'~~, ~~which can sometimes generate huge temporary list of tuples if optimisation is not done correctly~~. Below is the code which can reproduce the issue on a box with 16GB memory. ``` python s1 = range(30000000) s2 = np.random.randn(30000000) ts = pd.date_range('20140101', freq='S', periods=30000000) df = pd.DataFrame({'s1': s1, 's2': s2}, index=ts) for r in df.iterrows(): break # expected to return immediately, yet it takes more than 2 minutes and uses 4G memory ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7683/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7683/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7684
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7684/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7684/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7684/events
https://github.com/pandas-dev/pandas/pull/7684
37,297,590
MDExOlB1bGxSZXF1ZXN0MTgwNjEyNzQ=
7,684
PERF: better perf on min/max on indices not containing NaT for DatetimeIndex/PeriodsIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-07T18:43:34Z
2014-07-07T19:24:50Z
2014-07-07T19:24:50Z
CONTRIBUTOR
null
closes #7633 close to what it was in 0.14.0 key was to not keep recomputing whether an index `hasnans` every time we need it (it is now cached). further `min/max` are optimized if the index is monotonic ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- timeseries_timestamp_downsample_mean | 4.5697 | 7.8034 | 0.5856 | dataframe_resample_min_string | 1.8380 | 2.5294 | 0.7266 | dataframe_resample_min_numpy | 1.8580 | 2.5463 | 0.7297 | dataframe_resample_max_numpy | 1.8887 | 2.5803 | 0.7320 | dataframe_resample_max_string | 1.9130 | 2.5553 | 0.7486 | dataframe_resample_mean_numpy | 2.6687 | 3.3340 | 0.8004 | dataframe_resample_mean_string | 2.7773 | 3.3080 | 0.8396 | timeseries_period_downsample_mean | 12.2183 | 11.6010 | 1.0532 | Ratio < 1.0 means the target commit is faster then the baseline. Seed used: 1234 Target [d2d30c7] : PERF: better perf on min/max on indices not containing NaT for DatetimeIndex/PeriodIndex Base [e060616] : DOC: minor corrections in v0.14.1 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7684/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7684/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7684.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7684", "merged_at": "2014-07-07T19:24:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7684.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7684" }
https://api.github.com/repos/pandas-dev/pandas/issues/7685
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7685/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7685/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7685/events
https://github.com/pandas-dev/pandas/issues/7685
37,301,449
MDU6SXNzdWUzNzMwMTQ0OQ==
7,685
TST: test failure on get_near_stock_price
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
1
2014-07-07T19:24:15Z
2014-07-08T23:33:47Z
2014-07-08T23:33:47Z
CONTRIBUTOR
null
have seen this a couple of times: https://travis-ci.org/pydata/pandas/jobs/29340410 slightly different error: https://travis-ci.org/pydata/pandas/jobs/29348881 cc @dstephens99 as you seem to be the expert :)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7685/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7685/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7686
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7686/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7686/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7686/events
https://github.com/pandas-dev/pandas/issues/7686
37,303,942
MDU6SXNzdWUzNzMwMzk0Mg==
7,686
TST: 2.7 build blowing up
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
3
2014-07-07T19:52:11Z
2014-07-08T08:21:52Z
2014-07-07T23:58:09Z
CONTRIBUTOR
null
https://travis-ci.org/pydata/pandas/jobs/29348880 started with this merge: https://github.com/pydata/pandas/pull/7678
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7686/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7686/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7687
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7687/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7687/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7687/events
https://github.com/pandas-dev/pandas/issues/7687
37,305,628
MDU6SXNzdWUzNzMwNTYyOA==
7,687
loffset has no effect when passing in a numyp.timedelta64
{ "avatar_url": "https://avatars.githubusercontent.com/u/8094771?v=4", "events_url": "https://api.github.com/users/MarcMassar/events{/privacy}", "followers_url": "https://api.github.com/users/MarcMassar/followers", "following_url": "https://api.github.com/users/MarcMassar/following{/other_user}", "gists_url": "https://api.github.com/users/MarcMassar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcMassar", "id": 8094771, "login": "MarcMassar", "node_id": "MDQ6VXNlcjgwOTQ3NzE=", "organizations_url": "https://api.github.com/users/MarcMassar/orgs", "received_events_url": "https://api.github.com/users/MarcMassar/received_events", "repos_url": "https://api.github.com/users/MarcMassar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcMassar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcMassar/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcMassar" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
null
[]
{ "closed_at": "2019-01-26T00:51:26Z", "closed_issues": 2048, "created_at": "2018-03-29T12:00:12Z", "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": "", "due_on": "2019-01-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/55", "id": 3228419, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55/labels", "node_id": "MDk6TWlsZXN0b25lMzIyODQxOQ==", "number": 55, "open_issues": 0, "state": "closed", "title": "0.24.0", "updated_at": "2019-01-29T07:42:40Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/55" }
3
2014-07-07T20:12:21Z
2018-09-04T11:09:18Z
2018-09-04T11:09:18Z
NONE
null
From mailing-list: [https://groups.google.com/forum/#!topic/pydata/CDnF9cNR2ho] When doing a re-sample, loffset has no effect if a numpy.timedelta64 is passed in: ``` python In [1]: rng = pd.date_range('1/1/2012', periods=4, freq='S') In [2]: ts = pd.Series(np.random.randint(0, 500, len(rng)), index=rng) In [3]: ts.resample('2S') Out[3]: 2012-01-01 00:00:00 396.0 2012-01-01 00:00:02 214.5 Freq: 2S, dtype: float64 In [4]: import datetime In [5]: ts.resample('2S',loffset=datetime.timedelta(seconds=10)) Out[5]: 2012-01-01 00:00:10 396.0 2012-01-01 00:00:12 214.5 dtype: float64 In [6]: ts.resample('2S',loffset=np.timedelta64(10,'s')) Out[6]: 2012-01-01 00:00:00 396.0 2012-01-01 00:00:02 214.5 Freq: 2S, dtype: float64 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7687/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7687/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7688
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7688/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7688/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7688/events
https://github.com/pandas-dev/pandas/pull/7688
37,334,974
MDExOlB1bGxSZXF1ZXN0MTgwODM4Njg=
7,688
BUG: Fix conditional for underlying price in io.data.options.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5957850?v=4", "events_url": "https://api.github.com/users/davidastephens/events{/privacy}", "followers_url": "https://api.github.com/users/davidastephens/followers", "following_url": "https://api.github.com/users/davidastephens/following{/other_user}", "gists_url": "https://api.github.com/users/davidastephens/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/davidastephens", "id": 5957850, "login": "davidastephens", "node_id": "MDQ6VXNlcjU5NTc4NTA=", "organizations_url": "https://api.github.com/users/davidastephens/orgs", "received_events_url": "https://api.github.com/users/davidastephens/received_events", "repos_url": "https://api.github.com/users/davidastephens/repos", "site_admin": false, "starred_url": "https://api.github.com/users/davidastephens/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/davidastephens/subscriptions", "type": "User", "url": "https://api.github.com/users/davidastephens" }
[ { "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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
3
2014-07-08T05:31:10Z
2014-07-09T04:38:52Z
2014-07-08T23:33:47Z
CONTRIBUTOR
null
Refactor and regression test. Fixes #7685
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7688/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7688/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7688.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7688", "merged_at": "2014-07-08T23:33:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7688.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7688" }
https://api.github.com/repos/pandas-dev/pandas/issues/7689
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7689/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7689/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7689/events
https://github.com/pandas-dev/pandas/issues/7689
37,336,639
MDU6SXNzdWUzNzMzNjYzOQ==
7,689
Pandas DataFrame is not JSON serializable
{ "avatar_url": "https://avatars.githubusercontent.com/u/109167?v=4", "events_url": "https://api.github.com/users/scls19fr/events{/privacy}", "followers_url": "https://api.github.com/users/scls19fr/followers", "following_url": "https://api.github.com/users/scls19fr/following{/other_user}", "gists_url": "https://api.github.com/users/scls19fr/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/scls19fr", "id": 109167, "login": "scls19fr", "node_id": "MDQ6VXNlcjEwOTE2Nw==", "organizations_url": "https://api.github.com/users/scls19fr/orgs", "received_events_url": "https://api.github.com/users/scls19fr/received_events", "repos_url": "https://api.github.com/users/scls19fr/repos", "site_admin": false, "starred_url": "https://api.github.com/users/scls19fr/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scls19fr/subscriptions", "type": "User", "url": "https://api.github.com/users/scls19fr" }
[ { "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": "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
20
2014-07-08T06:13:46Z
2021-11-17T19:42:32Z
2014-07-08T19:03:16Z
CONTRIBUTOR
null
Hello, I'm trying to build a RESTful api with Flask-RESTful which will return Pandas DataFrame as JSON data. ``` from flask import Flask from flask.ext import restful from flask.ext.restful import Resource, Api import pandas as pd import click import logging app = Flask(__name__) api = restful.Api(app) class DataWebservice(Resource): def get(self, size): logging.info("get %d" % size) # get DB conn # df = pd.read_sql(...) # USE LIMIT df = pd.DataFrame({"col1": [1]*size, "col2": [2]*size}) #return(df.to_json()) return(df) api.add_resource(DataWebservice, '/api/v1/solar/df/get/<int:size>') @click.command() @click.option('--host', default='127.0.0.1', \ help="host (127.0.0.1 or 0.0.0.0 to accept all ip)") @click.option('--debug/--no-debug', default=False, help="debug mode") def main(debug, host): app.run(host=host, debug=debug) if __name__ == '__main__': main() ``` I run server using $ python server.py --debug I run client using $ curl http://127.0.0.1:5000/api/v1/solar/df/get/10 but I get the following error ``` TypeError: col1 col2 0 1 2 1 1 2 ... 8 1 2 9 1 2 [10 rows x 2 columns] is not JSON serializable ``` So it seems that Pandas DataFrame are not JSON serializable. I try this using IPython ``` size = 10 df = pd.DataFrame({"col1": [1]*size, "col2": [2]*size}) json.dumps(df) ``` It raises same error. I'm aware that DataFrame have method named to_json() but it doesn't help me much as my server will return escaped strings such as ``` "{\"col1\":{\"0\":1,\"1\":1,\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1},\"col2\":{\"0\":2,\"1\":2,\"2\":2,\"3\":2,\"4\":2,\"5\":2,\"6\":2,\"7\":2,\"8\":2,\"9\":2}}" ``` see https://github.com/twilio/flask-restful/issues/269 Kind regards
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7689/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7689/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7690
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7690/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7690/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7690/events
https://github.com/pandas-dev/pandas/issues/7690
37,342,857
MDU6SXNzdWUzNzM0Mjg1Nw==
7,690
BUG: Rowwise subset of a DataFrame based on index using .loc
{ "avatar_url": "https://avatars.githubusercontent.com/u/8100100?v=4", "events_url": "https://api.github.com/users/DrEhrfurchtgebietend/events{/privacy}", "followers_url": "https://api.github.com/users/DrEhrfurchtgebietend/followers", "following_url": "https://api.github.com/users/DrEhrfurchtgebietend/following{/other_user}", "gists_url": "https://api.github.com/users/DrEhrfurchtgebietend/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DrEhrfurchtgebietend", "id": 8100100, "login": "DrEhrfurchtgebietend", "node_id": "MDQ6VXNlcjgxMDAxMDA=", "organizations_url": "https://api.github.com/users/DrEhrfurchtgebietend/orgs", "received_events_url": "https://api.github.com/users/DrEhrfurchtgebietend/received_events", "repos_url": "https://api.github.com/users/DrEhrfurchtgebietend/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DrEhrfurchtgebietend/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DrEhrfurchtgebietend/subscriptions", "type": "User", "url": "https://api.github.com/users/DrEhrfurchtgebietend" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "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
4
2014-07-08T08:14:11Z
2014-07-08T15:38:37Z
2014-07-08T11:43:03Z
NONE
null
https://stackoverflow.com/questions/24536734/rowwise-subset-of-a-dataframe-based-on-index This should act like an inner join but it adds NULL rows to the table being operated on. At a very least it should raise an error when the index is not found.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7690/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7690/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7691
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7691/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7691/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7691/events
https://github.com/pandas-dev/pandas/pull/7691
37,345,237
MDExOlB1bGxSZXF1ZXN0MTgwODk2ODI=
7,691
Fix 7180 autodetect
{ "avatar_url": "https://avatars.githubusercontent.com/u/832380?v=4", "events_url": "https://api.github.com/users/bjonen/events{/privacy}", "followers_url": "https://api.github.com/users/bjonen/followers", "following_url": "https://api.github.com/users/bjonen/following{/other_user}", "gists_url": "https://api.github.com/users/bjonen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bjonen", "id": 832380, "login": "bjonen", "node_id": "MDQ6VXNlcjgzMjM4MA==", "organizations_url": "https://api.github.com/users/bjonen/orgs", "received_events_url": "https://api.github.com/users/bjonen/received_events", "repos_url": "https://api.github.com/users/bjonen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bjonen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bjonen/subscriptions", "type": "User", "url": "https://api.github.com/users/bjonen" }
[ { "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
34
2014-07-08T08:48:52Z
2014-09-18T15:36:47Z
2014-09-18T13:55:33Z
CONTRIBUTOR
null
This PR closes #7180 In the terminal: If maxcols == 0 then auto detect columns if maxrows == 0 auto detect rows
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7691/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7691/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7691.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7691", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/7691.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7691" }
https://api.github.com/repos/pandas-dev/pandas/issues/7692
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7692/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7692/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7692/events
https://github.com/pandas-dev/pandas/issues/7692
37,366,954
MDU6SXNzdWUzNzM2Njk1NA==
7,692
ERR/API: raise NotImplemented for Panel broadcastables with non-scalar
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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": "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2015-10-09T18:34:35Z", "closed_issues": 593, "created_at": "2015-03-23T10:47:38Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/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": "2015-10-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/34", "id": 1033710, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34/labels", "node_id": "MDk6TWlsZXN0b25lMTAzMzcxMA==", "number": 34, "open_issues": 0, "state": "closed", "title": "0.17.0", "updated_at": "2016-12-11T14:02:02Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/34" }
3
2014-07-08T12:58:19Z
2015-09-21T15:32:29Z
2015-09-21T15:32:29Z
CONTRIBUTOR
null
This works fine http://stackoverflow.com/questions/24631991/division-of-a-panel-by-a-series/24632381#24632381 ``` [8]: p = Panel(np.arange(3*4*5).reshape(3,4,5),items=['ItemA','ItemB','ItemC'],major_axis=date_range('20130101',periods=4),minor_axis=list('ABCDE')) In [9]: p Out[9]: <class 'pandas.core.panel.Panel'> Dimensions: 3 (items) x 4 (major_axis) x 5 (minor_axis) Items axis: ItemA to ItemC Major_axis axis: 2013-01-01 00:00:00 to 2013-01-04 00:00:00 Minor_axis axis: A to E In [10]: d = p.sum(axis=1).ix[0] In [11]: d Out[11]: ItemA 30 ItemB 110 ItemC 190 Name: A, dtype: int64 In [12]: p.iloc[0] Out[12]: A B C D E 2013-01-01 0 1 2 3 4 2013-01-02 5 6 7 8 9 2013-01-03 10 11 12 13 14 2013-01-04 15 16 17 18 19 In [13]: p.apply(lambda x: x/d,axis=0).iloc[0] Out[13]: A B C D E 2013-01-01 0.000000 0.033333 0.066667 0.100000 0.133333 2013-01-02 0.166667 0.200000 0.233333 0.266667 0.300000 2013-01-03 0.333333 0.366667 0.400000 0.433333 0.466667 2013-01-04 0.500000 0.533333 0.566667 0.600000 0.633333 ``` `p.div(d,axis=0)` should raise `NotImplementedError` instead of returning `None`. https://github.com/pydata/pandas/blob/master/pandas/core/panel.py#L655 needs an `else` that raises. Of course this can/should be implemented.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7692/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7692/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7693
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7693/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7693/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7693/events
https://github.com/pandas-dev/pandas/issues/7693
37,370,240
MDU6SXNzdWUzNzM3MDI0MA==
7,693
32bit 0.14.0+git393-g959e3e4: test_select_dtypes_exclude_include
{ "avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4", "events_url": "https://api.github.com/users/yarikoptic/events{/privacy}", "followers_url": "https://api.github.com/users/yarikoptic/followers", "following_url": "https://api.github.com/users/yarikoptic/following{/other_user}", "gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yarikoptic", "id": 39889, "login": "yarikoptic", "node_id": "MDQ6VXNlcjM5ODg5", "organizations_url": "https://api.github.com/users/yarikoptic/orgs", "received_events_url": "https://api.github.com/users/yarikoptic/received_events", "repos_url": "https://api.github.com/users/yarikoptic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions", "type": "User", "url": "https://api.github.com/users/yarikoptic" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
1
2014-07-08T13:36:43Z
2014-07-08T14:15:35Z
2014-07-08T14:15:35Z
CONTRIBUTOR
null
goes like this ``` ====================================================================== FAIL: test_select_dtypes_exclude_include (pandas.tests.test_frame.TestDataFrame) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/pandas-0.14.0+git393-g959e3e4/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tests/test_frame.py", line 13039, in test_select_dtypes_exclude_include tm.assert_frame_equal(r, e) File "/tmp/buildd/pandas-0.14.0+git393-g959e3e4/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 619, in assert_frame_equal assert_index_equal(left.columns, right.columns) File "/tmp/buildd/pandas-0.14.0+git393-g959e3e4/debian/tmp/usr/lib/python2.7/dist-packages/pandas/util/testing.py", line 557, in assert_index_equal right.dtype)) AssertionError: [index] left [object Index([u'e'], dtype='object')], right [Index([u'b', u'e'], dtype='object') object] ``` seems everywhere on 32bit ``` pandas_0.14.0+git393-g959e3e4-1~nd12.04+1_i386.build:FAIL: test_select_dtypes_exclude_include (pandas.tests.test_frame.TestDataFrame) pandas_0.14.0+git393-g959e3e4-1~nd12.10+1_i386.build:FAIL: test_select_dtypes_exclude_include (pandas.tests.test_frame.TestDataFrame) pandas_0.14.0+git393-g959e3e4-1~nd13.04+1_i386.build:FAIL: test_select_dtypes_exclude_include (pandas.tests.test_frame.TestDataFrame) pandas_0.14.0+git393-g959e3e4-1~nd13.10+1_i386.build:FAIL: test_select_dtypes_exclude_include (pandas.tests.test_frame.TestDataFrame) pandas_0.14.0+git393-g959e3e4-1~nd14.04+1_i386.build:FAIL: test_select_dtypes_exclude_include (pandas.tests.test_frame.TestDataFrame) pandas_0.14.0+git393-g959e3e4-1~nd+1_i386.build:FAIL: test_select_dtypes_exclude_include (pandas.tests.test_frame.TestDataFrame) pandas_0.14.0+git393-g959e3e4-1~nd70+1_i386.build:FAIL: test_select_dtypes_exclude_include (pandas.tests.test_frame.TestDataFrame) pandas_0.14.0+git393-g959e3e4-1~nd80+1_i386.build:FAIL: test_select_dtypes_exclude_include (pandas.tests.test_frame.TestDataFrame) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7693/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7693/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7694
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7694/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7694/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7694/events
https://github.com/pandas-dev/pandas/issues/7694
37,370,562
MDU6SXNzdWUzNzM3MDU2Mg==
7,694
test_select_dtypes_not_an_attr_but_still_valid_dtype ValueError: 'timedelta64[ns]' is too specific of a frequency, try passing 'timedelta64'
{ "avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4", "events_url": "https://api.github.com/users/yarikoptic/events{/privacy}", "followers_url": "https://api.github.com/users/yarikoptic/followers", "following_url": "https://api.github.com/users/yarikoptic/following{/other_user}", "gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yarikoptic", "id": 39889, "login": "yarikoptic", "node_id": "MDQ6VXNlcjM5ODg5", "organizations_url": "https://api.github.com/users/yarikoptic/orgs", "received_events_url": "https://api.github.com/users/yarikoptic/received_events", "repos_url": "https://api.github.com/users/yarikoptic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions", "type": "User", "url": "https://api.github.com/users/yarikoptic" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-08T13:40:29Z
2014-07-08T15:40:09Z
2014-07-08T15:40:09Z
CONTRIBUTOR
null
0.14.0+git393-g959e3e4 building on not so recent ones (32bit builds are failing on that another one while testing for python2, so never see this one on python3) ``` ====================================================================== ERROR: test_select_dtypes_not_an_attr_but_still_valid_dtype (pandas.tests.test_frame.TestDataFrame) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/pandas-0.14.0+git393-g959e3e4/debian/tmp/usr/lib/python3/dist-packages/pandas/tests/test_frame.py", line 13054, in test_select_dtypes_not_an_attr_but_still_valid_dtype r = df.select_dtypes(include=['i8', 'O', 'timedelta64[ns]']) File "/tmp/buildd/pandas-0.14.0+git393-g959e3e4/debian/tmp/usr/lib/python3/dist-packages/pandas/core/frame.py", line 1946, in select_dtypes selection) File "/tmp/buildd/pandas-0.14.0+git393-g959e3e4/debian/tmp/usr/lib/python3/dist-packages/pandas/core/frame.py", line 1945, in <lambda> frozenset(map(com._get_dtype_from_object, x)), File "/tmp/buildd/pandas-0.14.0+git393-g959e3e4/debian/tmp/usr/lib/python3/dist-packages/pandas/core/common.py", line 1650, in _get_dtype_from_object return _get_dtype_from_object(np.dtype(dtype)) File "/tmp/buildd/pandas-0.14.0+git393-g959e3e4/debian/tmp/usr/lib/python3/dist-packages/pandas/core/common.py", line 1635, in _get_dtype_from_object _validate_date_like_dtype(dtype) File "/tmp/buildd/pandas-0.14.0+git393-g959e3e4/debian/tmp/usr/lib/python3/dist-packages/pandas/core/common.py", line 1613, in _validate_date_like_dtype % (dtype.name, dtype.type.__name__)) ValueError: 'timedelta64[ns]' is too specific of a frequency, try passing 'timedelta64' ``` ``` pandas_0.14.0+git393-g959e3e4-1~nd12.04+1_amd64.build:ERROR: test_select_dtypes_not_an_attr_but_still_valid_dtype (pandas.tests.test_frame.TestDataFrame) pandas_0.14.0+git393-g959e3e4-1~nd12.10+1_amd64.build:ERROR: test_select_dtypes_not_an_attr_but_still_valid_dtype (pandas.tests.test_frame.TestDataFrame) pandas_0.14.0+git393-g959e3e4-1~nd70+1_amd64.build:ERROR: test_select_dtypes_not_an_attr_but_still_valid_dtype (pandas.tests.test_frame.TestDataFrame) ``` ``` INSTALLED VERSIONS ------------------ commit: None python: 3.2.3.final.0 python-bits: 64 OS: Linux OS-release: 3.2.0-4-amd64 machine: x86_64 processor: byteorder: little LC_ALL: C LANG: C pandas: 0.14.0.dev nose: 1.1.2 Cython: None numpy: 1.6.2 scipy: 0.10.1 statsmodels: None IPython: None sphinx: 1.1.3 patsy: None scikits.timeseries: None dateutil: 2.0 pytz: 2012c bottleneck: None tables: None numexpr: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: 4.1.0 html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: None pymysql: None psycopg2: None ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7694/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7694/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7695
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7695/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7695/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7695/events
https://github.com/pandas-dev/pandas/issues/7695
37,373,830
MDU6SXNzdWUzNzM3MzgzMA==
7,695
DataFrame.plot(kind="area") doesn't work with DatetimeIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/358378?v=4", "events_url": "https://api.github.com/users/andreas-h/events{/privacy}", "followers_url": "https://api.github.com/users/andreas-h/followers", "following_url": "https://api.github.com/users/andreas-h/following{/other_user}", "gists_url": "https://api.github.com/users/andreas-h/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/andreas-h", "id": 358378, "login": "andreas-h", "node_id": "MDQ6VXNlcjM1ODM3OA==", "organizations_url": "https://api.github.com/users/andreas-h/orgs", "received_events_url": "https://api.github.com/users/andreas-h/received_events", "repos_url": "https://api.github.com/users/andreas-h/repos", "site_admin": false, "starred_url": "https://api.github.com/users/andreas-h/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/andreas-h/subscriptions", "type": "User", "url": "https://api.github.com/users/andreas-h" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
null
2
2014-07-08T14:14:50Z
2014-07-08T14:46:25Z
2014-07-08T14:46:25Z
CONTRIBUTOR
null
I'm on pandas 0.14.0 / matplotlib 1.3.1. Given the DataFrame ``` ipdb> print(df) Coal Diesel Gas Hydro Nuclear 2003-01-31 0 0.893509 0 0.106491 0 2005-03-31 0 1.218053 0 0.000000 0 2006-03-31 0 1.218053 0 0.106491 0 2007-01-31 0 1.218053 0 0.106491 0 2008-01-31 0 1.218053 0 0.000000 0 2009-03-31 0 1.218053 0 0.000000 0 2010-01-31 0 1.218053 0 0.000000 0 2010-12-31 0 1.218053 0 0.000000 0 2011-11-30 0 1.218053 0 0.000000 0 2013-01-31 0 1.218053 0 0.000000 0 ipdb> df.index <class 'pandas.tseries.index.DatetimeIndex'> [2003-01-31, ..., 2013-01-31] Length: 10, Freq: None, Timezone: None ``` Plotting using `kind='area'` doesn't work: ``` df.plot(ax=ax, grid=False, ylim=(0., 5.), legend=False, stacked=True, kind="area") /home2/hilboll/prj/2014_no2trends-india/code/plots.py in plot_econ_panel_relative(fn_vault, fn_plot) 81 82 axs[3, 0].set_ylabel("Installed capacity (31 Jan 2003 = 1.0)") ---> 83 plt.savefig(fn_plot, bbox_inches="tight") 84 return states, electr 85 /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/pyplot.pyc in savefig(*args, **kwargs) 559 def savefig(*args, **kwargs): 560 fig = gcf() --> 561 return fig.savefig(*args, **kwargs) 562 563 /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/figure.pyc in savefig(self, *args, **kwargs) 1419 self.set_frameon(frameon) 1420 -> 1421 self.canvas.print_figure(*args, **kwargs) 1422 1423 if frameon: /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/backends/backend_qt4agg.pyc in print_figure(self, *args, **kwargs) 165 166 def print_figure(self, *args, **kwargs): --> 167 FigureCanvasAgg.print_figure(self, *args, **kwargs) 168 self.draw() /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/backend_bases.pyc in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, **kwargs) 2165 orientation=orientation, 2166 dryrun=True, -> 2167 **kwargs) 2168 renderer = self.figure._cachedRenderer 2169 bbox_inches = self.figure.get_tightbbox(renderer) /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/backend_bases.pyc in print_pdf(self, *args, **kwargs) 1950 from backends.backend_pdf import FigureCanvasPdf # lazy import 1951 pdf = self.switch_backends(FigureCanvasPdf) -> 1952 return pdf.print_pdf(*args, **kwargs) 1953 1954 def print_pgf(self, *args, **kwargs): /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/backends/backend_pdf.pyc in print_pdf(self, filename, **kwargs) 2350 width, height, image_dpi, RendererPdf(file, image_dpi), 2351 bbox_inches_restore=_bbox_inches_restore) -> 2352 self.figure.draw(renderer) 2353 renderer.finalize() 2354 finally: /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/artist.pyc in draw_wrapper(artist, renderer, *args, **kwargs) 53 def draw_wrapper(artist, renderer, *args, **kwargs): 54 before(artist, renderer) ---> 55 draw(artist, renderer, *args, **kwargs) 56 after(artist, renderer) 57 /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/figure.pyc in draw(self, renderer) 1032 dsu.sort(key=itemgetter(0)) 1033 for zorder, a, func, args in dsu: -> 1034 func(*args) 1035 1036 renderer.close_group('figure') /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/artist.pyc in draw_wrapper(artist, renderer, *args, **kwargs) 53 def draw_wrapper(artist, renderer, *args, **kwargs): 54 before(artist, renderer) ---> 55 draw(artist, renderer, *args, **kwargs) 56 after(artist, renderer) 57 /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/axes.pyc in draw(self, renderer, inframe) 2084 2085 for zorder, a in dsu: -> 2086 a.draw(renderer) 2087 2088 renderer.close_group('axes') /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/artist.pyc in draw_wrapper(artist, renderer, *args, **kwargs) 53 def draw_wrapper(artist, renderer, *args, **kwargs): 54 before(artist, renderer) ---> 55 draw(artist, renderer, *args, **kwargs) 56 after(artist, renderer) 57 /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/axis.pyc in draw(self, renderer, *args, **kwargs) 1089 renderer.open_group(__name__) 1090 -> 1091 ticks_to_draw = self._update_ticks(renderer) 1092 ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_to_draw, 1093 renderer) /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/axis.pyc in _update_ticks(self, renderer) 943 944 interval = self.get_view_interval() --> 945 tick_tups = [t for t in self.iter_ticks()] 946 if self._smart_bounds: 947 # handle inverted limits /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/axis.pyc in iter_ticks(self) 887 Iterate through all of the major and minor ticks. 888 """ --> 889 majorLocs = self.major.locator() 890 majorTicks = self.get_major_ticks(len(majorLocs)) 891 self.major.formatter.set_locs(majorLocs) /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/dates.pyc in __call__(self) 800 def __call__(self): 801 'Return the locations of the ticks' --> 802 self.refresh() 803 return self._locator() 804 /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/dates.pyc in refresh(self) 817 def refresh(self): 818 'Refresh internal information based on current limits.' --> 819 dmin, dmax = self.viewlim_to_dt() 820 self._locator = self.get_locator(dmin, dmax) 821 /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/dates.pyc in viewlim_to_dt(self) 562 def viewlim_to_dt(self): 563 vmin, vmax = self.axis.get_view_interval() --> 564 return num2date(vmin, self.tz), num2date(vmax, self.tz) 565 566 def _get_unit(self): /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/dates.pyc in num2date(x, tz) 309 tz = _get_rc_timezone() 310 if not cbook.iterable(x): --> 311 return _from_ordinalf(x, tz) 312 else: 313 return [_from_ordinalf(val, tz) for val in x] /home2/hilboll/prj/2014_no2trends-india/pyenv/lib/python2.7/site-packages/matplotlib/dates.pyc in _from_ordinalf(x, tz) 212 tz = _get_rc_timezone() 213 ix = int(x) --> 214 dt = datetime.datetime.fromordinal(ix) 215 remainder = float(x) - ix 216 hour, remainder = divmod(24 * remainder, 1) ValueError: ordinal must be >= 1 ``` The same works just fine when I create the plot replacing `kind='area'` with `kind='bar'`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7695/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7695/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7696
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7696/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7696/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7696/events
https://github.com/pandas-dev/pandas/pull/7696
37,373,851
MDExOlB1bGxSZXF1ZXN0MTgxMDQzMTA=
7,696
TST/CLN: centralize numpy < 1.7 skips
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
0
2014-07-08T14:15:02Z
2014-07-08T15:40:09Z
2014-07-08T15:40:09Z
CONTRIBUTOR
null
TST: skip on older numpy for (GH7694) closes #7694
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7696/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7696/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7696.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7696", "merged_at": "2014-07-08T15:40:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7696.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7696" }
https://api.github.com/repos/pandas-dev/pandas/issues/7697
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7697/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7697/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7697/events
https://github.com/pandas-dev/pandas/pull/7697
37,384,875
MDExOlB1bGxSZXF1ZXN0MTgxMTA4NzU=
7,697
BUG/PERF: offsets.apply doesnt preserve nanosecond
{ "avatar_url": "https://avatars.githubusercontent.com/u/1696302?v=4", "events_url": "https://api.github.com/users/sinhrks/events{/privacy}", "followers_url": "https://api.github.com/users/sinhrks/followers", "following_url": "https://api.github.com/users/sinhrks/following{/other_user}", "gists_url": "https://api.github.com/users/sinhrks/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sinhrks", "id": 1696302, "login": "sinhrks", "node_id": "MDQ6VXNlcjE2OTYzMDI=", "organizations_url": "https://api.github.com/users/sinhrks/orgs", "received_events_url": "https://api.github.com/users/sinhrks/received_events", "repos_url": "https://api.github.com/users/sinhrks/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sinhrks/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sinhrks/subscriptions", "type": "User", "url": "https://api.github.com/users/sinhrks" }
[ { "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": "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2014-10-23T11:43:09Z", "closed_issues": 530, "created_at": "2014-07-06T18:44:54Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.14.1 of course!", "due_on": "2014-10-19T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/28", "id": 711567, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28/labels", "node_id": "MDk6TWlsZXN0b25lNzExNTY3", "number": 28, "open_issues": 0, "state": "closed", "title": "0.15.0", "updated_at": "2017-11-24T10:50:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/28" }
15
2014-07-08T15:55:25Z
2014-07-25T20:42:15Z
2014-07-25T15:10:47Z
MEMBER
null
Main Fix is to preserve nanosecond info which can lost during `offset.apply`, but it also includes: - Support dateutil timezone - Little performance improvement. Even though v0.14.1 should take longer than v0.14.0 because perf test in v0.14 doesn't perform timestamp conversion which was fixed in #7502. NOTE: This caches `Tick.delta` because it was calculated 3 times repeatedly, but does it cause any side effect? ### Before ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- timeseries_year_incr | 0.0164 | 0.0103 | 1.5846 | timeseries_year_apply | 0.0153 | 0.0094 | 1.6356 | timeseries_day_incr | 0.0187 | 0.0053 | 3.5075 | timeseries_day_apply | 0.0164 | 0.0033 | 4.9048 | Target [d0076db] : PERF: Improve index.min and max perf Base [da0f7ae] : RLS: 0.14.0 final ``` ### After the fix ``` ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- timeseries_year_incr | 0.0150 | 0.0087 | 1.7339 | timeseries_year_apply | 0.0126 | 0.0073 | 1.7283 | timeseries_day_incr | 0.0130 | 0.0053 | 2.4478 | timeseries_day_apply | 0.0107 | 0.0033 | 3.2143 | Target [64dd021] : BUG: offsets.apply doesnt preserve nanosecond Base [da0f7ae] : RLS: 0.14.0 final ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7697/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7697/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7697.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7697", "merged_at": "2014-07-25T15:10:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7697.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7697" }
https://api.github.com/repos/pandas-dev/pandas/issues/7698
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7698/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7698/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7698/events
https://github.com/pandas-dev/pandas/pull/7698
37,411,667
MDExOlB1bGxSZXF1ZXN0MTgxMjc5NDM=
7,698
DOC: table keyword missing in the docstring for Series.plot() and DataFr...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1642081?v=4", "events_url": "https://api.github.com/users/mortada/events{/privacy}", "followers_url": "https://api.github.com/users/mortada/followers", "following_url": "https://api.github.com/users/mortada/following{/other_user}", "gists_url": "https://api.github.com/users/mortada/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mortada", "id": 1642081, "login": "mortada", "node_id": "MDQ6VXNlcjE2NDIwODE=", "organizations_url": "https://api.github.com/users/mortada/orgs", "received_events_url": "https://api.github.com/users/mortada/received_events", "repos_url": "https://api.github.com/users/mortada/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mortada/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mortada/subscriptions", "type": "User", "url": "https://api.github.com/users/mortada" }
[ { "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": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
5
2014-07-08T21:01:42Z
2015-04-25T23:33:31Z
2014-07-09T06:37:28Z
CONTRIBUTOR
null
...ame.plot()
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7698/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7698/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/7698.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/7698", "merged_at": "2014-07-09T06:37:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/7698.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/7698" }
https://api.github.com/repos/pandas-dev/pandas/issues/7699
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7699/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7699/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7699/events
https://github.com/pandas-dev/pandas/issues/7699
37,430,669
MDU6SXNzdWUzNzQzMDY2OQ==
7,699
Bug in quantile?
{ "avatar_url": "https://avatars.githubusercontent.com/u/4087432?v=4", "events_url": "https://api.github.com/users/araichev/events{/privacy}", "followers_url": "https://api.github.com/users/araichev/followers", "following_url": "https://api.github.com/users/araichev/following{/other_user}", "gists_url": "https://api.github.com/users/araichev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/araichev", "id": 4087432, "login": "araichev", "node_id": "MDQ6VXNlcjQwODc0MzI=", "organizations_url": "https://api.github.com/users/araichev/orgs", "received_events_url": "https://api.github.com/users/araichev/received_events", "repos_url": "https://api.github.com/users/araichev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/araichev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/araichev/subscriptions", "type": "User", "url": "https://api.github.com/users/araichev" }
[]
closed
false
null
[]
null
2
2014-07-09T03:14:21Z
2014-07-09T07:00:00Z
2014-07-09T07:00:00Z
NONE
null
Hi folks, I'm using Pandas 0.14.0 with Python3 on a 64bit Linux Mint. It looks like the Pandas `quantile` function is not working properly with the `axis=1` keyword. I'm getting the same output as `axis=0`, as you can see below. ``` In [23]: import numpy as np In [24]: import numpy as np In [25]: df = pd.DataFrame(np.array([[1, 1], [2, 10], [3, 100], [4, 100]]), columns=['a', 'b']) In [26]: df Out[26]: a b 0 1 1 1 2 10 2 3 100 3 4 100 In [27]: df.quantile(0.5, axis=1) Out[27]: a 2.5 b 55.0 dtype: float64 In [28]: df.quantile(0.5) Out[28]: a 2.5 b 55.0 dtype: float64 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7699/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7699/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/7700
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/7700/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/7700/comments
https://api.github.com/repos/pandas-dev/pandas/issues/7700/events
https://github.com/pandas-dev/pandas/issues/7700
37,438,726
MDU6SXNzdWUzNzQzODcyNg==
7,700
Bug in resample with multi-index columns?
{ "avatar_url": "https://avatars.githubusercontent.com/u/4087432?v=4", "events_url": "https://api.github.com/users/araichev/events{/privacy}", "followers_url": "https://api.github.com/users/araichev/followers", "following_url": "https://api.github.com/users/araichev/following{/other_user}", "gists_url": "https://api.github.com/users/araichev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/araichev", "id": 4087432, "login": "araichev", "node_id": "MDQ6VXNlcjQwODc0MzI=", "organizations_url": "https://api.github.com/users/araichev/orgs", "received_events_url": "https://api.github.com/users/araichev/received_events", "repos_url": "https://api.github.com/users/araichev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/araichev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/araichev/subscriptions", "type": "User", "url": "https://api.github.com/users/araichev" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
null
3
2014-07-09T06:59:15Z
2014-07-09T21:03:55Z
2014-07-09T21:03:23Z
NONE
null
Hi folks, It appears that in Pandas 0.14.0, resampling on data frames with multi-index columns erases the multi-index names. You can see an example of this at http://stackoverflow.com/questions/24442832/how-to-resample-a-pandas-multi-index-data-frame-via-methods-depending-on-the-col/24443544?noredirect=1#comment38000583_24443544.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/7700/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/7700/timeline
null
null
null