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/3701
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3701/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3701/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3701/events
https://github.com/pandas-dev/pandas/pull/3701
14,820,628
MDExOlB1bGxSZXF1ZXN0NTk1NTA4Nw==
3,701
BUG: DataFrame.to_csv fails silently if nanRep not None
{ "avatar_url": "https://avatars.githubusercontent.com/u/173889?v=4", "events_url": "https://api.github.com/users/tdsmith/events{/privacy}", "followers_url": "https://api.github.com/users/tdsmith/followers", "following_url": "https://api.github.com/users/tdsmith/following{/other_user}", "gists_url": "https://api.github.com/users/tdsmith/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tdsmith", "id": 173889, "login": "tdsmith", "node_id": "MDQ6VXNlcjE3Mzg4OQ==", "organizations_url": "https://api.github.com/users/tdsmith/orgs", "received_events_url": "https://api.github.com/users/tdsmith/received_events", "repos_url": "https://api.github.com/users/tdsmith/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tdsmith/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tdsmith/subscriptions", "type": "User", "url": "https://api.github.com/users/tdsmith" }
[]
closed
false
null
[]
null
1
2013-05-28T05:14:38Z
2014-07-16T08:10:29Z
2013-05-30T01:10:17Z
CONTRIBUTOR
null
The nanRep argument to DataFrame.to_csv() is deprecated and na_rep should be used instead. .to_csv should succeed with a warning if nanRep is specified. Before this fix, to_csv threw a warning but did not save the file.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3701/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3701/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3701.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3701", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3701.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3701" }
https://api.github.com/repos/pandas-dev/pandas/issues/3702
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3702/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3702/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3702/events
https://github.com/pandas-dev/pandas/pull/3702
14,851,407
MDExOlB1bGxSZXF1ZXN0NTk2OTUwNA==
3,702
ENH: allow to_html and to_latex to take a path for their first argument
{ "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
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
4
2013-05-28T17:33:25Z
2014-06-20T04:17:09Z
2013-05-30T16:34:48Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3702/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3702/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3702.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3702", "merged_at": "2013-05-30T16:34:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3702.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3702" }
https://api.github.com/repos/pandas-dev/pandas/issues/3703
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3703/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3703/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3703/events
https://github.com/pandas-dev/pandas/issues/3703
14,852,427
MDU6SXNzdWUxNDg1MjQyNw==
3,703
BUG: broadcasting subtraction
{ "avatar_url": "https://avatars.githubusercontent.com/u/209714?v=4", "events_url": "https://api.github.com/users/slowkow/events{/privacy}", "followers_url": "https://api.github.com/users/slowkow/followers", "following_url": "https://api.github.com/users/slowkow/following{/other_user}", "gists_url": "https://api.github.com/users/slowkow/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/slowkow", "id": 209714, "login": "slowkow", "node_id": "MDQ6VXNlcjIwOTcxNA==", "organizations_url": "https://api.github.com/users/slowkow/orgs", "received_events_url": "https://api.github.com/users/slowkow/received_events", "repos_url": "https://api.github.com/users/slowkow/repos", "site_admin": false, "starred_url": "https://api.github.com/users/slowkow/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/slowkow/subscriptions", "type": "User", "url": "https://api.github.com/users/slowkow" }
[]
closed
false
null
[]
null
9
2013-05-28T17:55:34Z
2013-06-04T17:46:10Z
2013-05-28T18:16:03Z
NONE
null
This bug applies to version `0.11.0`. I observe correct behavior in version `0.12.0.dev-84fb0e0`, so the issue seems to have been fixed. Still, I thought someone might find it useful to see this report. --- EDIT: Replaced a larger and more complicated example with a minimal example. ``` In [84]: df = pd.DataFrame({'A':['a1','a2','a3'],'B':[4,5,6]}) In [85]: df Out[85]: A B 0 a1 4 1 a2 5 2 a3 6 In [86]: df.ix[[0,1], 'B'] -= 10 In [87]: df Out[87]: A B 0 a1 -6 1 a2 -6 2 a3 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/3703/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3703/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3704
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3704/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3704/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3704/events
https://github.com/pandas-dev/pandas/pull/3704
14,863,723
MDExOlB1bGxSZXF1ZXN0NTk3NjMyMA==
3,704
DOC: document read_html and to_html
{ "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
false
null
[]
null
13
2013-05-28T21:56:08Z
2014-07-16T08:10:33Z
2013-05-30T16:36:50Z
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/3704/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3704/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3704.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3704", "merged_at": "2013-05-30T16:36:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3704.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3704" }
https://api.github.com/repos/pandas-dev/pandas/issues/3705
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3705/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3705/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3705/events
https://github.com/pandas-dev/pandas/issues/3705
14,864,961
MDU6SXNzdWUxNDg2NDk2MQ==
3,705
DOC: provide links to API documentation where possible
{ "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": "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": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
6
2013-05-28T22:30:28Z
2017-03-05T15:14:17Z
2016-09-29T22:39:31Z
MEMBER
null
Probably good as a first PR. I'm _not_ saying we need links to `DataFrame` every time it's mentioned, but the io docs could use some TLC in this direction.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3705/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3705/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3706
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3706/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3706/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3706/events
https://github.com/pandas-dev/pandas/issues/3706
14,887,120
MDU6SXNzdWUxNDg4NzEyMA==
3,706
PERF: frame_repr_wide benchmark
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
4
2013-05-29T12:26:28Z
2013-05-30T05:13:37Z
2013-05-30T05:11:10Z
CONTRIBUTOR
null
Is this correct? (on current master) ``` In [1]: df = pandas.DataFrame(np.random.randn(10,10000)) In [2]: %timeit repr(df) 1 loops, best of 3: 9.85 s per loop n [4]: pandas.__version__ Out[4]: '0.12.0.dev-a62ea81' ``` ``` %prun repr(df) ncalls tottime percall cumtime percall filename:lineno(function) 1920528 1.310 0.000 1.710 0.000 re.py:226(_compile) 1119307 1.253 0.000 1.724 0.000 StringIO.py:208(write) 1920528 1.092 0.000 1.092 0.000 {method 'search' of '_sre.SRE_Pattern' objects} 1920528 1.069 0.000 3.870 0.000 re.py:139(search) 210010 1.026 0.000 1.763 0.000 format.py:1537(just) 80022 0.884 0.000 5.224 0.000 config.py:455(_select_options) 60003 0.782 0.000 0.782 0.000 {method 'reduce' of 'numpy.ufunc' objects} 1940531 0.403 0.000 0.403 0.000 {method 'get' of 'dict' objects} 80022 0.402 0.000 0.402 0.000 {sorted} 530020 0.345 0.000 0.345 0.000 {_codecs.utf_8_decode} ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3706/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3706/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3707
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3707/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3707/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3707/events
https://github.com/pandas-dev/pandas/issues/3707
14,889,999
MDU6SXNzdWUxNDg4OTk5OQ==
3,707
Incorrect result when resampling DatetimeIndex due to hidden cast of ints to floats
{ "avatar_url": "https://avatars.githubusercontent.com/u/218609?v=4", "events_url": "https://api.github.com/users/gerdemb/events{/privacy}", "followers_url": "https://api.github.com/users/gerdemb/followers", "following_url": "https://api.github.com/users/gerdemb/following{/other_user}", "gists_url": "https://api.github.com/users/gerdemb/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gerdemb", "id": 218609, "login": "gerdemb", "node_id": "MDQ6VXNlcjIxODYwOQ==", "organizations_url": "https://api.github.com/users/gerdemb/orgs", "received_events_url": "https://api.github.com/users/gerdemb/received_events", "repos_url": "https://api.github.com/users/gerdemb/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gerdemb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gerdemb/subscriptions", "type": "User", "url": "https://api.github.com/users/gerdemb" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "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" }
20
2013-05-29T13:37:42Z
2017-06-12T01:16:23Z
2017-01-09T20:10:40Z
NONE
null
To summarize: should raise when loss of precision when casting from ints to floats for computations (everywhere!) The wrong result is returned in the following case because of unnecessary casting of ints to floats. ``` max_int = np.iinfo(np.int64).max min_int = np.iinfo(np.int64).min assert max_int + min_int == -1 assert DataFrame([max_int,min_int], index=[datetime(2013,1,1),datetime(2013,1,1)]).resample('M', how=np.sum)[0][0] == -1 ``` This is the offending code in `groupby.py` that does the casting: ``` class NDFrameGroupBy(GroupBy): def _cython_agg_blocks(self, how, numeric_only=True): ..... if is_numeric: values = com.ensure_float(values) ``` and even worse, sneakily casts the floats back to integers hiding the problem! ``` # see if we can cast the block back to the original dtype result = block._try_cast_result(result) ``` It should be possible to perform this calculation without any casting. For example, the `sum()` of a DataFrame returns the correct result: ``` assert DataFrame([max_int, min_int]).sum()[0] == -1 ``` I am working with financial data that needs to stay as int to protect its precision. In my opinion, any operation that casts values to floats do a calculation, but then returns results as ints is _very wrong_. At the very least, the results should be returned as floats to show that a cast has been done. Even better would be to perform the calculations with ints whenever possible.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3707/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3707/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3708
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3708/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3708/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3708/events
https://github.com/pandas-dev/pandas/pull/3708
14,892,292
MDExOlB1bGxSZXF1ZXN0NTk5MTg2Nw==
3,708
BUG: allow DataFrame.from_records to accept empty recarrays
{ "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
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
2013-05-29T14:23:51Z
2014-07-06T13:17:47Z
2013-05-30T00:46:35Z
MEMBER
null
closes #3682.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3708/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3708/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3708.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3708", "merged_at": "2013-05-30T00:46:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3708.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3708" }
https://api.github.com/repos/pandas-dev/pandas/issues/3709
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3709/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3709/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3709/events
https://github.com/pandas-dev/pandas/pull/3709
14,917,288
MDExOlB1bGxSZXF1ZXN0NjAwNTczMA==
3,709
improve error message when xlrd import fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/50109?v=4", "events_url": "https://api.github.com/users/gliptak/events{/privacy}", "followers_url": "https://api.github.com/users/gliptak/followers", "following_url": "https://api.github.com/users/gliptak/following{/other_user}", "gists_url": "https://api.github.com/users/gliptak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gliptak", "id": 50109, "login": "gliptak", "node_id": "MDQ6VXNlcjUwMTA5", "organizations_url": "https://api.github.com/users/gliptak/orgs", "received_events_url": "https://api.github.com/users/gliptak/received_events", "repos_url": "https://api.github.com/users/gliptak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gliptak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gliptak/subscriptions", "type": "User", "url": "https://api.github.com/users/gliptak" }
[]
closed
false
null
[]
null
1
2013-05-29T23:02:12Z
2013-06-10T19:20:35Z
2013-05-29T23:47:53Z
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/3709/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3709/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3709.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3709", "merged_at": "2013-05-29T23:47:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3709.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3709" }
https://api.github.com/repos/pandas-dev/pandas/issues/3710
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3710/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3710/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3710/events
https://github.com/pandas-dev/pandas/pull/3710
14,917,425
MDExOlB1bGxSZXF1ZXN0NjAwNTgwNg==
3,710
Excel output in non-ascii encodings
{ "avatar_url": "https://avatars.githubusercontent.com/u/4236093?v=4", "events_url": "https://api.github.com/users/jtornero/events{/privacy}", "followers_url": "https://api.github.com/users/jtornero/followers", "following_url": "https://api.github.com/users/jtornero/following{/other_user}", "gists_url": "https://api.github.com/users/jtornero/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtornero", "id": 4236093, "login": "jtornero", "node_id": "MDQ6VXNlcjQyMzYwOTM=", "organizations_url": "https://api.github.com/users/jtornero/orgs", "received_events_url": "https://api.github.com/users/jtornero/received_events", "repos_url": "https://api.github.com/users/jtornero/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtornero/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtornero/subscriptions", "type": "User", "url": "https://api.github.com/users/jtornero" }
[]
closed
false
null
[]
{ "closed_at": "2014-02-03T05:17:36Z", "closed_issues": 314, "created_at": "2013-08-26T22:11:58Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }, "description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.", "due_on": "2014-02-04T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/23", "id": 412013, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels", "node_id": "MDk6TWlsZXN0b25lNDEyMDEz", "number": 23, "open_issues": 0, "state": "closed", "title": "0.13.1", "updated_at": "2014-02-03T05:18:00Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23" }
14
2013-05-29T23:06:10Z
2014-06-24T12:36:06Z
2013-09-30T10:27:38Z
NONE
null
First, I would like to thank the developers for this excellent work. My patch is about the possibility of specify the workbook encoding when making output to excel xls files. By default, pandas hasn't it, so say-so non ascii language speakers weren't able to save files with _special_ characters, receiving an error like, for instance: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128) My change makes possible to specify both in ExcelWriter and DataFrame.to_excel the parameter encoding which is passed by both the ExcelWriter **init** and DataFrame.to_excel functions to the appropiate xlwt function to make the trick. I'm sorry my explanations aren't very proffesional, but I think they are enough for this purpose. Also I have to apologize in the sense that I've run the tests with nosetests and I lack of knowledge about tests interpretation, but I have checked the log and no error comes from the modules/files I've worked with. Best regards, Jorge Tornero
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3710/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3710/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3710.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3710", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3710.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3710" }
https://api.github.com/repos/pandas-dev/pandas/issues/3711
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3711/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3711/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3711/events
https://github.com/pandas-dev/pandas/issues/3711
14,919,268
MDU6SXNzdWUxNDkxOTI2OA==
3,711
Can't run nosetest
{ "avatar_url": "https://avatars.githubusercontent.com/u/1226936?v=4", "events_url": "https://api.github.com/users/jeffreyrosenbluth/events{/privacy}", "followers_url": "https://api.github.com/users/jeffreyrosenbluth/followers", "following_url": "https://api.github.com/users/jeffreyrosenbluth/following{/other_user}", "gists_url": "https://api.github.com/users/jeffreyrosenbluth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jeffreyrosenbluth", "id": 1226936, "login": "jeffreyrosenbluth", "node_id": "MDQ6VXNlcjEyMjY5MzY=", "organizations_url": "https://api.github.com/users/jeffreyrosenbluth/orgs", "received_events_url": "https://api.github.com/users/jeffreyrosenbluth/received_events", "repos_url": "https://api.github.com/users/jeffreyrosenbluth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jeffreyrosenbluth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jeffreyrosenbluth/subscriptions", "type": "User", "url": "https://api.github.com/users/jeffreyrosenbluth" }
[]
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" }
39
2013-05-30T00:09:25Z
2015-07-25T19:02:29Z
2015-07-24T20:09:24Z
NONE
null
Trying to contribute but get the following error when trying to run nosetests with "nosetests pandas". I get the same error on both OSX 10.8.3 and Linux Ubuntu: # ## ERROR: Failure: ImportError (No module named dateutil.parser) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/home/reedrosenbluth/pandas/pandas/**init**.py", line 6, in <module> from . import hashtable, tslib, lib File "tslib.pyx", line 31, in init pandas.tslib (pandas/tslib.c:48137) ImportError: No module named dateutil.parser --- Ran 1 test in 0.001s
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3711/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3711/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3712
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3712/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3712/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3712/events
https://github.com/pandas-dev/pandas/pull/3712
14,919,316
MDExOlB1bGxSZXF1ZXN0NjAwNjg3Nw==
3,712
API: deprecate unused DataFrame.replace arguments
{ "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
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
5
2013-05-30T00:11:09Z
2014-07-16T08:10:43Z
2013-05-30T16:41:40Z
MEMBER
null
@jreback i forgot to do this as per our conversation
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3712/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3712/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3712.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3712", "merged_at": "2013-05-30T16:41:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3712.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3712" }
https://api.github.com/repos/pandas-dev/pandas/issues/3713
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3713/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3713/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3713/events
https://github.com/pandas-dev/pandas/pull/3713
14,925,399
MDExOlB1bGxSZXF1ZXN0NjAwOTk2MQ==
3,713
BUG: restore 10.1 expand_repr behaviour, only for < max_cols, if wider then term GH3706
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
2
2013-05-30T05:09:21Z
2014-07-16T08:10:45Z
2013-05-30T05:10:56Z
NONE
null
#3706
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3713/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3713/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3713.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3713", "merged_at": "2013-05-30T05:10:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3713.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3713" }
https://api.github.com/repos/pandas-dev/pandas/issues/3714
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3714/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3714/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3714/events
https://github.com/pandas-dev/pandas/issues/3714
14,937,652
MDU6SXNzdWUxNDkzNzY1Mg==
3,714
Weird MultiIndex bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/1327168?v=4", "events_url": "https://api.github.com/users/gerigk/events{/privacy}", "followers_url": "https://api.github.com/users/gerigk/followers", "following_url": "https://api.github.com/users/gerigk/following{/other_user}", "gists_url": "https://api.github.com/users/gerigk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gerigk", "id": 1327168, "login": "gerigk", "node_id": "MDQ6VXNlcjEzMjcxNjg=", "organizations_url": "https://api.github.com/users/gerigk/orgs", "received_events_url": "https://api.github.com/users/gerigk/received_events", "repos_url": "https://api.github.com/users/gerigk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gerigk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gerigk/subscriptions", "type": "User", "url": "https://api.github.com/users/gerigk" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
14
2013-05-30T12:21:08Z
2013-08-11T20:01:03Z
2013-08-11T20:01:03Z
NONE
null
Bug: Assigning levels/labels to a multiindex (or really any fields in Index) should raise (if done externally) This is (for me) one of the weirdest things I have found so far (0.10.1 still) tl;dr it seems like df.copy() creates a shallow copy of the MultiIndex w.r.t levels Also, the setting of the index.levels does not seem to have effect on the index itself Running the same code twice results in different results during the second time although I do not alter the original object in any place. also note the line "print data.index.levels[1]" which changes after changing data2 my original goal (concatenating) always contains the original date in all rows Code ``` import pandas as pd from datetime import date, timedelta import datetime ind = pd.MultiIndex.from_tuples([(pd.Timestamp('2013-04-30 00:00:00'), datetime.date(2013, 5, 30)), (pd.Timestamp('2013-05-01 00:00:00'),datetime.date(2013, 5, 30))]) data = pd.DataFrame({'orders_ga': {0: 10.0, 1: 15.0}, 'revenues_ga': {0: 5.0, 1: 7.0}}) data.index = ind data2 = data.copy() print 'original index' print data.index print 'copied index levels' print data2.index.levels[1] data2.index.levels[1] = pd.Index([date.today() + timedelta(1)]) print 'index levels of original dataframe after assinging new index to the copied df' print data.index.levels[1] print 'new dfs index levels after assigning new levels' print data2.index.levels[1] #print ################## #print data.index #data2['recorded_at'] = date.today() + timedelta(1) print '################################################## output of concat' print pd.concat([data, data2]) print '##########################################################################' print 'one more time' data2 = data.copy() print 'original index' print data.index print 'copied index levels' print data2.index.levels[1] data2.index.levels[1] = pd.Index([date.today() + timedelta(1)]) print 'index levels of original dataframe after assinging new index to the copied df' print data.index.levels[1] print 'new dfs index levels after assigning new levels' print data2.index.levels[1] #print ################## #print data.index #data2['recorded_at'] = date.today() + timedelta(1) print '################################################## output of concat' print pd.concat([data, data2]) ``` Output: ``` original index MultiIndex [(2013-04-30 00:00:00, 2013-05-30), (2013-05-01 00:00:00, 2013-05-30)] copied index levels Index([2013-05-30], dtype=object) index levels of original dataframe after assinging new index to the copied df Index([2013-05-31], dtype=object) new dfs index levels after assigning new levels Index([2013-05-31], dtype=object) ################################################## output of concat orders_ga revenues_ga 2013-04-30 2013-05-30 10 5 2013-05-01 2013-05-30 15 7 2013-04-30 2013-05-30 10 5 2013-05-01 2013-05-30 15 7 ########################################################################## one more time original index MultiIndex [(2013-04-30 00:00:00, 2013-05-30), (2013-05-01 00:00:00, 2013-05-30)] copied index levels Index([2013-05-31], dtype=object) index levels of original dataframe after assinging new index to the copied df Index([2013-05-31], dtype=object) new dfs index levels after assigning new levels Index([2013-05-31], dtype=object) ################################################## output of concat orders_ga revenues_ga 2013-04-30 2013-05-30 10 5 2013-05-01 2013-05-30 15 7 2013-04-30 2013-05-30 10 5 2013-05-01 2013-05-30 15 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/3714/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3714/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3715
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3715/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3715/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3715/events
https://github.com/pandas-dev/pandas/issues/3715
14,938,736
MDU6SXNzdWUxNDkzODczNg==
3,715
ENH: Add fill_value option to resample()
{ "avatar_url": "https://avatars.githubusercontent.com/u/218609?v=4", "events_url": "https://api.github.com/users/gerdemb/events{/privacy}", "followers_url": "https://api.github.com/users/gerdemb/followers", "following_url": "https://api.github.com/users/gerdemb/following{/other_user}", "gists_url": "https://api.github.com/users/gerdemb/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gerdemb", "id": 218609, "login": "gerdemb", "node_id": "MDQ6VXNlcjIxODYwOQ==", "organizations_url": "https://api.github.com/users/gerdemb/orgs", "received_events_url": "https://api.github.com/users/gerdemb/received_events", "repos_url": "https://api.github.com/users/gerdemb/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gerdemb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gerdemb/subscriptions", "type": "User", "url": "https://api.github.com/users/gerdemb" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
{ "closed_at": "2017-05-06T10:20:19Z", "closed_issues": 987, "created_at": "2016-02-08T15:30:21Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.x series", "due_on": "2017-05-12T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/39", "id": 1570595, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39/labels", "node_id": "MDk6TWlsZXN0b25lMTU3MDU5NQ==", "number": 39, "open_issues": 0, "state": "closed", "title": "0.20.0", "updated_at": "2018-10-28T08:18:42Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/39" }
3
2013-05-30T12:52:37Z
2017-01-21T22:50:21Z
2017-01-21T22:50:21Z
NONE
null
see also #3707 Add a `fill_value` option to `resample()` so that it is possible to resample a `TimeSeries` without creating `NaN` values. If the series is an int dtype and an int is passed to `fill_value`, it should be possible to resample the series without casting the values to floats. ``` >>> dates = (datetime(2013, 1, 1), datetime(2013,1,2), datetime(2013,3,1)) >>> s = Series([1,2,4],index=dates) >>> s 2013-01-01 1 2013-01-02 2 2013-03-01 4 dtype: int64 >>> s.resample('M', how='sum') 2013-01-31 3 2013-02-28 NaN 2013-03-31 4 Freq: M, dtype: float64 >>> s.resample('M', how='sum', fill_value=0) 2013-01-31 3 2013-02-28 0 2013-03-31 4 Freq: M, dtype: int64 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3715/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3715/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3716
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3716/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3716/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3716/events
https://github.com/pandas-dev/pandas/pull/3716
14,944,004
MDExOlB1bGxSZXF1ZXN0NjAxOTc5Nw==
3,716
BLD: switch MAJOR and MICRO
{ "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
false
null
[]
null
2
2013-05-30T14:47:20Z
2014-07-16T08:10:48Z
2013-05-30T14:56:07Z
MEMBER
null
cc @y-p
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3716/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3716/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3716.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3716", "merged_at": "2013-05-30T14:56:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3716.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3716" }
https://api.github.com/repos/pandas-dev/pandas/issues/3717
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3717/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3717/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3717/events
https://github.com/pandas-dev/pandas/issues/3717
14,944,460
MDU6SXNzdWUxNDk0NDQ2MA==
3,717
API: remove ExcelFile/ExcelObject, clipboard from parses.io.parsers
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "DDDDDD", "default": false, "description": "Administrative tasks related to the pandas project", "id": 32933285, "name": "Admin", "node_id": "MDU6TGFiZWwzMjkzMzI4NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin" }, { "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/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" } ]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
0
2013-05-30T14:54:58Z
2013-09-27T19:55:18Z
2013-09-27T19:55:18Z
CONTRIBUTOR
null
fair warning in 0.11.1 that in 0.12 this is going to change top-level imports of `ExcelFile/ExcelObject` are unchanged this only affects directly importing from the parsers module
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3717/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3717/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3718
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3718/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3718/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3718/events
https://github.com/pandas-dev/pandas/issues/3718
14,944,935
MDU6SXNzdWUxNDk0NDkzNQ==
3,718
DOC: make links actually link to API docs
{ "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
false
null
[]
null
2
2013-05-30T15:03:40Z
2013-05-30T16:41:20Z
2013-05-30T16:41:20Z
MEMBER
null
There are some places in the documentation where a link to the API docs is provided, e.g., `:func:`~pandas.read_html``, but no link is made. This is because the fully resolved name (i.e., the module where the function is defined [no package references]) must be used, i.e., `:func:`~pandas.io.html.read_html``. This particular example is fixed, but @jreback mentioned that he's seen them in other places.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3718/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3718/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3719
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3719/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3719/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3719/events
https://github.com/pandas-dev/pandas/issues/3719
14,948,319
MDU6SXNzdWUxNDk0ODMxOQ==
3,719
API: deprecate DataFrame.from_csv -> pd.read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "DDDDDD", "default": false, "description": "Administrative tasks related to the pandas project", "id": 32933285, "name": "Admin", "node_id": "MDU6TGFiZWwzMjkzMzI4NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin" }, { "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-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
2
2013-05-30T16:04:00Z
2014-02-18T19:50:23Z
2014-02-18T19:50:23Z
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/3719/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3719/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3720
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3720/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3720/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3720/events
https://github.com/pandas-dev/pandas/pull/3720
14,948,619
MDExOlB1bGxSZXF1ZXN0NjAyMjMwNQ==
3,720
DOC: clean up io docs and fix up links
{ "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
false
null
[]
null
11
2013-05-30T16:09:36Z
2014-07-16T08:10:50Z
2013-05-30T16:41:20Z
MEMBER
null
closes #3718.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3720/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3720/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3720.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3720", "merged_at": "2013-05-30T16:41:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3720.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3720" }
https://api.github.com/repos/pandas-dev/pandas/issues/3721
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3721/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3721/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3721/events
https://github.com/pandas-dev/pandas/issues/3721
14,965,695
MDU6SXNzdWUxNDk2NTY5NQ==
3,721
DOC/BLD: squash annoying sphinx bugs
{ "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
false
null
[]
null
1
2013-05-30T22:36:56Z
2013-05-30T23:56:42Z
2013-05-30T23:56:42Z
MEMBER
null
carrying over from #3720 these sphinx bugs **WILL** be squashed!! - [x] `lookup` - [x] `to_csv` (there's a newline character here that's causing the issue. that i'm trying to figure out how to escape it in sphinx) duh use raw strings - [x] `ExcelFile.parse` - [x] `read_excel` - [x] `docscrape.py: Unknown Section Example` - [x] `docscrape.py: Unknown Section Optional Parameters` moral of the story: when writing docstrings please follow the [sphinx rules](http://sphinx-doc.org/rest.html) _to a tee_!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3721/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3721/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3722
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3722/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3722/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3722/events
https://github.com/pandas-dev/pandas/pull/3722
14,966,893
MDExOlB1bGxSZXF1ZXN0NjAzMjQ1MQ==
3,722
DOC/BLD: fix annoying sphinx bugs
{ "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
false
null
[]
null
25
2013-05-30T23:13:59Z
2014-07-17T00:18:56Z
2013-05-30T23:56:42Z
MEMBER
null
closes #3721. cc @jreback
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3722/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3722/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3722.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3722", "merged_at": "2013-05-30T23:56:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3722.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3722" }
https://api.github.com/repos/pandas-dev/pandas/issues/3723
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3723/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3723/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3723/events
https://github.com/pandas-dev/pandas/issues/3723
14,967,944
MDU6SXNzdWUxNDk2Nzk0NA==
3,723
need older beautifulsoup4 on 64-bit as well
{ "avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4", "events_url": "https://api.github.com/users/changhiskhan/events{/privacy}", "followers_url": "https://api.github.com/users/changhiskhan/followers", "following_url": "https://api.github.com/users/changhiskhan/following{/other_user}", "gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/changhiskhan", "id": 759245, "login": "changhiskhan", "node_id": "MDQ6VXNlcjc1OTI0NQ==", "organizations_url": "https://api.github.com/users/changhiskhan/orgs", "received_events_url": "https://api.github.com/users/changhiskhan/received_events", "repos_url": "https://api.github.com/users/changhiskhan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions", "type": "User", "url": "https://api.github.com/users/changhiskhan" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
22
2013-05-30T23:51:05Z
2013-06-02T01:29:55Z
2013-05-31T00:27:51Z
CONTRIBUTOR
null
docs say 4.0.2 on 32-bit. i tried building on 64-bit and it did not work with 4.2.0 but worked with 4.0.2. I'm updating the docs now.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3723/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3723/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3724
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3724/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3724/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3724/events
https://github.com/pandas-dev/pandas/pull/3724
14,968,415
MDExOlB1bGxSZXF1ZXN0NjAzMzI3NA==
3,724
DOC: older version of bs4 for 64bit as well
{ "avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4", "events_url": "https://api.github.com/users/changhiskhan/events{/privacy}", "followers_url": "https://api.github.com/users/changhiskhan/followers", "following_url": "https://api.github.com/users/changhiskhan/following{/other_user}", "gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/changhiskhan", "id": 759245, "login": "changhiskhan", "node_id": "MDQ6VXNlcjc1OTI0NQ==", "organizations_url": "https://api.github.com/users/changhiskhan/orgs", "received_events_url": "https://api.github.com/users/changhiskhan/received_events", "repos_url": "https://api.github.com/users/changhiskhan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions", "type": "User", "url": "https://api.github.com/users/changhiskhan" }
[]
closed
false
null
[]
null
1
2013-05-31T00:08:29Z
2014-07-16T08:10:52Z
2013-05-31T00:10:59Z
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/3724/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3724/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3724.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3724", "merged_at": "2013-05-31T00:10:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3724.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3724" }
https://api.github.com/repos/pandas-dev/pandas/issues/3725
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3725/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3725/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3725/events
https://github.com/pandas-dev/pandas/pull/3725
14,969,604
MDExOlB1bGxSZXF1ZXN0NjAzMzk0Ng==
3,725
DOC/BLD: squash as many doc-build warnings as possible
{ "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
false
null
[]
null
3
2013-05-31T01:00:22Z
2014-07-12T14:11:36Z
2013-05-31T13:21:02Z
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/3725/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3725/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3725.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3725", "merged_at": "2013-05-31T13:21:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3725.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3725" }
https://api.github.com/repos/pandas-dev/pandas/issues/3726
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3726/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3726/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3726/events
https://github.com/pandas-dev/pandas/issues/3726
14,969,978
MDU6SXNzdWUxNDk2OTk3OA==
3,726
datetime Series should raise on most numerical ops
{ "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": "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": "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": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
6
2013-05-31T01:18:48Z
2013-06-06T02:10:51Z
2013-06-06T02:10:51Z
MEMBER
null
obvs something like `diff` is fine, but i think sum/prod and most ufuncs should raise a `TypeError` maybe try the ops on the `values` attribute and if it doesn't raise continue
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3726/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3726/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3727
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3727/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3727/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3727/events
https://github.com/pandas-dev/pandas/issues/3727
14,989,952
MDU6SXNzdWUxNDk4OTk1Mg==
3,727
df.reset_index introduces wrong elements with NaN index values
{ "avatar_url": "https://avatars.githubusercontent.com/u/101264?v=4", "events_url": "https://api.github.com/users/floux/events{/privacy}", "followers_url": "https://api.github.com/users/floux/followers", "following_url": "https://api.github.com/users/floux/following{/other_user}", "gists_url": "https://api.github.com/users/floux/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/floux", "id": 101264, "login": "floux", "node_id": "MDQ6VXNlcjEwMTI2NA==", "organizations_url": "https://api.github.com/users/floux/orgs", "received_events_url": "https://api.github.com/users/floux/received_events", "repos_url": "https://api.github.com/users/floux/repos", "site_admin": false, "starred_url": "https://api.github.com/users/floux/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/floux/subscriptions", "type": "User", "url": "https://api.github.com/users/floux" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
2
2013-05-31T11:52:34Z
2013-06-01T14:13:57Z
2013-06-01T14:13:57Z
NONE
null
When there are NaN values in the index, then reset_index introduces incorrect values. That is the case even if the reset_index operation occurs on a different index than the one containing the NaN values: ``` python In [1]: import pandas as pd In [2]: df = pd.DataFrame({ ...: 'col1' : [1,2,3,4,5,6,7,8], ...: 'col2' : [8,7,6,5,4,3,2,1], ...: }) In [4]: arrays = [ ...: ['a','a','a','a','b','b','b','b'], ...: ['c',None,'d',None,'e','e',None,'f'] ...: ] In [6]: idx = pd.MultiIndex.from_tuples(zip(*arrays), ...: names=['first', 'second']) In [7]: df.index = idx In [8]: df Out[8]: col1 col2 first second a c 1 8 NaN 2 7 d 3 6 NaN 4 5 b e 5 4 e 6 3 NaN 7 2 f 8 1 In [9]: df.reset_index() Out[9]: first second col1 col2 0 a c 1 8 1 a f 2 7 2 a d 3 6 3 a f 4 5 4 b e 5 4 5 b e 6 3 6 b f 7 2 7 b f 8 1 In [10]: df.reset_index('second') Out[10]: second col1 col2 first a c 1 8 a f 2 7 a d 3 6 a f 4 5 b e 5 4 b e 6 3 b f 7 2 b f 8 1 In [11]: df.reset_index('first') Out[11]: first col1 col2 second c a 1 8 f a 2 7 d a 3 6 f a 4 5 e b 5 4 e b 6 3 f b 7 2 f b 8 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/3727/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3727/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3728
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3728/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3728/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3728/events
https://github.com/pandas-dev/pandas/issues/3728
14,993,886
MDU6SXNzdWUxNDk5Mzg4Ng==
3,728
Plotting DataFrame with descending index
{ "avatar_url": "https://avatars.githubusercontent.com/u/327925?v=4", "events_url": "https://api.github.com/users/takluyver/events{/privacy}", "followers_url": "https://api.github.com/users/takluyver/followers", "following_url": "https://api.github.com/users/takluyver/following{/other_user}", "gists_url": "https://api.github.com/users/takluyver/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/takluyver", "id": 327925, "login": "takluyver", "node_id": "MDQ6VXNlcjMyNzkyNQ==", "organizations_url": "https://api.github.com/users/takluyver/orgs", "received_events_url": "https://api.github.com/users/takluyver/received_events", "repos_url": "https://api.github.com/users/takluyver/repos", "site_admin": false, "starred_url": "https://api.github.com/users/takluyver/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/takluyver/subscriptions", "type": "User", "url": "https://api.github.com/users/takluyver" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
null
2
2013-05-31T13:47:08Z
2013-12-04T00:56:51Z
2013-07-18T09:06:02Z
CONTRIBUTOR
null
I don't have time to dig into this at the moment, but I didn't want to forget about it. As you can see in the screenshot below, the points are being plotted in reverse x order (the blue line should be lower on the left). If I call matplotlib's plot (`plot(lc.index, lc.A_mean)`) it works correctly. pandas 0.10.1, mpl 1.2.1, python 3.3 ![screenshot from 2013-05-31 14 38 30](https://f.cloud.github.com/assets/327925/591033/03afa1dc-c9f8-11e2-91d1-671981029c28.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/3728/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3728/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3729
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3729/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3729/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3729/events
https://github.com/pandas-dev/pandas/issues/3729
14,997,767
MDU6SXNzdWUxNDk5Nzc2Nw==
3,729
ENH: pivot/groupby index with nan
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, 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": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4", "events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}", "followers_url": "https://api.github.com/users/charlesdong1991/followers", "following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}", "gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/charlesdong1991", "id": 9269816, "login": "charlesdong1991", "node_id": "MDQ6VXNlcjkyNjk4MTY=", "organizations_url": "https://api.github.com/users/charlesdong1991/orgs", "received_events_url": "https://api.github.com/users/charlesdong1991/received_events", "repos_url": "https://api.github.com/users/charlesdong1991/repos", "site_admin": false, "starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions", "type": "User", "url": "https://api.github.com/users/charlesdong1991" } ]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
52
2013-05-31T15:07:17Z
2021-07-11T14:31:09Z
2020-05-09T20:10:36Z
CONTRIBUTOR
null
ENH: maybe for now just provide a warning if dropping the nan rows when pivotting... rom ml http://stackoverflow.com/questions/16860172/python-pandas-pivot-table-silently-drops-indices-with-nans This is effectivly trying to groupby on a NaN, currently not allowed ``` In [13]: a = [['a', 'b', 12, 12, 12], ['a', nan, 12.3, 233., 12], ['b', 'a', 123.23, 123, 1], ['a', 'b', 1, 1, 1.]] In [14]: df = DataFrame(a, columns=['a', 'b', 'c', 'd', 'e']) In [15]: df.groupby(['a','b']).sum() Out[15]: c d e a b a b 13.00 13 13 b a 123.23 123 1 ``` Workaround to fill the index with a dummy, pivot, and replace ``` In [31]: df2 = df.copy() In [32]: df2['dummy'] = np.nan In [33]: df2['b'] = df2['b'].fillna('dummy') In [34]: df2 Out[34]: a b c d e dummy 0 a b 12.00 12 12 NaN 1 a dummy 12.30 233 12 NaN 2 b a 123.23 123 1 NaN 3 a b 1.00 1 1 NaN In [35]: df2.pivot_table(rows=['a', 'b'], values=['c', 'd', 'e'], aggfunc=sum) Out[35]: a b c d e 0 a b 13.00 13 13 1 a dummy 12.30 233 12 2 b a 123.23 123 1 In [36]: df2.pivot_table(rows=['a', 'b'], values=['c', 'd', 'e'], aggfunc=sum).replace('dummy',np.nan) Out[36]: a b c d e 0 a b 13.00 13 13 1 a NaN 12.30 233 12 2 b a 123.23 123 1 ```
{ "+1": 64, "-1": 3, "confused": 1, "eyes": 1, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 69, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3729/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3729/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3730
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3730/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3730/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3730/events
https://github.com/pandas-dev/pandas/pull/3730
15,002,313
MDExOlB1bGxSZXF1ZXN0NjA0ODM3Mg==
3,730
ENH/CLN: give all AssertionErrors and nose.SkipTest raises an informative message
{ "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": "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
{ "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": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
43
2013-05-31T16:42:37Z
2014-06-26T21:36:32Z
2013-09-28T20:44:42Z
MEMBER
null
continuation of #3519 because of a branch rename. ### UPDATE: The exception parsing script has been moved to [a Gist](https://gist.github.com/cpcloud/6745173) This PR partially addresses #3024. - all `AssertionError` exceptions now have an informative error message in them - some `AssertionErrors` have been converted to different `Exception` subclasses, where it makes sense, and there's a corresponding test wherever these were changed. - all `nose.SkipTest` exceptions now have an informative 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/3730/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3730/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3730.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3730", "merged_at": "2013-09-28T20:44:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3730.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3730" }
https://api.github.com/repos/pandas-dev/pandas/issues/3731
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3731/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3731/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3731/events
https://github.com/pandas-dev/pandas/pull/3731
15,011,861
MDExOlB1bGxSZXF1ZXN0NjA1MzMwNg==
3,731
API: raise TypeError on most datetime64 reduction ops
{ "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
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
56
2013-05-31T20:10:10Z
2014-06-22T11:11:14Z
2013-06-06T02:10:51Z
MEMBER
null
closes #3726.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3731/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3731/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3731.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3731", "merged_at": "2013-06-06T02:10:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3731.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3731" }
https://api.github.com/repos/pandas-dev/pandas/issues/3732
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3732/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3732/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3732/events
https://github.com/pandas-dev/pandas/pull/3732
15,016,195
MDExOlB1bGxSZXF1ZXN0NjA1NTgzNA==
3,732
DOC: fix read_html attribute reading example
{ "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
false
null
[]
null
1
2013-05-31T22:04:01Z
2014-07-16T08:11:14Z
2013-05-31T22:10:47Z
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/3732/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3732/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3732.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3732", "merged_at": "2013-05-31T22:10:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3732.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3732" }
https://api.github.com/repos/pandas-dev/pandas/issues/3733
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3733/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3733/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3733/events
https://github.com/pandas-dev/pandas/issues/3733
15,024,119
MDU6SXNzdWUxNTAyNDExOQ==
3,733
Slowness for DataFrame.where/mask when dtype=bool
{ "avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4", "events_url": "https://api.github.com/users/dalejung/events{/privacy}", "followers_url": "https://api.github.com/users/dalejung/followers", "following_url": "https://api.github.com/users/dalejung/following{/other_user}", "gists_url": "https://api.github.com/users/dalejung/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dalejung", "id": 610115, "login": "dalejung", "node_id": "MDQ6VXNlcjYxMDExNQ==", "organizations_url": "https://api.github.com/users/dalejung/orgs", "received_events_url": "https://api.github.com/users/dalejung/received_events", "repos_url": "https://api.github.com/users/dalejung/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dalejung/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dalejung/subscriptions", "type": "User", "url": "https://api.github.com/users/dalejung" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
19
2013-06-01T07:29:33Z
2013-06-03T02:30:45Z
2013-06-02T11:58:40Z
CONTRIBUTOR
null
``` python data = np.random.randn(10000, 500) df = pd.DataFrame(data) df = df.where(df > 0) # create nans bools = df > 0 reg_mask = bools.mask(pd.isnull(df)) # walltime 10s float_mask = bools.astype(float).mask(pd.isnull(df)) # walltime 200ms tm.assert_frame_equal(reg_mask, float_mask) # success ``` I found that while masking boolean DataFrames, converting to float speeds up the process considerably. When you're masking at least one row in each column, the outputs are equivalent. Note, the mask is slow even when you're only masking one column ``` python data = np.random.randn(10000, 500) df = pd.DataFrame(data) df.ix[:, 0] = np.nan bools = df > 0 reg_mask = bools.mask(pd.isnull(df)) # walltime 10s # dtypes: bool(499), float64(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/3733/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3733/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3734
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3734/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3734/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3734/events
https://github.com/pandas-dev/pandas/pull/3734
15,031,701
MDExOlB1bGxSZXF1ZXN0NjA2MjEzMg==
3,734
BLD: test_perf.py, add --base-pickle --target-pickle options to test_perf
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.github.com/users/ghost/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost", "id": 10137, "login": "ghost", "node_id": "MDQ6VXNlcjEwMTM3", "organizations_url": "https://api.github.com/users/ghost/orgs", "received_events_url": "https://api.github.com/users/ghost/received_events", "repos_url": "https://api.github.com/users/ghost/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
2013-06-01T19:49:33Z
2014-06-24T15:20:16Z
2013-06-01T19:50:22Z
NONE
null
Until now test_perf either generated a single commit report for HEAD, or fell back to vbench to compare two commits. with this change, can now compare results between saved results of test_perf -H invocations. Flow: - Use build_cache (cdev from #3156) to jump to desired commit using build_cache - checkout current vb_suite from upstream/master - use `test_perf -H -d <commit>-foo.pickle` to save timings to file, for target and base commits - Use test_perf options `--base-pickle`, `--target-pickle` to generate comparison report. cc @jreback ``` λ ./test_perf.sh --base-pickle 31ecaa9-0.10.1.pickle --target-pickle f9eea30-0.11.0.pickle This script compares the performance of two commits. Make sure the python 'vbench' library is installed. Setting the BUILD_CACHE_DIR env var to a temp directory will potentially speed up subsequent runs. base_commit not specified, Assuming base_pickle is named <commit>-foo.* target_commit not specified, Assuming target_pickle is named <commit>-foo.* f9eea30 Verifying specified commits exist in repo... 31ecaa9: RLS: set released to true f9eea30: RLS: Version 0.11 *** Invoked with : --ncalls: 3 --repeats: 3 ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- frame_reindex_columns | 0.3260 | 0.2900 | 1.1241 | ------------------------------------------------------------------------------- Test name | head[ms] | base[ms] | ratio | ------------------------------------------------------------------------------- Ratio < 1.0 means the target commit is faster then the baseline. Seed used: 1234 Target [f9eea30] : RLS: Version 0.11 Base [31ecaa9] : RLS: set released to 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/3734/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3734/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3734.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3734", "merged_at": "2013-06-01T19:50:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3734.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3734" }
https://api.github.com/repos/pandas-dev/pandas/issues/3735
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3735/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3735/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3735/events
https://github.com/pandas-dev/pandas/pull/3735
15,032,026
MDExOlB1bGxSZXF1ZXN0NjA2MjIzNA==
3,735
BUG/BLD: pytables version checking was incorrect
{ "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
false
null
[]
null
2
2013-06-01T20:15:39Z
2014-07-16T08:11:19Z
2013-06-01T20:38:56Z
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/3735/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3735/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3735.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3735", "merged_at": "2013-06-01T20:38:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3735.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3735" }
https://api.github.com/repos/pandas-dev/pandas/issues/3736
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3736/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3736/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3736/events
https://github.com/pandas-dev/pandas/pull/3736
15,032,252
MDExOlB1bGxSZXF1ZXN0NjA2MjMyOA==
3,736
PERF: speed up where operations when splitting blocks (GH3733)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
2013-06-01T20:37:47Z
2014-07-16T08:11:20Z
2013-06-02T11:58:40Z
CONTRIBUTOR
null
close #3733
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3736/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3736/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3736.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3736", "merged_at": "2013-06-02T11:58:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3736.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3736" }
https://api.github.com/repos/pandas-dev/pandas/issues/3737
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3737/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3737/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3737/events
https://github.com/pandas-dev/pandas/pull/3737
15,038,183
MDExOlB1bGxSZXF1ZXN0NjA2NDU3NA==
3,737
TST: Fix assert_almost_equal error message
{ "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
5
2013-06-02T09:15:07Z
2014-07-16T08:11:22Z
2013-06-03T17:11:19Z
CONTRIBUTOR
null
Most tests (in pandas' test suite and in general) are of form `assert_almost_equal(result, expected)`. Verbose error message was treating its first argument as expected, this is now fixed. Previous message was: ``` python err_msg = lambda a, b: 'expected %.5f but got %.5f' % (a, b) ``` But a, the first argument, is actually `actual`, not expected. Everywhere else, it makes sense to display `"%s != %s" % (a,b)`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3737/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3737/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3737.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3737", "merged_at": "2013-06-03T17:11:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3737.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3737" }
https://api.github.com/repos/pandas-dev/pandas/issues/3738
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3738/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3738/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3738/events
https://github.com/pandas-dev/pandas/issues/3738
15,038,844
MDU6SXNzdWUxNTAzODg0NA==
3,738
Assignment with MultiIndex replaces dataframe contents with NaNs
{ "avatar_url": "https://avatars.githubusercontent.com/u/101264?v=4", "events_url": "https://api.github.com/users/floux/events{/privacy}", "followers_url": "https://api.github.com/users/floux/followers", "following_url": "https://api.github.com/users/floux/following{/other_user}", "gists_url": "https://api.github.com/users/floux/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/floux", "id": 101264, "login": "floux", "node_id": "MDQ6VXNlcjEwMTI2NA==", "organizations_url": "https://api.github.com/users/floux/orgs", "received_events_url": "https://api.github.com/users/floux/received_events", "repos_url": "https://api.github.com/users/floux/repos", "site_admin": false, "starred_url": "https://api.github.com/users/floux/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/floux/subscriptions", "type": "User", "url": "https://api.github.com/users/floux" }
[ { "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-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
2
2013-06-02T10:27:23Z
2014-02-13T23:12:32Z
2014-02-13T23:12:32Z
NONE
null
Bug: `df.loc['bar'] = df['bar'] * 2`; assignment with rhs having a multi-index Related to http://stackoverflow.com/questions/16833842/assign-new-values-to-slice-from-multiindex-dataframe ``` python In [246]: arrays = [np.array(['bar', 'bar', 'baz', 'qux', 'qux', 'bar']), np.array(['one', 'two', 'one', 'one', 'two', 'one']), np.arange(0, 6, 1)] In [247]: df = pd.DataFrame(randn(6, 3), .....: index=arrays, .....: columns=['A', 'B', 'C']).sort_index() In [248]: df Out[248]: A B C bar one 0 2.186362 -1.749287 -0.776363 5 0.953196 -0.717784 -0.528991 two 1 0.692802 -0.166100 1.403452 baz one 2 -0.065485 0.642380 -1.154436 qux one 3 1.515987 1.138678 -0.690564 two 4 0.261254 -0.066171 -1.352841 In [249]: df.loc['bar'] Out[249]: A B C one 0 2.186362 -1.749287 -0.776363 5 0.953196 -0.717784 -0.528991 two 1 0.692802 -0.166100 1.403452 In [250]: df.loc['bar'] = df.loc['bar'] * 2 In [251]: df Out[251]: A B C bar one 0 NaN NaN NaN 5 NaN NaN NaN two 1 NaN NaN NaN baz one 2 -0.065485 0.642380 -1.154436 qux one 3 1.515987 1.138678 -0.690564 two 4 0.261254 -0.066171 -1.352841 ``` This however works: ``` python In [270]: df Out[270]: A B C bar one 0 1.506060 -2.921602 1.057659 5 -1.264088 6.483417 3.259962 two 1 0.580368 -2.877875 2.916771 baz one 2 -0.003460 -1.779877 0.197661 qux one 3 0.463015 0.193559 -0.705382 two 4 0.074625 -0.258451 0.389310 In [271]: idx = [x for x in df.index if x[0] == 'bar'] In [272]: df.loc[idx] = df.loc[idx] * 2 In [273]: df Out[273]: A B C bar one 0 3.012121 -5.843204 2.115318 5 -2.528176 12.966833 6.519925 two 1 1.160736 -5.755750 5.833541 baz one 2 -0.003460 -1.779877 0.197661 qux one 3 0.463015 0.193559 -0.705382 two 4 0.074625 -0.258451 0.389310 ``` I was also wondering: if I want to assign to a selection via MultiIndex, what is the best way to achieve that? Examples: ``` python df.xs('blah', level=2) = df.xs('blah', level=2) * 2 crit = [x for x in df.index where x[2] == 'blah'] df.ix[crit] = df.ix[crit] * 2 df.loc[crit] = df.loc[crit] * 2 df.reset_index(level=2); df[df.level_2 == 'blah'] = df[df.level_2 == 'blah'] * 2 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3738/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3738/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3739
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3739/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3739/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3739/events
https://github.com/pandas-dev/pandas/pull/3739
15,042,412
MDExOlB1bGxSZXF1ZXN0NjA2NjAzOQ==
3,739
Make div use truediv instead of div
{ "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }
[]
closed
false
null
[]
null
13
2013-06-02T17:17:07Z
2014-07-03T04:46:53Z
2013-06-02T19:28:32Z
CONTRIBUTOR
null
This changes the `div()` method in pandas on Python 2.x to always do `truediv` rather than integer division. Currently, pandas doesn't respect `from __future__ import division` (it's defined in a file that doesn't start with the import, so it always does integer division). `__div__`, `__rdiv__`, and `__idiv__` remain the same, so that the `/` operator still works as expected. This PR also adds `truediv()` and `floordiv()` methods to series, panel and frame, plus a test utility to generate integer series. This change makes `div()` behave the same way in Python 2 and in Python 3. It also limits the surprise that comes from using the future import with pandas in Python 2. You can see the difference between Python 2 and 3 with the following snippet: ``` from __future__ import division import pandas from pandas.util.testing import assert_frame_equal df = pandas.DataFrame({"A": range(4)}) result = df.div(4) expected = df / 4 assert_frame_equal(result, expected) ``` It's not easy (or particularly useful) to detect which division setting is currently active. Plus, if you were to check it, the actual behavior would depend on [which file imports `pandas` first](http://stackoverflow.com/questions/16880552/dynamically-detecting-division-future-import). There might be too many tests associated with this, so if you'd like me to slim them down, I'd be happy to do so. Another alternative would to this patch would be to follow the python `operator` convention and remove `div()` altogether from Python 3, while leaving `div()` as it previously was in Python 2; however, I think that will continue to suprise users.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3739/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3739/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3739.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3739", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3739.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3739" }
https://api.github.com/repos/pandas-dev/pandas/issues/3740
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3740/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3740/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3740/events
https://github.com/pandas-dev/pandas/issues/3740
15,045,045
MDU6SXNzdWUxNTA0NTA0NQ==
3,740
Unexpected `transform` behavior on grouped dataset
{ "avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4", "events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}", "followers_url": "https://api.github.com/users/fonnesbeck/followers", "following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}", "gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fonnesbeck", "id": 81476, "login": "fonnesbeck", "node_id": "MDQ6VXNlcjgxNDc2", "organizations_url": "https://api.github.com/users/fonnesbeck/orgs", "received_events_url": "https://api.github.com/users/fonnesbeck/received_events", "repos_url": "https://api.github.com/users/fonnesbeck/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions", "type": "User", "url": "https://api.github.com/users/fonnesbeck" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
20
2013-06-02T20:40:12Z
2013-06-03T21:44:31Z
2013-06-03T17:09:29Z
NONE
null
I have a simple longitudinal biomedical dataset that I am grouping according to the patient on which measurements are taken. Here are the first couple of groups: ``` 1 patient obs week site id treat age sex twstrs treatment 0 1 1 0 1 1 5000U 65 F 32 1 1 1 2 2 1 1 5000U 65 F 30 1 2 1 3 4 1 1 5000U 65 F 24 1 3 1 4 8 1 1 5000U 65 F 37 1 4 1 5 12 1 1 5000U 65 F 39 1 5 1 6 16 1 1 5000U 65 F 36 1 2 patient obs week site id treat age sex twstrs treatment 6 2 1 0 1 2 10000U 70 F 60 2 7 2 2 2 1 2 10000U 70 F 26 2 8 2 3 4 1 2 10000U 70 F 27 2 9 2 4 8 1 2 10000U 70 F 41 2 10 2 5 12 1 2 10000U 70 F 65 2 11 2 6 16 1 2 10000U 70 F 67 2 ``` However, when I try to `transform` these data, say by normalization, I get nonsensical results: ``` normalize = lambda x: (x - x.mean())/x.std() normed = cdystonia_grouped.transform(normalize) normed.head(10) patient obs week site id \ 0 -9223372036854775808 -1 -1 -9223372036854775808 -9223372036854775808 1 -9223372036854775808 0 0 -9223372036854775808 -9223372036854775808 2 -9223372036854775808 0 0 -9223372036854775808 -9223372036854775808 3 -9223372036854775808 0 0 -9223372036854775808 -9223372036854775808 4 -9223372036854775808 0 0 -9223372036854775808 -9223372036854775808 age twstrs treatment 0 -9223372036854775808 0 -9223372036854775808 1 -9223372036854775808 0 -9223372036854775808 2 -9223372036854775808 -1 -9223372036854775808 3 -9223372036854775808 0 -9223372036854775808 4 -9223372036854775808 1 -9223372036854775808 ``` The `normalize` function is straightforward, and works fine when applied to manually subsetted data: ``` normalize(cdystonia.twstrs[cdystonia.patient==1]) 0 -0.181369 1 -0.544107 2 -1.632322 3 0.725476 4 1.088214 5 0.544107 Name: twstrs, dtype: float64 ``` Any guidance here much appreciated. I'm hoping its something obvious.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3740/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3740/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3741
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3741/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3741/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3741/events
https://github.com/pandas-dev/pandas/pull/3741
15,052,657
MDExOlB1bGxSZXF1ZXN0NjA3MDA1MQ==
3,741
TST/BUG: fix bs4 tests that were getting erroneously run when lxml is installed but not bs4
{ "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
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
42
2013-06-03T06:13:06Z
2014-06-12T18:25:57Z
2013-06-04T16:58:59Z
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/3741/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3741/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3741.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3741", "merged_at": "2013-06-04T16:58:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3741.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3741" }
https://api.github.com/repos/pandas-dev/pandas/issues/3742
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3742/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3742/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3742/events
https://github.com/pandas-dev/pandas/issues/3742
15,065,998
MDU6SXNzdWUxNTA2NTk5OA==
3,742
MultiIndex names attribute broken when using set_value() to expand DataFrame()
{ "avatar_url": "https://avatars.githubusercontent.com/u/1553566?v=4", "events_url": "https://api.github.com/users/thriveth/events{/privacy}", "followers_url": "https://api.github.com/users/thriveth/followers", "following_url": "https://api.github.com/users/thriveth/following{/other_user}", "gists_url": "https://api.github.com/users/thriveth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/thriveth", "id": 1553566, "login": "thriveth", "node_id": "MDQ6VXNlcjE1NTM1NjY=", "organizations_url": "https://api.github.com/users/thriveth/orgs", "received_events_url": "https://api.github.com/users/thriveth/received_events", "repos_url": "https://api.github.com/users/thriveth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/thriveth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thriveth/subscriptions", "type": "User", "url": "https://api.github.com/users/thriveth" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
4
2013-06-03T13:12:28Z
2013-07-02T00:07:29Z
2013-06-27T19:11:37Z
NONE
null
I have raised the issue in [this question](http://stackoverflow.com/questions/15621143/pandas-df-set-value-method-erases-resets-column-names-of-multiindex/15624426#15624426) on Stack Overflow, but I'm not sure it ever made it to the Pandas issue tracker. I have a MultiIndex'ed DataFrame which I want to expand by using `set_value()`, but doing this destroys the `names` attribute of the index. This does not happen when setting the value of an already existing entry in the DataFrame. An easily reproducible example is to create the dataframe by: ``` python lev1 = ['hans', 'hans', 'hans', 'grethe', 'grethe', 'grethe'] lev2 = ['1', '2', '3'] * 2 idx = pd.MultiIndex.from_arrays( [lev1, lev2], names=['Name', 'Number']) df = pd.DataFrame( np.random.randn(6, 4), columns=['one', 'two', 'three', 'four'], index=idx) df = df.sortlevel() df ``` This shows a neat and nice object, just as I expected, with proper naming of the index columns. If I now run: ``` python df.set_value(('grethe', '3'), 'one', 99.34) ``` the result is also as expected. But if I run: ``` python df.set_value(('grethe', '4'), 'one', 99.34) ``` The column names of the index are gone, and the `names` attribute has been set to `[None, 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/3742/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3742/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3743
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3743/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3743/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3743/events
https://github.com/pandas-dev/pandas/pull/3743
15,066,490
MDExOlB1bGxSZXF1ZXN0NjA3Njk0Ng==
3,743
BUG: (GH3740) Groupby transform with item-by-item not upcasting correctly
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
2013-06-03T13:24:35Z
2014-07-16T08:11:29Z
2013-06-03T17:09:29Z
CONTRIBUTOR
null
closes #3740
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3743/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3743/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3743.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3743", "merged_at": "2013-06-03T17:09:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3743.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3743" }
https://api.github.com/repos/pandas-dev/pandas/issues/3744
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3744/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3744/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3744/events
https://github.com/pandas-dev/pandas/pull/3744
15,068,277
MDExOlB1bGxSZXF1ZXN0NjA3NzkwOQ==
3,744
ENH: Experimental CustomBusinessDay DateOffset class. fixes #2301
{ "avatar_url": "https://avatars.githubusercontent.com/u/652285?v=4", "events_url": "https://api.github.com/users/snth/events{/privacy}", "followers_url": "https://api.github.com/users/snth/followers", "following_url": "https://api.github.com/users/snth/following{/other_user}", "gists_url": "https://api.github.com/users/snth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/snth", "id": 652285, "login": "snth", "node_id": "MDQ6VXNlcjY1MjI4NQ==", "organizations_url": "https://api.github.com/users/snth/orgs", "received_events_url": "https://api.github.com/users/snth/received_events", "repos_url": "https://api.github.com/users/snth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/snth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/snth/subscriptions", "type": "User", "url": "https://api.github.com/users/snth" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
47
2013-06-03T14:01:05Z
2014-07-02T10:29:35Z
2013-06-21T12:39:20Z
CONTRIBUTOR
null
I took a stab at issue #2301 using the busdaycalendar functionality in numpy 1.7. ### Caveats There are a few issues with this: - It requires Numpy 1.7 (I've only tested it on numpy 1.7.1). - The timezone handling in nump 1.7 is broken (according to [this discussion](http://numpy-discussion.10968.n7.nabble.com/timezones-and-datetime64-td33407.html) ) and the datetime64 and timezone API will change in numpy 1.8. So from what I understand the current code as I've written it might move you onto a different day if you're in a UTC-0?00 timezone (I'm in UTC+0200 so it didn't affect me). That said I didn't want to reinvent the wheel and since the numpy datetime64 api does cater for this usecase I thought it would be good to standardise on that in the long term. The code does what I need it to do and I'm putting it out there in case it's useful to anyone else. Also, with some feedback maybe we can get it to the point where it could be included in Pandas as an optional DateOffset class for users who have Numpy 1.7. ### Possible Improvements I can think of: - Guard in the constructor to raise a meaningful exception when the user doesn't is on Numpy < 1.7. - Better handling for the timezone issue. - Unit tests for the CustomBusinessDay behaviour. ### Notes - I picked the frequency code 'C' because it was available and fit nicely between 'D' and 'B'. I had originally named the class TradingDay and wanted to use 'T' but that's already used for Minutes. - I have no idea what goes on in frequencies.py and I simply put a 'C' wherever I found a 'B' using the reasoning that as a BusinessDay subclass it should work in all the same places.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3744/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3744/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3744.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3744", "merged_at": "2013-06-21T12:39:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3744.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3744" }
https://api.github.com/repos/pandas-dev/pandas/issues/3745
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3745/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3745/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3745/events
https://github.com/pandas-dev/pandas/issues/3745
15,071,566
MDU6SXNzdWUxNTA3MTU2Ng==
3,745
BUG: handle no rows returns from a sql query
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "5319e7", "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
2013-06-03T15:06:48Z
2014-09-20T19:01:26Z
2014-09-20T19:01:26Z
CONTRIBUTOR
null
related to #3523
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3745/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3745/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3746
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3746/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3746/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3746/events
https://github.com/pandas-dev/pandas/issues/3746
15,071,748
MDU6SXNzdWUxNTA3MTc0OA==
3,746
ERR: disallow direct tz setting
{ "avatar_url": "https://avatars.githubusercontent.com/u/60985?v=4", "events_url": "https://api.github.com/users/nipunbatra/events{/privacy}", "followers_url": "https://api.github.com/users/nipunbatra/followers", "following_url": "https://api.github.com/users/nipunbatra/following{/other_user}", "gists_url": "https://api.github.com/users/nipunbatra/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nipunbatra", "id": 60985, "login": "nipunbatra", "node_id": "MDQ6VXNlcjYwOTg1", "organizations_url": "https://api.github.com/users/nipunbatra/orgs", "received_events_url": "https://api.github.com/users/nipunbatra/received_events", "repos_url": "https://api.github.com/users/nipunbatra/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nipunbatra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nipunbatra/subscriptions", "type": "User", "url": "https://api.github.com/users/nipunbatra" }
[ { "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": "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": "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": "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": "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" }
9
2013-06-03T15:10:29Z
2018-04-11T02:29:55Z
2018-04-11T02:29:55Z
CONTRIBUTOR
null
related to #3714 tz should not be settable ``` df=pd.DataFrame({"events":np.ones(len(dates))},index=motor["timestamps"].astype("datetime64[s]")) df.describe() ``` | | events | | --- | --- | | count | 2393 | | mean | 1 | | std | 0 | | min | 1 | | 25% | 1 | | 50% | 1 | | 75% | 1 | | max | 1 | ``` df <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 2393 entries, 2013-05-30 11:58:36 to 2013-06-03 13:30:43 Data columns (total 1 columns): events 2393 non-null values dtypes: float64(1) df.index.tz='Asia/Kolkata' df.index <class 'pandas.tseries.index.DatetimeIndex'> [2013-05-30 17:28:36, ..., 2013-06-03 19:00:43] Length: 2393, Freq: None, Timezone: Asia/Kolkata df2=df[df.index.day==3] --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-39-23de8e1402be> in <module>() ----> 1 df2=df[df.index.day==3] /usr/local/lib/python2.7/dist-packages/pandas/tseries/index.pyc in f(self) 39 utc = _utc() 40 if self.tz is not utc: ---> 41 values = self._local_timestamps() 42 return tslib.get_date_field(values, field) 43 f.__name__ = name /usr/local/lib/python2.7/dist-packages/pandas/tseries/index.pyc in _local_timestamps(self) 399 values = self.asi8 400 indexer = values.argsort() --> 401 result = tslib.tz_convert(values.take(indexer), utc, self.tz) 402 403 n = len(indexer) /usr/local/lib/python2.7/dist-packages/pandas/tslib.so in pandas.tslib.tz_convert (pandas/tslib.c:20949)() /usr/local/lib/python2.7/dist-packages/pandas/tslib.so in pandas.tslib._get_deltas (pandas/tslib.c:22754)() /usr/local/lib/python2.7/dist-packages/pandas/tslib.so in pandas.tslib._get_utcoffset (pandas/tslib.c:11327)() AttributeError: 'str' object has no attribute 'utcoffset' ``` A temporary fix which i did was to add seconds to data manually while creating the 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/3746/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3746/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3747
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3747/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3747/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3747/events
https://github.com/pandas-dev/pandas/issues/3747
15,076,818
MDU6SXNzdWUxNTA3NjgxOA==
3,747
pandas/io/auth.py: Missing copyright statements (thus invalidating 3rd party libraries licenses)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4", "events_url": "https://api.github.com/users/yarikoptic/events{/privacy}", "followers_url": "https://api.github.com/users/yarikoptic/followers", "following_url": "https://api.github.com/users/yarikoptic/following{/other_user}", "gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yarikoptic", "id": 39889, "login": "yarikoptic", "node_id": "MDQ6VXNlcjM5ODg5", "organizations_url": "https://api.github.com/users/yarikoptic/orgs", "received_events_url": "https://api.github.com/users/yarikoptic/received_events", "repos_url": "https://api.github.com/users/yarikoptic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions", "type": "User", "url": "https://api.github.com/users/yarikoptic" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
2013-06-03T16:53:22Z
2013-06-06T20:20:53Z
2013-06-06T20:20:53Z
CONTRIBUTOR
null
Was originally reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700564 it has license header but no copyright information... license without a copyright is ... like a (non-google) car without driver
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3747/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3747/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3748
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3748/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3748/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3748/events
https://github.com/pandas-dev/pandas/issues/3748
15,081,060
MDU6SXNzdWUxNTA4MTA2MA==
3,748
Selecting columns from a HDFStore with a MultiIndex fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/158456?v=4", "events_url": "https://api.github.com/users/hmgaudecker/events{/privacy}", "followers_url": "https://api.github.com/users/hmgaudecker/followers", "following_url": "https://api.github.com/users/hmgaudecker/following{/other_user}", "gists_url": "https://api.github.com/users/hmgaudecker/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hmgaudecker", "id": 158456, "login": "hmgaudecker", "node_id": "MDQ6VXNlcjE1ODQ1Ng==", "organizations_url": "https://api.github.com/users/hmgaudecker/orgs", "received_events_url": "https://api.github.com/users/hmgaudecker/received_events", "repos_url": "https://api.github.com/users/hmgaudecker/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hmgaudecker/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hmgaudecker/subscriptions", "type": "User", "url": "https://api.github.com/users/hmgaudecker" }
[ { "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" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
16
2013-06-03T18:25:22Z
2013-09-11T19:38:12Z
2013-06-03T21:06:35Z
NONE
null
Using the example from the docs here: http://pandas.pydata.org/pandas-docs/dev/io.html#storing-multi-index-dataframes but specifying the 'columns' in `[1219]` keyword when selecting: ``` store.select('df_mi', columns=['A', 'B']) ``` leads to the failure below. The original example works, as does selecting columns with a standard index. I'm on a fairly recent master (~1 week) and Python 3.3. Hope this is not expected and I did not miss an issue, I did search for a bit. ``` KeyError Traceback (most recent call last) <ipython-input-67-678a9c77d998> in <module>() ----> 1 store.select('df_mi', columns=['A', 'B']) /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/io/pytables.py in select(self, key, where, start, stop, columns, iterator, chunksize, **kwargs) 413 return TableIterator(func, nrows=s.nrows, start=start, stop=stop, chunksize=chunksize) 414 --> 415 return TableIterator(func, nrows=s.nrows, start=start, stop=stop).get_values() 416 417 def select_as_coordinates(self, key, where=None, start=None, stop=None, **kwargs): /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/io/pytables.py in get_values(self) 931 932 def get_values(self): --> 933 return self.func(self.start, self.stop) 934 935 /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/io/pytables.py in func(_start, _stop) 408 # what we are actually going to do for a chunk 409 def func(_start, _stop): --> 410 return s.read(where=where, start=_start, stop=_stop, columns=columns, **kwargs) 411 412 if iterator or chunksize is not None: /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/io/pytables.py in read(self, *args, **kwargs) 3142 def read(self, *args, **kwargs): 3143 df = super(AppendableMultiFrameTable, self).read(*args, **kwargs) -> 3144 df.set_index(self.levels, inplace=True) 3145 return df 3146 /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/core/frame.py in set_index(self, keys, drop, append, inplace, verify_integrity) 2795 names.append(None) 2796 else: -> 2797 level = frame[col].values 2798 names.append(col) 2799 if drop: /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/core/frame.py in __getitem__(self, key) 1992 else: 1993 # get column -> 1994 return self._get_item_cache(key) 1995 1996 def _getitem_slice(self, key): /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/core/generic.py in _get_item_cache(self, item) 572 return cache[item] 573 except Exception: --> 574 values = self._data.get(item) 575 res = self._box_item_values(item, values) 576 cache[item] = res /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/core/internals.py in get(self, item) 1646 1647 def get(self, item): -> 1648 _, block = self._find_block(item) 1649 return block.get(item) 1650 /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/core/internals.py in _find_block(self, item) 1773 1774 def _find_block(self, item): -> 1775 self._check_have(item) 1776 for i, block in enumerate(self.blocks): 1777 if item in block: /home/xxx/anaconda/envs/py33/lib/python3.3/site-packages/pandas-0.12.0.dev_2bd1cf8-py3.3-linux-x86_64.egg/pandas/core/internals.py in _check_have(self, item) 1780 def _check_have(self, item): 1781 if item not in self.items: -> 1782 raise KeyError('no item named %s' % com.pprint_thing(item)) 1783 1784 def reindex_axis(self, new_axis, method=None, axis=0, copy=True): KeyError: 'no item named foo' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3748/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3748/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3749
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3749/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3749/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3749/events
https://github.com/pandas-dev/pandas/pull/3749
15,083,278
MDExOlB1bGxSZXF1ZXN0NjA4NTk2MA==
3,749
BUG: (GH3748) Incorrectly read a HDFStore multi-index Frame witha column specification
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
2013-06-03T19:08:40Z
2014-07-16T08:11:33Z
2013-06-03T21:06:35Z
CONTRIBUTOR
null
closes #3748 API: raise a `TypeError` on passing `where` or `columns` to select with a Storer e.g. these are invalid parameters at this time
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3749/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3749/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3749.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3749", "merged_at": "2013-06-03T21:06:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3749.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3749" }
https://api.github.com/repos/pandas-dev/pandas/issues/3750
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3750/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3750/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3750/events
https://github.com/pandas-dev/pandas/issues/3750
15,084,931
MDU6SXNzdWUxNTA4NDkzMQ==
3,750
BUG: HDFStore fails on py3 with pytables 3.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
3
2013-06-03T19:42:15Z
2013-06-13T15:38:49Z
2013-06-06T00:14:00Z
CONTRIBUTOR
null
we are not testing this now on travis fails because pytables 3.0 reads back strings as bytes and infer_dtype doesn't deal with this
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3750/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3750/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3751
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3751/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3751/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3751/events
https://github.com/pandas-dev/pandas/pull/3751
15,092,914
MDExOlB1bGxSZXF1ZXN0NjA5MDk1OA==
3,751
DOC: document bs4/lxml/html5lib issues
{ "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
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
48
2013-06-03T22:24:22Z
2014-07-16T08:11:35Z
2013-06-04T20:02:50Z
MEMBER
null
to summarize this mess of deps and check my thoughts here ### if a user insists on using `lxml` (either with or without `bs4`) - warning about its inability to deal with the modern web - warning saying that the user should install `html5lib` and `bs4` so that a page will parse even if `lxml` barfs - test coverage for failing and passing pages (things that would parse "correctly" before will now fail since the parser will be extremely strict) thus only pages validated by the DTD will even try to parse (to be fair I was really enthusiastic about `lxml` because of how fast it is but now i'm sort of against it) ### what users should really do - install `bs4` - install `html5lib` - happily parse things into `DataFrame`s with a low amount of stress ### anaconda + `lxml` (no `bs4`) - no problems (modulo the above warnings) @wesm maybe you could chime in about what (if anything) you did to `libxml2`/`libxslt` i wasn't clear on the details from the mailing list. ### anaconda + `bs4` + `lxml` - make sure that you're using `bs4==4.2.1` - make sure that you're using `lxml==3.2.1` - workout the details of how to do this with `conda` (i did this already, but it was 2 or 3 AM so I'm a little foggy on the details) ### anaconda + `bs4` + `html5lib` (no `lxml`) - happy parsing of HTML tables this will be in a gotcha that will be linked to from a warning at the top of the read html section of io.rst
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3751/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3751/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3751.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3751", "merged_at": "2013-06-04T20:02:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3751.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3751" }
https://api.github.com/repos/pandas-dev/pandas/issues/3752
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3752/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3752/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3752/events
https://github.com/pandas-dev/pandas/issues/3752
15,099,224
MDU6SXNzdWUxNTA5OTIyNA==
3,752
BUG: Problem with count aggregation of a boolean column
{ "avatar_url": "https://avatars.githubusercontent.com/u/1126872?v=4", "events_url": "https://api.github.com/users/cameronhatfield/events{/privacy}", "followers_url": "https://api.github.com/users/cameronhatfield/followers", "following_url": "https://api.github.com/users/cameronhatfield/following{/other_user}", "gists_url": "https://api.github.com/users/cameronhatfield/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cameronhatfield", "id": 1126872, "login": "cameronhatfield", "node_id": "MDQ6VXNlcjExMjY4NzI=", "organizations_url": "https://api.github.com/users/cameronhatfield/orgs", "received_events_url": "https://api.github.com/users/cameronhatfield/received_events", "repos_url": "https://api.github.com/users/cameronhatfield/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cameronhatfield/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cameronhatfield/subscriptions", "type": "User", "url": "https://api.github.com/users/cameronhatfield" }
[ { "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": "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": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
4
2013-06-04T02:23:24Z
2014-04-29T20:05:59Z
2014-04-29T20:05:59Z
NONE
null
The issue I am having is that in pandas 0.10.0, a count of boolean column with a single item in it would be 1, while a count of multiple items would of course be the number of items. In 0.11.0, it is now True if it is a single item, and the count otherwise. Result in 0.10.00 ``` console Single item Groupby DataFrame 0 bool 0 0 False Group By 0 bool 0 0 1 Multi item Groupby DataFrame 0 bool 0 0 False 1 0 True Group By 0 bool 0 0 2 ``` In 0.11.0, this is now the result: ``` console Single item Groupby DataFrame 0 bool 0 0 False Group By 0 bool 0 0 True Multi item Groupby DataFrame 0 bool 0 0 False 1 0 True Group By 0 bool 0 0 2 ``` Test Code: ``` python print('Single item Groupby') dsd = DataFrame.from_records([(0, False)], columns=['0', 'bool']) print('DataFrame') print(dsd) print('Group By') print(dsd.groupby(['0'], as_index=False).agg({'bool':Series.count})) print('Multi item Groupby') dsd = DataFrame.from_records([(0, False), (0, True)], columns=['0', 'bool']) print('DataFrame') print(dsd) print('Group By') print(dsd.groupby(['0'], as_index=False).agg({'bool':Series.count})) ``' ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3752/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3752/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3753
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3753/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3753/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3753/events
https://github.com/pandas-dev/pandas/issues/3753
15,123,911
MDU6SXNzdWUxNTEyMzkxMQ==
3,753
BUG: rplot.GeomDensity2D flips axes
{ "avatar_url": "https://avatars.githubusercontent.com/u/4612277?v=4", "events_url": "https://api.github.com/users/flo-rian/events{/privacy}", "followers_url": "https://api.github.com/users/flo-rian/followers", "following_url": "https://api.github.com/users/flo-rian/following{/other_user}", "gists_url": "https://api.github.com/users/flo-rian/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/flo-rian", "id": 4612277, "login": "flo-rian", "node_id": "MDQ6VXNlcjQ2MTIyNzc=", "organizations_url": "https://api.github.com/users/flo-rian/orgs", "received_events_url": "https://api.github.com/users/flo-rian/received_events", "repos_url": "https://api.github.com/users/flo-rian/repos", "site_admin": false, "starred_url": "https://api.github.com/users/flo-rian/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/flo-rian/subscriptions", "type": "User", "url": "https://api.github.com/users/flo-rian" }
[ { "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": "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" }
7
2013-06-04T15:10:42Z
2015-01-26T01:02:54Z
2015-01-26T01:02:54Z
NONE
null
The axes drawn by rplot.GeomDensity2D are flipped. line 565 reads: `ax.contour(Z, extent=[x_min, x_max, y_min, y_max])` but should read: `ax.contour(Z.T, extent=[x_min, x_max, y_min, y_max])` The following test code gives the results shown below: ``` python import numpy as np import pandas as pd import matplotlib.pyplot as plt import pandas.tools.rplot as rplot x = np.arange(1,30) y = x*x x = x + np.random.normal(size=x.shape) y = y + np.random.normal(size=y.shape) data = data = pd.DataFrame({'x': x, 'y': y}) plot = rplot.RPlot(data, x='x', y='y') plot.add(rplot.GeomScatter()) plot.add(rplot.GeomDensity2D()) plot.add(rplot.GeomPolyFit(degree=2)) plot.render(plt.gcf()) plt.show() ``` ![density_as_is](https://f.cloud.github.com/assets/4612277/606348/ce6e5b74-cd28-11e2-9c2d-575eef4a8186.png) ![density_fixed](https://f.cloud.github.com/assets/4612277/606349/ce706be4-cd28-11e2-8ac9-ea5a730c033c.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/3753/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3753/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3754
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3754/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3754/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3754/events
https://github.com/pandas-dev/pandas/issues/3754
15,134,429
MDU6SXNzdWUxNTEzNDQyOQ==
3,754
pandas.Series docstrings
{ "avatar_url": "https://avatars.githubusercontent.com/u/24195?v=4", "events_url": "https://api.github.com/users/mrjbq7/events{/privacy}", "followers_url": "https://api.github.com/users/mrjbq7/followers", "following_url": "https://api.github.com/users/mrjbq7/following{/other_user}", "gists_url": "https://api.github.com/users/mrjbq7/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mrjbq7", "id": 24195, "login": "mrjbq7", "node_id": "MDQ6VXNlcjI0MTk1", "organizations_url": "https://api.github.com/users/mrjbq7/orgs", "received_events_url": "https://api.github.com/users/mrjbq7/received_events", "repos_url": "https://api.github.com/users/mrjbq7/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mrjbq7/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mrjbq7/subscriptions", "type": "User", "url": "https://api.github.com/users/mrjbq7" }
[]
closed
false
null
[]
null
3
2013-06-04T18:44:56Z
2013-06-04T19:18:13Z
2013-06-04T19:00:27Z
NONE
null
Seems like the copy docstring in `pandas.Series` is duplicated. Instead of this: ``` dtype : numpy.dtype or None If None, dtype will be inferred copy : boolean, default False Copy input data copy : boolean, default False ``` Shouldn't it be this? ``` dtype : numpy.dtype or None If None, dtype will be inferred copy : boolean, default False Copy input data ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3754/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3754/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3755
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3755/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3755/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3755/events
https://github.com/pandas-dev/pandas/pull/3755
15,138,534
MDExOlB1bGxSZXF1ZXN0NjExNTI1OA==
3,755
DOC: minor issue with the description of the names attribute of multiindexes
{ "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
false
null
[]
null
1
2013-06-04T20:12:36Z
2013-12-04T00:56:44Z
2013-06-04T20:28:55Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3755/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3755/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3755.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3755", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3755.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3755" }
https://api.github.com/repos/pandas-dev/pandas/issues/3756
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3756/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3756/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3756/events
https://github.com/pandas-dev/pandas/issues/3756
15,145,528
MDU6SXNzdWUxNTE0NTUyOA==
3,756
SparseArray with dtype != float64
{ "avatar_url": "https://avatars.githubusercontent.com/u/24195?v=4", "events_url": "https://api.github.com/users/mrjbq7/events{/privacy}", "followers_url": "https://api.github.com/users/mrjbq7/followers", "following_url": "https://api.github.com/users/mrjbq7/following{/other_user}", "gists_url": "https://api.github.com/users/mrjbq7/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mrjbq7", "id": 24195, "login": "mrjbq7", "node_id": "MDQ6VXNlcjI0MTk1", "organizations_url": "https://api.github.com/users/mrjbq7/orgs", "received_events_url": "https://api.github.com/users/mrjbq7/received_events", "repos_url": "https://api.github.com/users/mrjbq7/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mrjbq7/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mrjbq7/subscriptions", "type": "User", "url": "https://api.github.com/users/mrjbq7" }
[ { "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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" } ]
closed
false
null
[]
{ "closed_at": "2014-02-03T05:17:36Z", "closed_issues": 314, "created_at": "2013-08-26T22:11:58Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }, "description": "Set to 2014-01-20\r\n@y-p\r\n\r\n0.13.0 ANN finally out on 2014-01-15, resetting two weeks hence, on 2014-01-29\r\n@y-p\r\n\r\n2014-01-27: Still getting steady bug reports, pushing one week to 2014-02-4\r\n@y-p\r\n\r\n2014-02-03: Released.", "due_on": "2014-02-04T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/23", "id": 412013, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23/labels", "node_id": "MDk6TWlsZXN0b25lNDEyMDEz", "number": 23, "open_issues": 0, "state": "closed", "title": "0.13.1", "updated_at": "2014-02-03T05:18:00Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/23" }
3
2013-06-04T22:48:03Z
2013-09-20T23:36:42Z
2013-09-20T23:36:42Z
NONE
null
It would be nice to support sparse arrays with `dtype` that is not just `float64`. Specifically, I have some data that is `int8` but sparse, it would be nice to be able to create a `SparseArray` with the `SparseIndex` feature tracking which values are set and which are not set. Obviously, `np.nan` can't be used to indicate not a value, but maybe a default can be provided (in my case, zero is a nice default).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3756/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3756/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3757
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3757/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3757/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3757/events
https://github.com/pandas-dev/pandas/issues/3757
15,165,918
MDU6SXNzdWUxNTE2NTkxOA==
3,757
read_csv epoch parsing with pd.to_datetime()
{ "avatar_url": "https://avatars.githubusercontent.com/u/60985?v=4", "events_url": "https://api.github.com/users/nipunbatra/events{/privacy}", "followers_url": "https://api.github.com/users/nipunbatra/followers", "following_url": "https://api.github.com/users/nipunbatra/following{/other_user}", "gists_url": "https://api.github.com/users/nipunbatra/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nipunbatra", "id": 60985, "login": "nipunbatra", "node_id": "MDQ6VXNlcjYwOTg1", "organizations_url": "https://api.github.com/users/nipunbatra/orgs", "received_events_url": "https://api.github.com/users/nipunbatra/received_events", "repos_url": "https://api.github.com/users/nipunbatra/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nipunbatra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nipunbatra/subscriptions", "type": "User", "url": "https://api.github.com/users/nipunbatra" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
16
2013-06-05T11:47:24Z
2013-06-06T15:52:15Z
2013-06-06T11:57:28Z
CONTRIBUTOR
null
References #3764 , #3540 ``` !head 001EC00CC49D_processed timestamp,frequency,voltage,active_power,energy,cost,current,reactive_power,apparent_power,power_factor,phase_angle 1369210417,49.99,234.187,1.138,0.131,0.000,0.014,3.036,3.242,0.351,69.458 1369210418,49.98,234.276,1.043,0.131,0.000,0.014,3.183,3.350,0.311,71.855 1369210419,49.97,234.306,1.043,0.132,0.000,0.014,3.100,3.271,0.319,71.411 1369210420,49.97,234.288,1.045,0.132,0.000,0.014,3.155,3.324,0.315,71.668 1369210421,49.98,234.330,1.047,0.133,0.000,0.014,3.099,3.271,0.320,71.332 1369210422,49.97,234.228,1.004,0.134,0.000,0.014,3.140,3.296,0.304,72.275 1369210423,49.99,234.260,1.036,0.134,0.000,0.013,2.986,3.161,0.328,70.861 1369210424,49.97,234.292,1.073,0.135,0.000,0.014,3.089,3.270,0.328,70.842 1369210425,49.98,234.259,1.073,0.135,0.000,0.014,3.089,3.270,0.328,70.839 def epoch_to_date(timestamp): return datetime.datetime.fromtimestamp(int(timestamp)) def epoch_to_date_2(timestamp): return pd.to_datetime(float(timestamp)*int(1e9)) df=pd.read_csv('001EC00CC49D_processed',parse_dates=[0],date_parser=epoch_to_date,index_col=0,error_bad_lines=False); df2=pd.read_csv('001EC00CC49D_processed',parse_dates=[0],date_parser=epoch_to_date_2,index_col=0,error_bad_lines=False); df <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 327818 entries, 2013-05-22 13:43:37 to 2013-06-05 12:22:16 Data columns (total 10 columns): frequency 327810 non-null values ... dtypes: float64(9), object(1) df2 <class 'pandas.core.frame.DataFrame'> Index: 327818 entries, 1.369210417e+18 to 1.370415136e+18 Data columns (total 10 columns): frequency 327810 non-null values .... dtypes: float64(9), object(1) ``` Using pd.to_datetime() took more time and also index is not DateTime Moreover, since a lot of people tend to record unix timestamps in order to escape different time formats, might be handy to add this functionality inbuilt.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3757/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3757/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3758
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3758/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3758/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3758/events
https://github.com/pandas-dev/pandas/pull/3758
15,166,233
MDExOlB1bGxSZXF1ZXN0NjEzMDAwOA==
3,758
BUG: (GH3611) revisited; read_excel not passing thru options to ExcelFile.parse
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
2013-06-05T11:56:43Z
2014-07-16T08:11:38Z
2013-06-05T14:02:43Z
CONTRIBUTOR
null
recloses #3611 API: add string and numeric versions of na_values when parsing
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3758/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3758/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3758.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3758", "merged_at": "2013-06-05T14:02:43Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3758.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3758" }
https://api.github.com/repos/pandas-dev/pandas/issues/3759
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3759/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3759/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3759/events
https://github.com/pandas-dev/pandas/issues/3759
15,167,067
MDU6SXNzdWUxNTE2NzA2Nw==
3,759
TimeSeries integration optimization
{ "avatar_url": "https://avatars.githubusercontent.com/u/1818628?v=4", "events_url": "https://api.github.com/users/metakermit/events{/privacy}", "followers_url": "https://api.github.com/users/metakermit/followers", "following_url": "https://api.github.com/users/metakermit/following{/other_user}", "gists_url": "https://api.github.com/users/metakermit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/metakermit", "id": 1818628, "login": "metakermit", "node_id": "MDQ6VXNlcjE4MTg2Mjg=", "organizations_url": "https://api.github.com/users/metakermit/orgs", "received_events_url": "https://api.github.com/users/metakermit/received_events", "repos_url": "https://api.github.com/users/metakermit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/metakermit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/metakermit/subscriptions", "type": "User", "url": "https://api.github.com/users/metakermit" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
null
11
2013-06-05T12:21:03Z
2013-06-07T13:20:19Z
2013-06-07T13:20:19Z
CONTRIBUTOR
null
Currently, using scipy.integrate to numerically integrate a pandas TimeSeries incurs quite a large overhead. I sketched up a quick benchmark in [this notebook](http://nbviewer.ipython.org/5512857). This overhead is causing me quite a lot of trouble in my personal work where this integration is the main bottleneck (sometimes lasting minutes on my data, whereas the rest of the analysis executes lightning-fast) and I feel that it shouldn't be that big of a deal since it more-or-less boils down to summing up values. I already talked about the issue with the scipy folks, to see if it would maybe be feasible to dynamically detect if it's a pandas.TimeSeries and rely on datetime operations, instead of making the user convert the domain to 1 int = 1 second. This would complicate their code a bit, but there would still be only one integration codebase to maintain. Another option would be to copy the portion of the code regarding sample-based numerical integration (which isn't too complicated - see e.g. [the cumtrapz function](https://github.com/scipy/scipy/blob/master/scipy/integrate/quadrature.py#L245)) into pandas and modify it to work faster. What is your opinion on the issue I am having? Do you maybe have some idea of how and where to solve it? I would like to hack on the code myself, so if you could point me in the right direction, it would be great.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3759/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3759/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3760
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3760/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3760/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3760/events
https://github.com/pandas-dev/pandas/pull/3760
15,168,681
MDExOlB1bGxSZXF1ZXN0NjEzMTMyMQ==
3,760
DataFrame.corr() now computing correlations only once
{ "avatar_url": "https://avatars.githubusercontent.com/u/1630469?v=4", "events_url": "https://api.github.com/users/jniznan/events{/privacy}", "followers_url": "https://api.github.com/users/jniznan/followers", "following_url": "https://api.github.com/users/jniznan/following{/other_user}", "gists_url": "https://api.github.com/users/jniznan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jniznan", "id": 1630469, "login": "jniznan", "node_id": "MDQ6VXNlcjE2MzA0Njk=", "organizations_url": "https://api.github.com/users/jniznan/orgs", "received_events_url": "https://api.github.com/users/jniznan/received_events", "repos_url": "https://api.github.com/users/jniznan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jniznan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jniznan/subscriptions", "type": "User", "url": "https://api.github.com/users/jniznan" }
[]
closed
false
null
[]
null
6
2013-06-05T13:05:20Z
2013-06-09T22:05:06Z
2013-06-09T22:05:06Z
CONTRIBUTOR
null
DataFrame.corr() for 'spearman' and 'kendall' was computing some correlations twice.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3760/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3760/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3760.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3760", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3760.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3760" }
https://api.github.com/repos/pandas-dev/pandas/issues/3761
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3761/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3761/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3761/events
https://github.com/pandas-dev/pandas/issues/3761
15,178,616
MDU6SXNzdWUxNTE3ODYxNg==
3,761
single bad value may cause datatype to become object
{ "avatar_url": "https://avatars.githubusercontent.com/u/60985?v=4", "events_url": "https://api.github.com/users/nipunbatra/events{/privacy}", "followers_url": "https://api.github.com/users/nipunbatra/followers", "following_url": "https://api.github.com/users/nipunbatra/following{/other_user}", "gists_url": "https://api.github.com/users/nipunbatra/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nipunbatra", "id": 60985, "login": "nipunbatra", "node_id": "MDQ6VXNlcjYwOTg1", "organizations_url": "https://api.github.com/users/nipunbatra/orgs", "received_events_url": "https://api.github.com/users/nipunbatra/received_events", "repos_url": "https://api.github.com/users/nipunbatra/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nipunbatra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nipunbatra/subscriptions", "type": "User", "url": "https://api.github.com/users/nipunbatra" }
[]
closed
false
null
[]
null
9
2013-06-05T16:07:45Z
2013-06-10T12:43:40Z
2013-06-10T12:43:40Z
CONTRIBUTOR
null
If reading a CSV, where one value got corrupt and doesn't remain a float, the inferred data type from read_csv would be object. eg. CSV contents ``` a,b 1.1,3.1 3.4,4,5 5.6,6.2 c3,7.2 In [37]: df=pd.read_csv('test_bad.csv',error_bad_lines=False) Skipping line 3: expected 2 fields, saw 3 In [38]: df Out[38]: a b 0 1.1 3.1 1 5.6 6.2 2 c3 7.2 ``` Several ways to look at this: - read_csv would allow for explicitly giving column types. Those rows which do not adhere are dropped - after seeing the warning, if the user can omit those rows using a simple method, rather than manually doing the same
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3761/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3761/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3762
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3762/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3762/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3762/events
https://github.com/pandas-dev/pandas/pull/3762
15,185,162
MDExOlB1bGxSZXF1ZXN0NjEzOTk3MA==
3,762
ENH: support HDFStore in Python3 (via PyTables 3.0.0)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
2013-06-05T18:21:30Z
2014-07-05T15:12:01Z
2013-06-06T00:14:00Z
CONTRIBUTOR
null
closes #3750 recently released PyTables 3.0.0 (and numexpr 2.1), which now support python3 were completely broken These changed all data to be stored as bytes (with to/from encoding/decoding) This PR supports an encoding argument (if you really want to encode your data), and provides transparent access for python3 (and backwards compat) to even python2 written stores
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3762/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3762/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3762.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3762", "merged_at": "2013-06-06T00:14:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3762.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3762" }
https://api.github.com/repos/pandas-dev/pandas/issues/3763
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3763/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3763/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3763/events
https://github.com/pandas-dev/pandas/issues/3763
15,185,711
MDU6SXNzdWUxNTE4NTcxMQ==
3,763
sql values returned incorrectly. Worked in 0.10.0 doesn't in 0.11.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1906730?v=4", "events_url": "https://api.github.com/users/JasonCrowe/events{/privacy}", "followers_url": "https://api.github.com/users/JasonCrowe/followers", "following_url": "https://api.github.com/users/JasonCrowe/following{/other_user}", "gists_url": "https://api.github.com/users/JasonCrowe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JasonCrowe", "id": 1906730, "login": "JasonCrowe", "node_id": "MDQ6VXNlcjE5MDY3MzA=", "organizations_url": "https://api.github.com/users/JasonCrowe/orgs", "received_events_url": "https://api.github.com/users/JasonCrowe/received_events", "repos_url": "https://api.github.com/users/JasonCrowe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JasonCrowe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JasonCrowe/subscriptions", "type": "User", "url": "https://api.github.com/users/JasonCrowe" }
[]
closed
false
null
[]
null
46
2013-06-05T18:31:32Z
2013-06-13T18:15:26Z
2013-06-13T18:15:26Z
NONE
null
###### ####### Code name_q = "SELECT cust_num, name from custaddr" result = CONNECTION.execute(name_q) rows = result.fetchall() COLUMNS = ['cust_num', 'name'] name_df = DataFrame(rows, columns=COLUMNS) ###### ####### Code end This code worked without fail on 0.10, but started failing as soon as I updated to 0.11.0. It gives me the following error. --- ValueError Traceback (most recent call last) <ipython-input-19-7e7e98951b65> in <module>() 5 6 COLUMNS = ['cust_num', 'name'] ----> 7 name_df = DataFrame(rows, columns=COLUMNS) 8 9 #name_df[:5] c:\Python27\lib\site-packages\pandas\core\frame.pyc in **init**(self, data, index, columns, dtype, copy) 426 else: 427 mgr = self._init_ndarray(data, index, columns, dtype=dtype, --> 428 copy=copy) 429 else: 430 mgr = self._init_ndarray(data, index, columns, dtype=dtype, c:\Python27\lib\site-packages\pandas\core\frame.pyc in _init_ndarray(self, values, index, columns, dtype, copy) 556 columns = _ensure_index(columns) 557 --> 558 return create_block_manager_from_blocks([ values.T ], [ columns, index ]) 559 560 def _wrap_array(self, arr, axes, copy=False): c:\Python27\lib\site-packages\pandas\core\internals.pyc in create_block_manager_from_blocks(blocks, axes) 1814 blocks = [ getattr(b,'values',b) for b in blocks ] 1815 tot_items = sum(b.shape[0] for b in blocks) -> 1816 construction_error(tot_items,blocks[0].shape[1:],axes) 1817 1818 def create_block_manager_from_arrays(arrays, names, axes): c:\Python27\lib\site-packages\pandas\core\internals.pyc in construction_error(tot_items, block_shape, axes) 1797 raise ValueError("Shape of passed values is %s, indices imply %s" % ( 1798 tuple(map(int, [tot_items] + list(block_shape))), -> 1799 tuple(map(int, [len(ax) for ax in axes])))) 1800 1801 ValueError: Shape of passed values is (1, 50178), indices imply (2, 50178) If I remove the named columns with the following code: ###### ####### Code name_q = "SELECT cust_num, name from custaddr" result = CONNECTION.execute(name_q) rows = result.fetchall() # COLUMNS = ['cust_num', 'name'] name_df = DataFrame(rows)#, columns=COLUMNS) name_df[:5] ###### ####### Code end I get: 0 0 [C001505, @@STOKES GENERAL STORE] 1 [C002815, 3R DISTRIBUTING LLC] 2 [C000032, 4 C'S EXPERT SHARPENING CO] 3 [C000033, 422 SHOES] 4 [C000034, 5 L ENTERPRISES] in 0.10 this would return two columns of data rather than one column of list.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3763/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3763/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3764
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3764/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3764/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3764/events
https://github.com/pandas-dev/pandas/pull/3764
15,197,656
MDExOlB1bGxSZXF1ZXN0NjE0NjY0OA==
3,764
BUG: Fix __truediv__ numexpr error
{ "avatar_url": "https://avatars.githubusercontent.com/u/1598379?v=4", "events_url": "https://api.github.com/users/jtratner/events{/privacy}", "followers_url": "https://api.github.com/users/jtratner/followers", "following_url": "https://api.github.com/users/jtratner/following{/other_user}", "gists_url": "https://api.github.com/users/jtratner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jtratner", "id": 1598379, "login": "jtratner", "node_id": "MDQ6VXNlcjE1OTgzNzk=", "organizations_url": "https://api.github.com/users/jtratner/orgs", "received_events_url": "https://api.github.com/users/jtratner/received_events", "repos_url": "https://api.github.com/users/jtratner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jtratner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jtratner/subscriptions", "type": "User", "url": "https://api.github.com/users/jtratner" }
[]
closed
false
null
[]
null
40
2013-06-05T22:40:00Z
2014-06-13T05:42:35Z
2013-06-18T13:01:18Z
CONTRIBUTOR
null
Fixes a number of items relating to accelerated arithmetic in frame. --- `__truediv__` had been set up to use numexpr, but this happened by passingthe division operator as the string. numexpr's evaluate only checked 2 frames up, which meant that it picked up the division setting from`frame.py` and would do floor/integer division when both inputs were integers.You'd only see that issue with a dataframe large enough to trigger numexpr evaluation (>10000 cells) This adds test cases to `test_expression.py` that [exhibit this failure under thePython2.7 full deps test](https://travis-ci.org/jtratner/pandas/builds/7822069). The testcases only test `Series` and `DataFrame` (though it looks like neither`Series` nor `Panel` use `numexpr`). It doesn't fail under Python 3 because integer division is totally gone. Now `evaluate`, `_evaluate_standard` and `_evaluate_numexpr` all accept extra keyword arguments, which are passed to `numexpr.evaluate`. The test case is currently a separate commit that fails. I wasn't sure whether I should have combined it with the bugfix commit or not. Happyto change it if that's more 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/3764/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3764/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3764.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3764", "merged_at": "2013-06-18T13:01:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3764.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3764" }
https://api.github.com/repos/pandas-dev/pandas/issues/3765
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3765/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3765/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3765/events
https://github.com/pandas-dev/pandas/issues/3765
15,198,680
MDU6SXNzdWUxNTE5ODY4MA==
3,765
PERF: have series/panel arithmetic operators use expressions (numexpr)
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
31
2013-06-05T23:06:31Z
2013-09-29T17:02:25Z
2013-09-29T17:02:25Z
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/3765/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3765/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3766
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3766/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3766/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3766/events
https://github.com/pandas-dev/pandas/pull/3766
15,199,251
MDExOlB1bGxSZXF1ZXN0NjE0NzUyMQ==
3,766
ENH: allow fallback when lxml fails to parse
{ "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
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": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
48
2013-06-05T23:24:33Z
2014-07-16T08:11:53Z
2013-06-06T19:26:23Z
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/3766/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3766/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3766.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3766", "merged_at": "2013-06-06T19:26:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3766.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3766" }
https://api.github.com/repos/pandas-dev/pandas/issues/3767
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3767/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3767/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3767/events
https://github.com/pandas-dev/pandas/issues/3767
15,199,412
MDU6SXNzdWUxNTE5OTQxMg==
3,767
Add Pandas PyCON/ SciPy video links to official documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/60985?v=4", "events_url": "https://api.github.com/users/nipunbatra/events{/privacy}", "followers_url": "https://api.github.com/users/nipunbatra/followers", "following_url": "https://api.github.com/users/nipunbatra/following{/other_user}", "gists_url": "https://api.github.com/users/nipunbatra/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nipunbatra", "id": 60985, "login": "nipunbatra", "node_id": "MDQ6VXNlcjYwOTg1", "organizations_url": "https://api.github.com/users/nipunbatra/orgs", "received_events_url": "https://api.github.com/users/nipunbatra/received_events", "repos_url": "https://api.github.com/users/nipunbatra/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nipunbatra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nipunbatra/subscriptions", "type": "User", "url": "https://api.github.com/users/nipunbatra" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2014-07-11T00:02:53Z", "closed_issues": 306, "created_at": "2014-04-27T23:40:28Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "bug fixes from 0.14.0", "due_on": "2014-07-11T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/27", "id": 641843, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels", "node_id": "MDk6TWlsZXN0b25lNjQxODQz", "number": 27, "open_issues": 0, "state": "closed", "title": "0.14.1", "updated_at": "2014-09-05T10:24:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27" }
18
2013-06-05T23:30:38Z
2014-06-05T12:10:57Z
2014-06-05T12:10:57Z
CONTRIBUTOR
null
I had learnt a lot from some of the videos like Wes' talk on Pandas for timeseries. Some of the ones i have viewed and are not found on official docs - http://pyvideo.org/video/696/pandas-powerful-data-analysis-tools-for-python - http://pyvideo.org/video/611/data-analysis-in-python-with-pandas - http://www.youtube.com/watch?v=0unf-C-pBYE - http://vimeo.com/53065093 I am sure more such stuff is not yet linked
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3767/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3767/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3768
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3768/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3768/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3768/events
https://github.com/pandas-dev/pandas/pull/3768
15,200,260
MDExOlB1bGxSZXF1ZXN0NjE0ODExMA==
3,768
TST: install numexpr always on travis, bottleneck on full-deps
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
2013-06-06T00:02:31Z
2014-07-16T08:11:59Z
2013-06-06T01:24:15Z
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/3768/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3768/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3768.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3768", "merged_at": "2013-06-06T01:24:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3768.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3768" }
https://api.github.com/repos/pandas-dev/pandas/issues/3769
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3769/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3769/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3769/events
https://github.com/pandas-dev/pandas/issues/3769
15,203,010
MDU6SXNzdWUxNTIwMzAxMA==
3,769
setup.py develop does not perform python 3 conversion
{ "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
false
null
[]
null
1
2013-06-06T02:09:17Z
2013-06-07T22:52:05Z
2013-06-07T22:52:05Z
MEMBER
null
just tested this on ubuntu precise 32-bit and `python setup.py install` works correctly
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3769/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3769/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3770
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3770/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3770/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3770/events
https://github.com/pandas-dev/pandas/pull/3770
15,204,505
MDExOlB1bGxSZXF1ZXN0NjE1MDMyMg==
3,770
TST: let tox run more tests
{ "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
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
2013-06-06T03:24:07Z
2014-07-16T08:12:01Z
2013-06-06T15:01:14Z
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/3770/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3770/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3770.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3770", "merged_at": "2013-06-06T15:01:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3770.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3770" }
https://api.github.com/repos/pandas-dev/pandas/issues/3771
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3771/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3771/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3771/events
https://github.com/pandas-dev/pandas/pull/3771
15,206,594
MDExOlB1bGxSZXF1ZXN0NjE1MTM2NQ==
3,771
Cookbook epoch handling
{ "avatar_url": "https://avatars.githubusercontent.com/u/60985?v=4", "events_url": "https://api.github.com/users/nipunbatra/events{/privacy}", "followers_url": "https://api.github.com/users/nipunbatra/followers", "following_url": "https://api.github.com/users/nipunbatra/following{/other_user}", "gists_url": "https://api.github.com/users/nipunbatra/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nipunbatra", "id": 60985, "login": "nipunbatra", "node_id": "MDQ6VXNlcjYwOTg1", "organizations_url": "https://api.github.com/users/nipunbatra/orgs", "received_events_url": "https://api.github.com/users/nipunbatra/received_events", "repos_url": "https://api.github.com/users/nipunbatra/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nipunbatra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nipunbatra/subscriptions", "type": "User", "url": "https://api.github.com/users/nipunbatra" }
[]
closed
false
null
[]
null
0
2013-06-06T05:28:32Z
2014-07-03T09:26:16Z
2013-06-06T11:57:28Z
CONTRIBUTOR
null
Added link to cookbook explaining how to use `read_csv` to parse files containing epoch timestamps and how to add local timezone information. Closes #3757
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3771/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3771/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3771.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3771", "merged_at": "2013-06-06T11:57:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3771.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3771" }
https://api.github.com/repos/pandas-dev/pandas/issues/3772
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3772/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3772/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3772/events
https://github.com/pandas-dev/pandas/pull/3772
15,208,295
MDExOlB1bGxSZXF1ZXN0NjE1MjIyNA==
3,772
ENH: Provide a default key name in read_hdf and to_hdf
{ "avatar_url": "https://avatars.githubusercontent.com/u/383090?v=4", "events_url": "https://api.github.com/users/zonca/events{/privacy}", "followers_url": "https://api.github.com/users/zonca/followers", "following_url": "https://api.github.com/users/zonca/following{/other_user}", "gists_url": "https://api.github.com/users/zonca/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zonca", "id": 383090, "login": "zonca", "node_id": "MDQ6VXNlcjM4MzA5MA==", "organizations_url": "https://api.github.com/users/zonca/orgs", "received_events_url": "https://api.github.com/users/zonca/received_events", "repos_url": "https://api.github.com/users/zonca/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zonca/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zonca/subscriptions", "type": "User", "url": "https://api.github.com/users/zonca" }
[]
closed
false
null
[]
null
4
2013-06-06T06:53:40Z
2014-07-02T14:05:41Z
2013-06-07T13:43:02Z
NONE
null
For convenience, provide a default name ("data") to quickly store and retrieve data from HDF5. Now for csv: ``` python df3 = pd.DataFrame(np.random.randn(10, 5), columns=['a', 'b', 'c', 'd', 'e']) df3.to_csv("df3.csv") print df3.from_csv("df3.csv") ``` for HDF5: ``` python df3 = pd.DataFrame(np.random.randn(10, 5), columns=['a', 'b', 'c', 'd', 'e']) df3.to_hdf("df3.h5", "data") print pd.read_hdf("df3.h5", "data") ``` I would suggest to provide a default key name that would make it more convenient to read and write to HDF5 when it contains only one dataset. In this PR: ``` python df3 = pd.DataFrame(np.random.randn(10, 5), columns=['a', 'b', 'c', 'd', 'e']) df3.to_hdf("df3.h5") print pd.read_hdf("df3.h5") ``` Instead I would not provide a default key in `pd.read_hdf` because it would break backward compatibility.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3772/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3772/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3772.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3772", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3772.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3772" }
https://api.github.com/repos/pandas-dev/pandas/issues/3773
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3773/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3773/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3773/events
https://github.com/pandas-dev/pandas/issues/3773
15,212,977
MDU6SXNzdWUxNTIxMjk3Nw==
3,773
pandas daily standar deviation
{ "avatar_url": "https://avatars.githubusercontent.com/u/3412848?v=4", "events_url": "https://api.github.com/users/jsudheer/events{/privacy}", "followers_url": "https://api.github.com/users/jsudheer/followers", "following_url": "https://api.github.com/users/jsudheer/following{/other_user}", "gists_url": "https://api.github.com/users/jsudheer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jsudheer", "id": 3412848, "login": "jsudheer", "node_id": "MDQ6VXNlcjM0MTI4NDg=", "organizations_url": "https://api.github.com/users/jsudheer/orgs", "received_events_url": "https://api.github.com/users/jsudheer/received_events", "repos_url": "https://api.github.com/users/jsudheer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jsudheer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jsudheer/subscriptions", "type": "User", "url": "https://api.github.com/users/jsudheer" }
[]
closed
false
null
[]
null
21
2013-06-06T09:21:14Z
2013-12-04T00:56:39Z
2013-06-10T16:48:55Z
NONE
null
Dear Developers, I use the below code to read a netcdf file and get standard deviation of hourly data for each day. Though I get the values they are not matching with the hand computed values. Can any one tell me what I need to do for this to work with best regards, Sudheer ``` python from netCDF4 import Dataset as ncd from netCDF4 import num2date from jdcal import * from pandas import Series,tseries,date_range import numpy as np import datetime as dt from matplotlib import pyplot as plt ncf=ncd('cur0n90e_10m.cdf','r') time=ncf.variables['time'][:] ru=ncf.variables['U_320'][:] ru[np.where(ru==1e+35)]='NaN' ru=np.squeeze(ru[:,0,0,0]) torg=ncf.variables['time'].units dates=num2date(time,torg,calendar='standard') torg=str(torg[len(torg)-19:len(torg)]) yr=float(torg[0:4]) mn=float(torg[5:7]) dd=float(torg[8:10]) hh=torg[11:13] mm=torg[14:16] ss=torg[17:19] tfrac=(float(hh)+float(mm)/60.0+float(ss)/3600.0)/24.0 tfrac=float("%.2f" % tfrac) refdate=gcal2jd(yr,mn,dd) dtref=dt.datetime(int(yr),int(mn),int(dd),int(hh),int(mm),int(ss)) gtime=[] D1=dates[0] D2=dates[len(dates)-1] daily=date_range(D1,D2,freq='D') #dtrng=date_range(dtref, periods=len(time),freq='10min') dtrng=date_range(D1,D2,freq='10min') ts = Series(ru, index=dtrng,dtype='float64') std=ts.groupby(daily.asof).std() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3773/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3773/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3774
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3774/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3774/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3774/events
https://github.com/pandas-dev/pandas/issues/3774
15,215,546
MDU6SXNzdWUxNTIxNTU0Ng==
3,774
error bars
{ "avatar_url": "https://avatars.githubusercontent.com/u/3412848?v=4", "events_url": "https://api.github.com/users/jsudheer/events{/privacy}", "followers_url": "https://api.github.com/users/jsudheer/followers", "following_url": "https://api.github.com/users/jsudheer/following{/other_user}", "gists_url": "https://api.github.com/users/jsudheer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jsudheer", "id": 3412848, "login": "jsudheer", "node_id": "MDQ6VXNlcjM0MTI4NDg=", "organizations_url": "https://api.github.com/users/jsudheer/orgs", "received_events_url": "https://api.github.com/users/jsudheer/received_events", "repos_url": "https://api.github.com/users/jsudheer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jsudheer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jsudheer/subscriptions", "type": "User", "url": "https://api.github.com/users/jsudheer" }
[]
closed
false
null
[]
null
8
2013-06-06T10:20:17Z
2013-06-07T17:28:04Z
2013-06-07T17:27:52Z
NONE
null
Dear developers, Is there a way to add error bar to a ts.plot object? for example I have a time series and I need to plot the standard deviation along with the data how do I do that ? Thanks Sudheer
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3774/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3774/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3775
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3775/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3775/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3775/events
https://github.com/pandas-dev/pandas/pull/3775
15,220,148
MDExOlB1bGxSZXF1ZXN0NjE1ODI1Ng==
3,775
Update Release notes (PR#3666)
{ "avatar_url": "https://avatars.githubusercontent.com/u/157864?v=4", "events_url": "https://api.github.com/users/reubano/events{/privacy}", "followers_url": "https://api.github.com/users/reubano/followers", "following_url": "https://api.github.com/users/reubano/following{/other_user}", "gists_url": "https://api.github.com/users/reubano/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/reubano", "id": 157864, "login": "reubano", "node_id": "MDQ6VXNlcjE1Nzg2NA==", "organizations_url": "https://api.github.com/users/reubano/orgs", "received_events_url": "https://api.github.com/users/reubano/received_events", "repos_url": "https://api.github.com/users/reubano/repos", "site_admin": false, "starred_url": "https://api.github.com/users/reubano/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/reubano/subscriptions", "type": "User", "url": "https://api.github.com/users/reubano" }
[]
closed
false
null
[]
null
15
2013-06-06T12:35:19Z
2013-09-07T01:11:46Z
2013-06-13T20:14:46Z
NONE
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3775/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3775/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3775.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3775", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/3775.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3775" }
https://api.github.com/repos/pandas-dev/pandas/issues/3776
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3776/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3776/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3776/events
https://github.com/pandas-dev/pandas/issues/3776
15,224,172
MDU6SXNzdWUxNTIyNDE3Mg==
3,776
concat no longer works on a generator
{ "avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4", "events_url": "https://api.github.com/users/jseabold/events{/privacy}", "followers_url": "https://api.github.com/users/jseabold/followers", "following_url": "https://api.github.com/users/jseabold/following{/other_user}", "gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jseabold", "id": 296164, "login": "jseabold", "node_id": "MDQ6VXNlcjI5NjE2NA==", "organizations_url": "https://api.github.com/users/jseabold/orgs", "received_events_url": "https://api.github.com/users/jseabold/received_events", "repos_url": "https://api.github.com/users/jseabold/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jseabold/subscriptions", "type": "User", "url": "https://api.github.com/users/jseabold" }
[ { "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": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
5
2013-06-06T14:05:35Z
2013-06-06T14:41:32Z
2013-06-06T14:38:58Z
CONTRIBUTOR
null
I updated pandas and now my data loading scripts are broken. Something like this works on 0.11.0 ``` pandas.concat(pandas.DataFrame(np.random.rand(5,5)) for _ in range(3)).reset_index() ``` Does not work on recent master (6cd4adc).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3776/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3776/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3777
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3777/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3777/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3777/events
https://github.com/pandas-dev/pandas/issues/3777
15,228,562
MDU6SXNzdWUxNTIyODU2Mg==
3,777
.loc[] assignment gives broadcast error
{ "avatar_url": "https://avatars.githubusercontent.com/u/674200?v=4", "events_url": "https://api.github.com/users/twiecki/events{/privacy}", "followers_url": "https://api.github.com/users/twiecki/followers", "following_url": "https://api.github.com/users/twiecki/following{/other_user}", "gists_url": "https://api.github.com/users/twiecki/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twiecki", "id": 674200, "login": "twiecki", "node_id": "MDQ6VXNlcjY3NDIwMA==", "organizations_url": "https://api.github.com/users/twiecki/orgs", "received_events_url": "https://api.github.com/users/twiecki/received_events", "repos_url": "https://api.github.com/users/twiecki/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twiecki/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twiecki/subscriptions", "type": "User", "url": "https://api.github.com/users/twiecki" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": 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" }
23
2013-06-06T15:22:33Z
2018-07-06T20:21:00Z
2017-07-11T09:58:31Z
CONTRIBUTOR
null
``` python In [8]: wp = Panel(randn(2, 5, 4), items=['Item1', 'Item2'], major_axis=date_range('1/1/2000', periods=5), minor_axis=['A', 'B', 'C', 'D']) In [9]: wp2 = Panel(randn(2, 5, 4), items=['Item1', 'Item2'], major_axis=date_range('1/1/2000', periods=5), minor_axis=['A', 'B', 'C', 'D']) In [10]: wp.loc[['Item1', 'Item2'], :, ['A', 'B']] Out[10]: <class 'pandas.core.panel.Panel'> Dimensions: 2 (items) x 5 (major_axis) x 2 (minor_axis) Items axis: Item1 to Item2 Major_axis axis: 2000-01-01 00:00:00 to 2000-01-05 00:00:00 Minor_axis axis: A to B In [11]: wp.loc[['Item1', 'Item2'], :, ['A', 'B']] = wp2.loc[['Item1', 'Item2'], :, ['A', 'B']] --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-11-275f8d9be664> in <module>() ----> 1 wp.loc[['Item1', 'Item2'], :, ['A', 'B']] = wp2.loc[['Item1', 'Item2'], :, ['A', 'B']] /usr/local/lib/python2.7/dist-packages/pandas/core/indexing.pyc in __setitem__(self, key, value) 85 indexer = self._convert_to_indexer(key) 86 ---> 87 self._setitem_with_indexer(indexer, value) 88 89 def _has_valid_tuple(self, key): /usr/local/lib/python2.7/dist-packages/pandas/core/indexing.pyc in _setitem_with_indexer(self, indexer, value) 182 values = self.obj.values 183 if np.prod(values.shape): --> 184 values[indexer] = value 185 186 def _align_series(self, indexer, ser): ValueError: array is not broadcastable to correct shape ``` Those should be the same shape so I don't see why this assignment shouldn't work. This is with pandas 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/3777/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3777/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3778
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3778/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3778/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3778/events
https://github.com/pandas-dev/pandas/issues/3778
15,228,983
MDU6SXNzdWUxNTIyODk4Mw==
3,778
DataFrame fails late when initialized from structured array with non-native byte order
{ "avatar_url": "https://avatars.githubusercontent.com/u/852409?v=4", "events_url": "https://api.github.com/users/cdeil/events{/privacy}", "followers_url": "https://api.github.com/users/cdeil/followers", "following_url": "https://api.github.com/users/cdeil/following{/other_user}", "gists_url": "https://api.github.com/users/cdeil/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cdeil", "id": 852409, "login": "cdeil", "node_id": "MDQ6VXNlcjg1MjQwOQ==", "organizations_url": "https://api.github.com/users/cdeil/orgs", "received_events_url": "https://api.github.com/users/cdeil/received_events", "repos_url": "https://api.github.com/users/cdeil/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cdeil/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cdeil/subscriptions", "type": "User", "url": "https://api.github.com/users/cdeil" }
[]
closed
false
null
[]
null
25
2013-06-06T15:29:54Z
2013-06-06T19:00:03Z
2013-06-06T19:00:03Z
CONTRIBUTOR
null
I ran into this issue trying to read in astronomy [FITS](http://fits.gsfc.nasa.gov) data into a pandas DataFrame: https://github.com/astropy/astropy/issues/1156 Note that this doesn't fail on DataFrame construction, but on column selection (the last line): ``` import pandas as pd from astropy.io import fits data = fits.getdata('table.fits', 1) table = pd.DataFrame(data) table = table.set_index(['ROI', 'Solution']) print(table.head()) #print(table.xs('HESS_J1023m575')) print(table[['nfev', 'statname']]) ``` Is it possible to either make this work directly or to fail on DataFrame construction and tell the user to e.g. fix the issue by setting an option `fix_byte_order=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/3778/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3778/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3779
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3779/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3779/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3779/events
https://github.com/pandas-dev/pandas/issues/3779
15,229,218
MDU6SXNzdWUxNTIyOTIxOA==
3,779
Performance of Series vs ndarray?
{ "avatar_url": "https://avatars.githubusercontent.com/u/24195?v=4", "events_url": "https://api.github.com/users/mrjbq7/events{/privacy}", "followers_url": "https://api.github.com/users/mrjbq7/followers", "following_url": "https://api.github.com/users/mrjbq7/following{/other_user}", "gists_url": "https://api.github.com/users/mrjbq7/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mrjbq7", "id": 24195, "login": "mrjbq7", "node_id": "MDQ6VXNlcjI0MTk1", "organizations_url": "https://api.github.com/users/mrjbq7/orgs", "received_events_url": "https://api.github.com/users/mrjbq7/received_events", "repos_url": "https://api.github.com/users/mrjbq7/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mrjbq7/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mrjbq7/subscriptions", "type": "User", "url": "https://api.github.com/users/mrjbq7" }
[]
closed
false
null
[]
null
8
2013-06-06T15:33:33Z
2013-06-06T15:51:08Z
2013-06-06T15:40:46Z
NONE
null
I didn't expect using `pandas.Series` to be almost 4 times slower for some common operations: ``` python In [161]: a = np.arange(100) In [162]: b = pandas.Series(a) In [163]: %timeit abs(a).sum() 100000 loops, best of 3: 7.06 us per loop In [164]: %timeit abs(b).sum() 10000 loops, best of 3: 27.4 us per loop In [166]: %timeit abs(a) 1000000 loops, best of 3: 1.43 us per loop In [167]: %timeit abs(b) 100000 loops, best of 3: 4.33 us per loop ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3779/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3779/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3780
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3780/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3780/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3780/events
https://github.com/pandas-dev/pandas/pull/3780
15,235,023
MDExOlB1bGxSZXF1ZXN0NjE2NjQ4Ng==
3,780
DOC: document the pitfalls of different byte orders
{ "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
false
null
[]
null
12
2013-06-06T17:33:11Z
2014-07-11T02:49:31Z
2013-06-06T19:00:04Z
MEMBER
null
closes #3778 .
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3780/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3780/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3780.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3780", "merged_at": "2013-06-06T19:00:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3780.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3780" }
https://api.github.com/repos/pandas-dev/pandas/issues/3781
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3781/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3781/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3781/events
https://github.com/pandas-dev/pandas/issues/3781
15,243,194
MDU6SXNzdWUxNTI0MzE5NA==
3,781
BUG: Numpy Ufunc generates unintuitive AttributeError on object arrays
{ "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": "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": "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-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
3
2013-06-06T20:21:42Z
2014-02-18T19:21:48Z
2014-02-18T19:21:48Z
CONTRIBUTOR
null
Example: ``` In [15]: np.log(Series([1,2,3,4], dtype='object')) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-15-25deca6462b7> in <module>() ----> 1 np.log(Series([1,2,3,4], dtype='object')) AttributeError: log ``` This is really a [numpy issue](http://projects.scipy.org/numpy/ticket/1013) (opened by Wes back in 2009, as Andy Hayden pointed out). But since object arrays are especially common in database output, as was the case in this [SO question](http://stackoverflow.com/questions/16968433/error-when-trying-to-apply-log-method-to-pandas-data-frame-column-in-python/1696849), there some places in pandas where we can help avoid this error.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3781/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3781/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3782
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3782/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3782/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3782/events
https://github.com/pandas-dev/pandas/issues/3782
15,245,154
MDU6SXNzdWUxNTI0NTE1NA==
3,782
Change save to to_pickle
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "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": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
8
2013-06-06T21:01:24Z
2013-06-15T12:27:36Z
2013-06-15T12:27:36Z
CONTRIBUTOR
null
Should we change the name of `save` to `to_pickle` inline with all of the other ways to export things. At the moment the docs are pretty light on what it does. (I guess similarly with `load` to `from_pickle`.) _... not sure I actually have an opinion, but thought I'd throw it out there._ Thoughts? (this so question: http://stackoverflow.com/questions/16971803/serialization-of-a-pandas-dataframe)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3782/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3782/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3783
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3783/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3783/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3783/events
https://github.com/pandas-dev/pandas/issues/3783
15,245,197
MDU6SXNzdWUxNTI0NTE5Nw==
3,783
ENH: allow list of collections.Sequence to be coerced in DataFrame 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": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" } ]
{ "closed_at": "2013-12-30T19:53:14Z", "closed_issues": 1076, "created_at": "2012-11-15T23:33:37Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)", "due_on": "2013-12-30T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/18", "id": 213925, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels", "node_id": "MDk6TWlsZXN0b25lMjEzOTI1", "number": 18, "open_issues": 0, "state": "closed", "title": "0.13", "updated_at": "2017-07-22T19:00:05Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18" }
2
2013-06-06T21:02:13Z
2013-09-13T22:54:42Z
2013-09-13T22:54:42Z
CONTRIBUTOR
null
see #3763 to essentially turn into list-of-list (originally np.asaray was doing this, when we switched to convert_to_platform this changed slightly)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3783/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3783/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3784
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3784/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3784/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3784/events
https://github.com/pandas-dev/pandas/issues/3784
15,246,739
MDU6SXNzdWUxNTI0NjczOQ==
3,784
DOC: add to_clipboard example in io.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
14
2013-06-06T21:33:50Z
2013-06-13T18:42:30Z
2013-06-13T18:42:30Z
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/3784/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3784/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3785
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3785/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3785/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3785/events
https://github.com/pandas-dev/pandas/issues/3785
15,247,693
MDU6SXNzdWUxNTI0NzY5Mw==
3,785
cython not found when building from source
{ "avatar_url": "https://avatars.githubusercontent.com/u/50109?v=4", "events_url": "https://api.github.com/users/gliptak/events{/privacy}", "followers_url": "https://api.github.com/users/gliptak/followers", "following_url": "https://api.github.com/users/gliptak/following{/other_user}", "gists_url": "https://api.github.com/users/gliptak/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gliptak", "id": 50109, "login": "gliptak", "node_id": "MDQ6VXNlcjUwMTA5", "organizations_url": "https://api.github.com/users/gliptak/orgs", "received_events_url": "https://api.github.com/users/gliptak/received_events", "repos_url": "https://api.github.com/users/gliptak/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gliptak/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gliptak/subscriptions", "type": "User", "url": "https://api.github.com/users/gliptak" }
[]
closed
false
null
[]
null
9
2013-06-06T21:57:54Z
2020-07-30T13:13:38Z
2013-06-07T17:20:59Z
CONTRIBUTOR
null
This is when running on current master. Might there be some other prereqs missing? Thanks ``` $ cython --version Cython version 0.17.4 $ python setup.py build running build running build_py copying pandas/version.py -> build/lib.linux-x86_64-2.7/pandas running build_ext Traceback (most recent call last): File "setup.py", line 516, in <module> **setuptools_kwargs) File "/usr/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run self.run_command(cmd_name) File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run self.build_extensions() File "setup.py", line 328, in build_extensions self.check_cython_extensions(self.extensions) File "setup.py", line 325, in check_cython_extensions """ % src) Exception: Cython-generated file 'pandas/parser.c' not found. Cython is required to compile pandas from a development branch. Please install Cython or download a release package of pandas. ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3785/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3785/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3786
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3786/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3786/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3786/events
https://github.com/pandas-dev/pandas/pull/3786
15,248,120
MDExOlB1bGxSZXF1ZXN0NjE3NDAxMg==
3,786
DOC: make compatible with numpy v1.6.1
{ "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
false
null
[]
null
0
2013-06-06T22:09:16Z
2014-07-16T08:12:15Z
2013-06-07T00:18:55Z
MEMBER
null
all does not work so use array_equal
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3786/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3786/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3786.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3786", "merged_at": "2013-06-07T00:18:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3786.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3786" }
https://api.github.com/repos/pandas-dev/pandas/issues/3787
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3787/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3787/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3787/events
https://github.com/pandas-dev/pandas/pull/3787
15,254,224
MDExOlB1bGxSZXF1ZXN0NjE3NzU1MQ==
3,787
CLN deprecate save&load in favour of to_pickle&read_pickle
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
48
2013-06-07T01:54:31Z
2014-06-22T01:54:36Z
2013-06-15T08:38:56Z
CONTRIBUTOR
null
Add `read_pickle` to top-level and `to_pickle` as instance methods, deprecation warning til 0.12 for save and load everwhere. See [lower down](https://github.com/pydata/pandas/pull/3787#issuecomment-19211203) for how it's working. Both `read_pickle` and `to_pickle` are in `io.pickle`, save&load remain in `core.common` (but call to_pickle, read_pickle resp). cc #3782.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3787/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3787/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3787.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3787", "merged_at": "2013-06-15T08:38:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3787.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3787" }
https://api.github.com/repos/pandas-dev/pandas/issues/3788
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3788/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3788/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3788/events
https://github.com/pandas-dev/pandas/issues/3788
15,256,033
MDU6SXNzdWUxNTI1NjAzMw==
3,788
Aggregating over arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "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": "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": "2016-12-24T22:50:46Z", "closed_issues": 107, "created_at": "2016-11-12T15:44:46Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "after 0.19.1", "due_on": "2016-12-24T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/45", "id": 2131068, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45/labels", "node_id": "MDk6TWlsZXN0b25lMjEzMTA2OA==", "number": 45, "open_issues": 0, "state": "closed", "title": "0.19.2", "updated_at": "2017-01-29T09:53:52Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/45" }
13
2013-06-07T03:29:37Z
2017-08-23T03:46:07Z
2016-11-22T11:39:11Z
CONTRIBUTOR
null
This _is_ frowned upon behaviour (storing arrays inside DataFrames) but is there a reason for this raise? Deleting the raising lines seems to only break tests to check that they're raising... ``` df = pd.DataFrame([[1,np.array([10,20,30])], [1,np.array([40,50,60])], [2,np.array([20,30,40])],], columns=['category','arraydata']) g = df.groupby('category') ``` ``` g.agg(sum) --------------------------------------------------------------------------- Exception Traceback (most recent call last) <ipython-input-34-527a2010b455> in <module>() ----> 1 g.agg(sum) /Users/andy/pandas/pandas/core/groupby.py in agg(self, func, *args, **kwargs) 337 @Appender(_agg_doc) 338 def agg(self, func, *args, **kwargs): --> 339 return self.aggregate(func, *args, **kwargs) 340 341 def _iterate_slices(self): /Users/andy/pandas/pandas/core/groupby.py in aggregate(self, arg, *args, **kwargs) 1740 cyfunc = _intercept_cython(arg) 1741 if cyfunc and not args and not kwargs: -> 1742 return getattr(self, cyfunc)() 1743 1744 if self.grouper.nkeys > 1: /Users/andy/pandas/pandas/core/groupby.py in f(self) 62 raise SpecificationError(str(e)) 63 except Exception: ---> 64 result = self.aggregate(lambda x: npfunc(x, axis=self.axis)) 65 if _convert: 66 result = result.convert_objects() /Users/andy/pandas/pandas/core/groupby.py in aggregate(self, arg, *args, **kwargs) 1745 return self._python_agg_general(arg, *args, **kwargs) 1746 else: -> 1747 result = self._aggregate_generic(arg, *args, **kwargs) 1748 1749 if not self.as_index: /Users/andy/pandas/pandas/core/groupby.py in _aggregate_generic(self, func, *args, **kwargs) 1803 result[name] = self._try_cast(func(data, *args, **kwargs),data) 1804 except Exception: -> 1805 return self._aggregate_item_by_item(func, *args, **kwargs) 1806 else: 1807 for name in self.indices: /Users/andy/pandas/pandas/core/groupby.py in _aggregate_item_by_item(self, func, *args, **kwargs) 1828 colg = SeriesGroupBy(obj[item], selection=item, 1829 grouper=self.grouper) -> 1830 result[item] = colg.aggregate(func, *args, **kwargs) 1831 except ValueError: 1832 cannot_agg.append(item) /Users/andy/pandas/pandas/core/groupby.py in aggregate(self, func_or_funcs, *args, **kwargs) 1425 return self._python_agg_general(func_or_funcs, *args, **kwargs) 1426 except Exception: -> 1427 result = self._aggregate_named(func_or_funcs, *args, **kwargs) 1428 1429 index = Index(sorted(result), name=self.grouper.names[0]) /Users/andy/pandas/pandas/core/groupby.py in _aggregate_named(self, func, *args, **kwargs) 1509 output = func(group, *args, **kwargs) 1510 if isinstance(output, np.ndarray): -> 1511 raise Exception('Must produce aggregated value') 1512 result[name] = self._try_cast(output, group) 1513 Exception: Must produce aggregated value ``` http://stackoverflow.com/questions/16975318/pandas-aggregate-when-column-contains-numpy-arrays
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3788/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3788/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3789
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3789/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3789/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3789/events
https://github.com/pandas-dev/pandas/pull/3789
15,256,269
MDExOlB1bGxSZXF1ZXN0NjE3ODU2MQ==
3,789
Added examples to CSV section in cookbook
{ "avatar_url": "https://avatars.githubusercontent.com/u/60985?v=4", "events_url": "https://api.github.com/users/nipunbatra/events{/privacy}", "followers_url": "https://api.github.com/users/nipunbatra/followers", "following_url": "https://api.github.com/users/nipunbatra/following{/other_user}", "gists_url": "https://api.github.com/users/nipunbatra/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nipunbatra", "id": 60985, "login": "nipunbatra", "node_id": "MDQ6VXNlcjYwOTg1", "organizations_url": "https://api.github.com/users/nipunbatra/orgs", "received_events_url": "https://api.github.com/users/nipunbatra/received_events", "repos_url": "https://api.github.com/users/nipunbatra/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nipunbatra/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nipunbatra/subscriptions", "type": "User", "url": "https://api.github.com/users/nipunbatra" }
[]
closed
false
null
[]
null
3
2013-06-07T03:43:39Z
2014-07-16T08:12:21Z
2013-06-07T13:10:00Z
CONTRIBUTOR
null
- Edited link to timezone handling with epochs - Added link for dealing with bad lines
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3789/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3789/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3789.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3789", "merged_at": "2013-06-07T13:10:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3789.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3789" }
https://api.github.com/repos/pandas-dev/pandas/issues/3790
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3790/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3790/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3790/events
https://github.com/pandas-dev/pandas/pull/3790
15,265,624
MDExOlB1bGxSZXF1ZXN0NjE4MzI0Nw==
3,790
link to a numerical integration recipe (Issue #3759)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1818628?v=4", "events_url": "https://api.github.com/users/metakermit/events{/privacy}", "followers_url": "https://api.github.com/users/metakermit/followers", "following_url": "https://api.github.com/users/metakermit/following{/other_user}", "gists_url": "https://api.github.com/users/metakermit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/metakermit", "id": 1818628, "login": "metakermit", "node_id": "MDQ6VXNlcjE4MTg2Mjg=", "organizations_url": "https://api.github.com/users/metakermit/orgs", "received_events_url": "https://api.github.com/users/metakermit/received_events", "repos_url": "https://api.github.com/users/metakermit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/metakermit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/metakermit/subscriptions", "type": "User", "url": "https://api.github.com/users/metakermit" }
[]
closed
false
null
[]
null
7
2013-06-07T10:14:17Z
2014-07-03T12:13:09Z
2013-06-07T13:03:46Z
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/3790/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3790/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3790.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3790", "merged_at": "2013-06-07T13:03:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3790.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3790" }
https://api.github.com/repos/pandas-dev/pandas/issues/3791
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3791/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3791/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3791/events
https://github.com/pandas-dev/pandas/issues/3791
15,270,623
MDU6SXNzdWUxNTI3MDYyMw==
3,791
GroupBy using TimeGrouper does not work
{ "avatar_url": "https://avatars.githubusercontent.com/u/377855?v=4", "events_url": "https://api.github.com/users/aschilling/events{/privacy}", "followers_url": "https://api.github.com/users/aschilling/followers", "following_url": "https://api.github.com/users/aschilling/following{/other_user}", "gists_url": "https://api.github.com/users/aschilling/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aschilling", "id": 377855, "login": "aschilling", "node_id": "MDQ6VXNlcjM3Nzg1NQ==", "organizations_url": "https://api.github.com/users/aschilling/orgs", "received_events_url": "https://api.github.com/users/aschilling/received_events", "repos_url": "https://api.github.com/users/aschilling/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aschilling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aschilling/subscriptions", "type": "User", "url": "https://api.github.com/users/aschilling" }
[ { "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": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
20
2013-06-07T12:54:41Z
2021-02-20T08:02:50Z
2013-06-07T15:40:59Z
NONE
null
BUG: TimeGrouper not too friendly with other groups, e.g. `df.set_index('Date').groupby([pd.TimeGrouper('6M'),'Branch']).sum()` should work --- Hi everybody, I found two issues with TimeGrouper: 1) TimeGrouper does not work at all: Let's take the following example: df = pd.DataFrame({ 'Branch' : 'A A A A A B'.split(), 'Buyer': 'Carl Mark Carl Joe Joe Carl'.split(), 'Quantity': [1,3,5,8,9,3], 'Date' : [ DT.datetime(2013,1,1,13,0), DT.datetime(2013,1,1,13,5), DT.datetime(2013,10,1,20,0), DT.datetime(2013,10,3,10,0), DT.datetime(2013,12,2,12,0), DT.datetime(2013,12,2,14,0), ]}) gr = df.groupby(pd.TimeGrouper(freq='6M')) def testgr(df): print df gr.apply(testgr) This will raise the Exception: "Exception: All objects passed were None" 2) With previous Panda's version it was not possible to combine TimeGrouper with another criteria such as "Branch" in my case. Thank you very much Andy
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3791/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3791/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3792
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3792/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3792/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3792/events
https://github.com/pandas-dev/pandas/issues/3792
15,271,422
MDU6SXNzdWUxNTI3MTQyMg==
3,792
TimeGrouper on a DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[]
closed
false
null
[]
null
2
2013-06-07T13:15:13Z
2013-06-07T13:21:41Z
2013-06-07T13:19:19Z
CONTRIBUTOR
null
Am I using this incorrectly? (see [so qustion](http://stackoverflow.com/questions/16982370/pandas-combine-timegrouper-with-another-groupby-argument)). ``` In [1]: df = pd.DataFrame([[1, 2]], pd.date_range('20000101', periods=2)) In [2]: df Out[2]: 0 1 2000-01-01 1 2 2000-01-02 1 2 In [3]: g = df.groupby(pd.TimeGrouper('20D')) ``` Doesn't have some attributes, like group and friends: ``` In [4]: g.groups --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-4-b207e9b2ead3> in <module>() ----> 1 g.groups /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/groupby.pyc in __getattr__(self, attr) 234 235 raise AttributeError("'%s' object has no attribute '%s'" % --> 236 (type(self).__name__, attr)) 237 238 def __getitem__(self, key): AttributeError: 'DataFrameGroupBy' object has no attribute 'groups' In [5]: g.get_group(0) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-5-7ed4a1924eee> in <module>() ----> 1 g.get_group(0) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/groupby.pyc in get_group(self, name, obj) 270 obj = self.obj 271 --> 272 inds = self.indices[name] 273 return obj.take(inds, axis=self.axis) 274 /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/core/groupby.pyc in __getattr__(self, attr) 234 235 raise AttributeError("'%s' object has no attribute '%s'" % --> 236 (type(self).__name__, attr)) 237 238 def __getitem__(self, key): AttributeError: 'DataFrameGroupBy' object has no attribute 'indices' ``` Related to #1057 ?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3792/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3792/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3793
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3793/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3793/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3793/events
https://github.com/pandas-dev/pandas/issues/3793
15,277,557
MDU6SXNzdWUxNTI3NzU1Nw==
3,793
TimeGrouper frequency mismatch
{ "avatar_url": "https://avatars.githubusercontent.com/u/377855?v=4", "events_url": "https://api.github.com/users/aschilling/events{/privacy}", "followers_url": "https://api.github.com/users/aschilling/followers", "following_url": "https://api.github.com/users/aschilling/following{/other_user}", "gists_url": "https://api.github.com/users/aschilling/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aschilling", "id": 377855, "login": "aschilling", "node_id": "MDQ6VXNlcjM3Nzg1NQ==", "organizations_url": "https://api.github.com/users/aschilling/orgs", "received_events_url": "https://api.github.com/users/aschilling/received_events", "repos_url": "https://api.github.com/users/aschilling/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aschilling/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aschilling/subscriptions", "type": "User", "url": "https://api.github.com/users/aschilling" }
[]
closed
false
null
[]
null
2
2013-06-07T15:30:43Z
2013-06-07T15:44:34Z
2013-06-07T15:44:34Z
NONE
null
Hi everybody, I have the following DataFrame: df = pd.DataFrame({ 'Buyer': 'Carl Mark Carl Joe Joe Carl'.split(), 'Quantity': [1,3,5,8,9,3], 'Date' : [ DT.datetime(2013,9,1,13,0), DT.datetime(2013,9,1,13,5), DT.datetime(2013,10,1,20,0), DT.datetime(2013,10,3,10,0), DT.datetime(2013,12,2,12,0), DT.datetime(2013,12,2,14,0), ]}) df = df.set_index('Date', drop=False) With the following function: def f(frame): cum_sum = 0 if (len(frame) > 0): cum_sum = frame.Quantity.sum() frame['cum_sum'] = cum_sum return frame x1 = df.groupby(pd.TimeGrouper('20M')).apply(f) I get a wrong output for the first two rows in x1. Instead of 25, 4 is computed as cum_sum. However, if I use 'A' as a yearly quantifier in the TimeGrouper function the cum_sum of the first two rows is computed correctly?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3793/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3793/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3794
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3794/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3794/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3794/events
https://github.com/pandas-dev/pandas/issues/3794
15,278,529
MDU6SXNzdWUxNTI3ODUyOQ==
3,794
BUG/ENH: groupby with a list of customgroup and string should work
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "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" } ]
closed
false
null
[]
{ "closed_at": "2014-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
12
2013-06-07T15:51:31Z
2014-03-15T14:33:32Z
2014-03-15T14:33:32Z
CONTRIBUTOR
null
see #3791, #2450 The following should work (but raises now) ``` import datetime as DT df = pd.DataFrame({ 'Branch' : 'A A A A A B'.split(), 'Buyer': 'Carl Mark Carl Joe Joe Carl'.split(), 'Quantity': [1,3,5,8,9,3], 'Date' : [ DT.datetime(2013,1,1,13,0), DT.datetime(2013,1,1,13,5), DT.datetime(2013,10,1,20,0), DT.datetime(2013,10,2,10,0), DT.datetime(2013,12,2,12,0), DT.datetime(2013,12,2,14,0), ]}) df = df.set_index('Date', drop=False) df.groupby([TimeGrouper('6M'),'Buyer']).sum() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3794/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3794/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3795
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3795/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3795/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3795/events
https://github.com/pandas-dev/pandas/issues/3795
15,281,341
MDU6SXNzdWUxNTI4MTM0MQ==
3,795
Read_csv should raise error on bad dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1931852?v=4", "events_url": "https://api.github.com/users/hayd/events{/privacy}", "followers_url": "https://api.github.com/users/hayd/followers", "following_url": "https://api.github.com/users/hayd/following{/other_user}", "gists_url": "https://api.github.com/users/hayd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hayd", "id": 1931852, "login": "hayd", "node_id": "MDQ6VXNlcjE5MzE4NTI=", "organizations_url": "https://api.github.com/users/hayd/orgs", "received_events_url": "https://api.github.com/users/hayd/received_events", "repos_url": "https://api.github.com/users/hayd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hayd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hayd/subscriptions", "type": "User", "url": "https://api.github.com/users/hayd" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "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": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
7
2013-06-07T16:50:01Z
2013-06-07T21:10:07Z
2013-06-07T21:10:07Z
CONTRIBUTOR
null
OPs code from http://stackoverflow.com/questions/16988526/pandas-reading-csv-as-string-type Add: auto conversion from a passed `str` or `np.string_` to `np.object` might be ok ``` df A B 1A 0.209059 0.275554 1B 0.742666 0.721165 df.to_csv(savefile) df_read = pd.read_csv(savefile, dtype=str, index_col=0) A B B ( < ``` Actually I get something different on dev: ``` In [101]: pd.read_csv('a', index_col=0, dtype=str) Out[101]: A B ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3795/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3795/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3796
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3796/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3796/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3796/events
https://github.com/pandas-dev/pandas/issues/3796
15,282,751
MDU6SXNzdWUxNTI4Mjc1MQ==
3,796
VIS: errorbar plotting
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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-05-30T12:17:57Z", "closed_issues": 755, "created_at": "2014-01-03T20:19:04Z", "creator": null, "description": "2014-02-3: previous version released", "due_on": "2014-05-31T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/24", "id": 526062, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels", "node_id": "MDk6TWlsZXN0b25lNTI2MDYy", "number": 24, "open_issues": 0, "state": "closed", "title": "0.14.0", "updated_at": "2016-12-29T13:57:13Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24" }
12
2013-06-07T17:25:21Z
2014-03-18T17:42:12Z
2014-03-18T17:42:12Z
MEMBER
null
quoting @jreback maybe s = Series `s.plot(error_bar = [-1,1])` equiv to: ``` df = DataFrame(dict(s = s, top = s.std(), bot = -s.std())).plot() ``` bottom seems the right way to do this....
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3796/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3796/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3797
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3797/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3797/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3797/events
https://github.com/pandas-dev/pandas/pull/3797
15,286,955
MDExOlB1bGxSZXF1ZXN0NjE5NDc3NQ==
3,797
BUG: (GH3795) better error messages for invalid dtype specifications in read_csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[]
closed
false
null
[]
{ "closed_at": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
8
2013-06-07T19:06:19Z
2014-07-16T08:12:26Z
2013-06-07T21:10:07Z
CONTRIBUTOR
null
ENH: accept 'str' as a dtype in read_csv to provide correct parsing closes #3795 ``` In [1]: df = DataFrame(np.random.rand(5,2),columns=list('AB'),index=['1A','1B','1C','1D','1E']) In [2]: df Out[2]: A B 1A 0.096563 0.761440 1B 0.623102 0.538810 1C 0.498820 0.277789 1D 0.113544 0.723437 1E 0.381104 0.061758 In [3]: df.dtypes Out[3]: A float64 B float64 dtype: object In [4]: path='test.csv' In [5]: df.to_csv(path) In [6]: pd.read_csv(path, dtype=str, index_col=0) Out[6]: A B 1A 0.09656290409114332 0.761440208545324 1B 0.6231015058315575 0.5388097714651147 1C 0.49881957371373464 0.27778943212477014 1D 0.11354443109778356 0.723437196012621 1E 0.38110436826261596 0.06175758774696094 In [7]: pd.read_csv(path, dtype=str, index_col=0).dtypes Out[7]: A object B object dtype: object ``` Invalid dtype specifciation, all `TypeError`, slightly different messages depending on what you are doing (e.g. if its completely invalid or really a date spec) ``` In [8]: pd.read_csv(path, index_col=0, dtype={'A' : 'foo'}) TypeError: data type "foo" not understood In [9]: pd.read_csv(path, index_col=0, dtype={'A' : 'datetime64'}) TypeError: the dtype <M8 is not supported for parsing, pass this column using parse_dates instead In [10]: pd.read_csv(path, index_col=0, dtype={'A' : 'timedelta64'}) TypeError: the dtype <m8 is not supported for parsing ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3797/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3797/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/3797.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/3797", "merged_at": "2013-06-07T21:10:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/3797.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/3797" }
https://api.github.com/repos/pandas-dev/pandas/issues/3798
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3798/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3798/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3798/events
https://github.com/pandas-dev/pandas/issues/3798
15,293,805
MDU6SXNzdWUxNTI5MzgwNQ==
3,798
int handling by ScaleGradient
{ "avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4", "events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}", "followers_url": "https://api.github.com/users/fonnesbeck/followers", "following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}", "gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fonnesbeck", "id": 81476, "login": "fonnesbeck", "node_id": "MDQ6VXNlcjgxNDc2", "organizations_url": "https://api.github.com/users/fonnesbeck/orgs", "received_events_url": "https://api.github.com/users/fonnesbeck/received_events", "repos_url": "https://api.github.com/users/fonnesbeck/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions", "type": "User", "url": "https://api.github.com/users/fonnesbeck" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
2013-06-07T22:05:07Z
2015-03-04T10:49:21Z
2015-03-03T01:34:48Z
NONE
null
If the data series passed to `ScaleGradient` in `plot` is integer-valued, it does not generate a correct color gradient. Here is a sequence consisting of integers used in a call to `ScaleGradient`: ![screen shot 2013-06-07 at 5 01 47 pm](https://f.cloud.github.com/assets/81476/626384/238abd72-cfbe-11e2-8495-da40a02c7698.png) And the same after casting to floats: ![screen shot 2013-06-07 at 5 04 23 pm](https://f.cloud.github.com/assets/81476/626386/43b98308-cfbe-11e2-8eda-2a9c98a9bd37.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/3798/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3798/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3799
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3799/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3799/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3799/events
https://github.com/pandas-dev/pandas/issues/3799
15,294,299
MDU6SXNzdWUxNTI5NDI5OQ==
3,799
add link to tips data set in rplot docs
{ "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": "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
{ "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": "2013-07-24T23:25:44Z", "closed_issues": 410, "created_at": "2013-04-30T04:12:30Z", "creator": null, "description": "Major release (formerly 0.11.1 bugfix but has outgrown its britches)", "due_on": "2013-07-05T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/22", "id": 323643, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22/labels", "node_id": "MDk6TWlsZXN0b25lMzIzNjQz", "number": 22, "open_issues": 0, "state": "closed", "title": "0.12", "updated_at": "2013-07-24T23:25:44Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/22" }
0
2013-06-07T22:18:33Z
2013-06-08T14:30:35Z
2013-06-08T14:30:35Z
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/3799/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3799/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/3800
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/3800/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/3800/comments
https://api.github.com/repos/pandas-dev/pandas/issues/3800/events
https://github.com/pandas-dev/pandas/issues/3800
15,294,569
MDU6SXNzdWUxNTI5NDU2OQ==
3,800
add travis doc build
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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": null, "closed_issues": 278, "created_at": "2013-01-06T03:02:01Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4", "events_url": "https://api.github.com/users/wesm/events{/privacy}", "followers_url": "https://api.github.com/users/wesm/followers", "following_url": "https://api.github.com/users/wesm/following{/other_user}", "gists_url": "https://api.github.com/users/wesm/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wesm", "id": 329591, "login": "wesm", "node_id": "MDQ6VXNlcjMyOTU5MQ==", "organizations_url": "https://api.github.com/users/wesm/orgs", "received_events_url": "https://api.github.com/users/wesm/received_events", "repos_url": "https://api.github.com/users/wesm/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wesm/subscriptions", "type": "User", "url": "https://api.github.com/users/wesm" }, "description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)", "due_on": "2022-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/20", "id": 239227, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels", "node_id": "MDk6TWlsZXN0b25lMjM5MjI3", "number": 20, "open_issues": 108, "state": "open", "title": "Someday", "updated_at": "2021-08-08T01:48:22Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20" }
54
2013-06-07T22:27:22Z
2016-01-24T23:04:08Z
2016-01-24T23:04:08Z
MEMBER
null
not sure if this is worth the trouble but it may catch version incompatibility issues and other bugs not caught by the test suite.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/3800/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/3800/timeline
null
null
null