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/8001
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8001/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8001/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8001/events
https://github.com/pandas-dev/pandas/issues/8001
40,057,868
MDU6SXNzdWU0MDA1Nzg2OA==
8,001
Inconsistent indexing of mixed type indexed Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/4789270?v=4", "events_url": "https://api.github.com/users/mvds314/events{/privacy}", "followers_url": "https://api.github.com/users/mvds314/followers", "following_url": "https://api.github.com/users/mvds314/following{/other_user}", "gists_url": "https://api.github.com/users/mvds314/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mvds314", "id": 4789270, "login": "mvds314", "node_id": "MDQ6VXNlcjQ3ODkyNzA=", "organizations_url": "https://api.github.com/users/mvds314/orgs", "received_events_url": "https://api.github.com/users/mvds314/received_events", "repos_url": "https://api.github.com/users/mvds314/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mvds314/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mvds314/subscriptions", "type": "User", "url": "https://api.github.com/users/mvds314" }
[ { "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": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
1
2014-08-12T14:04:51Z
2014-08-13T12:25:36Z
2014-08-12T14:07:22Z
NONE
null
Consider the following code: ``` python import pandas as pd sr = pd.Series(data=[1,2,3,4], index=[1,2, '3', '4']) print sr[1] print sr[[1,2]] ``` Note that the rows of the Series are both indexed with integers and strings. This generates the following output: 1 2 2 3 3 The first print statement selects the value correponding to the key 1, i.e. 1 The second print statement should print: 1 1 2 2 However, instead it selects row 1 to 2 and prints the result above.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8001/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8001/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8002
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8002/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8002/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8002/events
https://github.com/pandas-dev/pandas/issues/8002
40,065,647
MDU6SXNzdWU0MDA2NTY0Nw==
8,002
BUG: float conversion in read_csv is inaccurate for precise input
{ "avatar_url": "https://avatars.githubusercontent.com/u/6729036?v=4", "events_url": "https://api.github.com/users/mdmueller/events{/privacy}", "followers_url": "https://api.github.com/users/mdmueller/followers", "following_url": "https://api.github.com/users/mdmueller/following{/other_user}", "gists_url": "https://api.github.com/users/mdmueller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mdmueller", "id": 6729036, "login": "mdmueller", "node_id": "MDQ6VXNlcjY3MjkwMzY=", "organizations_url": "https://api.github.com/users/mdmueller/orgs", "received_events_url": "https://api.github.com/users/mdmueller/received_events", "repos_url": "https://api.github.com/users/mdmueller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mdmueller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdmueller/subscriptions", "type": "User", "url": "https://api.github.com/users/mdmueller" }
[ { "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": "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-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" }
7
2014-08-12T15:17:32Z
2014-09-19T16:07:47Z
2014-09-19T16:07:47Z
CONTRIBUTOR
null
This is coming from #2566, which noted that the `xstrtod()` method used by `read_csv` doesn't agree with standard numpy float conversion. I see that the priority is speed of parsing over complete accuracy (within 0.5 units in the last place, or ULP), but there are two issues here that (at least to me) actually appear to be buggy: 1. Low-precision values (i.e. less than about 15 significant figures) should be guaranteed to be within 0.5 ULP of the correct result, or at least within 1 ULP. However, I have found cases in which `xstrtod()` is off by _more_ than 1 ULP, although these don't come up often. 2. High-precision values of course can't be guaranteed to be within 0.5 ULP without a costly correction loop as in the ordinary `strtod()`, but the error in conversion increases linearly as the number of supplied significant figures increases. With 30 significant figures, the error in conversion can potentially be over 7 ULP. [Here](http://nbviewer.ipython.org/github/amras1/ascii-profiling/blob/master/fast_conversion_profile.ipynb) is an IPython notebook analyzing the accuracy of `xstrtod()`. I think there are two problems here: `xstrtod()` keeps reading digits after the 17th, none of which should matter for conversion, and the scaling step at the end produces a compounded error by repeatedly multiplying/dividing by powers of 10. I have a solution for AstroPy that seems to fix these issues, so I can open a PR if it's agreed that `xstrtod()` should be changed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8002/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8002/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8003
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8003/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8003/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8003/events
https://github.com/pandas-dev/pandas/pull/8003
40,066,202
MDExOlB1bGxSZXF1ZXN0MTk2Njg1NDA=
8,003
API: consistency in .loc indexing when no values are found in a list-like indexer GH7999)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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" }
9
2014-08-12T15:22:40Z
2014-08-14T17:13:13Z
2014-08-14T17:13:13Z
CONTRIBUTOR
null
closes #7999
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8003/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8003/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8003.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8003", "merged_at": "2014-08-14T17:13:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8003.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8003" }
https://api.github.com/repos/pandas-dev/pandas/issues/8004
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8004/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8004/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8004/events
https://github.com/pandas-dev/pandas/issues/8004
40,066,882
MDU6SXNzdWU0MDA2Njg4Mg==
8,004
Pandas doesn't accept dtype=np.datetime64
{ "avatar_url": "https://avatars.githubusercontent.com/u/70800?v=4", "events_url": "https://api.github.com/users/Wilfred/events{/privacy}", "followers_url": "https://api.github.com/users/Wilfred/followers", "following_url": "https://api.github.com/users/Wilfred/following{/other_user}", "gists_url": "https://api.github.com/users/Wilfred/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Wilfred", "id": 70800, "login": "Wilfred", "node_id": "MDQ6VXNlcjcwODAw", "organizations_url": "https://api.github.com/users/Wilfred/orgs", "received_events_url": "https://api.github.com/users/Wilfred/received_events", "repos_url": "https://api.github.com/users/Wilfred/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Wilfred/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Wilfred/subscriptions", "type": "User", "url": "https://api.github.com/users/Wilfred" }
[ { "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": "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": 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" }
15
2014-08-12T15:29:05Z
2019-12-18T23:26:00Z
2019-12-18T23:26:00Z
CONTRIBUTOR
null
``` In [1]: from pandas import Series In [3]: import numpy as np In [4]: Series([], dtype=np.datetime64) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-4-139e5646d234> in <module>() ----> 1 Series([], dtype=np.datetime64) /users/is/whughes/pyenvs/1c4f50ee0e346415/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/series.py in __init__(self, data, index, dtype, name, copy, fastpath) 218 else: 219 data = _sanitize_array(data, index, dtype, copy, --> 220 raise_cast_failure=True) 221 222 data = SingleBlockManager(data, index, fastpath=True) /users/is/whughes/pyenvs/1c4f50ee0e346415/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/series.py in _sanitize_array(data, index, dtype, copy, raise_cast_failure) 2564 2565 else: -> 2566 subarr = _try_cast(data, False) 2567 2568 # scalar like /users/is/whughes/pyenvs/1c4f50ee0e346415/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/series.py in _try_cast(arr, take_fast_path) 2509 2510 try: -> 2511 arr = _possibly_cast_to_datetime(arr, dtype) 2512 subarr = pa.array(arr, dtype=dtype, copy=copy) 2513 except (ValueError, TypeError): /users/is/whughes/pyenvs/1c4f50ee0e346415/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/common.py in _possibly_cast_to_datetime(value, dtype, coerce) 1659 else: 1660 raise TypeError( -> 1661 "cannot convert datetimelike to dtype [%s]" % dtype) 1662 elif is_timedelta64 and dtype != _TD_DTYPE: 1663 if dtype.name == 'timedelta64[ns]': TypeError: cannot convert datetimelike to dtype [datetime64] ``` The following workaround works: ``` Series([], dtype=datetime) ``` but I would expect passing in the numpy type to work too.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8004/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8004/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8005
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8005/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8005/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8005/events
https://github.com/pandas-dev/pandas/issues/8005
40,067,961
MDU6SXNzdWU0MDA2Nzk2MQ==
8,005
Inconsistent behavior using 'in' operator
{ "avatar_url": "https://avatars.githubusercontent.com/u/4929993?v=4", "events_url": "https://api.github.com/users/arsenyinfo/events{/privacy}", "followers_url": "https://api.github.com/users/arsenyinfo/followers", "following_url": "https://api.github.com/users/arsenyinfo/following{/other_user}", "gists_url": "https://api.github.com/users/arsenyinfo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arsenyinfo", "id": 4929993, "login": "arsenyinfo", "node_id": "MDQ6VXNlcjQ5Mjk5OTM=", "organizations_url": "https://api.github.com/users/arsenyinfo/orgs", "received_events_url": "https://api.github.com/users/arsenyinfo/received_events", "repos_url": "https://api.github.com/users/arsenyinfo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arsenyinfo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arsenyinfo/subscriptions", "type": "User", "url": "https://api.github.com/users/arsenyinfo" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
1
2014-08-12T15:39:18Z
2014-08-12T15:43:09Z
2014-08-12T15:43:04Z
NONE
null
Operator **in** works differently with str and int in series; please see short snippet below. `import pandas as pd` `df1 = pd.DataFrame({'a':['a','b','c'], 'b':['d','e','f']})` `df2 = pd.DataFrame({'a':[1,2,3], 'b':[3,2,1]})` `df1.a[0] in df1.a` False `df2.a[0] in df2.a` True ## INSTALLED VERSIONS commit: None python: 2.7.5.final.0 python-bits: 64 OS: Darwin OS-release: 13.3.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: None pandas: 0.14.1 nose: None Cython: None numpy: 1.6.2 scipy: 0.11.0 statsmodels: None IPython: 2.1.0 sphinx: None patsy: None scikits.timeseries: None dateutil: 1.5 pytz: 2012d bottleneck: None tables: None numexpr: None matplotlib: 1.1.1 openpyxl: None xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: None pymysql: None psycopg2: 2.5.3 (dt dec pq3 ext)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8005/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8005/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8006
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8006/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8006/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8006/events
https://github.com/pandas-dev/pandas/pull/8006
40,072,094
MDExOlB1bGxSZXF1ZXN0MTk2NzIzNzQ=
8,006
CLN/DOC/TST: categorical fixups (GH7768)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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": "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": "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" }
1
2014-08-12T16:18:20Z
2014-08-12T18:15:28Z
2014-08-12T18:14:25Z
CONTRIBUTOR
null
replaces #7768 closes #3678 Categorical([1, np.nan]) would end up with a single `1.` float level. This commit ensures that if `values` is a list of ints and contains np.nan, the float conversation does not take place. Categorical: fix describe with np.nan Categorical: ensure that one can assign np.nan Categorical: fix assigning NaN if NaN in levels API: change default Categorical.from_codes() to ordered=False In the normal constructor `ordered=True` is only assumed if the levels are given or the values are sortable (which is most of the cases), but in `from_codes(...)` we can't asssume this so the default should be `False`. Categorical: add some links to Categorical in the other docs Categorical: use s.values when calling private methods s.values is the underlying Categorical object, s.cat will be changed to only expose the API methods/properties. Categorical: Change series.cat to only expose the API Categorical: Fix order and na_position Categorical: Fix comparison of Categoricals and Series|Categorical|np.array Categorical can only be comapred to another Categorical with the same levels and the same ordering or to a scalar value. If the Categorical has no order defined (cat.ordered == False), only equal (and not equal) are defined. DOC: use okexcept in docs rather than try: except: CLN: revised isnull treatement TST: test for tab completion
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8006/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8006/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8006.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8006", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8006.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8006" }
https://api.github.com/repos/pandas-dev/pandas/issues/8007
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8007/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8007/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8007/events
https://github.com/pandas-dev/pandas/pull/8007
40,082,909
MDExOlB1bGxSZXF1ZXN0MTk2NzkzMTA=
8,007
CLN/DOC/TST: Categorical fixups (GH7768)
{ "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": "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": "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": "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": "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" }
52
2014-08-12T18:14:31Z
2014-08-29T18:41:49Z
2014-08-19T13:58:05Z
CONTRIBUTOR
null
replaces #7768, #8006 closes #3678 Categorical: preserve ints when NaN are present `Categorical([1, np.nan])` would end up with a single `1.` float level. This commit ensures that if `values` is a list of ints and contains np.nan, the float conversation does not take place. Categorical: fix describe with np.nan Categorical: ensure that one can assign np.nan Categorical: fix assigning NaN if NaN in levels API: change default Categorical.from_codes() to ordered=False In the normal constructor `ordered=True` is only assumed if the levels are given or the values are sortable (which is most of the cases), but in `from_codes(...)` we can't asssume this so the default should be `False`. Categorical: add some links to Categorical in the other docs Categorical: use s.values when calling private methods s.values is the underlying Categorical object, s.cat will be changed to only expose the API methods/properties. Categorical: Change series.cat to only expose the API Categorical: Fix order and na_position Categorical: Fix comparison of Categoricals and Series|Categorical|np.array Categorical can only be comapred to another Categorical with the same levels and the same ordering or to a scalar value. If the Categorical has no order defined (cat.ordered == False), only equal (and not equal) are defined. Categorical: Tab completition tests Categorical: Fix for NA handling/float converting in levels Categorical: make sure fillna gets both missing values and NA-levels Categorical: add back labels as deprecated property Categorical: Fix assigment to a Series(Categorical)) and remove Series.cat.codes Categorical: declare most methods in Categorical NON-API
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8007/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8007/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8007.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8007", "merged_at": "2014-08-19T13:58:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8007.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8007" }
https://api.github.com/repos/pandas-dev/pandas/issues/8008
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8008/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8008/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8008/events
https://github.com/pandas-dev/pandas/pull/8008
40,103,789
MDExOlB1bGxSZXF1ZXN0MTk2OTI4ODc=
8,008
Add sharex and sharey to grouped boxplot
{ "avatar_url": "https://avatars.githubusercontent.com/u/616139?v=4", "events_url": "https://api.github.com/users/danfrankj/events{/privacy}", "followers_url": "https://api.github.com/users/danfrankj/followers", "following_url": "https://api.github.com/users/danfrankj/following{/other_user}", "gists_url": "https://api.github.com/users/danfrankj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/danfrankj", "id": 616139, "login": "danfrankj", "node_id": "MDQ6VXNlcjYxNjEzOQ==", "organizations_url": "https://api.github.com/users/danfrankj/orgs", "received_events_url": "https://api.github.com/users/danfrankj/received_events", "repos_url": "https://api.github.com/users/danfrankj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/danfrankj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danfrankj/subscriptions", "type": "User", "url": "https://api.github.com/users/danfrankj" }
[ { "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": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
2014-08-12T21:59:27Z
2015-05-09T21:24:25Z
2015-05-09T16:20:05Z
CONTRIBUTOR
null
sharex and sharey should be settable and by default False in a grouped boxplot. E.g. ``` n [97]: df = DataFrame(np.random.rand(10,2), columns=['Col1', 'Col2'] ) In [98]: df['X'] =['A','A','A','A','A','B','B','B','B','B'] In [99]: df.iloc[0:5, :2] += 10000 In [100]: df.groupby('X').boxplot() # this is unreadable ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8008/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8008/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8008.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8008", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8008.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8008" }
https://api.github.com/repos/pandas-dev/pandas/issues/8009
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8009/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8009/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8009/events
https://github.com/pandas-dev/pandas/issues/8009
40,106,167
MDU6SXNzdWU0MDEwNjE2Nw==
8,009
Series.filter returns something different than DataFrame.filter.iloc[0]
{ "avatar_url": "https://avatars.githubusercontent.com/u/684965?v=4", "events_url": "https://api.github.com/users/joehand/events{/privacy}", "followers_url": "https://api.github.com/users/joehand/followers", "following_url": "https://api.github.com/users/joehand/following{/other_user}", "gists_url": "https://api.github.com/users/joehand/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joehand", "id": 684965, "login": "joehand", "node_id": "MDQ6VXNlcjY4NDk2NQ==", "organizations_url": "https://api.github.com/users/joehand/orgs", "received_events_url": "https://api.github.com/users/joehand/received_events", "repos_url": "https://api.github.com/users/joehand/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joehand/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joehand/subscriptions", "type": "User", "url": "https://api.github.com/users/joehand" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
null
12
2014-08-12T22:30:21Z
2014-08-13T20:26:01Z
2014-08-13T12:43:39Z
NONE
null
I posted this on StackOverflow as a [question](http://stackoverflow.com/questions/25275009/pandas-series-filter-values-returning-different-type-than-numpy-array), but I think it may be a bug in Pandas. These two expressions return something slightly different: ``` df.filter(regex='other').iloc[0].values df.iloc[0].filter(regex='other').values ``` Should they? It seems strange. I found this issue by doing an apply on the dataframe and trying to use a filter on the rows in a `scipy.stats.entropy` calculation. The two ways I have seen they are different. First, the bottom throws an error in the entropy calculation: ``` TypeError: ufunc 'xlogy' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' ``` Second, the print representation is slightly different: ``` [12024 9643 7681 8193 8012 7846 7615 7484 5966 11484 13627 17749 9820 5336 4611 3366] [12024 9643 7681 8193 8012 7846 7615 7484 5966 11484 13627 17749 9820 5336 4611 3366] ``` Is this a bug? Or expected and I am just using filter on the rows incorrectly? I've also tried using `row[row.filter(regex='other').index].values` with no success.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8009/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8009/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8010
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8010/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8010/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8010/events
https://github.com/pandas-dev/pandas/pull/8010
40,109,965
MDExOlB1bGxSZXF1ZXN0MTk2OTY5ODQ=
8,010
fix issue #8000
{ "avatar_url": "https://avatars.githubusercontent.com/u/2829866?v=4", "events_url": "https://api.github.com/users/grahamjeffries/events{/privacy}", "followers_url": "https://api.github.com/users/grahamjeffries/followers", "following_url": "https://api.github.com/users/grahamjeffries/following{/other_user}", "gists_url": "https://api.github.com/users/grahamjeffries/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/grahamjeffries", "id": 2829866, "login": "grahamjeffries", "node_id": "MDQ6VXNlcjI4Mjk4NjY=", "organizations_url": "https://api.github.com/users/grahamjeffries/orgs", "received_events_url": "https://api.github.com/users/grahamjeffries/received_events", "repos_url": "https://api.github.com/users/grahamjeffries/repos", "site_admin": false, "starred_url": "https://api.github.com/users/grahamjeffries/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/grahamjeffries/subscriptions", "type": "User", "url": "https://api.github.com/users/grahamjeffries" }
[]
closed
false
null
[]
null
1
2014-08-12T23:31:03Z
2014-08-13T13:57:02Z
2014-08-13T02:04:55Z
CONTRIBUTOR
null
This pull request is in response to [issue #8000](https://github.com/pydata/pandas/issues/8000). Changes to core/common.py add np.nan as the default value for missing values to the left and right non-missing values during interpolation. This prevents DataFrame.interpolate() from extrapolating the last non-missing value over all trailing missing values (the default). Changes to tests/test_common.py add test coverage to the above change. A passing test is where an interpolated series with a trailing missing value maintains that trailing missing value after interpolation.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8010/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8010/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8010.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8010", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8010.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8010" }
https://api.github.com/repos/pandas-dev/pandas/issues/8011
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8011/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8011/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8011/events
https://github.com/pandas-dev/pandas/issues/8011
40,111,563
MDU6SXNzdWU0MDExMTU2Mw==
8,011
ExcelFile.parse() does not return TextFileReader object, but rather a DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/4260414?v=4", "events_url": "https://api.github.com/users/rkyleg/events{/privacy}", "followers_url": "https://api.github.com/users/rkyleg/followers", "following_url": "https://api.github.com/users/rkyleg/following{/other_user}", "gists_url": "https://api.github.com/users/rkyleg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rkyleg", "id": 4260414, "login": "rkyleg", "node_id": "MDQ6VXNlcjQyNjA0MTQ=", "organizations_url": "https://api.github.com/users/rkyleg/orgs", "received_events_url": "https://api.github.com/users/rkyleg/received_events", "repos_url": "https://api.github.com/users/rkyleg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rkyleg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rkyleg/subscriptions", "type": "User", "url": "https://api.github.com/users/rkyleg" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
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" }
3
2014-08-12T23:59:27Z
2020-05-07T22:11:35Z
2020-05-07T22:11:34Z
NONE
null
When specifying a chunksize during the ExcelFile.parse() method, I should be back an iterable object, but instead a DataFrame is returned. If you return just the TextParser (change parser.read() to just parser) in the code block below, then iterating over the parsed ExcelFile works and returns the specified number of chunks. The code block is taken from pandas.io.excel.py line 334 Hopefully I didn't make that confusing. ``` python parser = TextParser(data, header=header, index_col=index_col, has_index_names=has_index_names, na_values=na_values, thousands=thousands, parse_dates=parse_dates, date_parser=date_parser, skiprows=skiprows, skip_footer=skip_footer, chunksize=chunksize, **kwds) return parser.read() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8011/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8011/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8012
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8012/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8012/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8012/events
https://github.com/pandas-dev/pandas/pull/8012
40,114,612
MDExOlB1bGxSZXF1ZXN0MTk2OTk4OTI=
8,012
WIP: generalize categorical to N-dimensions
{ "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" }
[]
closed
false
null
[]
null
5
2014-08-13T00:59:30Z
2014-08-21T19:56:41Z
2014-08-13T00:59:49Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8012/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8012/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8012.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8012", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8012.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8012" }
https://api.github.com/repos/pandas-dev/pandas/issues/8013
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8013/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8013/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8013/events
https://github.com/pandas-dev/pandas/pull/8013
40,117,239
MDExOlB1bGxSZXF1ZXN0MTk3MDE0NDI=
8,013
fix issue #8000 - interpolation extrapolates over trailing missing values
{ "avatar_url": "https://avatars.githubusercontent.com/u/2829866?v=4", "events_url": "https://api.github.com/users/grahamjeffries/events{/privacy}", "followers_url": "https://api.github.com/users/grahamjeffries/followers", "following_url": "https://api.github.com/users/grahamjeffries/following{/other_user}", "gists_url": "https://api.github.com/users/grahamjeffries/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/grahamjeffries", "id": 2829866, "login": "grahamjeffries", "node_id": "MDQ6VXNlcjI4Mjk4NjY=", "organizations_url": "https://api.github.com/users/grahamjeffries/orgs", "received_events_url": "https://api.github.com/users/grahamjeffries/received_events", "repos_url": "https://api.github.com/users/grahamjeffries/repos", "site_admin": false, "starred_url": "https://api.github.com/users/grahamjeffries/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/grahamjeffries/subscriptions", "type": "User", "url": "https://api.github.com/users/grahamjeffries" }
[ { "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" } ]
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-08-13T02:04:24Z
2016-04-04T23:57:50Z
2015-07-28T21:56:26Z
CONTRIBUTOR
null
This pull request is in response to [issue #8000](https://github.com/pydata/pandas/issues/8000). Changes to core/common.py add np.nan as the default value for missing values to the left and right non-missing values during interpolation. This prevents DataFrame.interpolate() from extrapolating the last non-missing value over all trailing missing values (the default). Changes to tests/test_generic.py add test coverage to the above change. A passing test is where an interpolated series with a trailing missing value maintains that trailing missing value after interpolation.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8013/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8013/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8013.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8013", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8013.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8013" }
https://api.github.com/repos/pandas-dev/pandas/issues/8014
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8014/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8014/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8014/events
https://github.com/pandas-dev/pandas/issues/8014
40,121,564
MDU6SXNzdWU0MDEyMTU2NA==
8,014
Iterating through TableIterator with where clause can incorrectly ignore data
{ "avatar_url": "https://avatars.githubusercontent.com/u/1400227?v=4", "events_url": "https://api.github.com/users/bboerner/events{/privacy}", "followers_url": "https://api.github.com/users/bboerner/followers", "following_url": "https://api.github.com/users/bboerner/following{/other_user}", "gists_url": "https://api.github.com/users/bboerner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bboerner", "id": 1400227, "login": "bboerner", "node_id": "MDQ6VXNlcjE0MDAyMjc=", "organizations_url": "https://api.github.com/users/bboerner/orgs", "received_events_url": "https://api.github.com/users/bboerner/received_events", "repos_url": "https://api.github.com/users/bboerner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bboerner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bboerner/subscriptions", "type": "User", "url": "https://api.github.com/users/bboerner" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
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-08-13T04:04:40Z
2014-08-16T00:39:45Z
2014-08-16T00:39:45Z
NONE
null
Expected behaviour: Using appendable table stored using HDFStore summed length of DataFrames returned using an iterator with a where clause should equal the length of the DataFrame when returned using the same where clause but with iterator=False e.g. TableIterator.get_values(). The attached code generates appendable tables of size 100064, 200064, ..., 400064. It uses a where clause which is a superset of all possible values to get DataFrames with iterator=False, with and without the where clause, and with iterator=True, also with and without the where clause. In all cases except for iterator=True with the where clause the length of the returned DataFrames is correct. For the failure cases in closer inspection in iPython it is the last 64 rows which are not being returned. Note: in create_file() the appending of DataFrames with lengths of 58689 and 41375 was chosen specifically to reproduce the problem. I originally encountered the problem with a dataset with length 174000064 and the last append was size 41375. I attempted to reproduce the problem by creating various length tables in chunks of 100000 with a final append of 64 and wasn't able to do so. Creating the table with the last chunk = 41375 with total length exceeding 300000 does in my tests reproduce the problem. Output: ``` iteration: 0 PASSED expected: 100064, df len: 100064, it (no where clause) len: 100064, it len: 100064 iteration: 1 PASSED expected: 200064, df len: 200064, it (no where clause) len: 200064, it len: 200064 iteration: 2 FAILED expected: 300064, df len: 300064, it (no where clause) len: 300064, it len: 300000 iteration: 3 FAILED expected: 400064, df len: 400064, it (no where clause) len: 400064, it len: 400000 ``` > > > pd.show_versions() ## INSTALLED VERSIONS commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-32-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.13.1 Cython: 0.20.1 numpy: 1.8.1 scipy: 0.14.0 statsmodels: None IPython: 1.2.1 sphinx: None patsy: None scikits.timeseries: None dateutil: 1.5 pytz: 2012c bottleneck: 0.8.0 tables: 3.1.1 numexpr: 2.4 matplotlib: 1.3.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None sqlalchemy: None lxml: 3.3.3 bs4: 4.3.2 html5lib: 0.999 bq: None apiclient: None ``` python import os from dateutil.relativedelta import relativedelta import numpy as np randn = np.random.randn from pandas import DataFrame, HDFStore, date_range def create_df(beg_dt, periods=1e5): """ Create a DataFrame containing values v. """ dr = date_range(beg_dt, periods=periods, freq='S') df = DataFrame(index=dr, data=np.random.randn(periods, 4), columns=['bid_price','bid_vol', 'ask_price','ask_vol']) return(df) def create_file(iterations=1): beg_dt = '2014-08-12 13:30:00.000000' periods = 1e5 for i in xrange(iterations): df = create_df(beg_dt, periods) store_append(store, df, key="df") beg_dt = df.index[-1:][0] + relativedelta(seconds=1) df = create_df(beg_dt, 58689) store_append(store, df, key="df") beg_dt = df.index[-1:][0] + relativedelta(seconds=1) df = create_df(beg_dt, 41375) store_append(store, df, key="df") beg_dt = df.index[-1:][0] + relativedelta(seconds=1) return(df) def store_open(fname): return(HDFStore(fname)) def store_get(store, key="df", where=None, start=None, stop=None, iterator=False, chunksize=None): df = None try: df = store.select(key, where=where, start=start, stop=stop, iterator=iterator, chunksize=chunksize) except (KeyError, TypeError, ): pass return(df) def store_append(store, df, key="df", where=""): store.append(key, df, format='table') path = '.' fname = '/'.join([path, 'delme_test.h5']) store = None for n in xrange(0, 4): pass if store: try: store.close() except: pass try: os.unlink(fname) except: pass store = store_open(fname) create_file(n) store.close() store = store_open(fname) where = None df = store_get(store, 'df', where=where, iterator=False) expected_ln = len(df) beg_dt = '2014-08-12 13:30:00.000000' end_dt = '2032-12-31 13:30:00.000000' where = "index >= '%s' & index <= '%s'" % (beg_dt, end_dt) # where clause, iterator=False df = store_get(store, 'df', where=where, iterator=False) ln_df = len(df) # no where clause it = store_get(store, 'df', where=None, iterator=True) dfs = [df for df in it if not df.empty] ln_it_no_where_clause = sum([len(df) for df in dfs]) # where clause, iterator=True it = store_get(store, 'df', where=where, iterator=True) dfs = [df for df in it if not df.empty] ln_it = sum([len(df) for df in dfs]) if expected_ln == ln_df and expected_ln == ln_it: print("iteration: %d PASSED" % n) else: print("iteration: %d FAILED" % n) print("expected: %d, df len: %d, it (no where clause) len: %d, it len: %d" % (expected_ln, ln_df, ln_it_no_where_clause, ln_it)) store.close() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8014/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8014/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8015
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8015/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8015/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8015/events
https://github.com/pandas-dev/pandas/issues/8015
40,138,305
MDU6SXNzdWU0MDEzODMwNQ==
8,015
pd.Series.groupby is said to have only optional parameters
{ "avatar_url": "https://avatars.githubusercontent.com/u/5556920?v=4", "events_url": "https://api.github.com/users/tknuth/events{/privacy}", "followers_url": "https://api.github.com/users/tknuth/followers", "following_url": "https://api.github.com/users/tknuth/following{/other_user}", "gists_url": "https://api.github.com/users/tknuth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tknuth", "id": 5556920, "login": "tknuth", "node_id": "MDQ6VXNlcjU1NTY5MjA=", "organizations_url": "https://api.github.com/users/tknuth/orgs", "received_events_url": "https://api.github.com/users/tknuth/received_events", "repos_url": "https://api.github.com/users/tknuth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tknuth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tknuth/subscriptions", "type": "User", "url": "https://api.github.com/users/tknuth" }
[ { "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
17
2014-08-13T09:43:31Z
2017-11-26T18:38:52Z
2014-12-03T10:51:50Z
NONE
null
``` s = pd.Series(x) m = s.groupby().count() # does not work m = s.groupby(s.values).count() # works ``` In `https://github.com/pydata/pandas/blob/master/pandas/core/generic.py`, `by=None` should be corrected to just `by` as `None` always leads to an error. ``` def groupby(self, by=None, axis=0, level=None, as_index=True, sort=True, group_keys=True, squeeze=False): from pandas.core.groupby import groupby axis = self._get_axis_number(axis) return groupby(self, by, axis=axis, level=level, as_index=as_index, sort=sort, group_keys=group_keys, squeeze=squeeze) ``` See this http://stackoverflow.com/questions/17929426/groupby-for-pandas-series-not-working
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8015/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8015/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8016
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8016/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8016/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8016/events
https://github.com/pandas-dev/pandas/issues/8016
40,148,476
MDU6SXNzdWU0MDE0ODQ3Ng==
8,016
Inconsistent assingment when indexing with mixed type
{ "avatar_url": "https://avatars.githubusercontent.com/u/4789270?v=4", "events_url": "https://api.github.com/users/mvds314/events{/privacy}", "followers_url": "https://api.github.com/users/mvds314/followers", "following_url": "https://api.github.com/users/mvds314/following{/other_user}", "gists_url": "https://api.github.com/users/mvds314/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mvds314", "id": 4789270, "login": "mvds314", "node_id": "MDQ6VXNlcjQ3ODkyNzA=", "organizations_url": "https://api.github.com/users/mvds314/orgs", "received_events_url": "https://api.github.com/users/mvds314/received_events", "repos_url": "https://api.github.com/users/mvds314/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mvds314/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mvds314/subscriptions", "type": "User", "url": "https://api.github.com/users/mvds314" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
null
3
2014-08-13T12:15:38Z
2014-08-13T12:25:52Z
2014-08-13T12:25:36Z
NONE
null
When I run the following code: ``` python import pandas as pd import numpy as np dfe=pd.Series(np.array([ 0, 0, 0]),index=[1,2, '3']) df=pd.Series([2],index=[1]) print dfe.loc[df.index] print dfe.loc[df.index] + df.loc[df.index] dfe.loc[df.index] = dfe.loc[df.index] + df.loc[df.index] print dfe ``` I get the following output: 1 0 dtype: int32 1 2 dtype: int64 1 0 2 NaN 3 0 This is strange because slicing dfe with the index of df clearly results in row the row indexed by the integer 1 (first output). However, when you do an assignment row nr 1 (i.e. the row you would obtain with iloc) is used to to the assignment.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8016/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8016/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8017
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8017/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8017/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8017/events
https://github.com/pandas-dev/pandas/issues/8017
40,155,400
MDU6SXNzdWU0MDE1NTQwMA==
8,017
BUG: sort_index/sortlevel fails MultiIndex after columns are added.
{ "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" }
[ { "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-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" }
18
2014-08-13T13:44:09Z
2014-10-29T15:40:22Z
2014-09-17T12:20:13Z
NONE
null
I have a `DataFrame` with a `MultiIndex` on the columns. The first level of the MultiIndex contains `str`ings. The second, `float`s (though the problem persists if the second level is `int`s). I add a column to the `DataFrame` (which should _not_ come last if the columns are sorted). I try to sort the `DataFrame`. The result does not seem to be sorted. The behavior is fine if the columns are simply an `Index` (even after adding columns). And the sort works fine in the `MultiIndex` case as long as no columns have been added since the `DataFrame` was created. MWE: ``` import pandas as pd import numpy as np np.random.seed(0) data = np.random.randn(3,4) df_multi_float = pd.DataFrame(data, index=list('def'), columns=pd.MultiIndex.from_tuples([('red', i) for i in [1., 3., 2., 5.]])) print df_multi_float #OUTPUT red 1 3 2 5 d 1.764052 0.400157 0.978738 2.240893 e 1.867558 -0.977278 0.950088 -0.151357 f -0.103219 0.410599 0.144044 1.454274 ``` This sorts just fine as it isnow: ``` print df_multi_float.sort_index(axis=1) #OUTPUT red 1 2 3 5 d 1.764052 0.978738 0.400157 2.240893 e 1.867558 0.950088 -0.977278 -0.151357 f -0.103219 0.144044 0.410599 1.454274 ``` But if I add columns to both this `DataFrame and then show it sorted, I get what looks to be a wrong result (the new column remains last, rather than being placed second-to-last as it should be): ``` df_multi_float[('red', 4.0)] = 'world' print df_multi_float.sort_index(axis=1) #OUTPUT red red 1 2 3 5 4 d 1.764052 0.978738 0.400157 2.240893 world e 1.867558 0.950088 -0.977278 -0.151357 world f -0.103219 0.144044 0.410599 1.454274 world ``` I'm able to produce this behavior on two systems. The first runs Pandas 0.14.0 and Numpy 1.8.1 and the second runs Pandas 0.14.1 and Numpy 1.8.2. This issue is described here: http://stackoverflow.com/questions/25287130/pandas-sort-index-fails-with-multiindex-containing-floats-as-one-level-when-col?noredirect=1#comment39408150_25287130
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8017/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8017/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8018
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8018/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8018/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8018/events
https://github.com/pandas-dev/pandas/pull/8018
40,167,467
MDExOlB1bGxSZXF1ZXN0MTk3MzIzMDA=
8,018
ENH: Groupby.plot enhancement
{ "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": "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": "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
{ "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" }
[ { "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" } ]
null
31
2014-08-13T15:39:45Z
2017-03-20T13:55:29Z
2017-03-20T13:49:20Z
MEMBER
null
Allow to support `DataFrameGroupBy.plot` and `SeriesGroupBy.plot` covering current `DataFrame.hist(by=XXX)` and `DataFrame.boxplot(by=XXX)` usecases. Implementation is incomplete but covering most of usecases / behaviours. - [x] fix `FIXME`s - [x] Split to `plot_seriesgroupby` and `plot_dataramegroupby` specifying default values. - [x] Refactoring `plot_frame` and `plot_series`, modify `docstring`. (#8037) - [x] Make line subplot to accept multiple colors (#9894) - [x] secondary_y - [x] error bars (raise `NotImplementedError`) - [x] split some cleanups required in prior to this PR (#10717) - [x] doc - [x] tests ## Following gist contains all patterns of outputs. - https://gist.github.com/sinhrks/ad805b6689140930d99a ## Rendered doc ![untitled 3](https://cloud.githubusercontent.com/assets/1696302/9026114/83da4e80-395d-11e5-86f0-caef498d16d8.jpg)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 1, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8018/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8018/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8018.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8018", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8018.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8018" }
https://api.github.com/repos/pandas-dev/pandas/issues/8019
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8019/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8019/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8019/events
https://github.com/pandas-dev/pandas/issues/8019
40,170,576
MDU6SXNzdWU0MDE3MDU3Ng==
8,019
Can't shift an empty dataframe with pandas 0.14.1 and numpy 1.7.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/70800?v=4", "events_url": "https://api.github.com/users/Wilfred/events{/privacy}", "followers_url": "https://api.github.com/users/Wilfred/followers", "following_url": "https://api.github.com/users/Wilfred/following{/other_user}", "gists_url": "https://api.github.com/users/Wilfred/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Wilfred", "id": 70800, "login": "Wilfred", "node_id": "MDQ6VXNlcjcwODAw", "organizations_url": "https://api.github.com/users/Wilfred/orgs", "received_events_url": "https://api.github.com/users/Wilfred/received_events", "repos_url": "https://api.github.com/users/Wilfred/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Wilfred/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Wilfred/subscriptions", "type": "User", "url": "https://api.github.com/users/Wilfred" }
[ { "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" }
1
2014-08-13T16:08:29Z
2017-02-06T18:23:52Z
2014-08-18T15:38:09Z
CONTRIBUTOR
null
We have some code which filters a dataframe, then shifts the result. However, this dataframe may end up being empty. In pandas 0.13, this works without problem: ``` In [61]: df = DataFrame(columns=['foo']) In [62]: df.shift(-1) Out[62]: Empty DataFrame Columns: [foo] Index: [] [0 rows x 1 columns] ``` However, pandas 0.14 throws a division by zero error: ``` In [1]: from pandas import * In [2]: df = DataFrame(columns=['foo']) In [3]: df.shift(-1) --------------------------------------------------------------------------- ZeroDivisionError Traceback (most recent call last) <ipython-input-3-6aa009807b04> in <module>() ----> 1 df.shift(-1) /users/is/whughes/pyenvs/da497516f84bbd5b/lib/python2.7/site-packages/pandas/core/generic.pyc in shift(self, periods, freq, axis, **kwds) 3288 block_axis = self._get_block_manager_axis(axis) 3289 if freq is None and not len(kwds): -> 3290 new_data = self._data.shift(periods=periods, axis=block_axis) 3291 else: 3292 return self.tshift(periods, freq, **kwds) /users/is/whughes/pyenvs/da497516f84bbd5b/lib/python2.7/site-packages/pandas/core/internals.pyc in shift(self, **kwargs) 2226 2227 def shift(self, **kwargs): -> 2228 return self.apply('shift', **kwargs) 2229 2230 def fillna(self, **kwargs): /users/is/whughes/pyenvs/da497516f84bbd5b/lib/python2.7/site-packages/pandas/core/internals.pyc in apply(self, f, axes, filter, do_integrity_check, **kwargs) 2190 copy=align_copy) 2191 -> 2192 applied = getattr(b, f)(**kwargs) 2193 2194 if isinstance(applied, list): /users/is/whughes/pyenvs/da497516f84bbd5b/lib/python2.7/site-packages/pandas/core/internals.pyc in shift(self, periods, axis) 789 new_values = new_values.T 790 axis = new_values.ndim - axis - 1 --> 791 new_values = np.roll(new_values, periods, axis=axis) 792 axis_indexer = [ slice(None) ] * self.ndim 793 if periods > 0: /users/is/whughes/pyenvs/da497516f84bbd5b/lib/python2.7/site-packages/numpy/core/numeric.pyc in roll(a, shift, axis) 1145 n = a.shape[axis] 1146 reshape = False -> 1147 shift %= n 1148 indexes = concatenate((arange(n-shift,n),arange(n-shift))) 1149 res = a.take(indexes, axis) ZeroDivisionError: integer division or modulo by zero ``` The behaviour is correct with numpy 1.8 however.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8019/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8019/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8020
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8020/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8020/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8020/events
https://github.com/pandas-dev/pandas/issues/8020
40,170,784
MDU6SXNzdWU0MDE3MDc4NA==
8,020
Make empty data construction error message less dev-y
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "closed_at": "2016-03-12T16:19:08Z", "closed_issues": 469, "created_at": "2015-07-19T20:18: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-03-13T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/36", "id": 1214851, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36/labels", "node_id": "MDk6TWlsZXN0b25lMTIxNDg1MQ==", "number": 36, "open_issues": 0, "state": "closed", "title": "0.18.0", "updated_at": "2016-12-06T21:34:41Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/36" }
1
2014-08-13T16:10:22Z
2016-02-27T14:46:28Z
2016-02-27T14:46:28Z
MEMBER
null
When one tries to construct a `DataFrame` where the data column count and the passed in column count differ the error message is completely unintuitive unless you know something about the internal representation of the data inside of `NDFrame`s. I think we should at the very least make the dimensions in the error message consistent with how the frame _looks_ rather than how it's _implemented_. this code: ``` python df = DataFrame(np.empty(0), columns=list('abc')) ``` raises this exception: ``` ValueError: Shape of passed values is (1, 0), indices imply (3, 0) ``` see here for another example: https://github.com/ContinuumIO/blaze/issues/466
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8020/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8020/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8021
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8021/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8021/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8021/events
https://github.com/pandas-dev/pandas/issues/8021
40,187,931
MDU6SXNzdWU0MDE4NzkzMQ==
8,021
Bug in generate CREATE TABLE SQL for DataFrame with MultiIndex with different types
{ "avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4", "events_url": "https://api.github.com/users/artemyk/events{/privacy}", "followers_url": "https://api.github.com/users/artemyk/followers", "following_url": "https://api.github.com/users/artemyk/following{/other_user}", "gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artemyk", "id": 833768, "login": "artemyk", "node_id": "MDQ6VXNlcjgzMzc2OA==", "organizations_url": "https://api.github.com/users/artemyk/orgs", "received_events_url": "https://api.github.com/users/artemyk/received_events", "repos_url": "https://api.github.com/users/artemyk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artemyk/subscriptions", "type": "User", "url": "https://api.github.com/users/artemyk" }
[ { "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-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" }
2
2014-08-13T19:06:19Z
2014-08-15T22:40:58Z
2014-08-15T22:40:58Z
CONTRIBUTOR
null
When using SQLAlchemy to create a table from a dataframe, Pandas messes up the types of the index columns. For example: ``` python import sqlalchemy engine = sqlalchemy.create_engine('sqlite:///:memory:') import pandas as pd from pandas.io.sql import PandasSQLTable, PandasSQLAlchemy df = pd.DataFrame.from_records([{'a':1,'b':2.1,'c':'txt1','a':2,'b':1.5,'c':'txt2'}], index=['a','b']) o = PandasSQLTable('test_df',PandasSQLAlchemy(engine),frame=df) print o.sql_schema() ``` outputs ``` CREATE TABLE test_df ( a FLOAT, b BIGINT, c TEXT ) ``` when `a` should be `BIGINT` and `b` should be `FLOAT`. This occurs because the index columns are enumerated backwards in `PandasSQLTable._create_table_statement` in `pandas.io.sql` but the types don't take into account this backward iteration: ``` python if self.index is not None: for i, idx_label in enumerate(self.index[::-1]): idx_type = self._sqlalchemy_type( self.frame.index.get_level_values(i)) columns.insert(0, Column(idx_label, idx_type, index=True)) ``` I will make a pull request with a fix for this issue. Versions appended below: ``` INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 2.6.32-358.6.2.el6.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.14.1-200-g534784b nose: 1.3.0 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: 2.2 pytz: 2014.4 bottleneck: None tables: None numexpr: 2.4 matplotlib: 1.3.1 openpyxl: None xlrd: 0.9.3 xlwt: 0.7.5 xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: 2.4.2 sqlalchemy: 0.9.7 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/8021/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8021/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8022
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8022/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8022/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8022/events
https://github.com/pandas-dev/pandas/pull/8022
40,233,201
MDExOlB1bGxSZXF1ZXN0MTk3NzQxNjQ=
8,022
Fixed incorrect datatype conversion on multi-indexes
{ "avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4", "events_url": "https://api.github.com/users/artemyk/events{/privacy}", "followers_url": "https://api.github.com/users/artemyk/followers", "following_url": "https://api.github.com/users/artemyk/following{/other_user}", "gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artemyk", "id": 833768, "login": "artemyk", "node_id": "MDQ6VXNlcjgzMzc2OA==", "organizations_url": "https://api.github.com/users/artemyk/orgs", "received_events_url": "https://api.github.com/users/artemyk/received_events", "repos_url": "https://api.github.com/users/artemyk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artemyk/subscriptions", "type": "User", "url": "https://api.github.com/users/artemyk" }
[ { "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-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-08-14T08:32:13Z
2014-08-20T20:23:36Z
2014-08-15T22:40:58Z
CONTRIBUTOR
null
When creating a new table from a `pandas` dataframe with a multi-index, the code would iterate over the index columns backwards but use their types as if counting forwards. This meant that the created table had incorrect indexes for multi-indexes. This code factors out a function to pull column names and column types for both SQLAlchemy and legacy table objects. This code now iterates over the indices properly. And additional test has been written. All test pass on my local machine. Closes https://github.com/pydata/pandas/issues/8021 .
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8022/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8022/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8022.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8022", "merged_at": "2014-08-15T22:40:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8022.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8022" }
https://api.github.com/repos/pandas-dev/pandas/issues/8023
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8023/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8023/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8023/events
https://github.com/pandas-dev/pandas/issues/8023
40,234,806
MDU6SXNzdWU0MDIzNDgwNg==
8,023
harmonize the testing namespace with tm.TestCase
{ "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": "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-12-12T13:45:40Z", "closed_issues": 173, "created_at": "2014-10-07T14:40:52Z", "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.1 of course", "due_on": "2014-12-12T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/30", "id": 816816, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30/labels", "node_id": "MDk6TWlsZXN0b25lODE2ODE2", "number": 30, "open_issues": 0, "state": "closed", "title": "0.15.2", "updated_at": "2015-07-29T20:17:19Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/30" }
4
2014-08-14T08:55:53Z
2014-12-01T00:08:05Z
2014-12-01T00:08:05Z
CONTRIBUTOR
null
Currently these two have different places to look for the relevant equality tests: `TestCase` has `assert_numpy_array_equivalent` and `assert_numpy_array_equal` but the testing module has `assert_frame_equal` and `assert_series_equal`. It would be nice if all substantial code is available form the testing module and `TestCase` implements a small wrapper around these methods. That way someone outside pandas can import `tm` and us ethe methods without subclassing `TestCase`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8023/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8023/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8024
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8024/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8024/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8024/events
https://github.com/pandas-dev/pandas/issues/8024
40,241,998
MDU6SXNzdWU0MDI0MTk5OA==
8,024
Regression in series.map?
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
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-08-14T10:34:40Z
2014-08-14T19:43:06Z
2014-08-14T13:08:19Z
CONTRIBUTOR
null
``` import pandas from statsmodels import datasets # load the data and clean it a bit affairs = datasets.fair.load_pandas() datas = affairs.exog # any time greater than 0 is cheating datas['cheated'] = affairs.endog > 0 # sort by the marriage quality and give meaningful name # [rate_marriage, age, yrs_married, children, # religious, educ, occupation, occupation_husb] datas = datas.sort(['rate_marriage', 'religious']) num_to_desc = {1: 'awful', 2: 'bad', 3: 'intermediate', 4: 'good', 5: 'wonderful'} datas['rate_marriage'] = datas['rate_marriage'].map(num_to_desc) num_to_faith = {1: 'non religious', 2: 'poorly religious', 3: 'religious', 4: 'very religious'} datas['religious'] = datas['religious'].map(num_to_faith) num_to_cheat = {False: 'faithful', True: 'cheated'} datas['cheated'] = datas['cheated'].map(num_to_cheat) ``` part of the following test that fails on pythonxy Ubuntu testing # ## ERROR: statsmodels.graphics.tests.test_mosaicplot.test_mosaic Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest self.test(_self.arg) File "/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func return f(_args, **kwargs) File "/build/buildd/statsmodels-0.6.0~ppa18~revno/debian/python-statsmodels/usr/lib/python2.7/dist-packages/statsmodels/graphics/tests/test_mosaicplot.py", line 124, in test_mosaic datas['cheated'] = datas['cheated'].map(num_to_cheat) File "/usr/lib/pymodules/python2.7/pandas/core/series.py", line 1960, in map indexer = arg.index.get_indexer(values) File "/usr/lib/pymodules/python2.7/pandas/core/index.py", line 1460, in get_indexer if not self.is_unique: File "properties.pyx", line 34, in pandas.lib.cache_readonly.**get** (pandas/lib.c:38722) File "/usr/lib/pymodules/python2.7/pandas/core/index.py", line 571, in is_unique return self._engine.is_unique File "index.pyx", line 205, in pandas.index.IndexEngine.is_unique.__get__ (pandas/index.c:4338) File "index.pyx", line 234, in pandas.index.IndexEngine._do_unique_check (pandas/index.c:4790) File "index.pyx", line 247, in pandas.index.IndexEngine._ensure_mapping_populated (pandas/index.c:4995) File "index.pyx", line 253, in pandas.index.IndexEngine.initialize (pandas/index.c:5092) File "hashtable.pyx", line 731, in pandas.hashtable.PyObjectHashTable.map_locations (pandas/hashtable.c:12440) ValueError: Does not understand character buffer dtype format string ('?') ``` This works on '0.13.1' but not on '0.14.1-202-g7d702e9' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8024/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8024/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8025
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8025/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8025/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8025/events
https://github.com/pandas-dev/pandas/issues/8025
40,245,510
MDU6SXNzdWU0MDI0NTUxMA==
8,025
API: Timestamp.tz_convert/tz_localize raises Exception, should be TypeError
{ "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": "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-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" }
2
2014-08-14T11:30:26Z
2014-08-16T16:56:02Z
2014-08-16T16:56:02Z
MEMBER
null
`Timestamp` raises normal `Exception` in case of error, and we have to catch `Exception` for error handling. Expect `TypeError` in consistent with `DatetimeIndex`. ``` pd.Timestamp('2011-01-01').tz_convert('US/Eastern') # Exception: Cannot convert tz-naive Timestamp, use tz_localize to localize pd.DatetimeIndex(['2011-01-01']).tz_convert('US/Eastern') # TypeError: Cannot convert tz-naive timestamps, use tz_localize to localize ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8025/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8025/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8026
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8026/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8026/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8026/events
https://github.com/pandas-dev/pandas/pull/8026
40,246,684
MDExOlB1bGxSZXF1ZXN0MTk3ODI1MjI=
8,026
BUG: related to GH5080, get_indexer choking on boolean type promotion (GH8024)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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": "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-08-14T11:50:31Z
2014-08-14T13:08:19Z
2014-08-14T13:08:19Z
CONTRIBUTOR
null
closes #8024
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8026/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8026/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8026.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8026", "merged_at": "2014-08-14T13:08:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8026.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8026" }
https://api.github.com/repos/pandas-dev/pandas/issues/8027
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8027/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8027/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8027/events
https://github.com/pandas-dev/pandas/pull/8027
40,246,868
MDExOlB1bGxSZXF1ZXN0MTk3ODI2NDg=
8,027
BUG: Area plot legend has incorrect color
{ "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": "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": "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" }
2
2014-08-14T11:54:01Z
2014-10-02T12:18:35Z
2014-08-15T12:50:09Z
MEMBER
null
Derived from #7636. Area plot sets incorrect `alpha` values to legend when `stacked=True`. #### NG: Each areas are drawn with `alpha=1.0`, but legend has `alpha=0.5` ![figure_ng](https://cloud.githubusercontent.com/assets/1696302/3919509/643924e0-23a9-11e4-983d-23a16e9c01bc.png) #### After fix ``` df = pd.DataFrame(np.random.rand(20, 5), columns=['A', 'B', 'C', 'D', 'E']) df.plot(kind='area') ``` ![figure_1](https://cloud.githubusercontent.com/assets/1696302/3919515/8b4ecf4e-23a9-11e4-926b-85101760882a.png) ``` # When alpha is specified df.plot(kind='area', alpha=0.2) ``` ![figure_2](https://cloud.githubusercontent.com/assets/1696302/3919516/8fc2c166-23a9-11e4-8ea6-b14479d6a72b.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/8027/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8027/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8027.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8027", "merged_at": "2014-08-15T12:50:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8027.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8027" }
https://api.github.com/repos/pandas-dev/pandas/issues/8028
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8028/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8028/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8028/events
https://github.com/pandas-dev/pandas/issues/8028
40,247,707
MDU6SXNzdWU0MDI0NzcwNw==
8,028
ENH/API: Allow get_dummies to specify return value
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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": 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" }
2
2014-08-14T12:07:32Z
2016-05-07T09:57:38Z
2016-05-07T09:57:38Z
MEMBER
null
Currently `get_dummies` always returns dummy values with `0` or `1`. When we want others, have to use `replace`, `apply...` etc (and it is not easy in some cases because column name can differs depending on target value). ``` s = pd.Series(['A', 'A', 'B', 'C']) pd.get_dummies(s) # A B C #0 1 0 0 #1 1 0 0 #2 0 1 0 #3 0 0 1 ``` Allow to specify values to be used with `values` and `na_value` kwds corresponding `True` or `False`, accepting `scalar`, `dict`, or `Series` like `fillna` does. ``` pd.get_dummies(s, value=True, na_value=False) # A B C #0 True False False #1 True False False #2 False True False #3 False False True ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8028/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8028/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8029
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8029/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8029/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8029/events
https://github.com/pandas-dev/pandas/pull/8029
40,259,809
MDExOlB1bGxSZXF1ZXN0MTk3OTA5Nzg=
8,029
BUG: fix HDFStore iterator to handle a where properly (GH8014)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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
[]
{ "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-08-14T14:33:58Z
2014-08-16T00:39:45Z
2014-08-16T00:39:45Z
CONTRIBUTOR
null
closes #8014
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8029/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8029/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8029.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8029", "merged_at": "2014-08-16T00:39:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8029.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8029" }
https://api.github.com/repos/pandas-dev/pandas/issues/8030
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8030/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8030/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8030/events
https://github.com/pandas-dev/pandas/pull/8030
40,279,796
MDExOlB1bGxSZXF1ZXN0MTk4MDMwNDE=
8,030
BUG: fix py3 read_html bytes input
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "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": "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" }, { "color": "006b75", "default": false, "description": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "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" }
2
2014-08-14T17:46:50Z
2014-08-14T19:41:24Z
2014-08-14T19:41:22Z
MEMBER
null
closes #7927
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8030/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8030/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8030.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8030", "merged_at": "2014-08-14T19:41:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8030.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8030" }
https://api.github.com/repos/pandas-dev/pandas/issues/8031
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8031/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8031/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8031/events
https://github.com/pandas-dev/pandas/issues/8031
40,316,011
MDU6SXNzdWU0MDMxNjAxMQ==
8,031
read_msgpack compress kwarg not getting passed
{ "avatar_url": "https://avatars.githubusercontent.com/u/4806709?v=4", "events_url": "https://api.github.com/users/brifordwylie/events{/privacy}", "followers_url": "https://api.github.com/users/brifordwylie/followers", "following_url": "https://api.github.com/users/brifordwylie/following{/other_user}", "gists_url": "https://api.github.com/users/brifordwylie/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/brifordwylie", "id": 4806709, "login": "brifordwylie", "node_id": "MDQ6VXNlcjQ4MDY3MDk=", "organizations_url": "https://api.github.com/users/brifordwylie/orgs", "received_events_url": "https://api.github.com/users/brifordwylie/received_events", "repos_url": "https://api.github.com/users/brifordwylie/repos", "site_admin": false, "starred_url": "https://api.github.com/users/brifordwylie/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/brifordwylie/subscriptions", "type": "User", "url": "https://api.github.com/users/brifordwylie" }
[]
closed
false
null
[]
null
1
2014-08-15T01:24:05Z
2014-08-15T11:45:50Z
2014-08-15T11:45:45Z
NONE
null
The compress kwarg isn't getting passed down the chain when using pd.read_msgpack(buffer). ``` def read_msgpack(path_or_buf, iterator=False, **kwargs): ... def read(fh): l = list(unpack(fh)) (which then goes to decode() and unconvert() ) ``` Replication: ``` df = pd.DataFrame([{'foo','bar'}]) packed_df = df.to_msgpack(compress='zlib') pd.read_msgpack(packed_df, compress='zlib') ... obj.get('compress')) File "/Users/briford/myPVE/workbench/lib/python2.7/site-packages/pandas/io/packers.py", line 258, in unconvert return np.fromstring(values.encode('latin1'), dtype=dtype) ValueError: string size must be a multiple of element size ``` Versions: ``` pd.show_versions() INSTALLED VERSIONS ------------------ commit: None python: 2.7.6.final.0 python-bits: 64 OS: Darwin OS-release: 13.3.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.14.1 nose: 1.3.3 Cython: 0.20.2 numpy: 1.8.1 scipy: None statsmodels: None IPython: 2.2.0 sphinx: 1.2.2 patsy: None scikits.timeseries: None dateutil: 2.2 pytz: 2014.4 bottleneck: None tables: None numexpr: None matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None 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/8031/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8031/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8032
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8032/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8032/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8032/events
https://github.com/pandas-dev/pandas/issues/8032
40,318,571
MDU6SXNzdWU0MDMxODU3MQ==
8,032
test_fred fails in latest release
{ "avatar_url": "https://avatars.githubusercontent.com/u/1655078?v=4", "events_url": "https://api.github.com/users/idella/events{/privacy}", "followers_url": "https://api.github.com/users/idella/followers", "following_url": "https://api.github.com/users/idella/following{/other_user}", "gists_url": "https://api.github.com/users/idella/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/idella", "id": 1655078, "login": "idella", "node_id": "MDQ6VXNlcjE2NTUwNzg=", "organizations_url": "https://api.github.com/users/idella/orgs", "received_events_url": "https://api.github.com/users/idella/received_events", "repos_url": "https://api.github.com/users/idella/repos", "site_admin": false, "starred_url": "https://api.github.com/users/idella/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/idella/subscriptions", "type": "User", "url": "https://api.github.com/users/idella" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
null
1
2014-08-15T02:34:19Z
2014-08-15T11:43:29Z
2014-08-15T11:43:23Z
NONE
null
under all pythons ``` python FAIL: test_fred (pandas.io.tests.test_data.TestFred) ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/gen2/TmpDir/portage/dev-python/pandas-0.14.1/work/pandas-0.14.1-python2_7/lib/pandas/util/testing.py", line 1346, in wrapper return t(*args, **kwargs) File "/mnt/gen2/TmpDir/portage/dev-python/pandas-0.14.1/work/pandas-0.14.1-python2_7/lib/pandas/io/tests/test_data.py", line 448, in test_fred self.assertEqual(int(received), 16535) AssertionError: 16502 != 16535 ---------------------------------------------------------------------- Ran 7477 tests in 862.713s FAILED (SKIP=267, failures=1) ``` run with nosetests --verbosity=3 pandas Do you require any further information? (The build log is huge)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8032/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8032/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8033
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8033/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8033/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8033/events
https://github.com/pandas-dev/pandas/issues/8033
40,318,676
MDU6SXNzdWU0MDMxODY3Ng==
8,033
build issues re -Wimplicit-function-declaration
{ "avatar_url": "https://avatars.githubusercontent.com/u/1655078?v=4", "events_url": "https://api.github.com/users/idella/events{/privacy}", "followers_url": "https://api.github.com/users/idella/followers", "following_url": "https://api.github.com/users/idella/following{/other_user}", "gists_url": "https://api.github.com/users/idella/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/idella", "id": 1655078, "login": "idella", "node_id": "MDQ6VXNlcjE2NTUwNzg=", "organizations_url": "https://api.github.com/users/idella/orgs", "received_events_url": "https://api.github.com/users/idella/received_events", "repos_url": "https://api.github.com/users/idella/repos", "site_admin": false, "starred_url": "https://api.github.com/users/idella/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/idella/subscriptions", "type": "User", "url": "https://api.github.com/users/idella" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
null
2
2014-08-15T02:37:54Z
2014-08-15T12:24:28Z
2014-08-15T11:46:32Z
NONE
null
portage repeats and lists warnings for convenience at the end of an install ``` python >>> Completed installing pandas-0.14.1 into /mnt/gen2/TmpDir/portage/dev-python/pandas-0.14.1/image/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/lib64/python2.7/site-packages/pandas/algos.so usr/lib64/python2.7/site-packages/pandas/index.so usr/lib64/python2.7/site-packages/pandas/tslib.so usr/lib64/python2.7/site-packages/pandas/lib.so usr/lib64/python2.7/site-packages/pandas/parser.so usr/lib64/python2.7/site-packages/pandas/hashtable.so usr/lib64/python2.7/site-packages/pandas/_sparse.so usr/lib64/python2.7/site-packages/pandas/_testing.so usr/lib64/python2.7/site-packages/pandas/msgpack.so usr/lib64/python2.7/site-packages/pandas/json.so * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * pandas/tslib.c:17485:5: warning: implicit declaration of function ‘cmp_pandas_datetimestruct’ [-Wimplicit-function-declaration] * pandas/src/ujson/python/objToJSON.c:1765:5: warning: implicit declaration of function ‘encode’ [-Wimplicit-function-declaration] * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://pandas.sourceforge.net/ ``` Do you require any further information?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8033/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8033/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8034
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8034/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8034/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8034/events
https://github.com/pandas-dev/pandas/pull/8034
40,332,420
MDExOlB1bGxSZXF1ZXN0MTk4MzQ1NTk=
8,034
DOC: suppress warning + fix reshape example
{ "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-08-15T08:45:45Z
2014-08-15T09:05:09Z
2014-08-15T09:05:08Z
MEMBER
null
https://github.com/pydata/pandas/commit/bc610104f96699ff73ce507e79b8be070f126454 defined new `index`, but the previous was still used in later example, and suppress SettingWIthCopyWarning from https://github.com/pydata/pandas/commit/70a17da4003af0b1882deb5bcb28e188335fb9dd
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8034/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8034/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8034.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8034", "merged_at": "2014-08-15T09:05:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8034.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8034" }
https://api.github.com/repos/pandas-dev/pandas/issues/8035
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8035/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8035/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8035/events
https://github.com/pandas-dev/pandas/pull/8035
40,346,962
MDExOlB1bGxSZXF1ZXN0MTk4NDM0NDQ=
8,035
DOC: Fixing 'chunksize' parameter name typo io.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/1727426?v=4", "events_url": "https://api.github.com/users/nesanders/events{/privacy}", "followers_url": "https://api.github.com/users/nesanders/followers", "following_url": "https://api.github.com/users/nesanders/following{/other_user}", "gists_url": "https://api.github.com/users/nesanders/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nesanders", "id": 1727426, "login": "nesanders", "node_id": "MDQ6VXNlcjE3Mjc0MjY=", "organizations_url": "https://api.github.com/users/nesanders/orgs", "received_events_url": "https://api.github.com/users/nesanders/received_events", "repos_url": "https://api.github.com/users/nesanders/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nesanders/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nesanders/subscriptions", "type": "User", "url": "https://api.github.com/users/nesanders" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_hdf, HDFStore", "id": 47229190, "name": "IO HDF5", "node_id": "MDU6TGFiZWw0NzIyOTE5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5" } ]
closed
false
null
[]
null
1
2014-08-15T13:19:00Z
2014-08-15T13:20:50Z
2014-08-15T13:20:18Z
CONTRIBUTOR
null
Fixing an error in the 'chunksize' parameter name for the io doc. With the typo (parameter called 'chunsize'), the sample code from the documentation fails silently / confusingly - returns an iterator over individual dataframe elements rather than dataframe chunks.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8035/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8035/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8035.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8035", "merged_at": "2014-08-15T13:20:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8035.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8035" }
https://api.github.com/repos/pandas-dev/pandas/issues/8036
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8036/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8036/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8036/events
https://github.com/pandas-dev/pandas/pull/8036
40,349,101
MDExOlB1bGxSZXF1ZXN0MTk4NDQ3Njc=
8,036
API: Timetamp.tz_localize and tz_convert raises TypeError rathar
{ "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": "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-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" }
1
2014-08-15T13:49:49Z
2014-08-19T13:33:55Z
2014-08-16T16:56:02Z
MEMBER
null
Closes #8025.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8036/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8036/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8036.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8036", "merged_at": "2014-08-16T16:56:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8036.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8036" }
https://api.github.com/repos/pandas-dev/pandas/issues/8037
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8037/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8037/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8037/events
https://github.com/pandas-dev/pandas/pull/8037
40,349,489
MDExOlB1bGxSZXF1ZXN0MTk4NDQ5OTY=
8,037
DOC/CLN: Cleanups plotting.py
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": "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-08-15T13:54:51Z
2014-11-22T09:25:46Z
2014-10-04T15:09:20Z
MEMBER
null
- Some refactoring which should not affects to output. - Made `DataFrame.plot` and `Series.plot` should have consistent docstring except differences.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8037/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8037/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8037.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8037", "merged_at": "2014-10-04T15:09:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8037.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8037" }
https://api.github.com/repos/pandas-dev/pandas/issues/8038
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8038/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8038/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8038/events
https://github.com/pandas-dev/pandas/issues/8038
40,354,001
MDU6SXNzdWU0MDM1NDAwMQ==
8,038
ERR: Index.shift() gives confusing error message when no DatetimeIndex
{ "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": "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-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" }
4
2014-08-15T14:53:27Z
2015-11-18T20:12:31Z
2015-11-18T20:12:31Z
MEMBER
null
``` In [1]: idx = pd.Index(range(5)) In [2]: idx Out[2]: Int64Index([0, 1, 2, 3, 4], dtype='int64') In [3]: idx.shift(1) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-3-d8362983dbf7> in <module>() ----> 1 idx.shift(1) c:\users\vdbosscj\scipy\pandas-joris\pandas\core\index.pyc in shift(self, period s, freq) 1096 return self 1097 -> 1098 offset = periods * freq 1099 return Index([idx + offset for idx in self], name=self.name) 1100 TypeError: unsupported operand type(s) for *: 'int' and 'NoneType' ``` Should `shift` be allowed at all when it is no `DatetimeIndex`?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8038/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8038/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8039
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8039/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8039/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8039/events
https://github.com/pandas-dev/pandas/issues/8039
40,361,024
MDU6SXNzdWU0MDM2MTAyNA==
8,039
Stacking MultiIndex DataFrame columns with Timestamps levels fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/1649445?v=4", "events_url": "https://api.github.com/users/lydakis/events{/privacy}", "followers_url": "https://api.github.com/users/lydakis/followers", "following_url": "https://api.github.com/users/lydakis/following{/other_user}", "gists_url": "https://api.github.com/users/lydakis/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lydakis", "id": 1649445, "login": "lydakis", "node_id": "MDQ6VXNlcjE2NDk0NDU=", "organizations_url": "https://api.github.com/users/lydakis/orgs", "received_events_url": "https://api.github.com/users/lydakis/received_events", "repos_url": "https://api.github.com/users/lydakis/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lydakis/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lydakis/subscriptions", "type": "User", "url": "https://api.github.com/users/lydakis" }
[ { "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": 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
[]
{ "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" }
14
2014-08-15T16:12:36Z
2014-08-19T13:32:17Z
2014-08-18T13:14:00Z
NONE
null
You can see the bug in the following code: ``` import pandas as pd import datetime as dt key = pd.MultiIndex.from_tuples([( dt.datetime(2014,8,1,0,0,0), 'SomeColumnName', 'AnotherOne')]) data = { '1' : 34204, '2' : 43580, '3' : 84329, '5' : 23485 } ts = pd.Series(data=data) df = pd.DataFrame(data=ts, columns=key) stacked = df.stack() print stacked ``` We would expect the data to be unchanged, however the returned DataFrame is empty. The Pandas version used was 0.11.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/8039/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8039/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8040
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8040/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8040/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8040/events
https://github.com/pandas-dev/pandas/issues/8040
40,363,018
MDU6SXNzdWU0MDM2MzAxOA==
8,040
Pandas 0.14.1 StataReader seems to read .dta files 10x slower than Pandas 0.13.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/8459278?v=4", "events_url": "https://api.github.com/users/Ffamran/events{/privacy}", "followers_url": "https://api.github.com/users/Ffamran/followers", "following_url": "https://api.github.com/users/Ffamran/following{/other_user}", "gists_url": "https://api.github.com/users/Ffamran/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Ffamran", "id": 8459278, "login": "Ffamran", "node_id": "MDQ6VXNlcjg0NTkyNzg=", "organizations_url": "https://api.github.com/users/Ffamran/orgs", "received_events_url": "https://api.github.com/users/Ffamran/received_events", "repos_url": "https://api.github.com/users/Ffamran/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Ffamran/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ffamran/subscriptions", "type": "User", "url": "https://api.github.com/users/Ffamran" }
[ { "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_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": "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" }
14
2014-08-15T16:37:12Z
2014-08-19T23:42:04Z
2014-08-18T20:55:52Z
NONE
null
Hello, I recently upgraded to Pandas 0.14.1 from Pandas 0.13.1, and am having trouble reading Stata .dta files using StataReader. Files that used to take 20 seconds to read now take 300 seconds, and files that used to take 220 seconds are not read even after 20 minutes. I would really like to use the newer version of Pandas for these large datasets, and import a .dta file rather than a .csv or other filetype in order to maintain my value labels from Stata. Steps for reproduction: First, create a large dataset in Stata 13: ``` clear set obs 11500 forvalues i = 1/8000{ gen var`i' = 1 } saveold bigdataset, replace ``` Second, try to read it into pandas using StataReader: ``` from pandas.io.stata import StataReader reader = StataReader('bigdataset.dta') data = reader.data() ``` Using pandas 0.13.1, this takes around 220 seconds, which is ok, but using pandas 0.14.1, nothing has happened even after waiting around 20 minutes. When I test this using a smaller dataset: ``` clear set obs 11500 forvalues i = 1/1000{ gen var`i' = 1 } saveold smalldataset, replace ``` ``` from pandas.io.stata import StataReader reader = StataReader('smalldataset.dta') data = reader.data() ``` Using pandas 0.13.1, this takes around 20 seconds, but using pandas 0.14.1, this takes around 300 seconds. Thanks for reading! Here is the output from show_versions(), if relevant: ## INSTALLED VERSIONS commit: None python: 2.7.6.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-32-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.13.1 Cython: 0.20.2 numpy: 1.8.1 scipy: 0.13.3 statsmodels: 0.5.0 IPython: 1.2.1 sphinx: 1.2.2 patsy: 0.2.1 scikits.timeseries: None dateutil: 1.5 pytz: 2012c bottleneck: None tables: 3.1.1 numexpr: 2.2.2 matplotlib: 1.3.1 openpyxl: 1.7.0 xlrd: 0.9.2 xlwt: 0.7.5 xlsxwriter: None sqlalchemy: None lxml: 3.3.3 bs4: 4.2.1 html5lib: 0.999 bq: None apiclient: 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/8040/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8040/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8041
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8041/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8041/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8041/events
https://github.com/pandas-dev/pandas/pull/8041
40,366,198
MDExOlB1bGxSZXF1ZXN0MTk4NTU2MTk=
8,041
BUG: Don't call np.roll on empty arrays.
{ "avatar_url": "https://avatars.githubusercontent.com/u/70800?v=4", "events_url": "https://api.github.com/users/Wilfred/events{/privacy}", "followers_url": "https://api.github.com/users/Wilfred/followers", "following_url": "https://api.github.com/users/Wilfred/following{/other_user}", "gists_url": "https://api.github.com/users/Wilfred/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Wilfred", "id": 70800, "login": "Wilfred", "node_id": "MDQ6VXNlcjcwODAw", "organizations_url": "https://api.github.com/users/Wilfred/orgs", "received_events_url": "https://api.github.com/users/Wilfred/received_events", "repos_url": "https://api.github.com/users/Wilfred/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Wilfred/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Wilfred/subscriptions", "type": "User", "url": "https://api.github.com/users/Wilfred" }
[ { "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" }
8
2014-08-15T17:16:33Z
2014-08-18T18:20:52Z
2014-08-18T15:38:09Z
CONTRIBUTOR
null
On some versions of numpy (such as 1.7, but not 1.8), this throws a ZeroDivisionError. Fixes #8019.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8041/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8041/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8041.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8041", "merged_at": "2014-08-18T15:38:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8041.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8041" }
https://api.github.com/repos/pandas-dev/pandas/issues/8042
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8042/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8042/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8042/events
https://github.com/pandas-dev/pandas/pull/8042
40,373,805
MDExOlB1bGxSZXF1ZXN0MTk4NjA0ODE=
8,042
Fix testing multiindex dtypes in assert_frame_equal and assert_series_equal
{ "avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4", "events_url": "https://api.github.com/users/artemyk/events{/privacy}", "followers_url": "https://api.github.com/users/artemyk/followers", "following_url": "https://api.github.com/users/artemyk/following{/other_user}", "gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artemyk", "id": 833768, "login": "artemyk", "node_id": "MDQ6VXNlcjgzMzc2OA==", "organizations_url": "https://api.github.com/users/artemyk/orgs", "received_events_url": "https://api.github.com/users/artemyk/received_events", "repos_url": "https://api.github.com/users/artemyk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artemyk/subscriptions", "type": "User", "url": "https://api.github.com/users/artemyk" }
[ { "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-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" }
3
2014-08-15T18:51:02Z
2014-08-15T19:24:07Z
2014-08-15T19:22:28Z
CONTRIBUTOR
null
When using `assert_frame_equal` or `assert_series_equal` in the presence of a multiindex, the dtype of the index as a whole is `object`. Hence, there is no checking that the dtypes of the individual levels match. We now iterate through the levels.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8042/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8042/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8042.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8042", "merged_at": "2014-08-15T19:22:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8042.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8042" }
https://api.github.com/repos/pandas-dev/pandas/issues/8043
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8043/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8043/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8043/events
https://github.com/pandas-dev/pandas/pull/8043
40,390,582
MDExOlB1bGxSZXF1ZXN0MTk4NzA2OTA=
8,043
BUG: stack with datetimes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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" }
1
2014-08-15T22:17:05Z
2014-08-18T13:14:00Z
2014-08-18T13:14:00Z
CONTRIBUTOR
null
closes https://github.com/pydata/pandas/issues/8039 The only change I made was to select from the MultiIndex itself, rather than the underlying `.values` attribute. The test set passed but I want to look at this a bit more closely to make sure everything is ok.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8043/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8043/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8043.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8043", "merged_at": "2014-08-18T13:14:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8043.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8043" }
https://api.github.com/repos/pandas-dev/pandas/issues/8044
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8044/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8044/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8044/events
https://github.com/pandas-dev/pandas/pull/8044
40,411,934
MDExOlB1bGxSZXF1ZXN0MTk4ODAxNzk=
8,044
Added parameter float_precision to CSV parser
{ "avatar_url": "https://avatars.githubusercontent.com/u/6729036?v=4", "events_url": "https://api.github.com/users/mdmueller/events{/privacy}", "followers_url": "https://api.github.com/users/mdmueller/followers", "following_url": "https://api.github.com/users/mdmueller/following{/other_user}", "gists_url": "https://api.github.com/users/mdmueller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mdmueller", "id": 6729036, "login": "mdmueller", "node_id": "MDQ6VXNlcjY3MjkwMzY=", "organizations_url": "https://api.github.com/users/mdmueller/orgs", "received_events_url": "https://api.github.com/users/mdmueller/received_events", "repos_url": "https://api.github.com/users/mdmueller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mdmueller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mdmueller/subscriptions", "type": "User", "url": "https://api.github.com/users/mdmueller" }
[ { "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": "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-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" }
24
2014-08-16T14:29:32Z
2014-09-22T16:08:17Z
2014-09-19T16:07:47Z
CONTRIBUTOR
null
closes #8002.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8044/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8044/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8044.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8044", "merged_at": "2014-09-19T16:07:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8044.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8044" }
https://api.github.com/repos/pandas-dev/pandas/issues/8045
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8045/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8045/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8045/events
https://github.com/pandas-dev/pandas/pull/8045
40,421,598
MDExOlB1bGxSZXF1ZXN0MTk4ODM5NDY=
8,045
PERF: StataReader is slow due to excessive lookups for missing vales
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "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_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": "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" }
11
2014-08-16T22:08:26Z
2014-08-22T15:42:41Z
2014-08-18T20:55:52Z
CONTRIBUTOR
null
Previous versions of StataReader did not correctly check for missing values. This was fixed in a previous PR, but these checks had previously been implemented on a value-by-value basis. This has now been changed to a vectorized version that is orders of magnitude faster. Additionally, a benchmark was added to monitor performance issues in the future. Closes #8040
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8045/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8045/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8045.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8045", "merged_at": "2014-08-18T20:55:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8045.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8045" }
https://api.github.com/repos/pandas-dev/pandas/issues/8046
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8046/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8046/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8046/events
https://github.com/pandas-dev/pandas/issues/8046
40,425,369
MDU6SXNzdWU0MDQyNTM2OQ==
8,046
GroupBy.transform bug/API change
{ "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" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "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" }
4
2014-08-17T02:39:32Z
2014-10-01T12:34:42Z
2014-08-18T15:26:26Z
MEMBER
null
hi folks, A _Python for Data Analysis_ reader noted the following issue with recent versions of pandas (as of 1 year ago): ``` import pandas as pd from pandas import DataFrame import numpy as np def demean(arr): return arr - arr.mean() people = DataFrame(np.random.randn(5, 5), columns=['a', 'b', 'c', 'd', 'e'], index=['Joe', 'Steve', 'Wes', 'Jim', 'Travis']) key = ['one', 'two', 'one', 'two', 'one'] ``` on pandas 0.14.1: ``` In [14]: people.groupby(key).transform(demean).groupby(key).mean() Out[14]: a b c d e one -0.228006 0.246737 0.201117 0.250544 0.273858 two 0.342009 -0.370106 -0.301676 -0.375816 -0.410788 ``` on the other hand: ``` In [15]: people.groupby(key).apply(demean).groupby(key).mean() Out[15]: a b c d e one -3.700743e-17 7.401487e-17 -7.401487e-17 7.401487e-17 0.000000e+00 two 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 5.551115e-17 ``` Looks like `transform` has undergone some work in recent times; any ideas? I need to look at the book text and see if I can triage by replacing `transform` with `apply`. At this point `transform` feels a little bit anachronistic.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8046/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8046/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8047
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8047/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8047/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8047/events
https://github.com/pandas-dev/pandas/pull/8047
40,429,978
MDExOlB1bGxSZXF1ZXN0MTk4ODc3NjM=
8,047
Update README to use pydata instead of pystatsmodels google group
{ "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" }
[]
closed
false
null
[]
null
1
2014-08-17T09:01:28Z
2014-08-17T09:32:27Z
2014-08-17T09:09:15Z
MEMBER
null
I'm pretty sure PyData is the main mailing list for pandas now, e.g., as seen on the website: http://pandas.pydata.org/community.html
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8047/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8047/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8047.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8047", "merged_at": "2014-08-17T09:09:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8047.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8047" }
https://api.github.com/repos/pandas-dev/pandas/issues/8048
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8048/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8048/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8048/events
https://github.com/pandas-dev/pandas/issues/8048
40,431,266
MDU6SXNzdWU0MDQzMTI2Ng==
8,048
pandas MultiIndex series "unstack" to scipy sparse array functionality
{ "avatar_url": "https://avatars.githubusercontent.com/u/223276?v=4", "events_url": "https://api.github.com/users/cottrell/events{/privacy}", "followers_url": "https://api.github.com/users/cottrell/followers", "following_url": "https://api.github.com/users/cottrell/following{/other_user}", "gists_url": "https://api.github.com/users/cottrell/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cottrell", "id": 223276, "login": "cottrell", "node_id": "MDQ6VXNlcjIyMzI3Ng==", "organizations_url": "https://api.github.com/users/cottrell/orgs", "received_events_url": "https://api.github.com/users/cottrell/received_events", "repos_url": "https://api.github.com/users/cottrell/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cottrell/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cottrell/subscriptions", "type": "User", "url": "https://api.github.com/users/cottrell" }
[ { "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": "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" }
26
2014-08-17T10:24:54Z
2017-06-09T11:04:13Z
2015-03-03T00:59:19Z
CONTRIBUTOR
null
related #4343 I have found myself on occasion writing code to convert from a pandas Series (with n-level MultiIndex) to a scipy sparse n-dim array (plus dimension labels) and back. I am not terribly familiar with the newer sparse data structure features but my impression is that it provides a totally different kind of functionality. Does this kind of functionality exist somewhere? If not, would something like this be of interest?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8048/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8048/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8049
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8049/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8049/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8049/events
https://github.com/pandas-dev/pandas/pull/8049
40,444,716
MDExOlB1bGxSZXF1ZXN0MTk4OTM5NTE=
8,049
BUG: Bug in DataFrameGroupby.transform when transforming with a passed non-sorted key (GH8046)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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-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-08-17T22:03:29Z
2014-09-30T21:35:39Z
2014-08-18T15:26:26Z
CONTRIBUTOR
null
closes #8046
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8049/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8049/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8049.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8049", "merged_at": "2014-08-18T15:26:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8049.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8049" }
https://api.github.com/repos/pandas-dev/pandas/issues/8050
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8050/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8050/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8050/events
https://github.com/pandas-dev/pandas/issues/8050
40,452,861
MDU6SXNzdWU0MDQ1Mjg2MQ==
8,050
Error with reading/writing a lot of large hdf5 files
{ "avatar_url": "https://avatars.githubusercontent.com/u/8475325?v=4", "events_url": "https://api.github.com/users/tiboxpoh/events{/privacy}", "followers_url": "https://api.github.com/users/tiboxpoh/followers", "following_url": "https://api.github.com/users/tiboxpoh/following{/other_user}", "gists_url": "https://api.github.com/users/tiboxpoh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tiboxpoh", "id": 8475325, "login": "tiboxpoh", "node_id": "MDQ6VXNlcjg0NzUzMjU=", "organizations_url": "https://api.github.com/users/tiboxpoh/orgs", "received_events_url": "https://api.github.com/users/tiboxpoh/received_events", "repos_url": "https://api.github.com/users/tiboxpoh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tiboxpoh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tiboxpoh/subscriptions", "type": "User", "url": "https://api.github.com/users/tiboxpoh" }
[ { "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
4
2014-08-18T03:36:29Z
2015-03-08T17:00:51Z
2015-03-08T17:00:51Z
NONE
null
I am using pandas to read/write a lot of relatively large hdf5 files (hundreds MB each), hundreds of them, using HDFStore. My app acts as a service and I am facing seg faults after it runs for some time. It seems that it seg fault after some random HDF error occurs. I am able to cause some HDF errors by repeatedly read/write a relatively large HDF files: ``` python import pandas as pd import numpy as np db = pd.HDFStore('test.h5','w') for i in range(1000): db[str(i)] = pd.DataFrame(np.random.rand(2000,3),columns=['a','b','c']) db.close() for i in range(100): f="test.h5" print i db=pd.HDFStore(f,mode='r') db2=pd.HDFStore(f+'.new',mode='w') for k in db.keys(): db2[k] = db[k] db2.close() db.close() ``` After some time the following error occurs: TypeError Traceback (most recent call last) <ipython-input-2-c47d3a0893ae> in <module>() 4 db=pd.HDFStore(f,mode='r') 5 db2=pd.HDFStore(f+'.new',mode='w') ----> 6 for k in db.keys(): db2[k] = db[k] 7 db2.close() 8 db.close() /usr/lib/python2.7/site-packages/pandas/io/pytables.pyc in **getitem**(self, key) 414 415 def **getitem**(self, key): --> 416 return self.get(key) 417 418 def **setitem**(self, key, value): /usr/lib/python2.7/site-packages/pandas/io/pytables.pyc in get(self, key) 618 if group is None: 619 raise KeyError('No object named %s in the file' % key) --> 620 return self._read_group(group) 621 622 def select(self, key, where=None, start=None, stop=None, columns=None, /usr/lib/python2.7/site-packages/pandas/io/pytables.pyc in _read_group(self, group, **kwargs) 1276 s = self._create_storer(group) 1277 s.infer_axes() -> 1278 return s.read(**kwargs) 1279 1280 /usr/lib/python2.7/site-packages/pandas/io/pytables.pyc in read(self, **kwargs) 2656 axes = [] 2657 for i in range(self.ndim): -> 2658 ax = self.read_index('axis%d' % i) 2659 axes.append(ax) 2660 /usr/lib/python2.7/site-packages/pandas/io/pytables.pyc in read_index(self, key) 2258 return index 2259 else: # pragma: no cover -> 2260 raise TypeError('unrecognized index variety: %s' % variety) 2261 2262 def write_index(self, key, index): TypeError: unrecognized index variety: None It is not the necessary the same error happening in my real system but it seems the error occurred is not always the same. In [7]: pd.show_versions() INSTALLED VERSIONS commit: None python: 2.7.8.final.0 python-bits: 64 OS: Linux OS-release: 3.13.0-30-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.14.1 nose: None Cython: 0.20.2 numpy: 1.8.2 scipy: None statsmodels: None IPython: 2.2.0 sphinx: None patsy: None scikits.timeseries: None dateutil: 2.2 pytz: 2014.4 bottleneck: None tables: 3.1.1 numexpr: 2.4 matplotlib: None openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: 2.4.3 sqlalchemy: 0.9.7 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/8050/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8050/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8051
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8051/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8051/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8051/events
https://github.com/pandas-dev/pandas/issues/8051
40,458,377
MDU6SXNzdWU0MDQ1ODM3Nw==
8,051
C files in source distribution
{ "avatar_url": "https://avatars.githubusercontent.com/u/8476375?v=4", "events_url": "https://api.github.com/users/awtimmering/events{/privacy}", "followers_url": "https://api.github.com/users/awtimmering/followers", "following_url": "https://api.github.com/users/awtimmering/following{/other_user}", "gists_url": "https://api.github.com/users/awtimmering/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/awtimmering", "id": 8476375, "login": "awtimmering", "node_id": "MDQ6VXNlcjg0NzYzNzU=", "organizations_url": "https://api.github.com/users/awtimmering/orgs", "received_events_url": "https://api.github.com/users/awtimmering/received_events", "repos_url": "https://api.github.com/users/awtimmering/repos", "site_admin": false, "starred_url": "https://api.github.com/users/awtimmering/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/awtimmering/subscriptions", "type": "User", "url": "https://api.github.com/users/awtimmering" }
[]
closed
false
null
[]
null
2
2014-08-18T06:08:22Z
2014-08-18T08:06:58Z
2014-08-18T08:06:58Z
NONE
null
Installation instructions ( http://pandas.pydata.org/pandas-docs/stable/install.html ) mention "Released source distributions will contain the built C files." but that does not seem to be the case? For example hashtable, lib, etc are not included in the 0.14.0 or 0.14.1 tarballs.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8051/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8051/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8052
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8052/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8052/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8052/events
https://github.com/pandas-dev/pandas/issues/8052
40,484,017
MDU6SXNzdWU0MDQ4NDAxNw==
8,052
TST: Invalid table option table parsing
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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-11-09T12:33:59Z", "closed_issues": 86, "created_at": "2014-10-30T11:12:13Z", "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.0 of course", "due_on": "2014-11-09T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/31", "id": 846460, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31/labels", "node_id": "MDk6TWlsZXN0b25lODQ2NDYw", "number": 31, "open_issues": 0, "state": "closed", "title": "0.15.1", "updated_at": "2014-11-09T12:33:59Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/31" }
8
2014-08-18T12:44:06Z
2014-11-07T17:29:10Z
2014-11-07T17:29:10Z
CONTRIBUTOR
null
https://travis-ci.org/jreback/pandas/jobs/32804934 cc @dstephens99
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8052/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8052/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8053
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8053/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8053/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8053/events
https://github.com/pandas-dev/pandas/pull/8053
40,484,083
MDExOlB1bGxSZXF1ZXN0MTk5MTUyNjE=
8,053
TST: catch invalid options data parsing
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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-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-08-18T12:45:15Z
2014-08-18T13:05:59Z
2014-08-18T13:05:59Z
CONTRIBUTOR
null
xref #8052
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8053/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8053/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8053.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8053", "merged_at": "2014-08-18T13:05:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8053.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8053" }
https://api.github.com/repos/pandas-dev/pandas/issues/8054
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8054/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8054/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8054/events
https://github.com/pandas-dev/pandas/pull/8054
40,484,160
MDExOlB1bGxSZXF1ZXN0MTk5MTUzMDI=
8,054
TST: Fix tseries.converter test for MPL1.4
{ "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": "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": "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": "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" }
5
2014-08-18T12:46:26Z
2014-08-19T13:34:02Z
2014-08-19T12:50:59Z
MEMBER
null
Closes #7233. Other tests have no problem with MPL1.4.dev: - tests\test_graphics.py - tseries\tests\test_plotting.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/8054/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8054/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8054.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8054", "merged_at": "2014-08-19T12:50:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8054.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8054" }
https://api.github.com/repos/pandas-dev/pandas/issues/8055
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8055/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8055/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8055/events
https://github.com/pandas-dev/pandas/issues/8055
40,502,857
MDU6SXNzdWU0MDUwMjg1Nw==
8,055
read_csv segfault with file open in LibreOffice
{ "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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "36ede0", "default": false, "description": "Non-Recoverable Error", "id": 1121248195, "name": "Segfault", "node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault" } ]
closed
false
null
[]
null
9
2014-08-18T15:53:43Z
2020-04-04T03:34:10Z
2020-04-04T03:34:10Z
CONTRIBUTOR
null
I'm trying to read a simple file which works fine when I don't have the file open. However, when I have the file open in LibreOffice it reliably segfaults (memory steadily increases and network traffic is at 70MB/s for a good 30 seconds). When open in the TextEditor it works fine. csv data: ID,Start Date,End Date 1,2014-09-16 00:00:00-05:00,2014-12-31 23:00:00-05:00 2,2014-10-02 00:00:00-05:00,2014-10-10 15:00:00-05:00 ``` (gdb) backtrace #0 0x00007ffff7879d79 in realloc () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007fffede557de in safe_realloc (buffer=0x7fff6b6e9010, size=size@entry=2) at pandas/src/parser/tokenizer.c:55 #2 0x00007fffede55858 in grow_buffer (buffer=<optimized out>, buffer@entry=0x7fff6b6e9010, length=<optimized out>, capacity=capacity@entry=0x11fe66c, space=space@entry=524288, elsize=elsize@entry=1, error=error@entry=0x7fffffffd25c) at pandas/src/parser/tokenizer.c:115 #3 0x00007fffede558c4 in make_stream_space (self=self@entry=0x11fe630, nbytes=262144) at pandas/src/parser/tokenizer.c:294 #4 0x00007fffede56641 in tokenize_delimited (self=0x11fe630, line_limit=262143) at pandas/src/parser/tokenizer.c:670 #5 0x00007fffede58021 in _tokenize_helper (self=0x11fe630, nrows=262143, all=all@entry=0) at pandas/src/parser/tokenizer.c:1573 #6 0x00007fffede58297 in tokenize_nrows (self=<optimized out>, nrows=<optimized out>) at pandas/src/parser/tokenizer.c:1590 #7 0x00007fffede215c6 in __pyx_f_6pandas_6parser_10TextReader__tokenize_rows (__pyx_v_self=0x7fffeda38dc0, __pyx_v_nrows=<optimized out>) at pandas/parser.c:7784 #8 0x00007fffede24aef in __pyx_f_6pandas_6parser_10TextReader__read_rows (__pyx_v_self=0x7fffeda38dc0, __pyx_v_rows=0xf55488, __pyx_v_trim=0) at pandas/parser.c:7978 #9 0x00007fffede23a2e in __pyx_f_6pandas_6parser_10TextReader__read_low_memory (__pyx_v_self=0x7fffeda38dc0, __pyx_v_rows=0x920190 <_Py_NoneStruct>) at pandas/parser.c:7369 #10 0x00007fffede22474 in __pyx_pf_6pandas_6parser_10TextReader_8read (__pyx_v_rows=0x920190 <_Py_NoneStruct>, __pyx_v_self=0x7fffeda38dc0) at pandas/parser.c:7145 #11 __pyx_pw_6pandas_6parser_10TextReader_9read (__pyx_v_self=0x7fffeda38dc0, __pyx_args=<optimized out>, __pyx_kwds=<optimized out>) at pandas/parser.c:7107 #12 0x000000000052c6d5 in PyEval_EvalFrameEx () #13 0x000000000055c594 in PyEval_EvalCodeEx () #14 0x000000000052ca8d in PyEval_EvalFrameEx () #15 0x000000000055c594 in PyEval_EvalCodeEx () #16 0x000000000052ca8d in PyEval_EvalFrameEx () #17 0x000000000055c594 in PyEval_EvalCodeEx () #18 0x000000000052ca8d in PyEval_EvalFrameEx () #19 0x000000000055c594 in PyEval_EvalCodeEx () #20 0x000000000052ca8d in PyEval_EvalFrameEx () #21 0x000000000055c594 in PyEval_EvalCodeEx () #22 0x00000000005b7392 in PyEval_EvalCode () #23 0x0000000000469663 in ?? () #24 0x00000000004699e3 in PyRun_FileExFlags () #25 0x0000000000469f1c in PyRun_SimpleFileExFlags () #26 0x000000000046ab81 in Py_Main () #27 0x00007ffff7817ec5 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 #28 0x000000000057497e in _start () ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8055/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8055/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8056
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8056/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8056/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8056/events
https://github.com/pandas-dev/pandas/issues/8056
40,503,476
MDU6SXNzdWU0MDUwMzQ3Ng==
8,056
BUG: rolling_count() and expanding_*() return error for empty Series
{ "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-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-08-18T15:59:30Z
2014-08-28T17:34:49Z
2014-08-28T17:34:49Z
CONTRIBUTOR
null
This probably should have been caught in https://github.com/pydata/pandas/pull/7766, but wasn't. ``` In [1]: from pandas import Series, rolling_count, expanding_count, expanding_mean In [2]: expanding_count(Series([])) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-2-16cb9f6736f0> in <module>() ----> 1 expanding_count(Series([])) C:\Python34\lib\site-packages\pandas\stats\moments.py in expanding_count(arg, freq, center) 872 of :meth:`~pandas.Series.resample` (i.e. using the `mean`). 873 """ --> 874 return rolling_count(arg, len(arg), freq=freq, center=center) 875 876 C:\Python34\lib\site-packages\pandas\stats\moments.py in rolling_count(arg, window, freq, center, how) 188 converted = np.isfinite(values).astype(float) 189 result = rolling_sum(converted, window, min_periods=1, --> 190 center=center) # already converted 191 192 # putmask here? C:\Python34\lib\site-packages\pandas\stats\moments.py in f(arg, window, min_periods, freq, center, how, **kwargs) 593 return func(arg, window, minp, **kwds) 594 return _rolling_moment(arg, window, call_cython, min_periods, freq=freq, --> 595 center=center, how=how, **kwargs) 596 597 return f C:\Python34\lib\site-packages\pandas\stats\moments.py in _rolling_moment(arg, window, func, minp, axis, freq, center, how, args, kwa rgs, **kwds) 345 result = np.apply_along_axis(calc, axis, values) 346 else: --> 347 result = calc(values) 348 349 rs = return_hook(result) C:\Python34\lib\site-packages\pandas\stats\moments.py in <lambda>(x) 339 arg = _conv_timerule(arg, freq, how) 340 calc = lambda x: func(x, window, minp=minp, args=args, kwargs=kwargs, --> 341 **kwds) 342 return_hook, values = _process_data_structure(arg) 343 # actually calculate the moment. Faster way to do this? C:\Python34\lib\site-packages\pandas\stats\moments.py in call_cython(arg, window, minp, args, kwargs, **kwds) 591 def call_cython(arg, window, minp, args=(), kwargs={}, **kwds): 592 minp = check_minp(minp, window) --> 593 return func(arg, window, minp, **kwds) 594 return _rolling_moment(arg, window, call_cython, min_periods, freq=freq, 595 center=center, how=how, **kwargs) C:\Python34\lib\site-packages\pandas\algos.pyd in pandas.algos.roll_sum (pandas\algos.c:25271)() C:\Python34\lib\site-packages\pandas\algos.pyd in pandas.algos._check_minp (pandas\algos.c:16394)() ValueError: min_periods (1) must be <= window (0) In [3]: rolling_count(Series([]), window=3) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-3-040797e90b09> in <module>() ----> 1 rolling_count(Series([]), window=3) C:\Python34\lib\site-packages\pandas\stats\moments.py in rolling_count(arg, window, freq, center, how) 188 converted = np.isfinite(values).astype(float) 189 result = rolling_sum(converted, window, min_periods=1, --> 190 center=center) # already converted 191 192 # putmask here? C:\Python34\lib\site-packages\pandas\stats\moments.py in f(arg, window, min_periods, freq, center, how, **kwargs) 593 return func(arg, window, minp, **kwds) 594 return _rolling_moment(arg, window, call_cython, min_periods, freq=freq, --> 595 center=center, how=how, **kwargs) 596 597 return f C:\Python34\lib\site-packages\pandas\stats\moments.py in _rolling_moment(arg, window, func, minp, axis, freq, center, how, args, kwa rgs, **kwds) 345 result = np.apply_along_axis(calc, axis, values) 346 else: --> 347 result = calc(values) 348 349 rs = return_hook(result) C:\Python34\lib\site-packages\pandas\stats\moments.py in <lambda>(x) 339 arg = _conv_timerule(arg, freq, how) 340 calc = lambda x: func(x, window, minp=minp, args=args, kwargs=kwargs, --> 341 **kwds) 342 return_hook, values = _process_data_structure(arg) 343 # actually calculate the moment. Faster way to do this? C:\Python34\lib\site-packages\pandas\stats\moments.py in call_cython(arg, window, minp, args, kwargs, **kwds) 591 def call_cython(arg, window, minp, args=(), kwargs={}, **kwds): 592 minp = check_minp(minp, window) --> 593 return func(arg, window, minp, **kwds) 594 return _rolling_moment(arg, window, call_cython, min_periods, freq=freq, 595 center=center, how=how, **kwargs) C:\Python34\lib\site-packages\pandas\algos.pyd in pandas.algos.roll_sum (pandas\algos.c:25271)() C:\Python34\lib\site-packages\pandas\algos.pyd in pandas.algos._check_minp (pandas\algos.c:16394)() ValueError: min_periods (1) must be <= window (0) In [5]: expanding_mean(Series([])) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-5-b131e71cc033> in <module>() ----> 1 expanding_mean(Series([])) C:\Python34\lib\site-packages\pandas\stats\moments.py in f(arg, min_periods, freq, center, **kwargs) 825 return func(arg, window, minp, **kwds) 826 return _rolling_moment(arg, window, call_cython, min_periods, freq=freq, --> 827 center=center, **kwargs) 828 829 return f C:\Python34\lib\site-packages\pandas\stats\moments.py in _rolling_moment(arg, window, func, minp, axis, freq, center, how, args, kwa rgs, **kwds) 345 result = np.apply_along_axis(calc, axis, values) 346 else: --> 347 result = calc(values) 348 349 rs = return_hook(result) C:\Python34\lib\site-packages\pandas\stats\moments.py in <lambda>(x) 339 arg = _conv_timerule(arg, freq, how) 340 calc = lambda x: func(x, window, minp=minp, args=args, kwargs=kwargs, --> 341 **kwds) 342 return_hook, values = _process_data_structure(arg) 343 # actually calculate the moment. Faster way to do this? C:\Python34\lib\site-packages\pandas\stats\moments.py in call_cython(arg, window, minp, args, kwargs, **kwds) 823 def call_cython(arg, window, minp, args=(), kwargs={}, **kwds): 824 minp = check_minp(minp, window) --> 825 return func(arg, window, minp, **kwds) 826 return _rolling_moment(arg, window, call_cython, min_periods, freq=freq, 827 center=center, **kwargs) C:\Python34\lib\site-packages\pandas\algos.pyd in pandas.algos.roll_mean (pandas\algos.c:25815)() C:\Python34\lib\site-packages\pandas\algos.pyd in pandas.algos._check_minp (pandas\algos.c:16394)() ValueError: min_periods (1) must be <= window (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/8056/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8056/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8057
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8057/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8057/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8057/events
https://github.com/pandas-dev/pandas/issues/8057
40,504,532
MDU6SXNzdWU0MDUwNDUzMg==
8,057
broken 0.14.1 download link
{ "avatar_url": "https://avatars.githubusercontent.com/u/876947?v=4", "events_url": "https://api.github.com/users/JnyJny/events{/privacy}", "followers_url": "https://api.github.com/users/JnyJny/followers", "following_url": "https://api.github.com/users/JnyJny/following{/other_user}", "gists_url": "https://api.github.com/users/JnyJny/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JnyJny", "id": 876947, "login": "JnyJny", "node_id": "MDQ6VXNlcjg3Njk0Nw==", "organizations_url": "https://api.github.com/users/JnyJny/orgs", "received_events_url": "https://api.github.com/users/JnyJny/received_events", "repos_url": "https://api.github.com/users/JnyJny/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JnyJny/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JnyJny/subscriptions", "type": "User", "url": "https://api.github.com/users/JnyJny" }
[ { "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" } ]
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" }
1
2014-08-18T16:10:32Z
2014-08-19T20:33:43Z
2014-08-19T20:33:43Z
NONE
null
On pandas.pydata.org, the download link for 0.14.1 in the Official Release box on the right hand side of the page sends users to the download page for 0.14.0. Manually changing the URL to 0.14.1 will access the correct page, so the download link is just broke.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8057/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8057/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8058
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8058/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8058/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8058/events
https://github.com/pandas-dev/pandas/issues/8058
40,509,260
MDU6SXNzdWU0MDUwOTI2MA==
8,058
Timestamp cannot be compared to np.int64: impact on series binary operations
{ "avatar_url": "https://avatars.githubusercontent.com/u/1564485?v=4", "events_url": "https://api.github.com/users/l736x/events{/privacy}", "followers_url": "https://api.github.com/users/l736x/followers", "following_url": "https://api.github.com/users/l736x/following{/other_user}", "gists_url": "https://api.github.com/users/l736x/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/l736x", "id": 1564485, "login": "l736x", "node_id": "MDQ6VXNlcjE1NjQ0ODU=", "organizations_url": "https://api.github.com/users/l736x/orgs", "received_events_url": "https://api.github.com/users/l736x/received_events", "repos_url": "https://api.github.com/users/l736x/repos", "site_admin": false, "starred_url": "https://api.github.com/users/l736x/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/l736x/subscriptions", "type": "User", "url": "https://api.github.com/users/l736x" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
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" }
6
2014-08-18T17:01:11Z
2014-08-19T15:12:53Z
2014-08-19T15:12:53Z
CONTRIBUTOR
null
Binary operations between two series fail if the .name attribute of the first is a Timestamp and the .name of the second is a numpy.int64. It seems a corner case, but it's pretty common when the series are slices of dataframes. It happens independently if, say, + or .add() is used. It doesn't happen if the order is reversed. I guess it boils down to Timestamps not having a sufficiently wide **equal** method. ``` python In [1]: import pandas as pd In [2]: pd.__version --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-2-2d9155319574> in <module>() ----> 1 pd.__version AttributeError: 'module' object has no attribute '__version' In [3]: df = pd.DataFrame(randn(5,2)) In [4]: a = df[0] In [5]: b = pd.Series(randn(5)) In [6]: b.name = pd.Timestamp('2000-01-01') In [7]: a / b Out[7]: 0 -1.019117 1 -1.455596 2 0.716716 3 -0.052173 4 -10.725603 dtype: float64 In [8]: b / a --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-8-fc1551a96997> in <module>() ----> 1 b / a /home/ldeleo/venv/test/lib/python2.7/site-packages/pandas/core/ops.pyc in wrapper(left, right, name) 488 if isinstance(rvalues, pd.Series): 489 rindex = getattr(rvalues,'index',rvalues) --> 490 name = _maybe_match_name(left, rvalues) 491 lvalues = getattr(lvalues, 'values', lvalues) 492 rvalues = getattr(rvalues, 'values', rvalues) /home/ldeleo/venv/test/lib/python2.7/site-packages/pandas/core/common.pyc in _maybe_match_name(a, b) 2927 a_name = getattr(a, 'name', None) 2928 b_name = getattr(b, 'name', None) -> 2929 if a_name == b_name: 2930 return a_name 2931 return None /home/ldeleo/venv/test/lib/python2.7/site-packages/pandas/tslib.so in pandas.tslib._Timestamp.__richcmp__ (pandas/tslib.c:12147)() TypeError: Cannot compare type 'Timestamp' with type 'int64' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8058/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8058/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8059
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8059/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8059/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8059/events
https://github.com/pandas-dev/pandas/pull/8059
40,509,453
MDExOlB1bGxSZXF1ZXN0MTk5MzA2NjE=
8,059
BUG: rolling_count() and expanding_*() with zero-length args; rolling/expanding_apply with min_periods=0
{ "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-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-08-18T17:03:26Z
2014-09-10T00:11:40Z
2014-08-28T17:34:49Z
CONTRIBUTOR
null
Closes https://github.com/pydata/pandas/issues/8056 Closes https://github.com/pydata/pandas/issues/8080
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8059/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8059/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8059.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8059", "merged_at": "2014-08-28T17:34:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8059.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8059" }
https://api.github.com/repos/pandas-dev/pandas/issues/8060
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8060/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8060/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8060/events
https://github.com/pandas-dev/pandas/issues/8060
40,514,286
MDU6SXNzdWU0MDUxNDI4Ng==
8,060
Is the storage cost of fixed-format vs. tabular HDF documented?
{ "avatar_url": "https://avatars.githubusercontent.com/u/2279598?v=4", "events_url": "https://api.github.com/users/danielballan/events{/privacy}", "followers_url": "https://api.github.com/users/danielballan/followers", "following_url": "https://api.github.com/users/danielballan/following{/other_user}", "gists_url": "https://api.github.com/users/danielballan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/danielballan", "id": 2279598, "login": "danielballan", "node_id": "MDQ6VXNlcjIyNzk1OTg=", "organizations_url": "https://api.github.com/users/danielballan/orgs", "received_events_url": "https://api.github.com/users/danielballan/received_events", "repos_url": "https://api.github.com/users/danielballan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/danielballan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/danielballan/subscriptions", "type": "User", "url": "https://api.github.com/users/danielballan" }
[ { "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": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "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
3
2014-08-18T17:58:26Z
2014-10-02T12:26:12Z
2014-10-02T12:26:12Z
CONTRIBUTOR
null
I discovered that `store.put('key', df)` takes a whopping 40X more storage than `store('key', df, format='table')` for my DataFrames of floats. (See soft-matter/trackpy#144 for one demonstration.) 1. Am I doing it wrong? Is cost difference really that high? 2. I see that the read/write speed differences (which favor fixed-format) are documented, but I can't find mention of the storage requirements. For my purposes, and for this issue, documenting it is sufficient. But if someone understands why the difference is so large, I'd be interested in that too.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8060/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8060/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8061
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8061/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8061/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8061/events
https://github.com/pandas-dev/pandas/pull/8061
40,517,494
MDExOlB1bGxSZXF1ZXN0MTk5MzU3MjQ=
8,061
ENH: improve datetime string parsing with CustomBusinessDay
{ "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": "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
[]
null
6
2014-08-18T18:32:43Z
2015-04-08T17:19:04Z
2015-04-08T15:21:33Z
CONTRIBUTOR
null
Currently CustomBusinessDay requires a strict format for holiday definition ``` CustomBusinessDay(holidays=['2014-05-12']) ``` but the following would raise a ValueError: ``` CustomBusinessDay(holidays=['5/12/2014']) ``` this PR makes the date parsing easier and adds a unit test
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8061/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8061/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8061.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8061", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8061.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8061" }
https://api.github.com/repos/pandas-dev/pandas/issues/8062
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8062/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8062/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8062/events
https://github.com/pandas-dev/pandas/pull/8062
40,529,316
MDExOlB1bGxSZXF1ZXN0MTk5NDMwNjA=
8,062
Added chunksize argument to to_sql
{ "avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4", "events_url": "https://api.github.com/users/artemyk/events{/privacy}", "followers_url": "https://api.github.com/users/artemyk/followers", "following_url": "https://api.github.com/users/artemyk/following{/other_user}", "gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artemyk", "id": 833768, "login": "artemyk", "node_id": "MDQ6VXNlcjgzMzc2OA==", "organizations_url": "https://api.github.com/users/artemyk/orgs", "received_events_url": "https://api.github.com/users/artemyk/received_events", "repos_url": "https://api.github.com/users/artemyk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artemyk/subscriptions", "type": "User", "url": "https://api.github.com/users/artemyk" }
[ { "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-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-08-18T20:37:40Z
2014-09-15T21:49:48Z
2014-08-22T07:32:12Z
CONTRIBUTOR
null
Large dataframes may fail to write to a database in one go due to packet size errors . This add a `chunksize` parameter which will write the dataframe to the database in batches. See https://github.com/pydata/pandas/issues/7347 . Notice that there is quite a bit of code duplication between the SQLAlchemy and legacy APIs. This could be factored out if desired at the cost of a few private methods. Closes #7347
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8062/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8062/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8062.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8062", "merged_at": "2014-08-22T07:32:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8062.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8062" }
https://api.github.com/repos/pandas-dev/pandas/issues/8063
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8063/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8063/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8063/events
https://github.com/pandas-dev/pandas/pull/8063
40,532,357
MDExOlB1bGxSZXF1ZXN0MTk5NDQ5ODI=
8,063
Adding a warning when dropping NA values for panel.to_frame #7879
{ "avatar_url": "https://avatars.githubusercontent.com/u/7545607?v=4", "events_url": "https://api.github.com/users/Magellanea/events{/privacy}", "followers_url": "https://api.github.com/users/Magellanea/followers", "following_url": "https://api.github.com/users/Magellanea/following{/other_user}", "gists_url": "https://api.github.com/users/Magellanea/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Magellanea", "id": 7545607, "login": "Magellanea", "node_id": "MDQ6VXNlcjc1NDU2MDc=", "organizations_url": "https://api.github.com/users/Magellanea/orgs", "received_events_url": "https://api.github.com/users/Magellanea/received_events", "repos_url": "https://api.github.com/users/Magellanea/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Magellanea/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Magellanea/subscriptions", "type": "User", "url": "https://api.github.com/users/Magellanea" }
[ { "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" } ]
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-08-18T21:09:16Z
2015-01-25T23:40:01Z
2015-01-25T23:40:01Z
NONE
null
closes: https://github.com/pydata/pandas/issues/7879 I've added a warning when the <code>NaN</code> values are dropped when calling <code>pd.Panel(dict).to_frame()</code> with the param <code>filter_observations</code> true I've supplied a test case to be used against the example provided in the issue tracker
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8063/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8063/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8063.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8063", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8063.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8063" }
https://api.github.com/repos/pandas-dev/pandas/issues/8064
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8064/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8064/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8064/events
https://github.com/pandas-dev/pandas/issues/8064
40,538,742
MDU6SXNzdWU0MDUzODc0Mg==
8,064
API: expanding/rolling_std/var/cov and ddof
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "006b75", "default": false, "description": "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" }
1
2014-08-18T22:17:28Z
2014-09-17T18:03:54Z
2014-09-17T18:03:54Z
CONTRIBUTOR
null
Though it's not mentioned in the doc strings, `expanding/rolling_std/var` support a `ddof` parameter, while `expanding/rolling_cov` do not (they effectively assume `ddof=1`). I think it would be best if all these functions supported an explicit (i.e. documented) `ddof` parameter that defaults to `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/8064/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8064/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8065
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8065/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8065/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8065/events
https://github.com/pandas-dev/pandas/issues/8065
40,541,423
MDU6SXNzdWU0MDU0MTQyMw==
8,065
BUG/ENH: categorical returned during a transform
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "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" }
10
2014-08-18T22:55:38Z
2018-07-06T22:58:28Z
2018-07-06T22:58:12Z
CONTRIBUTOR
null
http://stackoverflow.com/questions/25372877/python-pandas-groupby-and-qcut-doesnt-work-in-0-14-1 ``` df = pd.DataFrame({'x': np.random.rand(20), 'grp': ['a'] * 10 + ['b'] * 10}) ``` worked in 0.13 (but returns a 2 element series with a list) ``` df.groupby('grp')['x'].transform(pd.qcut, 3) ``` much cleaner. ``` df.groupby('grp')['x'].apply(lambda x: pd.Series(pd.qcut(x,3), index=x.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/8065/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8065/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8066
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8066/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8066/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8066/events
https://github.com/pandas-dev/pandas/pull/8066
40,570,366
MDExOlB1bGxSZXF1ZXN0MTk5Njc1Njk=
8,066
Fix bdist_wheel. Add Tag information to WHEEL dist info.
{ "avatar_url": "https://avatars.githubusercontent.com/u/290496?v=4", "events_url": "https://api.github.com/users/lepture/events{/privacy}", "followers_url": "https://api.github.com/users/lepture/followers", "following_url": "https://api.github.com/users/lepture/following{/other_user}", "gists_url": "https://api.github.com/users/lepture/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lepture", "id": 290496, "login": "lepture", "node_id": "MDQ6VXNlcjI5MDQ5Ng==", "organizations_url": "https://api.github.com/users/lepture/orgs", "received_events_url": "https://api.github.com/users/lepture/received_events", "repos_url": "https://api.github.com/users/lepture/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lepture/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lepture/subscriptions", "type": "User", "url": "https://api.github.com/users/lepture" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "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-08-19T08:55:56Z
2014-09-14T15:19:01Z
2014-09-14T14:13:25Z
CONTRIBUTOR
null
The wheel build with https://github.com/MacPython/pandas-wheels ``` # file: pandas-0.14.1.dist-info/WHEEL Wheel-Version: 1.0 Generator: bdist_wheel (0.24.0) Root-Is-Purelib: false Tag: cp27-none-macosx_10_6_intel ``` Although it was renamed to `macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64`, the real tag didn't change. This patch would fix the `Tag` like what I did in [mistune](https://github.com/lepture/mistune) ``` # file: mistune-0.4.dist-info/WHEEL Wheel-Version: 1.0 Generator: bdist_wheel (0.24.0) Root-Is-Purelib: false Tag: cp27-none-macosx_10_6_intel Tag: cp27-none-macosx_10_9_intel Tag: cp27-none-macosx_10_9_x86_64 ``` Related: http://lepture.com/en/2014/python-on-a-hard-wheel
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8066/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8066/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8066.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8066", "merged_at": "2014-09-14T14:13:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8066.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8066" }
https://api.github.com/repos/pandas-dev/pandas/issues/8067
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8067/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8067/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8067/events
https://github.com/pandas-dev/pandas/pull/8067
40,588,868
MDExOlB1bGxSZXF1ZXN0MTk5Nzg4MTM=
8,067
typo: "cubhelix" -> "cubehelix"
{ "avatar_url": "https://avatars.githubusercontent.com/u/1071322?v=4", "events_url": "https://api.github.com/users/ajschumacher/events{/privacy}", "followers_url": "https://api.github.com/users/ajschumacher/followers", "following_url": "https://api.github.com/users/ajschumacher/following{/other_user}", "gists_url": "https://api.github.com/users/ajschumacher/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ajschumacher", "id": 1071322, "login": "ajschumacher", "node_id": "MDQ6VXNlcjEwNzEzMjI=", "organizations_url": "https://api.github.com/users/ajschumacher/orgs", "received_events_url": "https://api.github.com/users/ajschumacher/received_events", "repos_url": "https://api.github.com/users/ajschumacher/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ajschumacher/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ajschumacher/subscriptions", "type": "User", "url": "https://api.github.com/users/ajschumacher" }
[]
closed
false
null
[]
null
1
2014-08-19T13:07:33Z
2014-08-19T13:21:25Z
2014-08-19T13:21:21Z
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/8067/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8067/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8067.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8067", "merged_at": "2014-08-19T13:21:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8067.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8067" }
https://api.github.com/repos/pandas-dev/pandas/issues/8068
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8068/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8068/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8068/events
https://github.com/pandas-dev/pandas/pull/8068
40,591,080
MDExOlB1bGxSZXF1ZXN0MTk5ODAyMTY=
8,068
DOC: Fix Release note 8019, 8039
{ "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" }
[]
closed
false
null
[]
null
0
2014-08-19T13:32:17Z
2014-08-22T21:31:16Z
2014-08-19T13:36:12Z
MEMBER
null
Fix release note #8019, #8039
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8068/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8068/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8068.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8068", "merged_at": "2014-08-19T13:36:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8068.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8068" }
https://api.github.com/repos/pandas-dev/pandas/issues/8069
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8069/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8069/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8069/events
https://github.com/pandas-dev/pandas/pull/8069
40,595,101
MDExOlB1bGxSZXF1ZXN0MTk5ODI1MTM=
8,069
DOC: Add scatter to visualization.rst
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": "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" }
1
2014-08-19T14:10:00Z
2014-08-22T21:31:29Z
2014-08-19T14:18:39Z
MEMBER
null
Current doc has no explanation, and incorrectly linked to `scatter_matrix`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8069/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8069/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8069.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8069", "merged_at": "2014-08-19T14:18:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8069.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8069" }
https://api.github.com/repos/pandas-dev/pandas/issues/8070
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8070/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8070/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8070/events
https://github.com/pandas-dev/pandas/pull/8070
40,595,743
MDExOlB1bGxSZXF1ZXN0MTk5ODI5NTI=
8,070
BUG: Bug in Timestamp comparisons with == and dtype of int64 (GH8058)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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": "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-08-19T14:16:29Z
2014-08-19T15:12:53Z
2014-08-19T15:12:53Z
CONTRIBUTOR
null
closes #8058
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8070/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8070/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8070.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8070", "merged_at": "2014-08-19T15:12:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8070.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8070" }
https://api.github.com/repos/pandas-dev/pandas/issues/8071
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8071/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8071/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8071/events
https://github.com/pandas-dev/pandas/issues/8071
40,599,089
MDU6SXNzdWU0MDU5OTA4OQ==
8,071
API: Accept negative value for layout keyword in plot
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "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": "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" }
1
2014-08-19T14:47:28Z
2014-09-18T17:16:32Z
2014-09-18T17:16:32Z
CONTRIBUTOR
null
Once https://github.com/pydata/pandas/pull/7736 is merged, we can add this option ``` df.plot(subplots=True, layout=(4, -1) ``` This will behave similar to numpy's `reshape` method, except that we won't require the number of subplots generated by layout to exactly match the number of subplots in `df`. We'll just fill in the smallest integer that' sable to hold the subplots.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8071/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8071/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8072
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8072/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8072/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8072/events
https://github.com/pandas-dev/pandas/issues/8072
40,599,346
MDU6SXNzdWU0MDU5OTM0Ng==
8,072
BUG: improve error message for negative window argument to rolling_*()
{ "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": "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": "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": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
2014-08-19T14:50:00Z
2017-06-10T21:59:33Z
2017-06-10T21:59:33Z
CONTRIBUTOR
null
Currently (in v0.14.1) `rolling_mean(s, window=-1)` produces (the somewhat inelegant) error message `ValueError: min_periods must be >= 0`. It would be better to test explicitly for negative (non-positive?) `window`, and produce a more direct error message.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8072/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8072/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8073
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8073/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8073/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8073/events
https://github.com/pandas-dev/pandas/pull/8073
40,605,756
MDExOlB1bGxSZXF1ZXN0MTk5ODkzODI=
8,073
PERF: StataReader is slow
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "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_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": "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" }
6
2014-08-19T15:49:29Z
2014-08-22T15:42:25Z
2014-08-20T10:52:34Z
CONTRIBUTOR
null
StataReader does not make use of vectorized operations. To improve performance, the following changes have been made: - Use numpy.frombuffer to real the stored data in a single operation - Vectorize date conversion - Removal of unreachable private functions
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8073/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8073/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8073.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8073", "merged_at": "2014-08-20T10:52:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8073.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8073" }
https://api.github.com/repos/pandas-dev/pandas/issues/8074
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8074/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8074/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8074/events
https://github.com/pandas-dev/pandas/issues/8074
40,647,912
MDU6SXNzdWU0MDY0NzkxMg==
8,074
Discussion: feedback on the Categorical integration
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e11d21", "default": false, "description": "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": "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" }
58
2014-08-19T23:13:41Z
2014-09-25T22:16:35Z
2014-09-25T22:16:35Z
MEMBER
null
I finally had some time to read up on the discussions and to look at the implementation of the Categoricals integration, and have still some questions and comments. I am sorry that this is rather late to the party, but I still think this is important to discuss (and I certainly don't want to disregard the really great work @JanSchulz and @jreback put in this! Thanks a lot for that!). It is mainly about the public interface, and not about the internals. So below I summed some remarks. And to be clear, just some personal ideas to discuss! ## 1. The `Categorical` object vs the 'category' `Series` Previously, there was already the `Categorical` class: ``` In [1]: pd.Categorical(["a","b","c","a"]) Out[1]: a b c a Levels (3, object): [a < b < c] ``` Now, you can also put this in a `Series`: ``` In [2]: pd.Series(pd.Categorical(["a","b","c","a"])) Out[2]: 0 a 1 b 2 c 3 a dtype: category Levels (3, object): [a < b < c] ``` To create this Series, you can either put an existing `Categorical` inside a Series (as above, or by assigning it to a column of DataFrame, like `df['cat'] = pd.Categorical(["a","b","c","a"])`), or you can convert an existing `Series` to the 'category' dtype: ``` pd.Series(["a","b","c","a"]).astype('category') ``` So basically, there are now two different main objects to deal with categorical values (the `Categorical` object and the `Series` of 'category' dtype), which are also used both and mixed in the docs. This raises the question if this is needed? (also touced lightly here: ). Some remarks: - The constructor `pd.Series(pd.Categorical(...))` is a bit cumbersome I think - In the documentation both Categorical and category Series are used. But what is the difference between both? (in user facing interaction) What is the advantage of one above the other, and in what circumstances? Why should I use a `Categorical` and not a category Series? - Going further, are both possibilities needed (in user facing API, docs, etc)? Why not just using always a Series with `category` dtype? I'v also found in the discusion the following by @JanSchulz (sorry if I misquote you guys :-)) (https://github.com/pydata/pandas/pull/8007#issuecomment-51985421): > I've not found a usecase which would need to touch categoricals instead of Series(Categorical(...))) and response of @njsmith to that: > I don't really care what the data type for holding categorical data is, but I can certainly see the advantage of having just one data type. And if so then Series seems like a good choice for that. So **proposal**: just use `Series` with 'category' dtype in all user facing API/functions and documentation. ## 2. Naming issues (levels, labels, codes, categories, ..) The concepts of a categorical: - `codes`: numerical representation (previously called `labels`) - `levels`: descriptive names For `codes`, I think this is indeed much better, as `labels` was very confusing (and more logical the labels would be the different values inside `levels` ..), and it has the advantage of the same name as in R. But, the name `levels` is somewhat more problematic IMHO. `level` has already another and established meaning in pandas, namely the different levels of a hierarchical MultiIndex. In many methods, you have a `level=..` keyword, and there are a lot of index methods to handle levels like `reorder_levels`, `droplevel`. ``` In [14]: pd.MultiIndex.from_product([['a', 'b'],[1,2]], names=['A', 'B']) Out[14]: MultiIndex(levels=[[u'a', u'b'], [1, 2]], labels=[[0, 0, 1, 1], [0, 1, 0, 1]], names=[u'A', u'B']) ``` Here, there are two levels, a "first" and a "second level". While in a categorical context, the "first level" from above would consist of two levels, namely 'a' and 'b' ... **Possible outcomes** What are the 'things' we call now 'levels'. It are the different classes, or the different categories that are possible within the `Categorical` series. So maybe 'classes' or 'categories' would be an alternative name? So in that regard I like the proposal of @immerrr (https://github.com/pydata/pandas/pull/7217#issuecomment-47496897): > As for naming, I like the name "codes" for the numerical representation and would like to propose "categories" for the descriptive names. @JanSchulz responded: > I wouldn't change the name levels to keep that aspect of R's factors. A good argument, but I personally think the possible confusion between `df.index.reorder_levels` and `df.cat.reorder_levels` is important enough to reconsider this. Certainly when we would have eg a CategoricalIndex in the future, then `reorder_levels` will become totally dubious ... So, at least I would go with `categorical_levels` to make the distinction (as mentioned by @JanSchulz here: https://github.com/pydata/pandas/pull/7217#issuecomment-45412477), or go with another name like `categories`. ## 3. Return type of `Series.values` At the moment, when you have a Series with 'category' dtype, `Series.values` will return the `Categorical` object, and not a numpy array: - This seems not very consistent with the other dtypes. - The documentation of `Series.values` is also very clear on that : "returns Series as numpy.ndarray" (and this is also how it is printed in my head) - What is a good reason to deviate from this rule? (certainly if you can have eg the `s.cat` attribute to return it) Of course, if we would want to return a numpy array, it would have to be decided what it should return (eg what is returned now from `np.asarray()`). You loose information with this (the levels), and I suppose this is the reason to return a Categorical?. But I personally find the consistency more important here, certainly if you can do everything with the Series what you can do with the categorical (discussion above). @JanSchulz @jreback @jseabold @njsmith @immerrr @cpcloud @hayd
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8074/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8074/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8075
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8075/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8075/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8075/events
https://github.com/pandas-dev/pandas/pull/8075
40,651,587
MDExOlB1bGxSZXF1ZXN0MjAwMTgxNzQ=
8,075
ENH: add support dtype='category' in Series constructor
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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": "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-08-20T00:13:51Z
2014-08-21T21:33:10Z
2014-08-21T21:33:10Z
CONTRIBUTOR
null
xref #8074 closes #8076 ``` In [1]: Series([1,1,2,2,3,4,5],dtype='category') Out[1]: 0 1 1 1 2 2 3 2 4 3 5 4 6 5 dtype: category Levels (5, int64): [1 < 2 < 3 < 4 < 5] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8075/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8075/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8075.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8075", "merged_at": "2014-08-21T21:33:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8075.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8075" }
https://api.github.com/repos/pandas-dev/pandas/issues/8076
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8076/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8076/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8076/events
https://github.com/pandas-dev/pandas/issues/8076
40,670,549
MDU6SXNzdWU0MDY3MDU0OQ==
8,076
BUG: Putting a Categorical series in a DataFrame with a different index raises IndexError
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "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": "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" }
2
2014-08-20T07:35:05Z
2014-08-21T21:33:10Z
2014-08-21T21:33:10Z
MEMBER
null
``` >>> import pandas as pd >>> pd.DataFrame({'x': pd.Series(['a', 'b', 'c'])}, index=pd.date_range('20000101', periods=3)) x 2000-01-01 NaN 2000-01-02 NaN 2000-01-03 NaN >>> df = pd.DataFrame({'x': pd.Series(pd.Categorical(['a', 'b', 'c']))}, index=pd.date_range('20000101', periods=3)) >>> df <repr(<pandas.core.frame.DataFrame at 0x107f09f50>) failed: IndexError: Out of bounds on buffer access (axis 0)> >>> df.values --------------------------------------------------------------------------- IndexError Traceback (most recent call last) <ipython-input-13-e8bb9a30bd4f> in <module>() ----> 1 df.values /Users/shoyer/dev/pandas/pandas/core/generic.py in values(self) 2071 int32. 2072 """ -> 2073 return self.as_matrix() 2074 2075 @property /Users/shoyer/dev/pandas/pandas/core/generic.py in as_matrix(self, columns) 2053 self._consolidate_inplace() 2054 if self._AXIS_REVERSED: -> 2055 return self._data.as_matrix(columns).T 2056 return self._data.as_matrix(columns) 2057 /Users/shoyer/dev/pandas/pandas/core/internals.py in as_matrix(self, items) 2676 2677 if self._is_single_block or not self.is_mixed_type: -> 2678 return mgr.blocks[0].get_values() 2679 else: 2680 return mgr._interleave() /Users/shoyer/dev/pandas/pandas/core/internals.py in get_values(self, dtype) 1079 def get_values(self, dtype=None): 1080 """ need to to_dense myself (and always return a ndim sized object) """ -> 1081 values = self.values.to_dense() 1082 if values.ndim == self.ndim - 1: 1083 values = values.reshape((1,) + values.shape) /Users/shoyer/dev/pandas/pandas/core/categorical.py in to_dense(self) 683 def to_dense(self): 684 """ Return my 'dense' repr """ --> 685 return np.asarray(self) 686 687 def fillna(self, fill_value=None, method=None, limit=None, **kwargs): /Users/shoyer/miniconda/envs/pandas-dev/lib/python2.7/site-packages/numpy/core/numeric.pyc in asarray(a, dtype, order) 458 459 """ --> 460 return array(a, dtype, copy=False, order=order) 461 462 def asanyarray(a, dtype=None, order=None): /Users/shoyer/dev/pandas/pandas/core/categorical.py in __array__(self, dtype) 484 dtype as categorical.levels.dtype 485 """ --> 486 ret = com.take_1d(self.levels.values, self._codes) 487 if dtype and dtype != self.levels.dtype: 488 return np.asarray(ret, dtype) /Users/shoyer/dev/pandas/pandas/core/common.py in take_nd(arr, indexer, axis, out, fill_value, mask_info, allow_fill) 805 axis=axis, mask_info=mask_info) 806 --> 807 func(arr, indexer, out, fill_value) 808 809 if flip_order: /Users/shoyer/dev/pandas/pandas/algos.so in pandas.algos.take_1d_object_object (pandas/algos.c:78943)() IndexError: Out of bounds on buffer access (axis 0) ``` This is on master.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8076/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8076/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8077
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8077/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8077/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8077/events
https://github.com/pandas-dev/pandas/issues/8077
40,671,317
MDU6SXNzdWU0MDY3MTMxNw==
8,077
API: update pd.cut with the new categorical integration
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e11d21", "default": false, "description": "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": "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-08-20T07:47:55Z
2014-09-29T13:04:23Z
2014-09-25T22:16:08Z
MEMBER
null
xref #8074. Some issues about `pd.cut/qcut` (http://pandas.pydata.org/pandas-docs/stable/generated/pandas.cut.html#pandas.cut): - If the input is a Series, also return a Series? - The produced categorical is not ordered, while the `Categorical` constructor is by default. Also in the case of `cut` it seems logical that it would be ordered? - The docstring of cut makes use of `labels`, but I think here the individual categories are meant, and not the numerical representation (codes) (still another use of `labels`, good we changed that name! :-)), but I am not fully sure of the explanation: - "Labels to use for bin edges" -> why the 'edges'? Are it not just the labels for the bins itself? (this sets what we now call the 'levels'): ``` In [23]: pd.cut([1,2,3,4], bins=3, labels=['a', 'b', 'c']) Out[23]: a a b c Levels (3, object): [a, b, c] ``` - "or False to return integer bin labels" -> this is what now is called 'codes'? - should we rename this to `levels/categories`?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8077/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8077/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8078
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8078/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8078/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8078/events
https://github.com/pandas-dev/pandas/issues/8078
40,700,501
MDU6SXNzdWU0MDcwMDUwMQ==
8,078
Second Categorical fixups
{ "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": "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": "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" }
3
2014-08-20T13:54:44Z
2014-09-28T11:10:48Z
2014-09-25T22:17:05Z
CONTRIBUTOR
null
Docs: - [x] `np.asarray(s2.cat)` -> `np.asarray(s2)` - [x] `Series(.....dtype='categorical')` example, #8075 - [x] Add docstring about internal useage to to_dense and from_array - [x] go through the docs and change levels -> categories - [x] clarify docs on usage of `Categorical` (public API restricted to creation (to specify levels/ordered, or to put in dataframe) don't use its methods/properties (-> `s.cat` is for that), apart from `from_codes` and maybe in a "under the hood" section ) - [x] underline in categoriecal.rst Code - [x] `cut` fixups, see #8077 - [x] change `__repr__` of `Categorical` (https://github.com/pydata/pandas/issues/8074#issuecomment-52778675) - [x] rename `levels` -> `categories`; add FutureWarning if levels is used in constructor and accessor - [x] `reorder_levels` and `remove_unused_levels` not inplace by default (and add `inplace` keyword, default False) - [x] `s.unique()` should return an array instead of index (-> np.asarray(self.levels)) - [x] Add `Series.cat.codes` (wrapped into a Series) - [x] remove `compat` kwarg (+ update docs on this -> use `from_codes`) - [x] add rename/add/remove/reorder only methods and a "takes it all" method (probably `set_levels(new_levels, rename=False)` - [x] make assigning to `categories` strict (no additions/removals) - [x] fix for Problem in https://github.com/pydata/pandas/issues/8138 - [x] Failing Test on python 3.4
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8078/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8078/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8079
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8079/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8079/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8079/events
https://github.com/pandas-dev/pandas/pull/8079
40,710,457
MDExOlB1bGxSZXF1ZXN0MjAwNTIzOTU=
8,079
PERF: StataWriter is slow
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "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_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" } ]
closed
false
null
[]
{ "closed_at": "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-08-20T15:27:40Z
2014-08-22T15:42:17Z
2014-08-21T14:26:34Z
CONTRIBUTOR
null
StataWriter wrote data using scalar operations. This has been replaced using numpy's internal binary writer (tofile). Changes needed to improve performance include: - Vectorized pandas date to Stata date conversion - Vectorized null padding - Conversion to record array When data contain strings, the old writing paths are still used.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8079/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8079/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8079.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8079", "merged_at": "2014-08-21T14:26:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8079.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8079" }
https://api.github.com/repos/pandas-dev/pandas/issues/8080
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8080/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8080/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8080/events
https://github.com/pandas-dev/pandas/issues/8080
40,722,297
MDU6SXNzdWU0MDcyMjI5Nw==
8,080
BUG: expanding/rolling_apply() interpret min_periods=0 as min_periods=1
{ "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" }
[]
closed
false
null
[]
null
0
2014-08-20T17:23:17Z
2014-08-28T17:34:49Z
2014-08-28T17:34:49Z
CONTRIBUTOR
null
`expanding/rolling_apply()` interpret `min_periods=0` as `min_periods=1`. This is _usually_ ok, as almost every function will return `NaN` when the inputs are all `NaN`. However, this is not true, for example, of functions like `len()`. For example, I think that in the following calls, the results should be `1, 2, 2` and `1, 2, 3`, respectively. ``` In [409]: rolling_apply(Series([None, None, None]), 2, lambda x: len(x), min_periods=0) Out[409]: 0 NaN 1 NaN 2 NaN dtype: float64 In [411]: expanding_apply(Series([None, None, None]), lambda x: len(x), min_periods=0) Out[411]: 0 NaN 1 NaN 2 NaN 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/8080/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8080/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8081
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8081/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8081/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8081/events
https://github.com/pandas-dev/pandas/issues/8081
40,723,326
MDU6SXNzdWU0MDcyMzMyNg==
8,081
BUG: scatter plot with error bars broken on master
{ "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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2014-08-20T17:33:54Z
2014-09-05T16:16:34Z
2014-09-05T16:16:34Z
MEMBER
null
This example works on 0.14.1 but not master: ``` %matplotlib inline import numpy as np import pandas as pd np.random.seed(12345) df = pd.DataFrame(np.random.rand(10, 5), columns=['a', 'b', 'c', 'd', 'e']) df.plot(x='a', y='b', xerr='c', yerr='d', kind='scatter') ``` I get: ``` --------------------------------------------------------------------------- IndexError Traceback (most recent call last) <ipython-input-1-38e437a109be> in <module>() 4 np.random.seed(12345) 5 df = pd.DataFrame(np.random.rand(10, 5), columns=['a', 'b', 'c', 'd', 'e']) ----> 6 df.plot(x='a', y='b', xerr='c', yerr='d', kind='scatter') /Users/shoyer/dev/pandas/pandas/tools/plotting.pyc in plot_frame(frame, x, y, subplots, sharex, sharey, use_index, figsize, grid, legend, rot, ax, style, title, xlim, ylim, logx, logy, xticks, yticks, kind, sort_columns, fontsize, secondary_y, layout, **kwds) 2223 secondary_y=secondary_y, layout=layout, **kwds) 2224 -> 2225 plot_obj.generate() 2226 plot_obj.draw() 2227 return plot_obj.result /Users/shoyer/dev/pandas/pandas/tools/plotting.pyc in generate(self) 911 self._compute_plot_data() 912 self._setup_subplots() --> 913 self._make_plot() 914 self._add_table() 915 self._make_legend() /Users/shoyer/dev/pandas/pandas/tools/plotting.pyc in _make_plot(self) 1402 1403 errors_x = self._get_errorbars(label=x, index=0, yerr=False) -> 1404 errors_y = self._get_errorbars(label=y, index=1, xerr=False) 1405 if len(errors_x) > 0 or len(errors_y) > 0: 1406 err_kwds = dict(errors_x, **errors_y) /Users/shoyer/dev/pandas/pandas/tools/plotting.pyc in _get_errorbars(self, label, index, xerr, yerr) 1362 err = None 1363 elif index is not None and err is not None: -> 1364 err = err[index] 1365 1366 if err is not None: IndexError: index 1 is out of bounds for axis 0 with size 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/8081/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8081/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8082
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8082/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8082/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8082/events
https://github.com/pandas-dev/pandas/issues/8082
40,737,171
MDU6SXNzdWU0MDczNzE3MQ==
8,082
'labels' as a DataFrame column name in version 0.14.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/961944?v=4", "events_url": "https://api.github.com/users/FragLegs/events{/privacy}", "followers_url": "https://api.github.com/users/FragLegs/followers", "following_url": "https://api.github.com/users/FragLegs/following{/other_user}", "gists_url": "https://api.github.com/users/FragLegs/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/FragLegs", "id": 961944, "login": "FragLegs", "node_id": "MDQ6VXNlcjk2MTk0NA==", "organizations_url": "https://api.github.com/users/FragLegs/orgs", "received_events_url": "https://api.github.com/users/FragLegs/received_events", "repos_url": "https://api.github.com/users/FragLegs/repos", "site_admin": false, "starred_url": "https://api.github.com/users/FragLegs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FragLegs/subscriptions", "type": "User", "url": "https://api.github.com/users/FragLegs" }
[ { "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" }
2
2014-08-20T19:46:36Z
2014-09-13T22:47:12Z
2014-09-13T22:47:12Z
CONTRIBUTOR
null
I'm not sure if this qualifies as a bug, but it is a change that occurred between 0.13.1 and 0.14.1. In 0.14.1, if I have a DataFrame with a column named 'labels', I get the following error when trying to access it as an attribute of the DataFrame: ``` >>> df = pandas.DataFrame(columns=['labels']) >>> df['labels'] Series([], name: labels, dtype: object) >>> df.labels Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/<virtual_env>/local/lib/python2.7/site-packages/pandas/core/generic.py", line 1836, in __getattr__ return object.__getattribute__(self, name) AttributeError: 'DataFrame' object has no attribute 'labels' ``` In 0.13.1, this code did not throw an error. This is with Python 2.7.6.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8082/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8082/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8083
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8083/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8083/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8083/events
https://github.com/pandas-dev/pandas/pull/8083
40,740,531
MDExOlB1bGxSZXF1ZXN0MjAwNzExOTk=
8,083
BUG: When creating table, db indexes should be created from DataFrame indexes
{ "avatar_url": "https://avatars.githubusercontent.com/u/833768?v=4", "events_url": "https://api.github.com/users/artemyk/events{/privacy}", "followers_url": "https://api.github.com/users/artemyk/followers", "following_url": "https://api.github.com/users/artemyk/following{/other_user}", "gists_url": "https://api.github.com/users/artemyk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/artemyk", "id": 833768, "login": "artemyk", "node_id": "MDQ6VXNlcjgzMzc2OA==", "organizations_url": "https://api.github.com/users/artemyk/orgs", "received_events_url": "https://api.github.com/users/artemyk/received_events", "repos_url": "https://api.github.com/users/artemyk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/artemyk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/artemyk/subscriptions", "type": "User", "url": "https://api.github.com/users/artemyk" }
[ { "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-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" }
23
2014-08-20T20:23:36Z
2014-09-14T10:42:50Z
2014-09-11T06:33:17Z
CONTRIBUTOR
null
Unfortunately my PR #8022 introduced a bug wherein database indexes are not created from DataFrame indexes. This pull request fixes it, also introduces this feature for the legacy interface, and adds tests to make sure indexes are created as appropriate.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8083/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8083/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8083.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8083", "merged_at": "2014-09-11T06:33:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8083.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8083" }
https://api.github.com/repos/pandas-dev/pandas/issues/8084
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8084/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8084/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8084/events
https://github.com/pandas-dev/pandas/issues/8084
40,757,269
MDU6SXNzdWU0MDc1NzI2OQ==
8,084
BUG: expanding/rolling_quantile() inconsistent with Series.quantile()
{ "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": "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" }, { "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": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
4
2014-08-20T23:36:45Z
2017-05-03T10:11:25Z
2017-05-03T10:11:18Z
CONTRIBUTOR
null
It appears that `Series.quantile()` interpolates between the two bracketing values, whereas `expanding/rolling_quantile()` don't. ``` In [496]: x = Series([0,1]) In [497]: x.quantile(0.3) Out[497]: 0.29999999999999999 In [498]: expanding_quantile(x, 0.3) Out[498]: 0 0 1 0 dtype: float64 In [499]: rolling_quantile(x, 2, 0.3, min_periods=1) Out[499]: 0 0 1 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/8084/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8084/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8085
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8085/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8085/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8085/events
https://github.com/pandas-dev/pandas/pull/8085
40,760,514
MDExOlB1bGxSZXF1ZXN0MjAwODM0NzM=
8,085
CLN: PEP8 cleanup of holiday.py
{ "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "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" }
1
2014-08-21T00:26:22Z
2015-04-25T23:33:55Z
2014-08-22T12:21:56Z
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/8085/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8085/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8085.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8085", "merged_at": "2014-08-22T12:21:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8085.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8085" }
https://api.github.com/repos/pandas-dev/pandas/issues/8086
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8086/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8086/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8086/events
https://github.com/pandas-dev/pandas/issues/8086
40,763,951
MDU6SXNzdWU0MDc2Mzk1MQ==
8,086
BUG: expanding/rolling_skew/kurt() inconsistent with Series.skew/kurt()
{ "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
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" }
17
2014-08-21T01:13:34Z
2018-07-06T22:56:35Z
2018-07-06T22:56:29Z
CONTRIBUTOR
null
Note that for a constant series, `Series.skew()` returns `0`, while `rolling/expanding_skew()` return `NaN`. ``` In [532]: s = Series([1]*4) In [533]: s.skew() Out[533]: 0 In [534]: expanding_skew(s) Out[534]: 0 NaN 1 NaN 2 NaN 3 NaN dtype: float64 In [535]: rolling_skew(s, 4) Out[535]: 0 NaN 1 NaN 2 NaN 3 NaN dtype: float64 ``` While `rolling/expanding_kurt()` similarly return `NaN` for a constant series, `Series.kurt()` produces an error. ``` In [541]: expanding_kurt(s) Out[541]: 0 NaN 1 NaN 2 NaN 3 NaN dtype: float64 In [542]: rolling_kurt(s, 4) Out[542]: 0 NaN 1 NaN 2 NaN 3 NaN dtype: float64 In [543]: s.kurt() --------------------------------------------------------------------------- ZeroDivisionError Traceback (most recent call last) <ipython-input-543-e41f2ec435bd> in <module>() ----> 1 s.kurt() C:\Python34\lib\site-packages\pandas\core\generic.py in stat_func(self, axis, skipna, level, numeric_only, **kwargs) 3783 skipna=skipna) 3784 return self._reduce(f, axis=axis, -> 3785 skipna=skipna, numeric_only=numeric_only) 3786 stat_func.__name__ = name 3787 return stat_func C:\Python34\lib\site-packages\pandas\core\series.py in _reduce(self, op, axis, skipna, numeric_only, filter_type, **kwds) 2007 filter_type=None, **kwds): 2008 """ perform a reduction operation """ -> 2009 return op(_values_from_object(self), skipna=skipna, **kwds) 2010 2011 def _reindex_indexer(self, new_index, indexer, copy): C:\Python34\lib\site-packages\pandas\core\nanops.py in _f(*args, **kwargs) 46 'this dtype'.format(f.__name__.replace('nan', 47 ''))) ---> 48 return f(*args, **kwargs) 49 return _f 50 C:\Python34\lib\site-packages\pandas\core\nanops.py in nankurt(values, axis, skipna) 504 D = _zero_out_fperr(D) 505 --> 506 result = (((count * count - 1.) * D / (B * B) - 3 * ((count - 1.) ** 2)) / 507 ((count - 2.) * (count - 3.))) 508 if isinstance(result, np.ndarray): ZeroDivisionError: float division by zero ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8086/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8086/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8087
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8087/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8087/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8087/events
https://github.com/pandas-dev/pandas/issues/8087
40,774,390
MDU6SXNzdWU0MDc3NDM5MA==
8,087
Problem writing to SQL db with DataFrame column names as numbers
{ "avatar_url": "https://avatars.githubusercontent.com/u/361447?v=4", "events_url": "https://api.github.com/users/klonuo/events{/privacy}", "followers_url": "https://api.github.com/users/klonuo/followers", "following_url": "https://api.github.com/users/klonuo/following{/other_user}", "gists_url": "https://api.github.com/users/klonuo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/klonuo", "id": 361447, "login": "klonuo", "node_id": "MDQ6VXNlcjM2MTQ0Nw==", "organizations_url": "https://api.github.com/users/klonuo/orgs", "received_events_url": "https://api.github.com/users/klonuo/received_events", "repos_url": "https://api.github.com/users/klonuo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/klonuo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/klonuo/subscriptions", "type": "User", "url": "https://api.github.com/users/klonuo" }
[ { "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-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" }
5
2014-08-21T05:42:51Z
2014-08-21T08:08:31Z
2014-08-21T08:07:28Z
CONTRIBUTOR
null
Example: ``` python import numpy as np import pandas as pd from sqlalchemy import create_engine engine = create_engine('mssql+pyodbc://localhost\\sqlexpress/test') x1 = pd.DataFrame(np.random.rand(5,3)) x2 = pd.DataFrame(np.random.rand(5,3), columns=['0', '1', '2']) x1.to_sql('x1', con=engine) x2.to_sql('x2', con=engine) ``` which creates these two tables with same column names (numbers as string) but different contents: **x1**: ``` index 0 1 2 0 NULL NULL NULL 1 NULL NULL NULL 2 NULL NULL NULL 3 NULL NULL NULL 4 NULL NULL NULL ``` **x2**: ``` index 0 1 2 0 0.749669142411769 0.120300003868206 0.424437055115581 1 0.205079144551286 0.977461912401449 0.480845560482874 2 0.635489979788438 0.0149051603743131 0.469838520671857 3 0.765853984144486 0.927480038225488 0.665683952437241 4 0.0688135748993546 0.990064095395479 0.921328636417753 ``` So `x1` table and `x2` table have same column names, and as expected I can change the values in `x1` with sql query, but pandas seems to failed in instructing sqlalchemy to write the data in `x1` 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/8087/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8087/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8088
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8088/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8088/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8088/events
https://github.com/pandas-dev/pandas/issues/8088
40,782,513
MDU6SXNzdWU0MDc4MjUxMw==
8,088
Write Null values to mssql table
{ "avatar_url": "https://avatars.githubusercontent.com/u/361447?v=4", "events_url": "https://api.github.com/users/klonuo/events{/privacy}", "followers_url": "https://api.github.com/users/klonuo/followers", "following_url": "https://api.github.com/users/klonuo/following{/other_user}", "gists_url": "https://api.github.com/users/klonuo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/klonuo", "id": 361447, "login": "klonuo", "node_id": "MDQ6VXNlcjM2MTQ0Nw==", "organizations_url": "https://api.github.com/users/klonuo/orgs", "received_events_url": "https://api.github.com/users/klonuo/received_events", "repos_url": "https://api.github.com/users/klonuo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/klonuo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/klonuo/subscriptions", "type": "User", "url": "https://api.github.com/users/klonuo" }
[]
closed
false
null
[]
null
7
2014-08-21T08:23:46Z
2014-08-21T12:31:02Z
2014-08-21T12:21:08Z
CONTRIBUTOR
null
This issue is covered at several places, but it doesn't seem there is a solution for mssql. Referencing https://github.com/pydata/pandas/issues/4199 Example: ``` python import numpy as np import pandas as pd from sqlalchemy import create_engine pg_engine = create_engine('postgresql://postgres:*pass*@localhost:5432/test') ms_engine = create_engine('mssql+pyodbc://localhost\\sqlexpress/test') df = pd.DataFrame(np.random.rand(5,3)) df = df.where(df < .5, None) df.to_sql('x', con=pg_engine) df.to_sql('x', con=ms_engine) ``` This script created successfully postgres table but fails at mssql: ``` DataError: (DataError) ( '22018', '[22018] [Microsoft][ODBC SQL Server Driver][SQL Server] Operand type clash: float is incompatible with text (206) (SQLExecDirectW); [42000] [Microsoft][ODBC SQL Server Driver][SQL Server] Statement(s) could not be prepared. (8180)' ) u'INSERT INTO x ([index], [0], [1], [2]) VALUES (?, ?, ?, ?)' ( (0L, 0.30160831834724133, None, 0.3381303856312915), (1L, 0.15675955874181347, None, None), (2L, None, None, 0.4913946391341001), (3L, 0.47313398459868405, 0.41395730103112083, 0.024404123661447397), (4L, 0.02599871607241755, 0.0038944154716251678, None) ) ``` Full trace: https://gist.github.com/51dd8360a938dece9f28 pandas: 0.14.1 sqlalchemy: 0.9.7
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8088/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8088/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8089
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8089/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8089/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8089/events
https://github.com/pandas-dev/pandas/issues/8089
40,809,534
MDU6SXNzdWU0MDgwOTUzNA==
8,089
TST: yahoo test fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "e4a5f1", "default": false, "description": "Local or Cloud (AWS, GCS, etc.) IO Issues", "id": 49381477, "name": "IO Network", "node_id": "MDU6TGFiZWw0OTM4MTQ3Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Network" } ]
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" }
1
2014-08-21T14:26:06Z
2014-09-09T23:47:52Z
2014-09-09T23:47:52Z
CONTRIBUTOR
null
https://travis-ci.org/pydata/pandas/jobs/33171916
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8089/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8089/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8090
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8090/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8090/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8090/events
https://github.com/pandas-dev/pandas/pull/8090
40,893,577
MDExOlB1bGxSZXF1ZXN0MjAxNjE3MjQ=
8,090
ENH: add support for datetime.date/time in to_sql (GH6932)
{ "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": "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-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" }
4
2014-08-22T09:41:46Z
2014-08-28T07:06:21Z
2014-08-28T07:03:43Z
MEMBER
null
Closes #6932 Support for writing `datetime.date` and `datetime.time` object columns with `to_sql`. Works nicely for the sqlalchemy mode, for sqlite fallback it writes OK for `datetime.date`, but comes back as object strings (this is also the case for datetime) Remaining question: - when reading the data back in `TIME` columns are converted back to `datetime.time`, but `DATE` columns are converted to `datetime64` and not `datetime.date`. Is this OK? Or better try to convert to `datetime.date`? - `datetime.time` does not work with sqlite fallback for some reason (`datetime.date` does)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8090/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8090/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8090.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8090", "merged_at": "2014-08-28T07:03:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8090.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8090" }
https://api.github.com/repos/pandas-dev/pandas/issues/8091
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8091/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8091/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8091/events
https://github.com/pandas-dev/pandas/issues/8091
40,902,779
MDU6SXNzdWU0MDkwMjc3OQ==
8,091
TST: failing box plot tests on windows
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" } ]
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" }
1
2014-08-22T12:10:07Z
2014-08-25T05:47:44Z
2014-08-25T05:47:44Z
CONTRIBUTOR
null
These are failing on 34-64 and 33-32 ``` ====================================================================== ERROR: test_boxplot (pandas.tests.test_graphics.TestDataFrameGroupByPlots) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 2629, in test_boxplot self._check_axes_shape(axes.values(), axes_num=2, layout=(1, 2)) File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 302, in _check_axes_shape visible_axes = self._flatten_visible(axes) File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 337, in _flatten_visible axes = [ax for ax in axes if ax.get_visible()] TypeError: iteration over a 0-d array ====================================================================== ERROR: test_grouped_box_multiple_axes (pandas.tests.test_graphics.TestDataFrameGroupByPlots) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 2827, in test_grouped_box_multiple_axes self._check_axes_shape(returned, axes_num=3, layout=(1, 3)) File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 302, in _check_axes_shape visible_axes = self._flatten_visible(axes) File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 337, in _flatten_visible axes = [ax for ax in axes if ax.get_visible()] File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 337, in <listcomp> axes = [ax for ax in axes if ax.get_visible()] AttributeError: 'ValuesView' object has no attribute 'get_visible' ---------------------------------------------------------------------- Ran 7627 tests in 1222.636s FAILED (SKIP=368, errors=2) C:\Users\Jeff Reback\Documents\GitHub\pandas>more versions.33-32.log INSTALLED VERSIONS ------------------ commit: None python: 3.3.3.final.0 python-bits: 32 OS: Windows OS-release: 7 machine: AMD64 processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel byteorder: little LC_ALL: None LANG: None pandas: 0.12.0 nose: 1.3.0 Cython: 0.19.2 numpy: 1.8.0 scipy: 0.13.1 statsmodels: 0.5.0 IPython: 1.1.0 sphinx: None patsy: 0.2.1 scikits.timeseries: None dateutil: 2.2 pytz: 2013.8 bottleneck: 0.7.0 tables: 3.0.0 numexpr: 2.2.2 matplotlib: 1.3.1 openpyxl: None xlrd: None xlwt: None xlsxwriter: None lxml: None bs4: None html5lib: None httplib2: None apiclient: None rpy2: None sqlalchemy: 0.9.3 pymysql: 0.6.1.None psycopg2: 2.5.2 (dt dec pq3 ext) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8091/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8091/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8092
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8092/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8092/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8092/events
https://github.com/pandas-dev/pandas/issues/8092
40,904,573
MDU6SXNzdWU0MDkwNDU3Mw==
8,092
.at and .iat indexing with Float64Index
{ "avatar_url": "https://avatars.githubusercontent.com/u/5391758?v=4", "events_url": "https://api.github.com/users/IanSudbery/events{/privacy}", "followers_url": "https://api.github.com/users/IanSudbery/followers", "following_url": "https://api.github.com/users/IanSudbery/following{/other_user}", "gists_url": "https://api.github.com/users/IanSudbery/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/IanSudbery", "id": 5391758, "login": "IanSudbery", "node_id": "MDQ6VXNlcjUzOTE3NTg=", "organizations_url": "https://api.github.com/users/IanSudbery/orgs", "received_events_url": "https://api.github.com/users/IanSudbery/received_events", "repos_url": "https://api.github.com/users/IanSudbery/repos", "site_admin": false, "starred_url": "https://api.github.com/users/IanSudbery/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/IanSudbery/subscriptions", "type": "User", "url": "https://api.github.com/users/IanSudbery" }
[ { "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": "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" }
2
2014-08-22T12:39:14Z
2016-10-12T23:05:07Z
2014-08-22T15:04:25Z
NONE
null
Using .at and .iat indexing with a Float64Index produces an error: ``` python In [0]: import pandas as pd In [1]: s = pd.Series([1,2,3], index = [0.1,0.2,0.3]) In [2]: s.at[0.1] --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-9-a5888722fbca> in <module>() ----> 1 s.at[0.1] /ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/pandas/core/indexing.pyc in __getitem__(self, key) 1264 1265 key = self._convert_key(key) -> 1266 return self.obj.get_value(*key) 1267 1268 def __setitem__(self, key, value): /ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/pandas/core/series.pyc in get_value(self, label) 778 value : scalar value 779 """ --> 780 return self.index.get_value(self.values, label) 781 782 def set_value(self, label, value): /ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/pandas/core/index.pyc in get_value(self, series, key) 1821 k = _values_from_object(key) 1822 loc = self.get_loc(k) -> 1823 new_values = series.values[loc] 1824 if np.isscalar(new_values): 1825 return new_values AttributeError: 'numpy.ndarray' object has no attribute 'values' In [3]: s.iat[1] --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-10-db1ebf8cc8e6> in <module>() ----> 1 s.iat[1] /ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/pandas/core/indexing.pyc in __getitem__(self, key) 1264 1265 key = self._convert_key(key) -> 1266 return self.obj.get_value(*key) 1267 1268 def __setitem__(self, key, value): /ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/pandas/core/series.pyc in get_value(self, label) 778 value : scalar value 779 """ --> 780 return self.index.get_value(self.values, label) 781 782 def set_value(self, label, value): /ifs/apps/apps/python-2.7.1/lib/python2.7/site-packages/pandas/core/index.pyc in get_value(self, series, key) 1821 k = _values_from_object(key) 1822 loc = self.get_loc(k) -> 1823 new_values = series.values[loc] 1824 if np.isscalar(new_values): 1825 return new_values AttributeError: 'numpy.ndarray' object has no attribute 'values' ``` I'm not sure if this is intended behavoir. The docs only talk about [], loc, iloc and ix indexing with Float64Index, but if so, perhaps a more useful error message would be in order. I wasn't even aware my index was Float64. Its gotten changed at some point without me being aware of it.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8092/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8092/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8093
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8093/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8093/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8093/events
https://github.com/pandas-dev/pandas/issues/8093
40,908,429
MDU6SXNzdWU0MDkwODQyOQ==
8,093
BUG: Group-by on an empty data object dtype loses the index name (cython aggregation is ok)
{ "avatar_url": "https://avatars.githubusercontent.com/u/2685926?v=4", "events_url": "https://api.github.com/users/carterk/events{/privacy}", "followers_url": "https://api.github.com/users/carterk/followers", "following_url": "https://api.github.com/users/carterk/following{/other_user}", "gists_url": "https://api.github.com/users/carterk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/carterk", "id": 2685926, "login": "carterk", "node_id": "MDQ6VXNlcjI2ODU5MjY=", "organizations_url": "https://api.github.com/users/carterk/orgs", "received_events_url": "https://api.github.com/users/carterk/received_events", "repos_url": "https://api.github.com/users/carterk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/carterk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/carterk/subscriptions", "type": "User", "url": "https://api.github.com/users/carterk" }
[ { "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": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": "2018-05-16T03:09:58Z", "closed_issues": 1645, "created_at": "2017-10-20T10:17:09Z", "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.22", "due_on": "2018-05-15T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/53", "id": 2853937, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels", "node_id": "MDk6TWlsZXN0b25lMjg1MzkzNw==", "number": 53, "open_issues": 0, "state": "closed", "title": "0.23.0", "updated_at": "2018-08-20T06:48:57Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/53" }
15
2014-08-22T13:32:06Z
2017-11-04T14:43:07Z
2017-11-04T14:43:07Z
NONE
null
If `pd.read_sql` is used to load a data frame with the results of an SQL query that returns no results, the columns in the data frame will be of type 'object'. That type cannot be aggregated, so a subsequent group-by operation on that empty data frame will drop all the columns. So instead of 'profit' in the below example being an empty series, an attribute error is thrown because the columns 'revenue' and 'expenses' cannot be found in the data frame. Two things I can think of that could fix this: 1) Have `pd.read_sql` populate the data frame with empty columns of the correct type even if the SQL query returns no results. Then the group-by would not drop the columns because they are of a type that can be aggregated. 2) Have an option in `groupby` to not drop columns of types that cannot be aggregated: maybe a drop_non_agg flag. I think not dropping columns of types that cannot be aggregated should be the default behaviour. Columns with data that cannot be aggregated can just be populated with null after a group-by. I think 1) probably should be implemented, and 2) is kind of a design decision. You can run this code to reproduce the issue. ``` python import pandas as pd import sqlite3 as lite import sys finance = ( (2, 132, 65), (6, 142, 86), (3, 183, 34), (3, 147, 46) ) con = lite.connect('test.db') cur = con.cursor() cur.execute("DROP TABLE IF EXISTS finance") cur.execute("CREATE TABLE finance(day_of_week INT, revenue FLOAT, expenses FLOAT)") cur.executemany("INSERT INTO finance VALUES(?, ?, ?)", finance) # remove the 'WHERE' clause, and the error won't be thrown my_query = ''' SELECT * FROM finance WHERE day_of_week = 5 ''' df = pd.read_sql(my_query, con) df_gb = df[df.day_of_week == 5].groupby('day_of_week').sum().reset_index() profit = df_gb.revenue - df_gb.expenses # AttributeError thrown here ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8093/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8093/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8094
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8094/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8094/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8094/events
https://github.com/pandas-dev/pandas/pull/8094
40,911,162
MDExOlB1bGxSZXF1ZXN0MjAxNzMyMTI=
8,094
BUG: fix iat and at for Float64Index
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/417981?v=4", "events_url": "https://api.github.com/users/cpcloud/events{/privacy}", "followers_url": "https://api.github.com/users/cpcloud/followers", "following_url": "https://api.github.com/users/cpcloud/following{/other_user}", "gists_url": "https://api.github.com/users/cpcloud/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cpcloud", "id": 417981, "login": "cpcloud", "node_id": "MDQ6VXNlcjQxNzk4MQ==", "organizations_url": "https://api.github.com/users/cpcloud/orgs", "received_events_url": "https://api.github.com/users/cpcloud/received_events", "repos_url": "https://api.github.com/users/cpcloud/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cpcloud/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cpcloud/subscriptions", "type": "User", "url": "https://api.github.com/users/cpcloud" } ]
{ "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" }
2
2014-08-22T14:02:19Z
2014-08-22T15:04:27Z
2014-08-22T15:04:25Z
MEMBER
null
closes #8092
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8094/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8094/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8094.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8094", "merged_at": "2014-08-22T15:04:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8094.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8094" }
https://api.github.com/repos/pandas-dev/pandas/issues/8095
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8095/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8095/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8095/events
https://github.com/pandas-dev/pandas/issues/8095
40,912,321
MDU6SXNzdWU0MDkxMjMyMQ==
8,095
pandas 0.14.1 Excel Writer with 'excelwriter' engine cannot create a 2nd sheet
{ "avatar_url": "https://avatars.githubusercontent.com/u/3399933?v=4", "events_url": "https://api.github.com/users/numenic/events{/privacy}", "followers_url": "https://api.github.com/users/numenic/followers", "following_url": "https://api.github.com/users/numenic/following{/other_user}", "gists_url": "https://api.github.com/users/numenic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/numenic", "id": 3399933, "login": "numenic", "node_id": "MDQ6VXNlcjMzOTk5MzM=", "organizations_url": "https://api.github.com/users/numenic/orgs", "received_events_url": "https://api.github.com/users/numenic/received_events", "repos_url": "https://api.github.com/users/numenic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/numenic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/numenic/subscriptions", "type": "User", "url": "https://api.github.com/users/numenic" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
null
2
2014-08-22T14:15:53Z
2014-08-26T07:14:24Z
2014-08-26T07:14:24Z
NONE
null
When saving dataframe to Excel, and using "xlsxwriter", it cannot create a second sheet. Althought the second sheet appears in "writer.sheets", the excel file created do not show it. Python 2.7, Windows 7 ``` python >>> import pandas as pd >>> print(pd.__version__) 0.14.1 >>> df=pd.DataFrame({'a': [1,2,3], 'b':[4,5,6]}) >>> writer = pd.ExcelWriter('try_xlsxwriter.xlsx') >>> df.to_excel(writer, 'sheet1') >>> writer.save() # ok, perfect >>> df.to_excel(writer, 'sheet2') >>> writer.save() # nothing appears in the Excel file! >>> print 'engine: %s' % writer.engine engine: xlsxwriter >>> print 'sheets: %s'% writer.sheets.keys() # strangely, sheets look to be there though sheets: ['sheet1', 'sheet2'] ``` Using the "openpyxl" engine works as expected. ``` python >>> writer = pd.ExcelWriter('try_openpyxl.xlsx', engine='openpyxl') >>> df.to_excel(writer, 'sheet1') >>> writer.save() # This works >>> df.to_excel(writer, 'sheet2') >>> writer.save() # This works too! >>> print 'engine: %s' % writer.engine engine: openpyxl >>> print 'sheets: %s'% writer.sheets.keys() sheets: ['sheet1', 'sheet2'] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8095/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8095/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8096
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8096/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8096/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8096/events
https://github.com/pandas-dev/pandas/issues/8096
40,938,337
MDU6SXNzdWU0MDkzODMzNw==
8,096
pandas.io.data doesn't work with hyphenated ticker names
{ "avatar_url": "https://avatars.githubusercontent.com/u/1029926?v=4", "events_url": "https://api.github.com/users/gaurav1086/events{/privacy}", "followers_url": "https://api.github.com/users/gaurav1086/followers", "following_url": "https://api.github.com/users/gaurav1086/following{/other_user}", "gists_url": "https://api.github.com/users/gaurav1086/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gaurav1086", "id": 1029926, "login": "gaurav1086", "node_id": "MDQ6VXNlcjEwMjk5MjY=", "organizations_url": "https://api.github.com/users/gaurav1086/orgs", "received_events_url": "https://api.github.com/users/gaurav1086/received_events", "repos_url": "https://api.github.com/users/gaurav1086/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gaurav1086/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gaurav1086/subscriptions", "type": "User", "url": "https://api.github.com/users/gaurav1086" }
[]
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" }
4
2014-08-22T18:47:30Z
2015-03-08T17:01:20Z
2015-03-08T17:01:11Z
NONE
null
Noticed that the pandas.io.data doesn't return the Data Frame on tickers having a '-' in the ticker name , for example: HINDUNILVR-EQ.NS, TATA-MOTORS.NS . Any ideas ?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8096/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8096/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8097
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8097/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8097/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8097/events
https://github.com/pandas-dev/pandas/issues/8097
40,944,013
MDU6SXNzdWU0MDk0NDAxMw==
8,097
SQL: issues with get_schema
{ "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": "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-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" }
2
2014-08-22T19:50:23Z
2014-09-15T21:43:01Z
2014-09-15T21:43:01Z
MEMBER
null
- using `get_schema` in sqlalchemy mode (providing an engine) does also create the table, while just getting the create table string should not have any effects. - the `get_schema` implementation for fallback duplicates a lot of code of `PandasSQLTableLegacy._create_table_statement`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8097/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8097/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/8098
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8098/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8098/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8098/events
https://github.com/pandas-dev/pandas/pull/8098
40,965,371
MDExOlB1bGxSZXF1ZXN0MjAyMDU2NDQ=
8,098
TST: Fix boxplot test for python3
{ "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" }
[]
closed
false
null
[]
null
1
2014-08-23T02:40:35Z
2014-08-30T01:18:56Z
2014-08-25T05:47:44Z
MEMBER
null
Closes #8091.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8098/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8098/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8098.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8098", "merged_at": "2014-08-25T05:47:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8098.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8098" }
https://api.github.com/repos/pandas-dev/pandas/issues/8099
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8099/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8099/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8099/events
https://github.com/pandas-dev/pandas/pull/8099
40,965,422
MDExOlB1bGxSZXF1ZXN0MjAyMDU2NjQ=
8,099
TST: Fix timezone test to avoit dateutil issue
{ "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": "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": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" }, { "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": "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" }
4
2014-08-23T02:43:18Z
2014-08-30T01:18:38Z
2014-08-29T20:37:06Z
MEMBER
null
Closes #7993.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8099/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8099/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8099.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8099", "merged_at": "2014-08-29T20:37:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/8099.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8099" }
https://api.github.com/repos/pandas-dev/pandas/issues/8100
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/8100/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/8100/comments
https://api.github.com/repos/pandas-dev/pandas/issues/8100/events
https://github.com/pandas-dev/pandas/pull/8100
40,965,668
MDExOlB1bGxSZXF1ZXN0MjAyMDU3ODE=
8,100
Added warning about attribute access on 'reserved' words
{ "avatar_url": "https://avatars.githubusercontent.com/u/961944?v=4", "events_url": "https://api.github.com/users/FragLegs/events{/privacy}", "followers_url": "https://api.github.com/users/FragLegs/followers", "following_url": "https://api.github.com/users/FragLegs/following{/other_user}", "gists_url": "https://api.github.com/users/FragLegs/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/FragLegs", "id": 961944, "login": "FragLegs", "node_id": "MDQ6VXNlcjk2MTk0NA==", "organizations_url": "https://api.github.com/users/FragLegs/orgs", "received_events_url": "https://api.github.com/users/FragLegs/received_events", "repos_url": "https://api.github.com/users/FragLegs/repos", "site_admin": false, "starred_url": "https://api.github.com/users/FragLegs/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/FragLegs/subscriptions", "type": "User", "url": "https://api.github.com/users/FragLegs" }
[ { "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" }
7
2014-08-23T03:00:19Z
2014-09-13T22:47:12Z
2014-09-13T22:47:00Z
CONTRIBUTOR
null
closes https://github.com/pydata/pandas/issues/8082
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/8100/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/8100/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/8100.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/8100", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/8100.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/8100" }