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/6201 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6201/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6201/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6201/events | https://github.com/pandas-dev/pandas/pull/6201 | 26,679,019 | MDExOlB1bGxSZXF1ZXN0MTIwNzY2OTM= | 6,201 | Change more assert_'s to specialized forms | {
"avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4",
"events_url": "https://api.github.com/users/bwignall/events{/privacy}",
"followers_url": "https://api.github.com/users/bwignall/followers",
"following_url": "https://api.github.com/users/bwignall/following{/other_user}",
"gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bwignall",
"id": 5581066,
"login": "bwignall",
"node_id": "MDQ6VXNlcjU1ODEwNjY=",
"organizations_url": "https://api.github.com/users/bwignall/orgs",
"received_events_url": "https://api.github.com/users/bwignall/received_events",
"repos_url": "https://api.github.com/users/bwignall/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bwignall/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bwignall"
} | [] | 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"
} | 1 | 2014-01-31T12:49:45Z | 2014-06-24T18:01:39Z | 2014-02-04T09:02:30Z | CONTRIBUTOR | null | Work on #6175 to specialize asserts for test_timeseries[_legacy].py. A work-in-progress.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6201/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6201/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6201.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6201",
"merged_at": "2014-02-04T09:02:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6201.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6201"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6202 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6202/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6202/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6202/events | https://github.com/pandas-dev/pandas/pull/6202 | 26,679,799 | MDExOlB1bGxSZXF1ZXN0MTIwNzcxMTQ= | 6,202 | BUG: correctly select on a multi-index even in the prescence of under specificed column spec (GH6169) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
... | 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"
} | 0 | 2014-01-31T13:05:52Z | 2014-06-19T08:34:35Z | 2014-01-31T13:32:00Z | CONTRIBUTOR | null | closes #6169
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6202/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6202/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6202.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6202",
"merged_at": "2014-01-31T13:32:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6202.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6202"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6203 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6203/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6203/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6203/events | https://github.com/pandas-dev/pandas/pull/6203 | 26,684,843 | MDExOlB1bGxSZXF1ZXN0MTIwNzk5NTA= | 6,203 | small py3 fixes | {
"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 | 2014-01-31T14:37:33Z | 2014-07-08T13:14:57Z | 2014-02-01T12:36:25Z | CONTRIBUTOR | null | @y-p correcting those small fixes I mentioned in the comments of your commit.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6203/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6203/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6203.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6203",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/6203.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6203"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6204 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6204/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6204/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6204/events | https://github.com/pandas-dev/pandas/pull/6204 | 26,685,668 | MDExOlB1bGxSZXF1ZXN0MTIwODA0MDg= | 6,204 | BUG: bug in nanops.var with ddof=1 and 1 elements would sometimes return inf rather than nan (GH6136) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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"
} | 8 | 2014-01-31T14:49:40Z | 2014-07-16T08:51:11Z | 2014-01-31T16:25:25Z | CONTRIBUTOR | null | closes #6136
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6204/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6204/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6204.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6204",
"merged_at": "2014-01-31T16:25:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6204.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6204"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6205 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6205/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6205/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6205/events | https://github.com/pandas-dev/pandas/pull/6205 | 26,685,978 | MDExOlB1bGxSZXF1ZXN0MTIwODA1OTM= | 6,205 | BUG: Add type promotion support for eval() expressions with many properties | {
"avatar_url": "https://avatars.githubusercontent.com/u/1358139?v=4",
"events_url": "https://api.github.com/users/xenoscopic/events{/privacy}",
"followers_url": "https://api.github.com/users/xenoscopic/followers",
"following_url": "https://api.github.com/users/xenoscopic/following{/other_user}",
"gists_url": "https://api.github.com/users/xenoscopic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xenoscopic",
"id": 1358139,
"login": "xenoscopic",
"node_id": "MDQ6VXNlcjEzNTgxMzk=",
"organizations_url": "https://api.github.com/users/xenoscopic/orgs",
"received_events_url": "https://api.github.com/users/xenoscopic/received_events",
"repos_url": "https://api.github.com/users/xenoscopic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xenoscopic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xenoscopic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xenoscopic"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtyp... | 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"
} | 23 | 2014-01-31T14:54:46Z | 2014-06-12T21:23:08Z | 2014-02-06T14:59:23Z | CONTRIBUTOR | null | This commit modifies the call to numpy.result_type to get around the
NPY_MAXARGS limit, which at the moment is 32. Instead of passing a
generator of all types involved in an expression, the type promotion
is done on a pair-wise basis with a call to reduce.
This fixes bugs for code such as the following:
```
from numpy.random import randn
from pandas import DataFrame
d = DataFrame(randn(10, 2), columns=list('ab'))
# Evaluates fine
print(d.eval('*'.join(['a'] * 32)))
# Fails to evaluate due to NumPy argument limits
print(d.eval('*'.join(['a'] * 33)))
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6205/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6205/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6205.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6205",
"merged_at": "2014-02-06T14:59:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6205.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6205"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6206 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6206/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6206/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6206/events | https://github.com/pandas-dev/pandas/pull/6206 | 26,688,259 | MDExOlB1bGxSZXF1ZXN0MTIwODE4ODc= | 6,206 | DOC: styling clean-up of docstrings (part 2: series and generic.py) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | null | 0 | 2014-01-31T15:28:19Z | 2014-07-16T08:51:15Z | 2014-01-31T16:11:38Z | MEMBER | null | Rediscovered an old branch: some clean-up of docstrings in series/generic.py.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6206/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6206/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6206.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6206",
"merged_at": "2014-01-31T16:11:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6206.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6206"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6207 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6207/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6207/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6207/events | https://github.com/pandas-dev/pandas/pull/6207 | 26,691,271 | MDExOlB1bGxSZXF1ZXN0MTIwODM2MzM= | 6,207 | DOC: add links to other pages to contributing.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | null | 2 | 2014-01-31T16:11:13Z | 2014-07-10T00:09:58Z | 2014-02-02T15:43:52Z | MEMBER | null | Awaiting for that the different developer pages could be reworked and added to this page, I thought to at least add some links here. So if people go from the docs to this page, they get redirected to the relevant pages.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6207/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6207/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6207.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6207",
"merged_at": "2014-02-02T15:43:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6207.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6207"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6208 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6208/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6208/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6208/events | https://github.com/pandas-dev/pandas/issues/6208 | 26,701,785 | MDU6SXNzdWUyNjcwMTc4NQ== | 6,208 | BUG df with 'index' as one name of a MultiIndex fails to save as HDFStore table | {
"avatar_url": "https://avatars.githubusercontent.com/u/1426279?v=4",
"events_url": "https://api.github.com/users/glyg/events{/privacy}",
"followers_url": "https://api.github.com/users/glyg/followers",
"following_url": "https://api.github.com/users/glyg/following{/other_user}",
"gists_url": "https://api.github.com/users/glyg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/glyg",
"id": 1426279,
"login": "glyg",
"node_id": "MDQ6VXNlcjE0MjYyNzk=",
"organizations_url": "https://api.github.com/users/glyg/orgs",
"received_events_url": "https://api.github.com/users/glyg/received_events",
"repos_url": "https://api.github.com/users/glyg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/glyg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/glyg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/glyg"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved er... | open | 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"
} | 1 | 2014-01-31T17:33:41Z | 2020-05-16T20:07:55Z | null | CONTRIBUTOR | null | This one is strange...
Here is a minimal example:
``` python
index = pd.MultiIndex(levels=[['foo', 'bar', 'baz', 'qux'],
['one', 'two', 'three']],
labels=[[0, 0, 0, 1, 1, 2, 2, 3, 3, 3],
[0, 1, 2, 0, 1, 1, 2, 0, 1, 2]],
names=['index', 'bar_name'])
df_mi = pd.DataFrame(np.random.randn(10, 3), index=index,
columns=['A', 'B', 'C'])
with pd.get_store('minimal_io.h5') as store:
store.put('df_mi', df_mi, format='table')
```
And the error backtrace:
``` python
--------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-22-bb85f423e84c> in <module>()
11
12 with pd.get_store('minimal_io.h5') as store:
---> 13 store.put('df_mi', df_mi, format='table')
/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0_496_ga2d5e53-py3.3-linux-x86_64.egg/pandas/io/pytables.py in put(self, key, value, format, append, **kwargs)
819 format = get_option("io.hdf.default_format") or 'fixed'
820 kwargs = self._validate_format(format, kwargs)
--> 821 self._write_to_group(key, value, append=append, **kwargs)
822
823 def remove(self, key, where=None, start=None, stop=None):
/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0_496_ga2d5e53-py3.3-linux-x86_64.egg/pandas/io/pytables.py in _write_to_group(self, key, value, format, index, append, complib, encoding, **kwargs)
1271
1272 # write the object
-> 1273 s.write(obj=value, append=append, complib=complib, **kwargs)
1274
1275 if s.is_table and index:
/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0_496_ga2d5e53-py3.3-linux-x86_64.egg/pandas/io/pytables.py in write(self, obj, data_columns, **kwargs)
3963 print(data_columns)
3964 return super(AppendableMultiFrameTable, self).write(
-> 3965 obj=obj, data_columns=data_columns, **kwargs)
3966
3967 def read(self, **kwargs):
/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0_496_ga2d5e53-py3.3-linux-x86_64.egg/pandas/io/pytables.py in write(self, obj, axes, append, complib, complevel, fletcher32, min_itemsize, chunksize, expectedrows, dropna, **kwargs)
3603
3604 # add the rows
-> 3605 self.write_data(chunksize, dropna=dropna)
3606
3607 def write_data(self, chunksize, dropna=True):
/home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0_496_ga2d5e53-py3.3-linux-x86_64.egg/pandas/io/pytables.py in write_data(self, chunksize, dropna)
3661 for i, v in enumerate(values):
3662 new_shape = (nrows,) + self.dtype[names[nindexes + i]].shape
-> 3663 bvalues.append(values[i].ravel().reshape(new_shape))
3664
3665 # write the chunks
ValueError: total size of new array must be unchanged
> /home/guillaume/python3/lib/python3.3/site-packages/pandas-0.13.0_496_ga2d5e53-py3.3-linux-x86_64.egg/pandas/io/pytables.py(3663)write_data()
3662 new_shape = (nrows,) + self.dtype[names[nindexes + i]].shape
-> 3663 bvalues.append(values[i].ravel().reshape(new_shape))
3664
```
pandas version: '0.13.0-496-ga2d5e53'
Note that the bug is not there if the format is set to 'fixed', i.e. this works:
``` python
with pd.get_store('minimal_io.h5') as store:
store.put('df_mi', df_mi, format='fixed')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6208/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6208/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6209 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6209/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6209/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6209/events | https://github.com/pandas-dev/pandas/issues/6209 | 26,708,016 | MDU6SXNzdWUyNjcwODAxNg== | 6,209 | BUG: plot(kind='bar') ignores `use_index` keyword | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
... | 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"
} | 0 | 2014-01-31T19:15:57Z | 2014-01-31T21:30:11Z | 2014-01-31T21:30:11Z | CONTRIBUTOR | null | with `df = pd.Series([1, 2, 3, 4], index=['a', 'b', 'c', 'd'])`.
From `df.plot(kind='bar', use_index=False)`:

From `df.plot(use_index=False)`:

Most of the time it doesn't make sense to do a bar plot and ignore the groups formed by the index, but I had an index with a bunch of long strings and just wanted to see the distribution (pretty much a histogram), so I didn't care about the index.
PR inbound.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6209/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6209/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6210 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6210/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6210/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6210/events | https://github.com/pandas-dev/pandas/pull/6210 | 26,708,680 | MDExOlB1bGxSZXF1ZXN0MTIwOTEyODY= | 6,210 | BUG: dont ignore use_index kw in bar plot | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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,
... | 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 | 2014-01-31T19:25:17Z | 2014-06-13T02:06:23Z | 2014-01-31T21:30:11Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/6209
Here's the fixed output for the same example from the issue: `df.plot(kind='bar', use_index=False)`:

I thew it in `.13.1`, can push to `.14` if need be.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6210/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6210/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6210.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6210",
"merged_at": "2014-01-31T21:30:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6210.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6210"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6211 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6211/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6211/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6211/events | https://github.com/pandas-dev/pandas/pull/6211 | 26,709,697 | MDExOlB1bGxSZXF1ZXN0MTIwOTE4Nzk= | 6,211 | DOC: Fix typo in Melt section | {
"avatar_url": "https://avatars.githubusercontent.com/u/64128?v=4",
"events_url": "https://api.github.com/users/Bklyn/events{/privacy}",
"followers_url": "https://api.github.com/users/Bklyn/followers",
"following_url": "https://api.github.com/users/Bklyn/following{/other_user}",
"gists_url": "https://api.github.com/users/Bklyn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Bklyn",
"id": 64128,
"login": "Bklyn",
"node_id": "MDQ6VXNlcjY0MTI4",
"organizations_url": "https://api.github.com/users/Bklyn/orgs",
"received_events_url": "https://api.github.com/users/Bklyn/received_events",
"repos_url": "https://api.github.com/users/Bklyn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Bklyn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Bklyn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Bklyn"
} | [] | closed | false | null | [] | null | 1 | 2014-01-31T19:40:05Z | 2014-06-14T10:23:30Z | 2014-01-31T20:07:50Z | NONE | null | Example in "Melt" documentation was referring to the wrong 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/6211/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6211/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6211.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6211",
"merged_at": "2014-01-31T20:07:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6211.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6211"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6212 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6212/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6212/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6212/events | https://github.com/pandas-dev/pandas/issues/6212 | 26,717,199 | MDU6SXNzdWUyNjcxNzE5OQ== | 6,212 | DOC/PY3: DataFrame.groupby fails in docs examples | {
"avatar_url": "https://avatars.githubusercontent.com/u/952406?v=4",
"events_url": "https://api.github.com/users/phaebz/events{/privacy}",
"followers_url": "https://api.github.com/users/phaebz/followers",
"following_url": "https://api.github.com/users/phaebz/following{/other_user}",
"gists_url": "https://api.github.com/users/phaebz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phaebz",
"id": 952406,
"login": "phaebz",
"node_id": "MDQ6VXNlcjk1MjQwNg==",
"organizations_url": "https://api.github.com/users/phaebz/orgs",
"received_events_url": "https://api.github.com/users/phaebz/received_events",
"repos_url": "https://api.github.com/users/phaebz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phaebz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phaebz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phaebz"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: va... | 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"
} | 2 | 2014-01-31T21:33:37Z | 2014-02-03T20:50:05Z | 2014-02-01T18:12:17Z | CONTRIBUTOR | null | This is a follow-up on #5530 and the general Python 3 compat for docs issue. It is the first episode of my journey into the unknown Python-3-compat-for-doc-examples-land.
While some errors should be rather easy to fix (e.g. `xrange`) I just stumbled upon this one (`doc/source/comparison_with_r.rst` line 54) which fails under Python 3:
``` python
import pandas as pd
import numpy as np
options.display.max_rows=15
from pandas import DataFrame
df = DataFrame({
'v1': [1,3,5,7,8,3,5,np.nan,4,5,7,9],
'v2': [11,33,55,77,88,33,55,np.nan,44,55,77,99],
'by1': ["red", "blue", 1, 2, np.nan, "big", 1, 2, "red", 1, np.nan, 12],
'by2': ["wet", "dry", 99, 95, np.nan, "damp", 95, 99, "red", 99, np.nan,
np.nan]
})
g = df.groupby(['by1','by2'])
g[['v1','v2']].mean()
```
``` python
TypeError: unorderable types: str() > int()
```
Is the usage wrong here or is it a bug?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6212/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6212/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6213 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6213/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6213/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6213/events | https://github.com/pandas-dev/pandas/issues/6213 | 26,727,260 | MDU6SXNzdWUyNjcyNzI2MA== | 6,213 | Next Step in documentation | {
"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"
} | [
{
"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": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement... | closed | false | null | [] | null | 4 | 2014-02-01T01:01:10Z | 2014-02-02T17:37:04Z | 2014-02-02T17:37:04Z | NONE | null | We've done lots of work on cleaning the the docs, improving our tools
and expanding our sections, led by @jorisvandenbossche.
A possible next step is to create a catalog of code examples by method,
with ipython_directive output, and making it easilyy accessible while working
in ipython.
It might be a systematic expansion of dosctring examples or it might be
a new section in the docs with links from docstrings or an `apropos`
command, we can figure that out later.
This is a huge undertaking, that will require lots of contributions from the
pandas community to really make it happen. If it does, it would really be
an amazing resource, and a great help to pandas newcomers.
Are there enough contributors interested in helping build such a beast?
raise your hand if you'd help.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6213/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6213/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6214 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6214/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6214/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6214/events | https://github.com/pandas-dev/pandas/issues/6214 | 26,728,367 | MDU6SXNzdWUyNjcyODM2Nw== | 6,214 | BUG: pandas 0.13 Series argmax/argmin returns index label instead of location (changed from 0.12) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5827110?v=4",
"events_url": "https://api.github.com/users/xdliao/events{/privacy}",
"followers_url": "https://api.github.com/users/xdliao/followers",
"following_url": "https://api.github.com/users/xdliao/following{/other_user}",
"gists_url": "https://api.github.com/users/xdliao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xdliao",
"id": 5827110,
"login": "xdliao",
"node_id": "MDQ6VXNlcjU4MjcxMTA=",
"organizations_url": "https://api.github.com/users/xdliao/orgs",
"received_events_url": "https://api.github.com/users/xdliao/received_events",
"repos_url": "https://api.github.com/users/xdliao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xdliao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xdliao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xdliao"
} | [] | closed | false | null | [] | null | 6 | 2014-02-01T01:41:38Z | 2016-11-16T13:31:49Z | 2014-02-01T04:58:56Z | NONE | null | ------------------------ pandas 0.12 --------
In [14]: pd.**version**
Out[14]: '0.12.0'
In [15]: a=pd.Series(range(3), index=('2','3','4'))
In [16]: a.argmax()
Out[16]: 2
In [17]: a.idxmax()
Out[17]: '4'
------------------------ pandas 0.13 --------
In [2]: pd.**version**
Out[2]: '0.13.0'
In [3]: a=pd.Series(range(3), index=('2','3','4'))
In [4]: a.argmax()
Out[4]: '4'
In [5]: a.idxmax()
Out[5]: '4'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6214/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6214/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6215 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6215/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6215/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6215/events | https://github.com/pandas-dev/pandas/issues/6215 | 26,730,583 | MDU6SXNzdWUyNjczMDU4Mw== | 6,215 | unanticipated get_dummies behavior with missing values | {
"avatar_url": "https://avatars.githubusercontent.com/u/5514147?v=4",
"events_url": "https://api.github.com/users/dflatow/events{/privacy}",
"followers_url": "https://api.github.com/users/dflatow/followers",
"following_url": "https://api.github.com/users/dflatow/following{/other_user}",
"gists_url": "https://api.github.com/users/dflatow/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dflatow",
"id": 5514147,
"login": "dflatow",
"node_id": "MDQ6VXNlcjU1MTQxNDc=",
"organizations_url": "https://api.github.com/users/dflatow/orgs",
"received_events_url": "https://api.github.com/users/dflatow/received_events",
"repos_url": "https://api.github.com/users/dflatow/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dflatow/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dflatow/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dflatow"
} | [
{
"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": "0052cc"... | closed | false | null | [] | null | 3 | 2014-02-01T03:14:49Z | 2014-03-22T21:30:29Z | 2014-03-22T21:30:22Z | NONE | null | s = pd.Series(['A', 'B', np.nan, 'C'])
print s
0 A
1 B
2 NaN
3 C
print pd.get_dummies(s)
A B C
0 1 0 0
1 0 1 0
2 0 0 1
3 0 0 1
In the third row,col C, the indicator should be 0 not 1.
Seems you'd either want to add a column for NaN values or fix the issue above
sorry for bad formatting...
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6215/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6215/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6216 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6216/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6216/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6216/events | https://github.com/pandas-dev/pandas/pull/6216 | 26,731,707 | MDExOlB1bGxSZXF1ZXN0MTIxMDQxNTU= | 6,216 | CLN: PEP8 cleanup of rpy/tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4",
"events_url": "https://api.github.com/users/bwignall/events{/privacy}",
"followers_url": "https://api.github.com/users/bwignall/followers",
"following_url": "https://api.github.com/users/bwignall/following{/other_user}",
"gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bwignall",
"id": 5581066,
"login": "bwignall",
"node_id": "MDQ6VXNlcjU1ODEwNjY=",
"organizations_url": "https://api.github.com/users/bwignall/orgs",
"received_events_url": "https://api.github.com/users/bwignall/received_events",
"repos_url": "https://api.github.com/users/bwignall/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bwignall/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bwignall"
} | [] | closed | false | null | [] | null | 2 | 2014-02-01T04:20:49Z | 2014-07-21T13:38:13Z | 2014-02-17T20:42:35Z | CONTRIBUTOR | null | Fixes pep8 errors in test_common.py in rpy/tests.
Ran autopep8, then fixed remaining errors manually. Test still passes locally.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6216/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6216/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6216.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6216",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/6216.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6216"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6217 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6217/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6217/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6217/events | https://github.com/pandas-dev/pandas/pull/6217 | 26,733,804 | MDExOlB1bGxSZXF1ZXN0MTIxMDUxMDE= | 6,217 | BLD: setup.py version strings. handle shallow clones and installing from sdist | {
"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": "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"
} | 1 | 2014-02-01T07:36:21Z | 2014-07-16T08:51:22Z | 2014-02-04T08:51:51Z | NONE | null | Travis exposed a corner case in the handling of version strings since the `git-describe` shakeup.
Previously (0.10.1), version strings were of the form:
```
v0.10.1 # release
v0.10.1.dev # dev, no git available
v0.10.1.dev-abcd1234 # dev, git available
```
Now that we use git-describe, here's the case breakdown:
- release
- dev, no git
- dev, no git and pandas/version.py exists (installing from sdist) # *
- dev, git available
- dev, git but shallow clone (no tags) (travis) # *
the \* cases were hard to see coming (I didn't) and so the current logic does not handle
them gracefully, and weird version strings result.
Behavior summary following this PR:
```
v0.13.1 # release
v0.13.1.dev # dev, no git available, matches old behavior
v0.13.1.dev-abcd1234 # dev, git available but no tags (pip tarball), matches old behavior
foo # dev, no git available, pandas/version.py exists and contains foo
0.13.0-509-ga134eb6 # dev, git available, tags available (normal dev situation), normal new behavior.
```
Slightly dangerous to merge shortly before a release, but it would be worse
to keep this brokenness for months until 0.14 IMO.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6217/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6217/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6217.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6217",
"merged_at": "2014-02-04T08:51:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6217.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6217"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6218 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6218/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6218/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6218/events | https://github.com/pandas-dev/pandas/pull/6218 | 26,735,151 | MDExOlB1bGxSZXF1ZXN0MTIxMDU2NDE= | 6,218 | BLD: Cut Travis-CI build times by 30-50% | {
"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": "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"
} | 8 | 2014-02-01T09:43:37Z | 2014-06-13T05:48:42Z | 2014-02-01T11:01:45Z | NONE | null | and some travis.yml cleanups after recent bug fixes by the travis guys.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6218/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6218/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6218.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6218",
"merged_at": "2014-02-01T11:01:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6218.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6218"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6219 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6219/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6219/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6219/events | https://github.com/pandas-dev/pandas/issues/6219 | 26,736,719 | MDU6SXNzdWUyNjczNjcxOQ== | 6,219 | Reducing memory footprint for catagoricals | {
"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"
} | [
{
"color": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement Discussions",
"id": 157369,
"name": "Ideas",
"node_id": "MDU6TGFiZWwxNTczNjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas"
},
{
"color": "fbca04",
"default": false,
"des... | closed | false | null | [] | null | 4 | 2014-02-01T11:50:11Z | 2014-02-04T12:55:11Z | 2014-02-04T12:53:56Z | NONE | null | python uses 32 bytes for every int.
numpy uses 4 bytes for an int32 (with which you can index billion of keys).
We currently have a hardwired if preventing single-level multi-indexes,
which would allow us to take advantage of factorization to reduce memory
consumption by ~8x for indices which have lots of duplicates.
Indexes tend to be unique (by their nature). But the same principle goes
for string columns which are often highligh degenerate.
Basically, if we store catagorical data as catagorical, we can
reduce memory footprint drastically. If we do the factorization
at the stage where data is read in (perhaps in conjuction with the iterator based
reader planned for 0.14 https://github.com/pydata/pandas/issues/2193) we can drastically reduce the peak memory usage as well.
Update: https://github.com/pydata/pandas/issues/5313
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6219/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6219/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6220 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6220/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6220/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6220/events | https://github.com/pandas-dev/pandas/pull/6220 | 26,736,978 | MDExOlB1bGxSZXF1ZXN0MTIxMDYzMDE= | 6,220 | BLD: more fast travis | {
"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": "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"
} | 1 | 2014-02-01T12:09:25Z | 2014-07-16T08:51:26Z | 2014-02-01T12:09:48Z | NONE | null | A couple more optimizations to get the times closer to what was advertised.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6220/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6220/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6220.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6220",
"merged_at": "2014-02-01T12:09:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6220.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6220"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6221 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6221/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6221/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6221/events | https://github.com/pandas-dev/pandas/pull/6221 | 26,740,494 | MDExOlB1bGxSZXF1ZXN0MTIxMDczMDk= | 6,221 | TST: run clipboard tests explicitly | {
"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": "5319e7",
"d... | 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"
} | 7 | 2014-02-01T15:14:40Z | 2014-06-27T15:12:54Z | 2014-02-16T18:23:26Z | MEMBER | null | closes #6317
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6221/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6221/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6221.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6221",
"merged_at": "2014-02-16T18:23:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6221.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6221"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6222 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6222/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6222/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6222/events | https://github.com/pandas-dev/pandas/pull/6222 | 26,741,662 | MDExOlB1bGxSZXF1ZXN0MTIxMDc3MDI= | 6,222 | BUG/TST: groupby with mixed string/int grouper failing in python3 (GH6212) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "eb6420",
"default": false,
"description": "Non-arithmetic algos: va... | 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"
} | 0 | 2014-02-01T16:18:48Z | 2014-06-26T12:23:43Z | 2014-02-01T18:12:17Z | CONTRIBUTOR | null | closes #6212
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6222/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6222/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6222.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6222",
"merged_at": "2014-02-01T18:12:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6222.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6222"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6223 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6223/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6223/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6223/events | https://github.com/pandas-dev/pandas/issues/6223 | 26,750,915 | MDU6SXNzdWUyNjc1MDkxNQ== | 6,223 | from_clipboard doesn't work by default when copying string cells from excel | {
"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"
} | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": "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"
} | 0 | 2014-02-02T00:27:49Z | 2014-02-07T13:00:50Z | 2014-02-07T13:00:50Z | NONE | null | need to do `pd.read_clipboard(sep='\t')` and then things work fine.
Since it's for interactive use, it should be ok to change the default
without breaking existing code.
we did the same to `to_clipboard()` in #5070, I missed the fact that
`read_clipboard` only works out of the box for pure numerical data right now.
Why don't users report this stuff I don't know.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6223/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6223/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6224 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6224/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6224/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6224/events | https://github.com/pandas-dev/pandas/issues/6224 | 26,751,644 | MDU6SXNzdWUyNjc1MTY0NA== | 6,224 | From wiki, undocumented public functions | {
"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"
} | [
{
"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 | 2 | 2014-02-02T01:18:44Z | 2014-02-03T02:25:01Z | 2014-02-03T02:25:01Z | NONE | null | I'm tidying the wiki, this was a page out of place, moving to this issue.
Don't know what's the issue `pd.to_pickle` is certainly documented.
@JanSchulz?
```
Undocumented public functions
The following was found by http://nbviewer.ipython.org/urls/gist.github.com/JanSchulz/6874142/raw/fadef84066d89b3ceb7532e762ed06d87904f3c4/pandas_api.ipynb (and changing all context to pandas in api.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/6224/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6224/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6225 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6225/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6225/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6225/events | https://github.com/pandas-dev/pandas/issues/6225 | 26,753,618 | MDU6SXNzdWUyNjc1MzYxOA== | 6,225 | Weird error in master when asked for type(df) | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [] | 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 | 2014-02-02T03:34:02Z | 2014-02-02T06:02:28Z | 2014-02-02T05:54:16Z | CONTRIBUTOR | null | ``` python
In [9]: type(detectors)
WARNING: Exception in text/html formatter: unbound method _repr_html_() must be called with DataFrame instance as first argument (got nothing instead)
Out[9]:
pandas.core.frame.DataFrame
In [10]: detectors.info()
<class 'pandas.core.frame.DataFrame'>
DatetimeIndex: 1565757 entries, 2008-01-08 17:15:29.111000 to 2008-01-18 07:57:01.504000
Data columns (total 4 columns):
a6_11 1565757 non-null values
b1_11 1565757 non-null values
b2_11 1565757 non-null values
b3_11 1565757 non-null values
dtypes: int64(4)
In [11]:
pd.__version__
Out[11]:
'0.13.0rc1-59-g90990db'
```
I noticed another oddity: Why does the type-display create an output numbering (=Out[9]) but the display of detectors.info() does not? Something to do with IPython?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6225/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6225/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6226 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6226/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6226/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6226/events | https://github.com/pandas-dev/pandas/pull/6226 | 26,756,245 | MDExOlB1bGxSZXF1ZXN0MTIxMTMyMDc= | 6,226 | ENH: pd.read_clipboard detects tab-separated data (excel) GH6223 | {
"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": "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"
} | 0 | 2014-02-02T07:05:23Z | 2014-06-13T00:04:07Z | 2014-02-04T08:57:33Z | NONE | null | #6223
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6226/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6226/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6226.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6226",
"merged_at": "2014-02-04T08:57:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6226.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6226"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6227 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6227/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6227/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6227/events | https://github.com/pandas-dev/pandas/pull/6227 | 26,758,058 | MDExOlB1bGxSZXF1ZXN0MTIxMTM4MzI= | 6,227 | BLD: fix travis speedup | {
"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"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2014-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"
} | 1 | 2014-02-02T09:46:44Z | 2014-07-03T12:58:59Z | 2014-02-02T09:46:51Z | 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/6227/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6227/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6227.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6227",
"merged_at": "2014-02-02T09:46:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6227.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6227"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6228 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6228/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6228/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6228/events | https://github.com/pandas-dev/pandas/issues/6228 | 26,759,285 | MDU6SXNzdWUyNjc1OTI4NQ== | 6,228 | Add .info_mem() method to pandas data objects | {
"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"
} | [
{
"color": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement Discussions",
"id": 157369,
"name": "Ideas",
"node_id": "MDU6TGFiZWwxNTczNjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas"
}
] | closed | false | null | [] | {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 1 | 2014-02-02T11:27:11Z | 2014-04-09T19:57:42Z | 2014-04-09T19:57:42Z | NONE | null | Series, frames and panels are all built on numpy arrays, for which
we can calcuate memory footprint.
For python objects as well we can determine footprint based on platform,
python ver/bits and object type.
We can use thse to generate a report of amount of memory used and where.
That would be useful and not difficult.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6228/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6228/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6229 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6229/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6229/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6229/events | https://github.com/pandas-dev/pandas/issues/6229 | 26,759,512 | MDU6SXNzdWUyNjc1OTUxMg== | 6,229 | DOC/PY3: np.unique errors on pd.Series with mixed string/float in python3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/952406?v=4",
"events_url": "https://api.github.com/users/phaebz/events{/privacy}",
"followers_url": "https://api.github.com/users/phaebz/followers",
"following_url": "https://api.github.com/users/phaebz/following{/other_user}",
"gists_url": "https://api.github.com/users/phaebz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phaebz",
"id": 952406,
"login": "phaebz",
"node_id": "MDQ6VXNlcjk1MjQwNg==",
"organizations_url": "https://api.github.com/users/phaebz/orgs",
"received_events_url": "https://api.github.com/users/phaebz/received_events",
"repos_url": "https://api.github.com/users/phaebz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phaebz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phaebz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phaebz"
} | [
{
"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-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"
} | 9 | 2014-02-02T11:45:19Z | 2016-12-29T13:57:13Z | 2014-02-05T16:17:23Z | CONTRIBUTOR | null | In a similar fashion as #6212, the following fails on Python 3 (`doc/source/reshaping.rst`):
``` python
import numpy as np
import pandas as pd
x = pd.Series(['A', 'A', np.nan, 'B', 3.14, np.inf])
np.unique(x, return_inverse=True)[::-1])
```
```
/Users/user/.virtualenvs/pandas-dev/lib/python3.3/site-packages/numpy/lib/arraysetops.py in unique(ar, return_index, return_inverse)
181 perm = ar.argsort(kind='mergesort')
182 else:
--> 183 perm = ar.argsort()
184 aux = ar[perm]
185 flag = np.concatenate(([True], aux[1:] != aux[:-1]))
TypeError: unorderable types: str() > float()
```
Although this error manifests in `numpy` code, I assume this has to do with `pd.Series`?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6229/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6229/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6230 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6230/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6230/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6230/events | https://github.com/pandas-dev/pandas/pull/6230 | 26,762,325 | MDExOlB1bGxSZXF1ZXN0MTIxMTUzNDA= | 6,230 | DOC/PY3: Python 3 docs example compat for range, StringIO and datetime | {
"avatar_url": "https://avatars.githubusercontent.com/u/952406?v=4",
"events_url": "https://api.github.com/users/phaebz/events{/privacy}",
"followers_url": "https://api.github.com/users/phaebz/followers",
"following_url": "https://api.github.com/users/phaebz/following{/other_user}",
"gists_url": "https://api.github.com/users/phaebz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phaebz",
"id": 952406,
"login": "phaebz",
"node_id": "MDQ6VXNlcjk1MjQwNg==",
"organizations_url": "https://api.github.com/users/phaebz/orgs",
"received_events_url": "https://api.github.com/users/phaebz/received_events",
"repos_url": "https://api.github.com/users/phaebz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phaebz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phaebz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phaebz"
} | [
{
"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-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"
} | 11 | 2014-02-02T14:57:14Z | 2014-06-15T16:36:13Z | 2014-02-04T09:23:23Z | CONTRIBUTOR | null | related is #6212
Fixes examples in documentation to be compatible with Python 3. Also tested it locally under Python 2.
- Turned occurrences of `(x)range()` to `range()` for iteration and to `list(range())` for list concat.
- Fixed leading zero argument(s) as in e.g. `datetime(2013, 01, 27)`.
- Removed explicit `StringIO` and `cStringIO` imports in examples (uses suppressed pandas.compat imports) and added a note on py2/3 library reorganization.
- Fixed `StringIO` for binary data to the more explicit `BytesIO`.
- Fixed `NameError` for missing `pd.` in `pd.Series`.
- Added note for failing `numpy.unique` example, see also #6229.
I am not sure about the `BytesIO` though. Maybe good to put a note saying this is Python 3 way to do it and users on 2.x should use the old `StringIO` instead. In general, should we favor Python 3 doc versions in such cases and add notes for Python 2.x users? What do you think?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6230/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6230/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6230.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6230",
"merged_at": "2014-02-04T09:23:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6230.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6230"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6231 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6231/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6231/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6231/events | https://github.com/pandas-dev/pandas/pull/6231 | 26,762,883 | MDExOlB1bGxSZXF1ZXN0MTIxMTU1NTQ= | 6,231 | TST: add tests for algos.factorize (GH6212) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "eb6420",
"d... | 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"
} | 0 | 2014-02-02T15:28:47Z | 2014-06-15T15:59:41Z | 2014-02-02T15:39:34Z | CONTRIBUTOR | null | tests for issues in #6212 / #6231
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6231/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6231/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6231.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6231",
"merged_at": "2014-02-02T15:39:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6231.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6231"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6232 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6232/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6232/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6232/events | https://github.com/pandas-dev/pandas/issues/6232 | 26,763,700 | MDU6SXNzdWUyNjc2MzcwMA== | 6,232 | DOC: consolidate developer docs in main docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 4 | 2014-02-02T16:15:07Z | 2015-04-03T00:41:09Z | 2015-04-03T00:41:09Z | MEMBER | null | There is a new page in the docs 'Contributing to pandas', with at the moment the docs on contributing the documentation. And in #6207 I added already some links to various pages.
At the moment, the information for contributors is a bit scattered:
- The developer pages on the website (http://pandas.pydata.org/developers.html)
- The new page on building the docs (http://pandas.pydata.org/pandas-docs/dev/contributing.html)
- Guidelines on bug reports and pull requests in CONTRIBUTING.md (https://github.com/pydata/pandas/blob/master/CONTRIBUTING.md)
- Some things in the wiki (which I see @y-p cleaned up, nice!):
- extra tips on using git (https://github.com/pydata/pandas/wiki/Using-Git)
- another contributing page (https://github.com/pydata/pandas/wiki/Contributing)
- and other .. (https://github.com/pydata/pandas/wiki)
So maybe we should make a choice where do we want to consolidate the docs:
- We could opt to put everything in the wiki and CONTRIBUTING.md, so further expanding the wiki.
- Or put everything in the main docs
- Or we could try to make a (clear) division:
- main docs: starting point for newcomers who want to contribute to pandas (how to submit an issue, guidelines for a pull request, basic info on git and building pandas, building the docs, ...)
- So this would mainly be to somehow merge CONTRIBUTING.md, developer pages on website and contributing page on wiki.
- wiki: more info for the core developers/regular contributors: some more advanced tips and tricks, release workflow, how to handle the python2/3 issues, which exceptions to raise, ...)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6232/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6232/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6233 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6233/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6233/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6233/events | https://github.com/pandas-dev/pandas/pull/6233 | 26,765,879 | MDExOlB1bGxSZXF1ZXN0MTIxMTY2ODQ= | 6,233 | BLD: Build and publish docs (sans API) as part of Travis jobs | {
"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 | [] | null | 0 | 2014-02-02T18:06:49Z | 2014-06-26T00:39:57Z | 2014-02-02T18:07:02Z | NONE | null | (also fixed caching on py3)
Now that travis is down to 5 minutes https://github.com/pydata/pandas/pull/6227, and
doc builds have been accelerated as well #6179, it's possible to include a doc build as part
of our CI process without incurring long build times.
This PR runs the build process in the background so that we parallelize with the I/O
heavy parts of the test suite, the final result is a build that's still much faster then
where we were last week. If no docs were modified by the commit, the doc build
is skipped.
Compiled Docs (without API reference or R section) are pushed immediately to
http://pandas-docs.github.io/pandas-docs-travis/
and can be seen there a few minutes after the CI job is finished following
a commit to master. The version string on the docs is broken,pending #6217.
Here's to shorter cycles :dancers: .
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6233/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6233/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6233.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6233",
"merged_at": "2014-02-02T18:07:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6233.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6233"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6234 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6234/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6234/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6234/events | https://github.com/pandas-dev/pandas/issues/6234 | 26,779,389 | MDU6SXNzdWUyNjc3OTM4OQ== | 6,234 | Perf regressions in 0.13.1 | {
"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"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default"... | closed | false | null | [] | {
"closed_at": "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"
} | 1 | 2014-02-03T03:38:23Z | 2014-04-28T00:47:00Z | 2014-04-28T00:47:00Z | NONE | null | Ive started work on the release [checklist](https://github.com/pydata/pandas/wiki/Release-Checklist), here's the vbench run against v0.13.0 (>30%):
```
indexing_dataframe_boolean_rows | 0.5086 | 0.3866 | 1.3155 |
groupby_transform | 265.5996 | 194.6437 | 1.3645 |
query_datetime_series | 52.5440 | 33.2900 | 1.5784 |
reshape_stack_simple | 4.7570 | 2.9666 | 1.6035 |
indexing_panel_subset | 1.3873 | 0.7103 | 1.9530 |
-------------------------------------------------------------------------------
Test name | head[ms] | base[ms] | ratio |
-------------------------------------------------------------------------------
Target [cef41bf] : potentialy 0.13.1
Base [a5410ed] : RLS: 0.13.0 final
```
A more detailed look, with summary stats over 10 runs for each vb to
supress noise, the quantiles suggest at least some of these are real.
```
./test_perf.sh -H -u 3 -S -n 5 -N 10 -c 3 -r 'indexing_panel_subset|reshape_stack_simple|query_datetime_series|groupby_transform|indexing_dataframe_boolean_rows' | tee log
Target [a5410ed] : RLS: 0.13.0 final
count mean std min 25% 50% 75% max
groupby_transform 10 202.459224 1.248072 201.371670 201.713940 201.888839 202.670515 205.056349
indexing_dataframe_boolean_rows 10 0.385046 0.001513 0.382344 0.384192 0.384967 0.385841 0.388066
indexing_dataframe_boolean_rows_object 10 0.633168 0.001114 0.631332 0.632445 0.633637 0.633697 0.634670
indexing_panel_subset 10 0.709184 0.001551 0.706275 0.708421 0.709136 0.710249 0.711600
reshape_stack_simple 10 2.804049 0.010563 2.785047 2.800802 2.803524 2.813021 2.818028
query_datetime_series 10 35.682742 0.926633 35.169999 35.275022 35.349131 35.618087 38.246711
Target [cef41bf] : potentialy 0.13.1
count mean std min 25% 50% 75% max
groupby_transform 10 271.738656 0.326605 271.227598 271.522979 271.702965 271.987200 272.217353
indexing_dataframe_boolean_rows 10 0.488933 0.002478 0.485341 0.488122 0.488679 0.489871 0.494321
indexing_dataframe_boolean_rows_object 10 0.739876 0.003478 0.735362 0.737846 0.739853 0.740846 0.747681
indexing_panel_subset 10 1.404691 0.005823 1.394351 1.401464 1.405795 1.408557 1.412312
reshape_stack_simple 10 4.802346 0.015722 4.780690 4.792313 4.796505 4.812539 4.831711
query_datetime_series 10 51.154764 0.140856 51.050027 51.059425 51.092466 51.194866 51.424026
```
https://github.com/pydata/pandas/issues/6103
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/6234/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6234/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6235 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6235/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6235/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6235/events | https://github.com/pandas-dev/pandas/pull/6235 | 26,780,600 | MDExOlB1bGxSZXF1ZXN0MTIxMjE4MjI= | 6,235 | BLD: various test_perf fixes | {
"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": "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"
} | 0 | 2014-02-03T04:39:18Z | 2014-06-26T19:23:40Z | 2014-02-03T04:39:46Z | NONE | null | - The git ref parsing didn't handle annotated tags well, returning a bad hash
if you tried `test_perf -t HEAD -b v0.13.0` and got a weird error, fixed. (git weirdness, fyi @cpcloud)
- try to Disable frame_expand_repr when printing stats, pasting results for comparison is much easier
that way.
- Added --temp-dir to name a specific (rather then randomized) scratch directory for vbench,
the randomized temp. dir was preventing ccache from doing it's job. Highly recommended
that you always invoke test_perf with a consistent `--temp-dir my-benching-dir`. This took down
the comparative runs from 5 minutes to less then 60 seconds on my box. cc @jreback, @yarikoptic.
xref https://github.com/pydata/pandas/issues/6199
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6235/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6235/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6235.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6235",
"merged_at": "2014-02-03T04:39:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6235.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6235"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6236 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6236/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6236/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6236/events | https://github.com/pandas-dev/pandas/issues/6236 | 26,804,425 | MDU6SXNzdWUyNjgwNDQyNQ== | 6,236 | foo | {
"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 | [] | null | 0 | 2014-02-03T14:04:12Z | 2014-02-03T14:04:31Z | 2014-02-03T14:04:31Z | 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/6236/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6236/timeline | null | null | null | |
https://api.github.com/repos/pandas-dev/pandas/issues/6237 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6237/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6237/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6237/events | https://github.com/pandas-dev/pandas/issues/6237 | 26,807,292 | MDU6SXNzdWUyNjgwNzI5Mg== | 6,237 | Cannot load valid object form HDF5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2215371?v=4",
"events_url": "https://api.github.com/users/danishabdullah/events{/privacy}",
"followers_url": "https://api.github.com/users/danishabdullah/followers",
"following_url": "https://api.github.com/users/danishabdullah/following{/other_user}",
"gists_url": "https://api.github.com/users/danishabdullah/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danishabdullah",
"id": 2215371,
"login": "danishabdullah",
"node_id": "MDQ6VXNlcjIyMTUzNzE=",
"organizations_url": "https://api.github.com/users/danishabdullah/orgs",
"received_events_url": "https://api.github.com/users/danishabdullah/received_events",
"repos_url": "https://api.github.com/users/danishabdullah/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danishabdullah/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danishabdullah/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danishabdullah"
} | [] | closed | false | null | [] | null | 6 | 2014-02-03T14:46:03Z | 2014-02-25T12:40:53Z | 2014-02-25T12:40:53Z | NONE | null | I have a rather weird error. I am essentially running the following code:
``` python
data = pd.read_hdf(filename.h5, pathstring)
```
I have also tried it in two steps
``` python
store = pd.HDFStore(filename.h5)
data = store.get(pathstring)
```
The problem is that when I am running the code on console/ipython it seems to work fine. but when I run it in a flask app feeding the string query parameters it breaks and raises KeyError saying the object doesn't exist. The path looks fine in HDFView as well.
I am using Continuum's Anaconda python distribution. All relevant packages (pandas, numpy, pytables) are up to date. I am on python 2.7.6 on OS X 10.9 x64
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6237/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6237/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6238 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6238/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6238/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6238/events | https://github.com/pandas-dev/pandas/issues/6238 | 26,809,122 | MDU6SXNzdWUyNjgwOTEyMg== | 6,238 | Depracation warning on query() | {
"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"
} | [] | closed | false | null | [] | null | 5 | 2014-02-03T15:05:03Z | 2014-03-04T03:18:19Z | 2014-02-03T16:40:36Z | CONTRIBUTOR | null | ```
anti_pda.query('label == "hd"')
```
```
home/ipython/envs/ipynb/local/lib/python2.7/site-packages/pandas/computation/ops.py:62: DeprecationWarning: object.__new__() takes no parameters
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6238/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6238/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6239 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6239/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6239/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6239/events | https://github.com/pandas-dev/pandas/issues/6239 | 26,820,328 | MDU6SXNzdWUyNjgyMDMyOA== | 6,239 | COMPAT: disable pytables for old 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": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "0052cc",
"default": false,
"descri... | 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_u... | {
"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"
} | 1 | 2014-02-03T17:26:05Z | 2014-02-03T22:36:53Z | 2014-02-03T22:36:53Z | CONTRIBUTOR | null | see #6103
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6239/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6239/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6240 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6240/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6240/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6240/events | https://github.com/pandas-dev/pandas/issues/6240 | 26,821,919 | MDU6SXNzdWUyNjgyMTkxOQ== | 6,240 | BUG: duplicate columns and drop buggy | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | 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_u... | {
"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"
} | 0 | 2014-02-03T17:48:31Z | 2014-02-17T00:31:22Z | 2014-02-17T00:31:22Z | CONTRIBUTOR | null | ```
In [21]: df = DataFrame({'A' : np.random.randn(5),
'B' : np.random.randn(5),'C' : np.random.randn(5),
'D':['a','b','c','d','e'] })
In [22]: df
Out[22]:
A B C D
0 -0.941264 0.272726 -0.547948 a
1 0.069432 1.398414 0.039093 b
2 -0.073638 -1.264676 -1.339994 c
3 1.520017 -0.562979 -0.739326 d
4 -0.395157 0.542807 0.766582 e
[5 rows x 4 columns]
In [23]: df.take([2,0,1,2,3], axis=1).drop('C',axis=1)
Out[23]:
A B D
0 -0.941264 0.272726 a
1 0.069432 1.398414 b
2 -0.073638 -1.264676 c
3 1.520017 -0.562979 d
4 -0.395157 0.542807 e
[5 rows x 3 columns]
In [24]: df.take([2,0,1,2,1], axis=1).drop('C',axis=1)
IndexError: index 3 is out of bounds for axis 0 with size 3
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6240/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6240/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6241 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6241/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6241/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6241/events | https://github.com/pandas-dev/pandas/pull/6241 | 26,824,088 | MDExOlB1bGxSZXF1ZXN0MTIxNDQ3NTI= | 6,241 | BUG: Fix ImportError on Python 3.4b2 and 3.4b3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/483428?v=4",
"events_url": "https://api.github.com/users/cgohlke/events{/privacy}",
"followers_url": "https://api.github.com/users/cgohlke/followers",
"following_url": "https://api.github.com/users/cgohlke/following{/other_user}",
"gists_url": "https://api.github.com/users/cgohlke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cgohlke",
"id": 483428,
"login": "cgohlke",
"node_id": "MDQ6VXNlcjQ4MzQyOA==",
"organizations_url": "https://api.github.com/users/cgohlke/orgs",
"received_events_url": "https://api.github.com/users/cgohlke/received_events",
"repos_url": "https://api.github.com/users/cgohlke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cgohlke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cgohlke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cgohlke"
} | [
{
"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"
},
{
"color": "207de5",
"default": false,
... | 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 | 2014-02-03T18:19:59Z | 2014-06-24T20:53:44Z | 2014-02-03T20:30:58Z | CONTRIBUTOR | null | See http://bugs.python.org/issue20166
```
ERROR: Failure: ImportError (dynamic module does not define init function (PyInit_json))
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\nose\failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "X:\Python34\lib\site-packages\nose\loader.py", line 402, in loadTestsFromName
module = resolve_name(addr.module)
File "X:\Python34\lib\site-packages\nose\util.py", line 311, in resolve_name
module = __import__('.'.join(parts_copy))
File "X:\Python34\lib\site-packages\pandas\__init__.py", line 44, in <module>
from pandas.io.api import *
File "X:\Python34\lib\site-packages\pandas\io\api.py", line 7, in <module>
from pandas.io.excel import ExcelFile, ExcelWriter, read_excel
File "X:\Python34\lib\site-packages\pandas\io\excel.py", line 14, in <module>
from pandas import json
ImportError: dynamic module does not define init function (PyInit_json)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6241/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6241/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6241.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6241",
"merged_at": "2014-02-03T20:30:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6241.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6241"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6242 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6242/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6242/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6242/events | https://github.com/pandas-dev/pandas/issues/6242 | 26,836,826 | MDU6SXNzdWUyNjgzNjgyNg== | 6,242 | pd.Categorial and level ordering and adding to a DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jankatins",
"id": 890156,
"login": "jankatins",
"node_id": "MDQ6VXNlcjg5MDE1Ng==",
"organizations_url": "https://api.github.com/users/jankatins/orgs",
"received_events_url": "https://api.github.com/users/jankatins/received_events",
"repos_url": "https://api.github.com/users/jankatins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jankatins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jankatins"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "fbca04",
"default": false,
"description": "Related ... | closed | false | null | [] | null | 10 | 2014-02-03T21:01:40Z | 2014-05-24T12:01:21Z | 2014-02-04T12:57:25Z | CONTRIBUTOR | null | As part of https://github.com/yhat/ggplot/issues/188 I'm trying to build a `factor` function which works the same way as the one in R (e.g. https://www.stat.berkeley.edu/classes/s133/factors.html) and which I could use to store factors in a dataframe.
What currently does not work is ordering:
```
mons = c("March","April","January","November","January",
+ "September","October","September","November","August",
+ "January","November","November","February","May","August",
+ "July","December","August","August","September","November",
+ "February","April")
factor(mons,levels=c("January","February","March",
+ "April","May","June","July","August","September",
+ "October","November","December"),ordered=TRUE)
```
Currently I see no way to make a change to the ordering of the levels to a predefined list.
``` python
In [69]: pd.Categorical(["b","a","c","a","c"], levels=["a","b","c"])
Out[69]: <repr(<pandas.core.categorical.Categorical at 0xb7f28d0>) failed: ValueError: invalid literal for long() with base 10: 'b'>
```
[The problem here seems to be that `pd.Categorial.__init__()` expects the arguments to be already transformed to a factor data structure (list of index positions + labels) and the above is actually a "labels + label ordering" structure]
`pd.Categorial.from_array()` only takes a `data` argument, but no ordering :-(
It seems that `pandas.core.algorithms.factorize()` was once intended to do that, but the `order` keyword is not used in the actual implementation (https://github.com/pydata/pandas/blob/master/pandas/core/algorithms.py#L116).
I'm not sure what I should do with `ordered =[True, False]`. What I think it should do is to remove some standard ordering operations in case of `ordered == False`?
Another problem is that i can't roundtrip factors into a dataframe:
```
>>> df = pd.DataFrame({"a":["b","a","c","a","c"]})
>>> df["factor"] = pd.Categorical.from_array(df.a)
>>> df
a factor
0 b b
1 a a
2 c c
3 a a
4 c c
[5 rows x 2 columns]
>>> df.factor
0 b
1 a
2 c
3 a
4 c
Name: factor, dtype: object
```
-> There is no level attribute anymore :-(
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 1,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6242/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6242/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6243 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6243/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6243/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6243/events | https://github.com/pandas-dev/pandas/pull/6243 | 26,837,350 | MDExOlB1bGxSZXF1ZXN0MTIxNTE3Mjk= | 6,243 | ENH: add support for Python 3.4 ast.NameConstant | {
"avatar_url": "https://avatars.githubusercontent.com/u/483428?v=4",
"events_url": "https://api.github.com/users/cgohlke/events{/privacy}",
"followers_url": "https://api.github.com/users/cgohlke/followers",
"following_url": "https://api.github.com/users/cgohlke/following{/other_user}",
"gists_url": "https://api.github.com/users/cgohlke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cgohlke",
"id": 483428,
"login": "cgohlke",
"node_id": "MDQ6VXNlcjQ4MzQyOA==",
"organizations_url": "https://api.github.com/users/cgohlke/orgs",
"received_events_url": "https://api.github.com/users/cgohlke/received_events",
"repos_url": "https://api.github.com/users/cgohlke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cgohlke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cgohlke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cgohlke"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
... | 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_u... | null | 8 | 2014-02-03T21:08:43Z | 2014-06-14T10:19:39Z | 2014-02-04T14:31:19Z | CONTRIBUTOR | null | Python 3.4 created a "NameConstant AST class to represent None, True, and False literals" (http://docs.python.org/3.4/whatsnew/changelog.html).
Pandas-0.13.1.win-amd64-py3.4 fails a few tests with `AttributeError: '...ExprVisitor' object has no attribute 'visit_NameConstant'`.
The suggested change fixes those test errors but I am not sure that it is the best/correct fix.
```
======================================================================
ERROR: test_scalar_unary (pandas.computation.tests.test_eval.TestEvalNumexprPandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 678, in test_scalar_unary
pd.eval('~True', parser=self.parser, engine=self.engine), ~True)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 545, in visit_UnaryOp
operand = self.visit(node.operand)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PandasExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_scalar_unary (pandas.computation.tests.test_eval.TestEvalNumexprPython)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 678, in test_scalar_unary
pd.eval('~True', parser=self.parser, engine=self.engine), ~True)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 545, in visit_UnaryOp
operand = self.visit(node.operand)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PythonExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_scalar_unary (pandas.computation.tests.test_eval.TestEvalPythonPandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 678, in test_scalar_unary
pd.eval('~True', parser=self.parser, engine=self.engine), ~True)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 545, in visit_UnaryOp
operand = self.visit(node.operand)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PandasExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_scalar_unary (pandas.computation.tests.test_eval.TestEvalPythonPython)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 678, in test_scalar_unary
pd.eval('~True', parser=self.parser, engine=self.engine), ~True)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 545, in visit_UnaryOp
operand = self.visit(node.operand)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PythonExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_bool_ops_with_constants (pandas.computation.tests.test_eval.TestOperationsNumExprPandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1086, in test_bool_ops_with_constants
res = self.eval(ex)
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1046, in eval
return pd.eval(*args, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 716, in visit_BoolOp
return reduce(visitor, operands)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 708, in visitor
lhs = self._try_visit_binop(x)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 704, in _try_visit_binop
return self.visit(bop)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PandasExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_simple_bool_ops (pandas.computation.tests.test_eval.TestOperationsNumExprPandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1078, in test_simple_bool_ops
res = self.eval(ex)
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1046, in eval
return pd.eval(*args, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 716, in visit_BoolOp
return reduce(visitor, operands)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 708, in visitor
lhs = self._try_visit_binop(x)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 704, in _try_visit_binop
return self.visit(bop)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PandasExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_bool_ops_with_constants (pandas.computation.tests.test_eval.TestOperationsNumExprPython)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1389, in test_bool_ops_with_constants
res = self.eval(ex)
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1046, in eval
return pd.eval(*args, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 536, in visit_BinOp
op, op_class, left, right = self._possibly_transform_eq_ne(node)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 492, in _possibly_transform_eq_ne
left = self.visit(node.left, side='left')
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PythonExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_bool_ops_with_constants (pandas.computation.tests.test_eval.TestOperationsPythonPandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1086, in test_bool_ops_with_constants
res = self.eval(ex)
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1046, in eval
return pd.eval(*args, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 716, in visit_BoolOp
return reduce(visitor, operands)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 708, in visitor
lhs = self._try_visit_binop(x)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 704, in _try_visit_binop
return self.visit(bop)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PandasExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_simple_bool_ops (pandas.computation.tests.test_eval.TestOperationsPythonPandas)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1078, in test_simple_bool_ops
res = self.eval(ex)
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1046, in eval
return pd.eval(*args, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 716, in visit_BoolOp
return reduce(visitor, operands)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 708, in visitor
lhs = self._try_visit_binop(x)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 704, in _try_visit_binop
return self.visit(bop)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PandasExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_bool_ops_with_constants (pandas.computation.tests.test_eval.TestOperationsPythonPython)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1389, in test_bool_ops_with_constants
res = self.eval(ex)
File "X:\Python34\lib\site-packages\pandas\computation\tests\test_eval.py", line 1046, in eval
return pd.eval(*args, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\eval.py", line 207, in eval
truediv=truediv)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 762, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 536, in visit_BinOp
op, op_class, left, right = self._possibly_transform_eq_ne(node)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 492, in _possibly_transform_eq_ne
left = self.visit(node.left, side='left')
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'PythonExprVisitor' object has no attribute 'visit_NameConstant'
======================================================================
ERROR: test_select_dtypes (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "X:\Python34\lib\site-packages\pandas\io\tests\test_pytables.py", line 2939, in test_select_dtypes
result = store.select('df', Term('boolv == %s' % str(v)), columns = ['A','boolv'])
File "X:\Python34\lib\site-packages\pandas\io\pytables.py", line 664, in select
auto_close=auto_close).get_values()
File "X:\Python34\lib\site-packages\pandas\io\pytables.py", line 1338, in get_values
results = self.func(self.start, self.stop)
File "X:\Python34\lib\site-packages\pandas\io\pytables.py", line 653, in func
columns=columns, **kwargs)
File "X:\Python34\lib\site-packages\pandas\io\pytables.py", line 3788, in read
if not self.read_axes(where=where, **kwargs):
File "X:\Python34\lib\site-packages\pandas\io\pytables.py", line 3047, in read_axes
self.selection = Selection(self, where=where, **kwargs)
File "X:\Python34\lib\site-packages\pandas\io\pytables.py", line 4263, in __init__
self.terms = self.generate(where)
File "X:\Python34\lib\site-packages\pandas\io\pytables.py", line 4276, in generate
return Expr(where, queryables=q, encoding=self.table.encoding)
File "X:\Python34\lib\site-packages\pandas\computation\pytables.py", line 518, in __init__
self.terms = self.parse()
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 689, in visit_Compare
return self.visit(binop)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 536, in visit_BinOp
op, op_class, left, right = self._possibly_transform_eq_ne(node)
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 494, in _possibly_transform_eq_ne
right = self.visit(node.right, side='right')
File "X:\Python34\lib\site-packages\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'ExprVisitor' object has no attribute 'visit_NameConstant'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6243/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6243/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6243.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6243",
"merged_at": "2014-02-04T14:31:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6243.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6243"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6244 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6244/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6244/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6244/events | https://github.com/pandas-dev/pandas/issues/6244 | 26,837,468 | MDU6SXNzdWUyNjgzNzQ2OA== | 6,244 | BLD: add python 3.4 build | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2014-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"
} | 14 | 2014-02-03T21:10:30Z | 2014-02-04T14:11:07Z | 2014-02-04T12:56:01Z | 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/6244/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6244/timeline | null | null | null | |
https://api.github.com/repos/pandas-dev/pandas/issues/6245 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6245/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6245/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6245/events | https://github.com/pandas-dev/pandas/issues/6245 | 26,844,690 | MDU6SXNzdWUyNjg0NDY5MA== | 6,245 | ENH: write Table meta-data (non_index_axes) as a CArray (rather than as meta-data) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2701562?v=4",
"events_url": "https://api.github.com/users/dragoljub/events{/privacy}",
"followers_url": "https://api.github.com/users/dragoljub/followers",
"following_url": "https://api.github.com/users/dragoljub/following{/other_user}",
"gists_url": "https://api.github.com/users/dragoljub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dragoljub",
"id": 2701562,
"login": "dragoljub",
"node_id": "MDQ6VXNlcjI3MDE1NjI=",
"organizations_url": "https://api.github.com/users/dragoljub/orgs",
"received_events_url": "https://api.github.com/users/dragoljub/received_events",
"repos_url": "https://api.github.com/users/dragoljub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dragoljub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dragoljub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dragoljub"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf... | open | 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"
} | 13 | 2014-02-03T22:48:32Z | 2019-10-21T19:34:16Z | null | NONE | null | @jreback
I get this very strange error when writing very wide HDF5 tables. In this case a random float32 array with 1500 columns cant be written as an HDF5 table. However if rename the columns it seems to write fine...
Not sure whats going on.
-Gagi
``` python
In [1]: %paste
import numpy as np
import pandas as pd
print np.__version__
print pd.__version__
pd.options.display.large_repr = 'info'
df = pd.DataFrame(np.random.randn(1000,1500), dtype=np.float32)
#df.columns = df.columns.map(lambda x: 'A'+str(x))
df.to_hdf(r'Y:\table.h5', 'df', format='table', nan_rep='')
## -- End pasted text --
1.7.1
0.13.0
---------------------------------------------------------------------------
HDF5ExtError Traceback (most recent call last)
<ipython-input-1-ae7bcadf7834> in <module>()
9 df = pd.DataFrame(np.random.randn(1000,1500), dtype=np.float32)
10 #df.columns = df.columns.map(lambda x: 'A'+str(x))
---> 11 df.to_hdf(r'Y:\table.h5', 'df', format='table', nan_rep='')
D:\Python27\lib\site-packages\pandas\core\generic.pyc in to_hdf(self, path_or_buf, key, **kwargs)
860
861 from pandas.io import pytables
--> 862 return pytables.to_hdf(path_or_buf, key, self, **kwargs)
863
864 def to_msgpack(self, path_or_buf=None, **kwargs):
D:\Python27\lib\site-packages\pandas\io\pytables.pyc in to_hdf(path_or_buf, key, value, mode, complevel, complib, append, **kwargs)
269 with get_store(path_or_buf, mode=mode, complevel=complevel,
270 complib=complib) as store:
--> 271 f(store)
272 else:
273 f(path_or_buf)
D:\Python27\lib\site-packages\pandas\io\pytables.pyc in <lambda>(store)
264 f = lambda store: store.append(key, value, **kwargs)
265 else:
--> 266 f = lambda store: store.put(key, value, **kwargs)
267
268 if isinstance(path_or_buf, compat.string_types):
D:\Python27\lib\site-packages\pandas\io\pytables.pyc in put(self, key, value, format, append, **kwargs)
792 format = get_option("io.hdf.default_format") or 'fixed'
793 kwargs = self._validate_format(format, kwargs)
--> 794 self._write_to_group(key, value, append=append, **kwargs)
795
796 def remove(self, key, where=None, start=None, stop=None):
D:\Python27\lib\site-packages\pandas\io\pytables.pyc in _write_to_group(self, key, value, format, index, append, complib, encoding, **kwargs)
1244
1245 # write the object
-> 1246 s.write(obj=value, append=append, complib=complib, **kwargs)
1247
1248 if s.is_table and index:
D:\Python27\lib\site-packages\pandas\io\pytables.pyc in write(self, obj, axes, append, complib, complevel, fletcher32, min_itemsize, chunksize, expectedrows, dropna, **kwa
3548
3549 # set the table attributes
-> 3550 self.set_attrs()
3551
3552 # create the table
D:\Python27\lib\site-packages\pandas\io\pytables.pyc in set_attrs(self)
2858 self.attrs.index_cols = self.index_cols()
2859 self.attrs.values_cols = self.values_cols()
-> 2860 self.attrs.non_index_axes = self.non_index_axes
2861 self.attrs.data_columns = self.data_columns
2862 self.attrs.nan_rep = self.nan_rep
D:\Python27\lib\site-packages\tables\attributeset.pyc in __setattr__(self, name, value)
450
451 # Set the attribute.
--> 452 self._g__setattr(name, value)
453
454 # Log new attribute addition.
D:\Python27\lib\site-packages\tables\attributeset.pyc in _g__setattr(self, name, value)
393 value = stvalue[()]
394
--> 395 self._g_setattr(self._v_node, name, stvalue)
396
397 # New attribute or value. Introduce it into the local
D:\Python27\lib\site-packages\tables\hdf5extension.pyd in tables.hdf5extension.AttributeSet._g_setattr (tables\hdf5extension.c:6334)()
HDF5ExtError: HDF5 error back trace
File "..\..\hdf5-1.8.11\src\H5A.c", line 254, in H5Acreate2
unable to create attribute
File "..\..\hdf5-1.8.11\src\H5A.c", line 503, in H5A_create
unable to create attribute in object header
File "..\..\hdf5-1.8.11\src\H5Oattribute.c", line 347, in H5O_attr_create
unable to create new attribute in header
File "..\..\hdf5-1.8.11\src\H5Omessage.c", line 224, in H5O_msg_append_real
unable to create new message
File "..\..\hdf5-1.8.11\src\H5Omessage.c", line 1945, in H5O_msg_alloc
unable to allocate space for message
File "..\..\hdf5-1.8.11\src\H5Oalloc.c", line 1142, in H5O_alloc
object header message is too large
End of HDF5 error back trace
Can't set attribute 'non_index_axes' in node:
/df (Group) u''.
In [2]: df.columns = df.columns.map(lambda x: 'A'+str(x))
In [3]: df.to_hdf(r'Y:\tabl2e3.h5', 'df', format='table', nan_rep='')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6245/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6245/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6246 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6246/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6246/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6246/events | https://github.com/pandas-dev/pandas/issues/6246 | 26,856,428 | MDU6SXNzdWUyNjg1NjQyOA== | 6,246 | frame _apply_standard error when operating on 0 or NaN values | {
"avatar_url": "https://avatars.githubusercontent.com/u/3161099?v=4",
"events_url": "https://api.github.com/users/venuktan/events{/privacy}",
"followers_url": "https://api.github.com/users/venuktan/followers",
"following_url": "https://api.github.com/users/venuktan/following{/other_user}",
"gists_url": "https://api.github.com/users/venuktan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/venuktan",
"id": 3161099,
"login": "venuktan",
"node_id": "MDQ6VXNlcjMxNjEwOTk=",
"organizations_url": "https://api.github.com/users/venuktan/orgs",
"received_events_url": "https://api.github.com/users/venuktan/received_events",
"repos_url": "https://api.github.com/users/venuktan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/venuktan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/venuktan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/venuktan"
} | [] | closed | false | null | [] | null | 3 | 2014-02-04T02:57:48Z | 2014-02-04T03:35:33Z | 2014-02-04T03:35:33Z | NONE | null | Here are the steps I followed. I am using pandas (0.12.0) .
```
In [1]: import pandas as pd
In [4]: dataFrame = pd.read_csv('./test.csv')
In [7]: dataFrame
Out[7]:
r1 r2 r3 r4 r5
0 NaN 3.5 NaN NaN 5
1 4.5 NaN 4 NaN NaN
2 1.5 NaN NaN NaN NaN
3 NaN NaN NaN NaN NaN
4 NaN NaN NaN NaN NaN
5 4.5 NaN 4 NaN NaN
6 NaN NaN NaN NaN NaN
In [8]: dataFrame['mean'] = dataFrame.mean(axis=1)
In [9]: dataFrame
Out[9]:
r1 r2 r3 r4 r5 mean
0 NaN 3.5 NaN NaN 5 4.25
1 4.5 NaN 4 NaN NaN 4.25
2 1.5 NaN NaN NaN NaN 1.50
3 NaN NaN NaN NaN NaN NaN
4 NaN NaN NaN NaN NaN NaN
5 4.5 NaN 4 NaN NaN 4.25
6 NaN NaN NaN NaN NaN NaN
In [10]: dataFrame.dtypes
Out[10]:
r1 float64
r2 float64
r3 float64
r4 float64
r5 float64
mean float64
dtype: object
In [11]: meanCenteredDataFrame = dataFrame.apply(lambda x: x -x['mean'])
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-11-e6cc746e933b> in <module>()
----> 1 meanCenteredDataFrame = dataFrame.apply(lambda x: x -x['mean'])
//anaconda/lib/python2.7/site-packages/pandas/core/frame.pyc in apply(self, func, axis, broadcast, raw, args, **kwds)
4414 return self._apply_raw(f, axis)
4415 else:
-> 4416 return self._apply_standard(f, axis)
4417 else:
4418 return self._apply_broadcast(f, axis)
//anaconda/lib/python2.7/site-packages/pandas/core/frame.pyc in _apply_standard(self, func, axis, ignore_failures)
4489 # no k defined yet
4490 pass
-> 4491 raise e
4492
4493
KeyError: ('mean', u'occurred at index r1')
In [12]: dataFrame.fillna(0,inplace=True)
In [13]: meanCenteredDataFrame = dataFrame.apply(lambda x: x -x['mean'])
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-13-e6cc746e933b> in <module>()
----> 1 meanCenteredDataFrame = dataFrame.apply(lambda x: x -x['mean'])
Type: DataFrame
String Form:
r1 r2 r3 r4 r5 mean
0 0.0 3.5 0 0 5 4.25
//anaconda/lib/python2.7/site-packages/pandas/core/frame.pyc in apply(self, func, axis, broadcast, raw, args, **kwds)
4414 return self._apply_raw(f, axis)
4415 else:
-> 4416 return self._apply_standard(f, axis)
4417 else:
4418 return self._apply_broadcast(f, axis)
//anaconda/lib/python2.7/site-packages/pandas/core/frame.pyc in _apply_standard(self, func, axis, ignore_failures)
4489 # no k defined yet
4490 pass
-> 4491 raise e
4492
4493
KeyError: ('mean', u'occurred at index r1')
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6246/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6246/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6247 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6247/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6247/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6247/events | https://github.com/pandas-dev/pandas/issues/6247 | 26,866,244 | MDU6SXNzdWUyNjg2NjI0NA== | 6,247 | TestHDFStore: test_select_dtypes fails on py3.4 | {
"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"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"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"
} | 1 | 2014-02-04T08:28:59Z | 2014-02-04T14:17:37Z | 2014-02-04T14:17:37Z | NONE | null | Caught while testing 185b3f11 on Win/x86_64 with PY3.4.0/64:
```
======================================================================
ERROR: test_select_dtypes (pandas.io.tests.test_pytables.TestHDFStore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python34-AMD64\lib\unittest\case.py", line 57, in testPartExecutor
yield
File "c:\python34-AMD64\lib\unittest\case.py", line 574, in run
testMethod()
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\io\tests\test_pytables.py", line 2939, in test_select_dtypes
result = store.select('df', Term('boolv == %s' % str(v)), columns = ['A','boolv'])
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\io\pytables.py", line 664, in select
auto_close=auto_close).get_values()
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\io\pytables.py", line 1338, in get_values
results = self.func(self.start, self.stop)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\io\pytables.py", line 653, in func
columns=columns, **kwargs)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\io\pytables.py", line 3788, in read
if not self.read_axes(where=where, **kwargs):
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\io\pytables.py", line 3047, in read_axes
self.selection = Selection(self, where=where, **kwargs)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\io\pytables.py", line 4263, in __init__
self.terms = self.generate(where)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\io\pytables.py", line 4276, in generate
return Expr(where, queryables=q, encoding=self.table.encoding)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\pytables.py", line 518, in __init__
self.terms = self.parse()
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 781, in parse
return self._visitor.visit(self.expr)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 455, in visit_Module
return self.visit(expr, **kwargs)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 458, in visit_Expr
return self.visit(node.value, **kwargs)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 689, in visit_Compare
return self.visit(binop)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 449, in visit
return visitor(node, **kwargs)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 536, in visit_BinOp
op, op_class, left, right = self._possibly_transform_eq_ne(node)
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 494, in _possibly_transform_eq_ne
right = self.visit(node.right, side='right')
File "C:\workspace\pandas_tests\BITS\64\PYTHONVER\34\pandas\computation\expr.py", line 448, in visit
visitor = getattr(self, method)
AttributeError: 'ExprVisitor' object has no attribute 'visit_NameConstant'
```
xref https://github.com/pydata/pandas/pull/6243
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6247/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6247/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6248 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6248/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6248/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6248/events | https://github.com/pandas-dev/pandas/issues/6248 | 26,868,538 | MDU6SXNzdWUyNjg2ODUzOA== | 6,248 | ENH: Add a pep8-radius script | {
"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"
} | [
{
"color": "DDDDDD",
"default": false,
"description": "Long-Term Enhancement Discussions",
"id": 157369,
"name": "Ideas",
"node_id": "MDU6TGFiZWwxNTczNjk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Ideas"
},
{
"color": "eb6420",
"default": false,
"des... | 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 | 2014-02-04T09:21:58Z | 2016-11-11T10:32:26Z | 2016-11-11T10:32:14Z | NONE | null | We've been stuck on how to handle PEP8 cleanups for a while.
On the one hand PEP8 storms break PRs and git blame, OTOH
the back and forth on code review about whitespace fixes drives some
maintainers (me) crazy.
But:
- Autopep8 accepts a line-range argument which tells it to only fix problems in a given area.
- git diff tells you which lines on which file were altered between two points in history.
So:
- write a script "pep8-radius.py" that takes a commit hash `h` as input, find altered lines
between HEAD and `h` and then invokes autopep8 on a given radius around those
altered lines to locally cleanup where things changed.
- Do one last pep8 storm.
- Get contributors to run the script and include/squash the cleanups in the PR.
This is a fun little hack which might become quite handy outside pandas.
would appreciate someone picking this idea up and making it happen as I'm
a little burned out on this sort of work.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6248/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6248/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6249 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6249/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6249/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6249/events | https://github.com/pandas-dev/pandas/issues/6249 | 26,875,361 | MDU6SXNzdWUyNjg3NTM2MQ== | 6,249 | CLN: implement xs in terms of loc | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "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": nu... | 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_u... | {
"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"
} | 50 | 2014-02-04T11:32:45Z | 2018-07-06T22:15:03Z | 2018-07-06T22:15:02Z | CONTRIBUTOR | null | after #6134 we can drop xs and implement directly. Thus we should deprecate it.
`.xs(key, level=n)`
is roughly equivalent to this
```
indexer = tuple([slice(None)]*(n-1) + key)]
axis_indexer = [ slice(None) ] * self.ndim
axis_indexer[axis] = indexer
self.loc[tuple(axis_indexer)]
```
roughly because needs to handle `.xs` full argument set
- drop_level (need to surround the indexer tuple with a list or not)
- n could be a level name
- n = 1 (needs a test)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6249/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6249/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6250 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6250/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6250/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6250/events | https://github.com/pandas-dev/pandas/pull/6250 | 26,875,506 | MDExOlB1bGxSZXF1ZXN0MTIxNzM0Njg= | 6,250 | fix ipython directive, py3 and recent ipython changes | {
"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 | [] | null | 0 | 2014-02-04T11:35:35Z | 2014-06-13T02:06:51Z | 2014-02-04T11:35:39Z | NONE | null | Made py3 fixes to conf.py. Docs now compile on PY3 (good job @phaebz, @kermit666 and joris).
Also worked around recent breaking change to ipython https://github.com/ipython/ipython/pull/4504,
which somewhat deflates my theory that by having our own copy we can avoid having
other packages changes break our build (they can, if they change the packages it depends on).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6250/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6250/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6250.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6250",
"merged_at": "2014-02-04T11:35:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6250.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6250"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6251 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6251/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6251/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6251/events | https://github.com/pandas-dev/pandas/issues/6251 | 26,880,355 | MDU6SXNzdWUyNjg4MDM1NQ== | 6,251 | Improve testing coverage | {
"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"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0e8a16",
"d... | closed | false | null | [] | {
"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"
} | 10 | 2014-02-04T13:11:54Z | 2018-07-06T22:13:38Z | 2018-07-06T22:13:37Z | NONE | null | Pandas coverage is currently at 78%, not bad but could be better.
Open issue for first-time contributors: find some ill-tested corner
and bring it into the light.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6251/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6251/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6252 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6252/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6252/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6252/events | https://github.com/pandas-dev/pandas/issues/6252 | 26,880,775 | MDU6SXNzdWUyNjg4MDc3NQ== | 6,252 | BUG: loc indexing when starting with an empty frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | 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_u... | {
"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"
} | 0 | 2014-02-04T13:20:20Z | 2014-02-04T19:54:21Z | 2014-02-04T19:54:21Z | CONTRIBUTOR | null | from ML: https://groups.google.com/forum/#!topic/pydata/P3JFE3sob1U
empty indexing the frame
```
keys1 = ['@' + str(i) for i in range(1000)]
val1 = arange(1000)
keys2 = ['@' + str(i) for i in range(990)]
val2 = arange(990)
allKeys = list(set(keys1).union(keys2))
df = pandas.DataFrame(index = allKeys)
df['A'] = nan
df.loc[keys1, 'A'] = val1
df['B'] = nan
df.loc[keys2, 'B'] = val2
df.head()
## -- End pasted text --
<43>
A B
@679 679 679
@678 678 678
@337 337 337
@744 744 744
@673 673 673
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6252/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6252/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6253 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6253/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6253/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6253/events | https://github.com/pandas-dev/pandas/issues/6253 | 26,891,081 | MDU6SXNzdWUyNjg5MTA4MQ== | 6,253 | bug on DatatimeBlock._try_coerce_args() with pandas0.13.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6585675?v=4",
"events_url": "https://api.github.com/users/wangshun98/events{/privacy}",
"followers_url": "https://api.github.com/users/wangshun98/followers",
"following_url": "https://api.github.com/users/wangshun98/following{/other_user}",
"gists_url": "https://api.github.com/users/wangshun98/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wangshun98",
"id": 6585675,
"login": "wangshun98",
"node_id": "MDQ6VXNlcjY1ODU2NzU=",
"organizations_url": "https://api.github.com/users/wangshun98/orgs",
"received_events_url": "https://api.github.com/users/wangshun98/received_events",
"repos_url": "https://api.github.com/users/wangshun98/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wangshun98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wangshun98/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wangshun98"
} | [] | closed | false | null | [] | null | 1 | 2014-02-04T15:48:49Z | 2014-02-04T15:53:19Z | 2014-02-04T15:53:19Z | NONE | null | When running the following example code, it throws error in DatatimeBlock._try_coerce_args()
> > T1 = pd.to_datetime(pd.Series([ np.nan, datetime(2012,1,1) ]))
> > T2 = pd.to_datetime(pd.Series([ datetime(2013,1,1), datetime(2012,1,1) ])
> > T1.where(~T1.isnull(), other=T2)
---
ValueError Traceback (most recent call last)
<ipython-input-21-2e937f1a9061> in <module>()
----> 1 T1.where( ~T1.isnull(), other = T2)
C:\Python64\lib\site-packages\pandas\core\generic.pyc in where(self, cond, other, inplace, axis, level, try_cast, raise_on_error)
2887 new_data = self._data.where(other, cond, align=axis is None,
2888 raise_on_error=raise_on_error,
-> 2889 try_cast=try_cast)
2890
2891 return self._constructor(new_data).__finalize__(self)
C:\Python64\lib\site-packages\pandas\core\internals.pyc in where(self, _args, *_kwargs)
2279
2280 def where(self, _args, *_kwargs):
-> 2281 return self.apply('where', _args, *_kwargs)
2282
2283 def eval(self, _args, *_kwargs):
C:\Python64\lib\site-packages\pandas\core\internals.pyc in apply(self, f, _args, *_kwargs)
2265
2266 else:
-> 2267 applied = getattr(blk, f)(_args, *_kwargs)
2268
2269 if isinstance(applied, list):
C:\Python64\lib\site-packages\pandas\core\internals.pyc in where(self, other, cond, align, raise_on_error, try_cast)
1076 # see if we can operate on the entire block, or need item-by-item
1077 # or if we are a single block (ndim == 1)
-> 1078 result = func(cond, values, other)
1079 if self._can_hold_na or self.ndim == 1:
1080
C:\Python64\lib\site-packages\pandas\core\internals.pyc in func(c, v, o)
1059 return v
1060
-> 1061 v, o = self._try_coerce_args(v, o)
1062 try:
1063 return self._try_coerce_result(
C:\Python64\lib\site-packages\pandas\core\internals.pyc in _try_coerce_args(self, values, other)
1518 values is always ndarra like, other may not be """
1519 values = values.view('i8')
-> 1520 if isnull(other) or (np.isscalar(other) and other == tslib.iNaT):
1521 other = tslib.iNaT
1522 elif isinstance(other, datetime):
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The issue I found is the "if" condition. When input other is array-like, isnull return and the second "or" condition won't have the same size. A potential fix could be changing line 1520 to:
if np.isscalar(other) and (isnull(other) or other == tslib.iNaT):
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6253/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6253/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6254 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6254/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6254/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6254/events | https://github.com/pandas-dev/pandas/issues/6254 | 26,902,167 | MDU6SXNzdWUyNjkwMjE2Nw== | 6,254 | assigning using df.loc and unsorted labels doesn't put values in the right places | {
"avatar_url": "https://avatars.githubusercontent.com/u/1284886?v=4",
"events_url": "https://api.github.com/users/sadruddin/events{/privacy}",
"followers_url": "https://api.github.com/users/sadruddin/followers",
"following_url": "https://api.github.com/users/sadruddin/following{/other_user}",
"gists_url": "https://api.github.com/users/sadruddin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sadruddin",
"id": 1284886,
"login": "sadruddin",
"node_id": "MDQ6VXNlcjEyODQ4ODY=",
"organizations_url": "https://api.github.com/users/sadruddin/orgs",
"received_events_url": "https://api.github.com/users/sadruddin/received_events",
"repos_url": "https://api.github.com/users/sadruddin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sadruddin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sadruddin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sadruddin"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | closed | false | null | [] | {
"closed_at": "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"
} | 7 | 2014-02-04T18:02:19Z | 2014-02-12T12:59:46Z | 2014-02-04T19:54:21Z | NONE | null | Using 0.13.1 (gohlke binaries, Win64, using numpy 1.8):
When using .loc, when passing unsorted labels, pandas doesn't assign the values in the designed labels' locations. Example:
`df = pandas.DataFrame(index=[3, 5, 4], columns=['A'])`
`df.loc[[4, 3, 5], 'A'] = [1, 2, 3]`
Result is:
```
Out[30]:
A
3 1
5 2
4 3
```
One would have expected:
```
Out[30]:
A
3 2
5 3
4 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/6254/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6254/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6255 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6255/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6255/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6255/events | https://github.com/pandas-dev/pandas/pull/6255 | 26,903,999 | MDExOlB1bGxSZXF1ZXN0MTIxODk4NTI= | 6,255 | Update indexing.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/69774?v=4",
"events_url": "https://api.github.com/users/michaelaye/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelaye/followers",
"following_url": "https://api.github.com/users/michaelaye/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelaye/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/michaelaye",
"id": 69774,
"login": "michaelaye",
"node_id": "MDQ6VXNlcjY5Nzc0",
"organizations_url": "https://api.github.com/users/michaelaye/orgs",
"received_events_url": "https://api.github.com/users/michaelaye/received_events",
"repos_url": "https://api.github.com/users/michaelaye/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/michaelaye/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelaye/subscriptions",
"type": "User",
"url": "https://api.github.com/users/michaelaye"
} | [] | closed | false | null | [] | null | 1 | 2014-02-04T18:29:18Z | 2014-06-24T22:55:00Z | 2014-02-04T18:47:26Z | CONTRIBUTOR | null | Just removing a typo: 'for' was written 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/6255/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6255/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6255.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6255",
"merged_at": "2014-02-04T18:47:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6255.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6255"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6256 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6256/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6256/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6256/events | https://github.com/pandas-dev/pandas/pull/6256 | 26,909,043 | MDExOlB1bGxSZXF1ZXN0MTIxOTI3ODI= | 6,256 | BUG: Indexing bugs with reordered indexes (GH6252, GH6254) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | 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"
} | 0 | 2014-02-04T19:36:49Z | 2014-07-16T08:51:48Z | 2014-02-04T19:54:21Z | CONTRIBUTOR | null | closes #6252
closes #6254
```
In [1]: df = DataFrame(index=[3, 5, 4], columns=['A'])
In [2]: df.loc[[4, 3, 5], 'A'] = [1, 2, 3]
In [3]: df
Out[3]:
A
3 2
5 3
4 1
[3 rows x 1 columns]
```
```
In [4]: keys1 = ['@' + str(i) for i in range(5)]
In [5]: val1 = np.arange(5)
In [6]: keys2 = ['@' + str(i) for i in range(4)]
In [7]: val2 = np.arange(4)
In [8]: index = list(set(keys1).union(keys2))
In [9]: df = DataFrame(index = index)
In [10]: df['A'] = nan
In [11]: df.loc[keys1, 'A'] = val1
In [12]: df['B'] = nan
In [13]: df.loc[keys2, 'B'] = val2
In [14]: df
Out[14]:
A B
@2 2 2
@3 3 3
@0 0 0
@1 1 1
@4 4 NaN
[5 rows x 2 columns]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6256/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6256/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6256.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6256",
"merged_at": "2014-02-04T19:54:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6256.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6256"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6257 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6257/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6257/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6257/events | https://github.com/pandas-dev/pandas/issues/6257 | 26,916,355 | MDU6SXNzdWUyNjkxNjM1NQ== | 6,257 | Improve documentation for pandas.core.groupby.GroupBy.transform | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"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": "0e8a16",
"default": true,
"description": null,
"id": 7171206... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 5 | 2014-02-04T21:19:25Z | 2017-12-13T01:59:36Z | 2017-12-13T01:59:36Z | CONTRIBUTOR | null | Currently there is no documentation (other than the signature) for `pandas.core.groupby.GroupBy.transform`.
For example passing the string `"shift"` works and shifts the results.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6257/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6257/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6258 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6258/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6258/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6258/events | https://github.com/pandas-dev/pandas/issues/6258 | 26,917,730 | MDU6SXNzdWUyNjkxNzczMA== | 6,258 | xs on MultiIndex Does not Work For Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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_u... | {
"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"
} | 7 | 2014-02-04T21:37:56Z | 2014-02-05T02:08:12Z | 2014-02-05T02:08:12Z | CONTRIBUTOR | null | This works:
```
In [141]:
dates = pd.to_datetime(['2013-09-03', '2013-09-04', '2013-09-05'])
pd.concat({'A':pd.Series([1,3,4], index=dates), 'B':pd.Series([1,3,4], index=dates)}).to_frame().xs(key='2013-09-03', level=1)
0
A 1
B 1
[2 rows x 1 columns]
```
but this does not:
```
In [142]:
dates = pd.to_datetime(['2013-09-03', '2013-09-04', '2013-09-05'])
pd.concat({'A':pd.Series([1,3,4], index=dates), 'B':pd.Series([1,3,4], index=dates)}).xs(key='2013-09-03', level=1)
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-142-06aba7d44961> in <module>()
1 dates = pd.to_datetime(['2013-09-03', '2013-09-04', '2013-09-05'])
----> 2 pd.concat({'A':pd.Series([1,3,4], index=dates), 'B':pd.Series([1,3,4], index=dates)}).xs(key='2013-09-03', level=1)
/usr/lib64/python2.7/site-packages/pandas/core/series.py in _xs(self, key, axis, level, copy)
437
438 def _xs(self, key, axis=0, level=None, copy=True):
--> 439 return self.__getitem__(key)
440
441 xs = _xs
/usr/lib64/python2.7/site-packages/pandas/core/series.py in __getitem__(self, key)
482 def __getitem__(self, key):
483 try:
--> 484 result = self.index.get_value(self, key)
485 if isinstance(result, np.ndarray):
486 return self._constructor(result,index=[key]*len(result)).__finalize__(self)
/usr/lib64/python2.7/site-packages/pandas/core/index.py in get_value(self, series, key)
2294 raise InvalidIndexError(key)
2295 else:
-> 2296 raise e1
2297 except Exception: # pragma: no cover
2298 raise e1
KeyError: '2013-09-03'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6258/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6258/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6259 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6259/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6259/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6259/events | https://github.com/pandas-dev/pandas/pull/6259 | 26,923,920 | MDExOlB1bGxSZXF1ZXN0MTIyMDE2MDI= | 6,259 | BUG: bug in xs for a Series with a multiindex (GH6258) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | 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"
} | 4 | 2014-02-04T23:03:45Z | 2014-06-16T02:27:27Z | 2014-02-05T02:08:12Z | CONTRIBUTOR | null | closes #6258
closes #5684
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6259/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6259/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6259.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6259",
"merged_at": "2014-02-05T02:08:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6259.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6259"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6260 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6260/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6260/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6260/events | https://github.com/pandas-dev/pandas/issues/6260 | 26,932,433 | MDU6SXNzdWUyNjkzMjQzMw== | 6,260 | BUG: misplaced index_label with DF.to_excel() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1217182?v=4",
"events_url": "https://api.github.com/users/iled/events{/privacy}",
"followers_url": "https://api.github.com/users/iled/followers",
"following_url": "https://api.github.com/users/iled/following{/other_user}",
"gists_url": "https://api.github.com/users/iled/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iled",
"id": 1217182,
"login": "iled",
"node_id": "MDQ6VXNlcjEyMTcxODI=",
"organizations_url": "https://api.github.com/users/iled/orgs",
"received_events_url": "https://api.github.com/users/iled/received_events",
"repos_url": "https://api.github.com/users/iled/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iled/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iled/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iled"
} | [
{
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel"... | 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"
} | 15 | 2014-02-05T01:50:13Z | 2014-06-21T12:50:41Z | 2014-06-21T12:49:33Z | CONTRIBUTOR | null | When saving an excel file from a DataFrame with the method to_excel, there is a misbehaviour with index_label: it is placed in the 2nd row.
For instance
``` python
>>> df = pd.DataFrame([[1,2,3],[4,5,6]], columns=['a', 'b', 'c'])
>>> df.index.name = 'n'
>>> df
a b c
n
0 1 2 3
1 4 5 6
[2 rows x 3 columns]
>>> df.to_excel(path, index_label='test')
```
Produces the following result within the xls file:

Even if I force index_label=None, the behaviour persists
``` python
>>> df.to_excel('/home/julio/Testes/cost-home/test.xls', index_label=None)
```
Which is written as

This is a problem because then I can't read the same DF after I write it:
``` python
>>> df2 = pd.read_excel('/home/julio/Testes/cost-home/test.xls', 0)
>>> df2
a b c
n NaN NaN NaN
0 1 2 3
1 4 5 6
[3 rows x 3 columns]
```
I'm using pandas 0.13.0. In version 0.12 the label index was inserted in the first row.
``` python
>>> show_versions()
INSTALLED VERSIONS
------------------
Python: 2.7.4.final.0
OS: Linux
Release: 3.8.0-19-generic
Processor: x86_64
byteorder: little
LC_ALL: None
LANG: pt_PT.UTF-8
pandas: 0.13.0
Cython: 0.19.1
Numpy: 1.8.0
Scipy: 0.13.2
statsmodels: 0.5.0
patsy: 0.2.1
scikits.timeseries: Not installed
dateutil: 2.2
pytz: 2013.9
bottleneck: 0.7.0
PyTables: 3.0.0
numexpr: 2.2.2
matplotlib: 1.3.1
openpyxl: 1.6.2
xlrd: 0.9.2
xlwt: 0.7.5
xlsxwriter: 0.5.2
sqlalchemy: Not installed
lxml: 3.2.3
bs4: Not installed
html5lib: Not installed
bigquery: Not installed
apiclient: Not installed
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6260/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6260/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6261 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6261/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6261/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6261/events | https://github.com/pandas-dev/pandas/pull/6261 | 26,932,602 | MDExOlB1bGxSZXF1ZXN0MTIyMDY4MDk= | 6,261 | CLN: More work on converting assert_'s to specialized forms | {
"avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4",
"events_url": "https://api.github.com/users/bwignall/events{/privacy}",
"followers_url": "https://api.github.com/users/bwignall/followers",
"following_url": "https://api.github.com/users/bwignall/following{/other_user}",
"gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bwignall",
"id": 5581066,
"login": "bwignall",
"node_id": "MDQ6VXNlcjU1ODEwNjY=",
"organizations_url": "https://api.github.com/users/bwignall/orgs",
"received_events_url": "https://api.github.com/users/bwignall/received_events",
"repos_url": "https://api.github.com/users/bwignall/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bwignall/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bwignall"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2014-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 | 2014-02-05T01:54:36Z | 2014-06-19T04:52:19Z | 2014-02-05T12:16:52Z | CONTRIBUTOR | null | Work on #6175 to specialize assert_'s. Tests still pass locally. A work-in-progress.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6261/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6261/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6261.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6261",
"merged_at": "2014-02-05T12:16:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6261.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6261"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6262 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6262/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6262/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6262/events | https://github.com/pandas-dev/pandas/pull/6262 | 26,936,316 | MDExOlB1bGxSZXF1ZXN0MTIyMDg4OTA= | 6,262 | CLN: Work on converting assert_'s to specialized forms, in pandas/tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4",
"events_url": "https://api.github.com/users/bwignall/events{/privacy}",
"followers_url": "https://api.github.com/users/bwignall/followers",
"following_url": "https://api.github.com/users/bwignall/following{/other_user}",
"gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bwignall",
"id": 5581066,
"login": "bwignall",
"node_id": "MDQ6VXNlcjU1ODEwNjY=",
"organizations_url": "https://api.github.com/users/bwignall/orgs",
"received_events_url": "https://api.github.com/users/bwignall/received_events",
"repos_url": "https://api.github.com/users/bwignall/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bwignall/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bwignall"
} | [] | closed | false | null | [] | null | 1 | 2014-02-05T03:55:11Z | 2014-06-19T04:48:27Z | 2014-02-05T12:18:04Z | CONTRIBUTOR | null | Work on #6175, in pandas/tests. Tests still pass locally. A work-in-progress, but--with #6261--removes many/most cases of assert_(x == y) in this directory
Replacements:
- assert_(x == y) ==> assertEqual(x, y)
- assert_(x == True) ==> assertTrue(x)
- assert_(x == False) ==> assertFalse(x)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6262/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6262/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6262.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6262",
"merged_at": "2014-02-05T12:18:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6262.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6262"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6263 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6263/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6263/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6263/events | https://github.com/pandas-dev/pandas/issues/6263 | 26,938,743 | MDU6SXNzdWUyNjkzODc0Mw== | 6,263 | ValueError on groupby boxplot | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
... | closed | false | null | [] | null | 5 | 2014-02-05T05:30:12Z | 2014-03-22T21:32:16Z | 2014-03-22T21:31:56Z | NONE | null | I have a pretty simple data frame of two columns, containing dates and velocities
```
velocity date
0 83.9 2007-08-04
1 89.6 2007-08-04
2 88.2 2007-08-04
3 88.9 2007-08-04
4 89.4 2007-08-04
```
Yet, when I try to make a box plot of velocities grouped by date, I get a ValueError:
```
pitches.boxplot(column='velocity', by='date')
ValueError: Wrong number of items passed 109, indices imply 108
```
I've confirmed that `velocity` are floats and `date` are np.datetime64.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6263/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6263/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6264 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6264/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6264/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6264/events | https://github.com/pandas-dev/pandas/issues/6264 | 26,939,544 | MDU6SXNzdWUyNjkzOTU0NA== | 6,264 | com.is_integer is slow | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 1 | 2014-02-05T06:00:15Z | 2014-02-06T15:49:01Z | 2014-02-06T15:49:01Z | CONTRIBUTOR | null | Observe:
```
In [62]: %timeit com.is_integer(13)
1000000 loops, best of 3: 965 ns per loop
In [63]: %timeit com.is_integer(np.int32(2))
100000 loops, best of 3: 2.56 µs per loop
In [64]: %timeit com.is_integer(np.int64(2))
1000000 loops, best of 3: 1.27 µs per loop
In [65]: %timeit com.is_integer(14L)
1000000 loops, best of 3: 970 ns per loop
In [76]: %timeit com.is_integer("1")
1000000 loops, best of 3: 1.66 µs per loop
```
The lower bound of this function would be:
```
In [66]: %timeit type(3) is int
10000000 loops, best of 3: 85.8 ns per loop
```
My first attempt is the following which pulls the tuple creation out and optimizes for the common case of calling with `int`. This seems to make all cases faster, especially the common, `int`, case:
```
_int_types = (int, numbers.Integral, np.integer)
def is_integer(obj):
return isinstance(obj, _int_types)
```
and results:
```
In [70]: %timeit is_integer(13)
10000000 loops, best of 3: 146 ns per loop
In [71]: %timeit is_integer(np.int32(2))
100000 loops, best of 3: 2.43 µs per loop
In [72]: %timeit is_integer(np.int64(2))
1000000 loops, best of 3: 375 ns per loop
In [73]: %timeit is_integer(14L)
1000000 loops, best of 3: 911 ns per loop
In [75]: %timeit is_integer("1")
1000000 loops, best of 3: 1.57 µs 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/6264/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6264/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6265 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6265/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6265/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6265/events | https://github.com/pandas-dev/pandas/issues/6265 | 26,951,443 | MDU6SXNzdWUyNjk1MTQ0Mw== | 6,265 | Missing Series name when using count() on groupby object | {
"avatar_url": "https://avatars.githubusercontent.com/u/1465515?v=4",
"events_url": "https://api.github.com/users/andygoldschmidt/events{/privacy}",
"followers_url": "https://api.github.com/users/andygoldschmidt/followers",
"following_url": "https://api.github.com/users/andygoldschmidt/following{/other_user}",
"gists_url": "https://api.github.com/users/andygoldschmidt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andygoldschmidt",
"id": 1465515,
"login": "andygoldschmidt",
"node_id": "MDQ6VXNlcjE0NjU1MTU=",
"organizations_url": "https://api.github.com/users/andygoldschmidt/orgs",
"received_events_url": "https://api.github.com/users/andygoldschmidt/received_events",
"repos_url": "https://api.github.com/users/andygoldschmidt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andygoldschmidt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andygoldschmidt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andygoldschmidt"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
... | closed | false | null | [] | {
"closed_at": "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 | 2014-02-05T10:58:34Z | 2014-03-05T21:58:54Z | 2014-03-05T21:58:54Z | NONE | null | Consider this very basic group by operation:
``` python
df = pd.DataFrame({'col1': ['a', 'b', 'a', 'c'], 'col2': [1, 3, 2, 5]})
df_grp = df.groupby('col1')['col2']
```
When aggregating using `mean`, `min`, ... (everything but `count`) the resulting Series has `col2` as its name:
``` python
df_grp.mean()
col1
a 1.5
b 3.0
c 5.0
Name: col2, dtype: float64
```
However, if I use `count` for aggregation, the name is not set:
``` python
df_grp.count()
col1
a 2
b 1
c 1
dtype: int64
```
Not a big problem for a simple case like that, but I stumbled over that while working with a MultiIndex that needed to be reindexed and led to a `KeyError` due to that missing column name.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6265/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6265/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6266 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6266/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6266/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6266/events | https://github.com/pandas-dev/pandas/pull/6266 | 26,956,029 | MDExOlB1bGxSZXF1ZXN0MTIyMTk2MjA= | 6,266 | PERF: various performance optimizations | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "2014-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"
} | 1 | 2014-02-05T12:30:20Z | 2014-06-26T12:41:13Z | 2014-02-05T13:46:13Z | CONTRIBUTOR | null | PERF: enhance tseries getitem indexing
PERF: micro optimzations in inference
API/CLN: core.internals.apply now only takes kwargs; makes code a bit simpler
CLN: wrap core/common/isnull into more direct Block.isnull
PERF: fast path series block operations
closes #6264
original timings
```
In [11]: %timeit com.is_integer(13)
100000 loops, best of 3: 1.29 µs per loop
In [12]: %timeit com.is_integer(np.int32(2))
100000 loops, best of 3: 3.32 µs per loop
In [13]: %timeit com.is_integer(np.int64(2))
100000 loops, best of 3: 1.86 µs per loop
In [14]: %timeit com.is_integer(14L)
100000 loops, best of 3: 1.29 µs per loop
In [15]: %timeit com.is_integer("1")
100000 loops, best of 3: 2.2 µs per loop
```
withi this PR
```
In [2]: %timeit com.is_integer(13)
10000000 loops, best of 3: 72.5 ns per loop
In [3]: %timeit com.is_integer(np.int32(2))
1000000 loops, best of 3: 620 ns per loop
In [4]: %timeit com.is_integer(np.int64(2))
1000000 loops, best of 3: 315 ns per loop
In [5]: %timeit com.is_integer(14L)
10000000 loops, best of 3: 72.4 ns per loop
In [6]: %timeit com.is_integer("1")
10000000 loops, best of 3: 78.8 ns 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/6266/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6266/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6266.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6266",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/6266.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6266"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6267 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6267/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6267/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6267/events | https://github.com/pandas-dev/pandas/pull/6267 | 26,958,871 | MDExOlB1bGxSZXF1ZXN0MTIyMjExNTY= | 6,267 | CLN: Converting assert_'s to specialized forms, in pandas/*/tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/5581066?v=4",
"events_url": "https://api.github.com/users/bwignall/events{/privacy}",
"followers_url": "https://api.github.com/users/bwignall/followers",
"following_url": "https://api.github.com/users/bwignall/following{/other_user}",
"gists_url": "https://api.github.com/users/bwignall/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bwignall",
"id": 5581066,
"login": "bwignall",
"node_id": "MDQ6VXNlcjU1ODEwNjY=",
"organizations_url": "https://api.github.com/users/bwignall/orgs",
"received_events_url": "https://api.github.com/users/bwignall/received_events",
"repos_url": "https://api.github.com/users/bwignall/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bwignall/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bwignall/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bwignall"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2014-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"
} | 5 | 2014-02-05T13:22:33Z | 2014-06-19T15:12:16Z | 2014-02-07T13:46:21Z | CONTRIBUTOR | null | Work on #6175, in pandas/*/tests. Tests still pass locally. Finishes most (all?) of the remaining vanilla assert_(x == y) conversions
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6267/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6267/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6267.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6267",
"merged_at": "2014-02-07T13:46:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6267.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6267"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6268 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6268/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6268/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6268/events | https://github.com/pandas-dev/pandas/pull/6268 | 26,959,326 | MDExOlB1bGxSZXF1ZXN0MTIyMjEzNTM= | 6,268 | BLD: add support for pytables 3.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "a2bca7",
"default": false,
"descri... | 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"
} | 13 | 2014-02-05T13:29:20Z | 2014-06-18T17:18:27Z | 2014-02-13T22:47:36Z | CONTRIBUTOR | null | BLD: update 3.3 build for numexpr 2.3
closes #5861
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6268/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6268/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6268.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6268",
"merged_at": "2014-02-13T22:47:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6268.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6268"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6269 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6269/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6269/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6269/events | https://github.com/pandas-dev/pandas/pull/6269 | 26,960,276 | MDExOlB1bGxSZXF1ZXN0MTIyMjE4Mjk= | 6,269 | PERF: micro optimizations | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "2014-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"
} | 1 | 2014-02-05T13:45:03Z | 2014-07-16T08:52:22Z | 2014-02-06T15:49:01Z | CONTRIBUTOR | null | PERF: enhance tseries getitem indexing
PERF: micro optimzations in inference
API/CLN: core.internals.apply now only takes kwargs; makes code a bit simpler
CLN: wrap core/common/isnull into more direct Block.isnull
PERF: fast path series block operations
closes #6264
original timings
```
In [11]: %timeit com.is_integer(13)
100000 loops, best of 3: 1.29 µs per loop
In [12]: %timeit com.is_integer(np.int32(2))
100000 loops, best of 3: 3.32 µs per loop
In [13]: %timeit com.is_integer(np.int64(2))
100000 loops, best of 3: 1.86 µs per loop
In [14]: %timeit com.is_integer(14L)
100000 loops, best of 3: 1.29 µs per loop
In [15]: %timeit com.is_integer("1")
100000 loops, best of 3: 2.2 µs per loop
```
with this PR
```
In [2]: %timeit com.is_integer(13)
10000000 loops, best of 3: 72.5 ns per loop
In [3]: %timeit com.is_integer(np.int32(2))
1000000 loops, best of 3: 620 ns per loop
In [4]: %timeit com.is_integer(np.int64(2))
1000000 loops, best of 3: 315 ns per loop
In [5]: %timeit com.is_integer(14L)
10000000 loops, best of 3: 72.4 ns per loop
In [6]: %timeit com.is_integer("1")
10000000 loops, best of 3: 78.8 ns 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/6269/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6269/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6269.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6269",
"merged_at": "2014-02-06T15:49:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6269.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6269"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6270 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6270/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6270/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6270/events | https://github.com/pandas-dev/pandas/issues/6270 | 26,961,262 | MDU6SXNzdWUyNjk2MTI2Mg== | 6,270 | ubuntu 12.04 python3.2 test_cummethods_bool: AssertionError: (very low values) expected 1.00000 but got 0.00000 | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "https://api.github.com/users/yarikoptic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yarikoptic",
"id": 39889,
"login": "yarikoptic",
"node_id": "MDQ6VXNlcjM5ODg5",
"organizations_url": "https://api.github.com/users/yarikoptic/orgs",
"received_events_url": "https://api.github.com/users/yarikoptic/received_events",
"repos_url": "https://api.github.com/users/yarikoptic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yarikoptic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yarikoptic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yarikoptic"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2014-07-11T00:02:53Z",
"closed_issues": 306,
"created_at": "2014-04-27T23:40:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "bug fixes from 0.14.0",
"due_on": "2014-07-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/27",
"id": 641843,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27/labels",
"node_id": "MDk6TWlsZXN0b25lNjQxODQz",
"number": 27,
"open_issues": 0,
"state": "closed",
"title": "0.14.1",
"updated_at": "2014-09-05T10:24:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/27"
} | 16 | 2014-02-05T13:58:26Z | 2014-07-07T16:00:22Z | 2014-07-07T16:00:22Z | CONTRIBUTOR | null | that is 0.13.1
```
======================================================================
FAIL: test_cummethods_bool (pandas.tests.test_series.TestSeries)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/pandas-0.13.1/debian/tmp/usr/lib/python3/dist-packages/pandas/tests/test_series.py", line 5202, in test_cummethods_bool
assert_series_equal(res, expecteds[method])
File "/tmp/buildd/pandas-0.13.1/debian/tmp/usr/lib/python3/dist-packages/pandas/util/testing.py", line 458, in assert_series_equal
assert_almost_equal(left.values, right.values, check_less_precise)
File "testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2561)
File "testing.pyx", line 93, in pandas._testing.assert_almost_equal (pandas/src/testing.c:1803)
File "testing.pyx", line 135, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2342)
AssertionError: (very low values) expected 1.00000 but got 0.00000
```
```
INSTALLED VERSIONS
------------------
commit: None
python: 3.2.3.final.0
python-bits: 32
OS: Linux
OS-release: 3.2.0-4-amd64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: C
LANG: C
pandas: 0.13.1
Cython: None
numpy: 1.6.1
scipy: 0.9.0
statsmodels: None
IPython: None
sphinx: 1.1.3
patsy: None
scikits.timeseries: None
dateutil: 2.0
pytz: 2012c
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
sqlalchemy: None
lxml: None
bs4: 4.0.2
html5lib: None
bq: None
apiclient: None
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6270/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6270/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6271 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6271/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6271/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6271/events | https://github.com/pandas-dev/pandas/issues/6271 | 26,966,618 | MDU6SXNzdWUyNjk2NjYxOA== | 6,271 | pandas version 0.13.0 does not give warning when summing float with object | {
"avatar_url": "https://avatars.githubusercontent.com/u/6595872?v=4",
"events_url": "https://api.github.com/users/serrajo/events{/privacy}",
"followers_url": "https://api.github.com/users/serrajo/followers",
"following_url": "https://api.github.com/users/serrajo/following{/other_user}",
"gists_url": "https://api.github.com/users/serrajo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/serrajo",
"id": 6595872,
"login": "serrajo",
"node_id": "MDQ6VXNlcjY1OTU4NzI=",
"organizations_url": "https://api.github.com/users/serrajo/orgs",
"received_events_url": "https://api.github.com/users/serrajo/received_events",
"repos_url": "https://api.github.com/users/serrajo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/serrajo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/serrajo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/serrajo"
} | [] | closed | false | null | [] | null | 4 | 2014-02-05T15:04:23Z | 2014-02-05T15:54:48Z | 2014-02-05T15:51:17Z | NONE | null | Good afternoon,
I have just installed pandas 0.13.0 and was observing some strange results produced by old codes.
One major issue is that I found that when summing two columns of a DataFrame, one of which is a float64 and the other an object, the result includes just the float64 columns.
This would be not an issue per se, but no warning message is displayed.
I think a warning in this case is of paramount importance.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6271/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6271/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6272 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6272/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6272/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6272/events | https://github.com/pandas-dev/pandas/issues/6272 | 26,980,790 | MDU6SXNzdWUyNjk4MDc5MA== | 6,272 | GroupBy plots do not use appropriate xtick values | {
"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 | [] | null | 8 | 2014-02-05T17:27:15Z | 2014-06-07T20:16:16Z | 2014-03-22T21:33:56Z | NONE | null | I have a straightforward little DataFrame that I want to group and plot.
```
yearID Krate teamID
37197 2006 0.115385 COL
37890 2007 0.235294 COL
38621 2008 0.242595 COL
39320 2009 0.264352 COL
40028 2010 0.279373 COL
40738 2011 0.276347 COL
40739 2011 0.275556 CLE
41463 2012 0.225908 CLE
42183 2013 0.307448 CLE
```
However, when I do so, the resulting plot does not put the proper values on the x-axis.
```
jimenez.groupby('teamID').plot(x='yearID', y='Krate', grid=False)
```

I have confirmed that `yearID` is `int64`.
Running Pandas '0.13.0-395-gef55e60' on OS X 10.9.1 (Python 2.7.5).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6272/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6272/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6273 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6273/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6273/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6273/events | https://github.com/pandas-dev/pandas/issues/6273 | 26,980,793 | MDU6SXNzdWUyNjk4MDc5Mw== | 6,273 | DatetimeIndex from Series worked in 0.12.x? | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | 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 | 2014-02-05T17:27:17Z | 2014-02-05T18:31:59Z | 2014-02-05T18:31:59Z | CONTRIBUTOR | null | I'm fairly certain this worked before a recent upgrade. Too busy to check right now. Maybe it shouldn't work and it's just been fixed, but ... I have something like this in a lot of places in my code.
```
df = pd.DataFrame(np.random.rand(5,3))
df['date'] = ['1-1-1990', '2-1-1990', '3-1-1990', '4-1-1990', '5-1-1990']
pd.DatetimeIndex(df['date'], freq='MS')
```
Raises about Series not having an attribute inferred_freq. Why is it trying to infer a frequency when I passed freq? Is it a new check?
```
[22]: pd.version.version
[22]: '0.13.0-472-g9109812'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6273/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6273/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6274 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6274/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6274/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6274/events | https://github.com/pandas-dev/pandas/issues/6274 | 26,981,279 | MDU6SXNzdWUyNjk4MTI3OQ== | 6,274 | infer_freq on a series | {
"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": "0052cc",
"default": false,
"description": "DateOffsets",
"id": ... | closed | false | null | [] | null | 1 | 2014-02-05T17:32:52Z | 2014-02-05T18:31:59Z | 2014-02-05T18:31:59Z | CONTRIBUTOR | null | Somewhat related to #6273 . I'm fairly certain though not positive that this also used to work on 0.12.x.
```
df = pd.DataFrame(np.random.rand(5,3))
df['date'] = ['1-1-1990', '2-1-1990', '3-1-1990', '4-1-1990', '5-1-1990']
pd.infer_freq(df['date'])
```
Raises Series has no attribute `is_monotonic`. I guess `infer_freq` now expects either an Index or ....?
```
[22]: pd.version.version
[22]: '0.13.0-472-g9109812'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6274/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6274/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6275 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6275/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6275/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6275/events | https://github.com/pandas-dev/pandas/pull/6275 | 26,983,573 | MDExOlB1bGxSZXF1ZXN0MTIyMzMzMzQ= | 6,275 | BUG: Bug in conversion of a string types to a DatetimeIndex with a specifed frequency (GH6273) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | 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"
} | 0 | 2014-02-05T18:03:20Z | 2014-06-14T23:51:41Z | 2014-02-05T18:31:59Z | CONTRIBUTOR | null | closes #6273
closes #6274
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6275/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6275/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6275.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6275",
"merged_at": "2014-02-05T18:31:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6275.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6275"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6276 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6276/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6276/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6276/events | https://github.com/pandas-dev/pandas/issues/6276 | 26,985,846 | MDU6SXNzdWUyNjk4NTg0Ng== | 6,276 | BLD: issue installing numexpr=2.3 on travis | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2014-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"
} | 0 | 2014-02-05T18:36:17Z | 2014-02-14T03:33:24Z | 2014-02-14T03:33:24Z | CONTRIBUTOR | null | https://travis-ci.org/jreback/pandas/jobs/18289056
anytime try to install 2.3 this fails because it can't find numpy....weird?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6276/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6276/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6277 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6277/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6277/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6277/events | https://github.com/pandas-dev/pandas/issues/6277 | 26,987,809 | MDU6SXNzdWUyNjk4NzgwOQ== | 6,277 | Series.loc faulty behaviour | {
"avatar_url": "https://avatars.githubusercontent.com/u/1769283?v=4",
"events_url": "https://api.github.com/users/vshkolyar/events{/privacy}",
"followers_url": "https://api.github.com/users/vshkolyar/followers",
"following_url": "https://api.github.com/users/vshkolyar/following{/other_user}",
"gists_url": "https://api.github.com/users/vshkolyar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vshkolyar",
"id": 1769283,
"login": "vshkolyar",
"node_id": "MDQ6VXNlcjE3NjkyODM=",
"organizations_url": "https://api.github.com/users/vshkolyar/orgs",
"received_events_url": "https://api.github.com/users/vshkolyar/received_events",
"repos_url": "https://api.github.com/users/vshkolyar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vshkolyar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vshkolyar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vshkolyar"
} | [] | closed | false | null | [] | null | 2 | 2014-02-05T19:03:23Z | 2014-03-13T10:05:55Z | 2014-03-13T10:05:41Z | NONE | null | ### INSTALLED VERSIONS
Python: 2.7.6.final.0
OS: Darwin
Release: 13.0.0
Processor: i386
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.13.0
Cython: 0.19.2
Numpy: 1.8.0
Scipy: 0.13.2
statsmodels: 0.5.0
patsy: 0.2.0
scikits.timeseries: 0.91.3
dateutil: 2.2
pytz: 2013.8
bottleneck: 0.7.0
PyTables: 2.4.0
numexpr: 2.2.2
matplotlib: 1.3.1
openpyxl: 1.5.8
xlrd: 0.9.2
xlwt: 0.7.5
xlsxwriter: Not installed
sqlalchemy: 0.8.3
lxml: 3.2.3
bs4: Not installed
html5lib: 0.95-dev
bigquery: Not installed
apiclient: Not installed
### Explanation by use-case:
```
ipdb> !type(self.df)
<class 'pandas.core.frame.DataFrame'>
ipdb> !type(self.df[Column.TRR])
<class 'pandas.core.series.Series'>
ipdb> !type(events_time_axis)
<class 'pandas.core.index.Int64Index'>
ipdb> !type(self.df[Column.TRR].index)
<class 'pandas.core.index.MultiIndex'>
ipdb> !type(events_time_axis[0])
<type 'numpy.int64'>
ipdb> !events_time_axis[0]
120
ipdb> !self.df[Column.TRR].loc[events_time_axis[0]]
*** ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ipdb> !self.df[Column.TRR].loc[np.int64(events_time_axis[0])]
*** ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
ipdb> !self.df[Column.TRR].loc[int(events_time_axis[0])]
EXTENT
53760 0
192000 1
783360 4
829440 4
...
```
As you see in the last line the workaround was to cast numpy.int64 retrieval from pandas.core.index.Int64Index to int.
```
ipdb> w
<ipython-input-222-a92c150d8481>(2)<module>()
1 simulator = FASTSimulator(df, 5, half_life=30 * 12) # ((30=h)*12)=12 hours)
----> 2 fast_flash_memory_hits, read_requests_at_all = simulator.execute()
> /Users/shkolyar/workspace/python/thesis/simulator.py(82)execute()
80 current_values_as_zeros = pd.Series(np.zeros_like(extents, np.int),
81 extents)
---> 82 forecast = self.df[Column.TRR].loc[events_time_axis[0]].reindex(
83 extents, fill_value=0)
84
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/indexing.py(1020)__getitem__()
1018 return self._getitem_tuple(key)
1019 else:
-> 1020 return self._getitem_axis(key, axis=0)
1021
1022 def _getitem_axis(self, key, axis=0):
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/indexing.py(1145)_getitem_axis()
1143 else:
1144 self._has_valid_type(key, axis)
-> 1145 return self._get_label(key, axis=axis)
1146
1147
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/indexing.py(68)_get_label()
66 return self.obj._xs(label, axis=axis, copy=False)
67 except Exception:
---> 68 return self.obj._xs(label, axis=axis, copy=True)
69
70 def _get_loc(self, key, axis=0):
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/series.py(439)_xs()
437
438 def _xs(self, key, axis=0, level=None, copy=True):
--> 439 return self.__getitem__(key)
440
441 xs = _xs
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/series.py(504)__getitem__()
502 if type(new_key) != type(key):
503 return self.__getitem__(new_key)
--> 504 raise
505
506 except Exception:
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/index.py(2319)get_value()
2317 pass
2318
-> 2319 raise InvalidIndexError(key)
2320
2321 def get_level_values(self, level):
/Users/shkolyar/workspace/HDF5/tmp/index.pyx(416)pandas.index._bin_search (pandas/index.c:7437)()
```
### Stacktrace:
```
82 forecast = self.df[Column.TRR].loc[events_time_axis[0]].reindex(
83 extents, fill_value=0)
84
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/indexing.pyc in __getitem__(self, key)
1018 return self._getitem_tuple(key)
1019 else:
-> 1020 return self._getitem_axis(key, axis=0)
1021
1022 def _getitem_axis(self, key, axis=0):
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/indexing.pyc in _getitem_axis(self, key, axis)
1143 else:
1144 self._has_valid_type(key, axis)
-> 1145 return self._get_label(key, axis=axis)
1146
1147
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/indexing.pyc in _get_label(self, label, axis)
66 return self.obj._xs(label, axis=axis, copy=False)
67 except Exception:
---> 68 return self.obj._xs(label, axis=axis, copy=True)
69
70 def _get_loc(self, key, axis=0):
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/series.pyc in _xs(self, key, axis, level, copy)
437
438 def _xs(self, key, axis=0, level=None, copy=True):
--> 439 return self.__getitem__(key)
440
441 xs = _xs
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/series.pyc in __getitem__(self, key)
482 def __getitem__(self, key):
483 try:
--> 484 result = self.index.get_value(self, key)
485 if isinstance(result, np.ndarray):
486 return self._constructor(result,index=[key]*len(result)).__finalize__(self)
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/core/index.pyc in get_value(self, series, key)
2278
2279 try:
-> 2280 return self._engine.get_value(s, k)
2281 except KeyError as e1:
2282 try:
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/index.so in pandas.index.IndexEngine.get_value (pandas/index.c:2890)()
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/index.so in pandas.index.IndexEngine.get_value (pandas/index.c:2702)()
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/index.so in pandas.index.IndexEngine.get_loc (pandas/index.c:3301)()
/Users/shkolyar/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pandas/index.so in pandas.index._bin_search (pandas/index.c:7437)()
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6277/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6277/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6278 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6278/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6278/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6278/events | https://github.com/pandas-dev/pandas/pull/6278 | 27,000,763 | MDExOlB1bGxSZXF1ZXN0MTIyNDE1NDY= | 6,278 | DOC: fix link to str.get_dummies | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | null | 0 | 2014-02-05T21:17:22Z | 2014-06-15T07:03:45Z | 2014-02-05T21:17:34Z | MEMBER | null | Links directly to `Series.str.get_dummies` don't work, as the object actually lives in `StringMethods`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6278/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6278/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6278.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6278",
"merged_at": "2014-02-05T21:17:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6278.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6278"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6279 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6279/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6279/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6279/events | https://github.com/pandas-dev/pandas/issues/6279 | 27,027,039 | MDU6SXNzdWUyNzAyNzAzOQ== | 6,279 | BUG/VIS: groupby.hist/plot() should pass group keys as labels | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
... | 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"
} | 12 | 2014-02-06T04:57:30Z | 2020-06-22T15:30:55Z | 2020-06-22T15:30:55Z | CONTRIBUTOR | null | At least wherever possible.
``` python
In [2]: df = pd.DataFrame(np.random.randn(30, 2), columns=['A', 'B'])
In [3]: df['C'] = 15 * ['a'] + 15 * ['b']
In [4]: ax = df.groupby('C')['A'].hist()
```

Ideally the group keys would be the legend for the plot.
I can take this one.
| {
"+1": 6,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 6,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6279/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6279/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6280 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6280/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6280/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6280/events | https://github.com/pandas-dev/pandas/issues/6280 | 27,028,215 | MDU6SXNzdWUyNzAyODIxNQ== | 6,280 | Unit Test Mysteriously Failed | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "8AE234",
"d... | 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"
} | 1 | 2014-02-06T05:45:22Z | 2014-02-06T11:08:21Z | 2014-02-06T11:07:58Z | CONTRIBUTOR | null | Travis got the following on Python 2.7 `NOSE_ARGS="slow and not network" LOCALE_OVERRIDE="zh_CN.GB18030" FULL_DEPS=true JOB_TAG=_LOCALE JOB_NAME=27_slow_nnet_LOCALE`:
```
======================================================================
FAIL: test_partially_invalid_plot_data (pandas.tests.test_graphics.TestDataFramePlots)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pandas/tests/test_graphics.py", line 952, in test_partially_invalid_plot_data
df.plot(kind=kind)
File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pandas/util/testing.py", line 1320, in __exit__
raise AssertionError("{0} not raised.".format(name))
AssertionError: TypeError not raised.
```
When I re-ran test, it passed.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6280/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6280/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6281 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6281/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6281/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6281/events | https://github.com/pandas-dev/pandas/issues/6281 | 27,033,572 | MDU6SXNzdWUyNzAzMzU3Mg== | 6,281 | Series (DataFrame column) inplace interpolate UnboundLocalError | {
"avatar_url": "https://avatars.githubusercontent.com/u/5281745?v=4",
"events_url": "https://api.github.com/users/abrakababra/events{/privacy}",
"followers_url": "https://api.github.com/users/abrakababra/followers",
"following_url": "https://api.github.com/users/abrakababra/following{/other_user}",
"gists_url": "https://api.github.com/users/abrakababra/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/abrakababra",
"id": 5281745,
"login": "abrakababra",
"node_id": "MDQ6VXNlcjUyODE3NDU=",
"organizations_url": "https://api.github.com/users/abrakababra/orgs",
"received_events_url": "https://api.github.com/users/abrakababra/received_events",
"repos_url": "https://api.github.com/users/abrakababra/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/abrakababra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abrakababra/subscriptions",
"type": "User",
"url": "https://api.github.com/users/abrakababra"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtyp... | 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"
} | 13 | 2014-02-06T08:35:41Z | 2014-02-06T21:41:11Z | 2014-02-06T21:41:11Z | NONE | null | Hello, I recently stumbled across this:
``` python
df1 = pd.DataFrame({'a':[1.,2.,3.,4.,nan,6,7,8]}, dtype='<f4')
df1.a.interpolate(inplace=True, downcast=None)
---------------------------------------------------------------------------
UnboundLocalError Traceback (most recent call last)
<ipython-input-9-bf0994f72664> in <module>()
----> 1 df1.a.interpolate(inplace=True, downcast=None)
C:\Program Files\Python27\lib\site-packages\pandas\core\generic.pyc in interpolate(self, method, axis, limit, inplace, downcast, **kwargs)
2304 if axis == 1:
2305 res = res.T
-> 2306 return res
2307
2308 #----------------------------------------------------------------------
UnboundLocalError: local variable 'res' referenced before assignment
```
The problem arises with setting inplace to True regardless of 'downcast'.
But speaking of which: running interpolate() without any options, I would excpect to keep data types by default! I often chunk through datasets and glue them together with to_hdf. It took me a while to figure out that a float column in one chunk had just zeros in it so interpolate downcasted it to int => to_hdf raised on appending.
Thx in advance
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6281/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6281/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6282 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6282/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6282/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6282/events | https://github.com/pandas-dev/pandas/issues/6282 | 27,042,404 | MDU6SXNzdWUyNzA0MjQwNA== | 6,282 | com.rpy.common: ImportError: cannot import name zip | {
"avatar_url": "https://avatars.githubusercontent.com/u/4688638?v=4",
"events_url": "https://api.github.com/users/McRip2/events{/privacy}",
"followers_url": "https://api.github.com/users/McRip2/followers",
"following_url": "https://api.github.com/users/McRip2/following{/other_user}",
"gists_url": "https://api.github.com/users/McRip2/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/McRip2",
"id": 4688638,
"login": "McRip2",
"node_id": "MDQ6VXNlcjQ2ODg2Mzg=",
"organizations_url": "https://api.github.com/users/McRip2/orgs",
"received_events_url": "https://api.github.com/users/McRip2/received_events",
"repos_url": "https://api.github.com/users/McRip2/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/McRip2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/McRip2/subscriptions",
"type": "User",
"url": "https://api.github.com/users/McRip2"
} | [] | closed | false | null | [] | null | 7 | 2014-02-06T11:26:41Z | 2014-02-06T12:56:15Z | 2014-02-06T12:48:30Z | NONE | null | Line 7 in pandas.com.rpy.common.py:
from pandas.compat import zip, range
causes "ImportError: cannot import name zip"
zip is not contained in compat.
Best regards
Marc
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6282/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6282/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6283 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6283/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6283/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6283/events | https://github.com/pandas-dev/pandas/issues/6283 | 27,047,573 | MDU6SXNzdWUyNzA0NzU3Mw== | 6,283 | BLD: make sure that windows tests tables/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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "fbca04",
"default": false,
"description": ... | 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"
} | 1 | 2014-02-06T13:03:12Z | 2014-02-14T01:14:02Z | 2014-02-14T01:14:02Z | CONTRIBUTOR | null | @y-p looks like 3.3 windows build does not install numexpr/tables....can you have these tested on 3.3 and 2.7 (or similar to travis)
except leave at least 1 build w/o a num expr at all if you can
thanks
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6283/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6283/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6284 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6284/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6284/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6284/events | https://github.com/pandas-dev/pandas/pull/6284 | 27,049,238 | MDExOlB1bGxSZXF1ZXN0MTIyNjY5OTk= | 6,284 | BUG: Fix interpolate with inplace=True | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtyp... | 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 | 2014-02-06T13:32:22Z | 2014-07-16T08:52:32Z | 2014-02-06T21:41:11Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/6281
I didn't have the non inplace return in an else block. And I clearly didn't test 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/6284/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6284/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6284.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6284",
"merged_at": "2014-02-06T21:41:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6284.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6284"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6285 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6285/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6285/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6285/events | https://github.com/pandas-dev/pandas/pull/6285 | 27,055,363 | MDExOlB1bGxSZXF1ZXN0MTIyNzA0MTU= | 6,285 | BLD: re cythonize files only if we have changed then | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2014-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"
} | 0 | 2014-02-06T15:03:40Z | 2014-07-16T08:52:34Z | 2014-02-06T15:03:51Z | 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/6285/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6285/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6285.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6285",
"merged_at": "2014-02-06T15:03:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6285.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6285"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/6286 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6286/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6286/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6286/events | https://github.com/pandas-dev/pandas/issues/6286 | 27,055,757 | MDU6SXNzdWUyNzA1NTc1Nw== | 6,286 | BUG: Can't assign values via .ix or .loc to a Panel with MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/2418513?v=4",
"events_url": "https://api.github.com/users/aldanor/events{/privacy}",
"followers_url": "https://api.github.com/users/aldanor/followers",
"following_url": "https://api.github.com/users/aldanor/following{/other_user}",
"gists_url": "https://api.github.com/users/aldanor/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aldanor",
"id": 2418513,
"login": "aldanor",
"node_id": "MDQ6VXNlcjI0MTg1MTM=",
"organizations_url": "https://api.github.com/users/aldanor/orgs",
"received_events_url": "https://api.github.com/users/aldanor/received_events",
"repos_url": "https://api.github.com/users/aldanor/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aldanor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aldanor/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aldanor"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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_u... | {
"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"
} | 9 | 2014-02-06T15:09:29Z | 2018-07-06T20:21:03Z | 2017-07-10T21:09:59Z | CONTRIBUTOR | null | If you have a Panel with a MultiIndex, you can read but not write to it with `.ix` (same with `.loc`).
Before 0.13 I would normally do something like `pn[item].ix[a, b][stuff] = values`, surprisingly it used to work (now it spits out a `SettingWithCopyWarning` but still kinda works).
So what are the valid options in 0.13?
``` python
>>> df = pd.DataFrame([1] * 3, pd.MultiIndex.from_tuples(zip(range(3), range(3))))
>>> df
0
0 0 1
1 1 1
2 2 1
[3 rows x 1 columns]
>>> pn = pd.Panel(dict((k, df.copy() * k) for k in xrange(2)))
>>> pn
<class 'pandas.core.panel.Panel'>
Dimensions: 2 (items) x 3 (major_axis) x 1 (minor_axis)
Items axis: 0 to 1
Major_axis axis: (0, 0) to (2, 2)
Minor_axis axis: 0 to 0
>>> pn.ix[1, (0, 0), 0]
1
>>> pn.ix[1, (0, 0), 0] = 1
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-64-f48c3a7f93c3> in <module>()
----> 1 pn.ix[1, (0, 0), 0] = 1
/home/smirnov/anaconda/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/indexing.pyc in __setitem__(self, key, value)
96 indexer = self._convert_to_indexer(key, is_setter=True)
97
---> 98 self._setitem_with_indexer(indexer, value)
99
100 def _has_valid_type(self, k, axis):
/home/smirnov/anaconda/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/indexing.pyc in _setitem_with_indexer(self, indexer, value)
299 obj = self.obj[item]
300 index = obj.index
--> 301 idx = indexer[:info_axis][0]
302 try:
303 if idx in index:
IndexError: tuple index out of range
> /home/smirnov/anaconda/lib/python2.7/site-packages/pandas-0.13.1-py2.7-linux-x86_64.egg/pandas/core/indexing.py(301)_setitem_with_indexer()
300 index = obj.index
--> 301 idx = indexer[:info_axis][0]
302 try:
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6286/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6286/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6287 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6287/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6287/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6287/events | https://github.com/pandas-dev/pandas/issues/6287 | 27,074,280 | MDU6SXNzdWUyNzA3NDI4MA== | 6,287 | idxmax and idxmin do not work with strings | {
"avatar_url": "https://avatars.githubusercontent.com/u/51059?v=4",
"events_url": "https://api.github.com/users/cancan101/events{/privacy}",
"followers_url": "https://api.github.com/users/cancan101/followers",
"following_url": "https://api.github.com/users/cancan101/following{/other_user}",
"gists_url": "https://api.github.com/users/cancan101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cancan101",
"id": 51059,
"login": "cancan101",
"node_id": "MDQ6VXNlcjUxMDU5",
"organizations_url": "https://api.github.com/users/cancan101/orgs",
"received_events_url": "https://api.github.com/users/cancan101/received_events",
"repos_url": "https://api.github.com/users/cancan101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cancan101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cancan101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cancan101"
} | [] | closed | false | null | [] | null | 3 | 2014-02-06T19:02:32Z | 2014-02-06T19:04:59Z | 2014-02-06T19:04:32Z | CONTRIBUTOR | null | Against master:
```
In [8]: pandas.DataFrame({'A':["A","B","C", "A"], 'B':list("ABCD")}).groupby("A").B.idxmax()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-8-6aa5f42cc358> in <module>()
----> 1 pandas.DataFrame({'A':["A","B","C", "A"], 'B':list("ABCD")}).groupby("A").B.idxmax()
/home/apprun/gitrepos/pandas/pandas/core/groupby.py in wrapper(*args, **kwargs)
341 return self.apply(curried_with_axis)
342 except Exception:
--> 343 return self.apply(curried)
344
345 return wrapper
/home/apprun/gitrepos/pandas/pandas/core/groupby.py in apply(self, func, *args, **kwargs)
422 return func(g, *args, **kwargs)
423
--> 424 return self._python_apply_general(f)
425
426 def _python_apply_general(self, f):
/home/apprun/gitrepos/pandas/pandas/core/groupby.py in _python_apply_general(self, f)
425
426 def _python_apply_general(self, f):
--> 427 keys, values, mutated = self.grouper.apply(f, self.obj, self.axis)
428
429 return self._wrap_applied_output(keys, values,
/home/apprun/gitrepos/pandas/pandas/core/groupby.py in apply(self, f, data, axis)
881 # group might be modified
882 group_axes = _get_axes(group)
--> 883 res = f(group)
884 if not _is_indexed_like(res, group_axes):
885 mutated = True
/home/apprun/gitrepos/pandas/pandas/core/groupby.py in f(g)
420 @wraps(func)
421 def f(g):
--> 422 return func(g, *args, **kwargs)
423
424 return self._python_apply_general(f)
/home/apprun/gitrepos/pandas/pandas/core/groupby.py in curried(x)
327
328 def curried(x):
--> 329 return f(x, *args, **kwargs)
330
331 # preserve the name so we can detect it when calling plot methods,
/home/apprun/gitrepos/pandas/pandas/core/series.py in idxmax(self, axis, out, skipna)
1284 DataFrame.idxmax
1285 """
-> 1286 i = nanops.nanargmax(_values_from_object(self), skipna=skipna)
1287 if i == -1:
1288 return pa.NA
/home/apprun/gitrepos/pandas/pandas/core/nanops.py in nanargmax(values, axis, skipna)
387 """
388 values, mask, dtype = _get_values(values, skipna, fill_value_typ='-inf',
--> 389 isfinite=True)
390 result = values.argmax(axis)
391 result = _maybe_arg_null_out(result, axis, mask, skipna)
/home/apprun/gitrepos/pandas/pandas/core/nanops.py in _get_values(values, skipna, fill_value, fill_value_typ, isfinite, copy)
139 values = _values_from_object(values)
140 if isfinite:
--> 141 mask = _isfinite(values)
142 else:
143 mask = isnull(values)
/home/apprun/gitrepos/pandas/pandas/core/nanops.py in _isfinite(values)
173 return isnull(values)
174 elif isinstance(values.dtype, object):
--> 175 return -np.isfinite(values.astype('float64'))
176
177 return -np.isfinite(values)
ValueError: could not convert string to float: D
```
but this works:
```
In [9]: pandas.DataFrame({'A':["A","B","C", "A"], 'B':list("ABCD")}).groupby("A").B.max()
Out[9]:
A
A D
B B
C C
Name: B, dtype: object
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6287/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6287/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6288 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6288/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6288/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6288/events | https://github.com/pandas-dev/pandas/issues/6288 | 27,074,843 | MDU6SXNzdWUyNzA3NDg0Mw== | 6,288 | [Docs] GroupsBy Example: Group by value of sum of columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/200276?v=4",
"events_url": "https://api.github.com/users/mazieres/events{/privacy}",
"followers_url": "https://api.github.com/users/mazieres/followers",
"following_url": "https://api.github.com/users/mazieres/following{/other_user}",
"gists_url": "https://api.github.com/users/mazieres/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mazieres",
"id": 200276,
"login": "mazieres",
"node_id": "MDQ6VXNlcjIwMDI3Ng==",
"organizations_url": "https://api.github.com/users/mazieres/orgs",
"received_events_url": "https://api.github.com/users/mazieres/received_events",
"repos_url": "https://api.github.com/users/mazieres/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mazieres/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mazieres/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mazieres"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160... | 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"
} | 5 | 2014-02-06T19:10:53Z | 2014-02-15T19:43:51Z | 2014-02-15T19:42:56Z | CONTRIBUTOR | null | Hi,
TomAugspurger suggested me on [StackOverFlow](https://stackoverflow.com/questions/21584434/group-by-value-of-sum-of-columns-with-pandas) to suggest this example of `df.groupby()` here for being considered as relevant to add to the docs. The idea was to determine a way to regroup columns of a DataFrame according to their sum, and to sum the aggregated ones.
``` python
In [1]: import pandas as pd
In [2]: dat = {'a':[1,0,0], 'b':[0,1,0], 'c':[1,0,0], 'd':[2,3,4]}
In [3]: df = pd.DataFrame(dat)
In [4]: df
Out[4]:
a b c d
0 1 0 1 2
1 0 1 0 3
2 0 0 0 4
In [5]: df.groupby(df.sum(), axis=1).sum()
Out[5]:
1 9
0 2 2
1 1 3
2 0 4
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6288/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6288/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6289 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6289/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6289/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6289/events | https://github.com/pandas-dev/pandas/pull/6289 | 27,077,199 | MDExOlB1bGxSZXF1ZXN0MTIyODI5NjI= | 6,289 | ENH: All args and kwargs to generic expanding/rolling apply. | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, ... | 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"
} | 7 | 2014-02-06T19:40:15Z | 2014-06-21T08:12:07Z | 2014-02-07T01:16:39Z | CONTRIBUTOR | null | Been bugging me lately. Simple enough fix I think. Example usage
```
def mean(x, const):
return np.mean(x) + const
df = pd.DataFrame(np.random.rand(20, 3))
pd.expanding_apply(df, mean, args=(20,)
pd.expanding_apply(df, mean, kwargs=dict(const=20))
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6289/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6289/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6289.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6289",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/6289.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6289"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6290 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6290/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6290/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6290/events | https://github.com/pandas-dev/pandas/issues/6290 | 27,086,839 | MDU6SXNzdWUyNzA4NjgzOQ== | 6,290 | BUG: Interpolate should be more careful with dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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"... | 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"
} | 5 | 2014-02-06T21:40:30Z | 2014-02-17T17:35:57Z | 2014-02-17T17:35:57Z | CONTRIBUTOR | null | Originally reported as a comment in #6281 Reposting the example from there:
If you start out with a DataFrame like
``` python
In [14]: df = DataFrame({'A': [1, 2, np.nan, 4, 5, np.nan, 7],
....: 'C': [1, 2, 3, 5, 8, 13, 21]})
In [15]: df.dtypes
Out[15]:
A float64
C int64
dtype: object
```
So one float, one int, with no NaNs in the int. We apply the interpolation method to each block, so it gets applied to the int block/column. The interpolation will generally return a float dtype.
``` python
In [18]: df.interpolate(method='cubic', downcast=None).dtypes
Out[18]:
A float64
C float64
dtype: object
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6290/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6290/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6291 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6291/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6291/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6291/events | https://github.com/pandas-dev/pandas/pull/6291 | 27,087,575 | MDExOlB1bGxSZXF1ZXN0MTIyODg1OTU= | 6,291 | BUG: preserve dtypes in interpolate | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "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"... | 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"
} | 14 | 2014-02-06T21:45:18Z | 2014-06-19T09:13:01Z | 2014-02-17T17:06:56Z | CONTRIBUTOR | null | Closes https://github.com/pydata/pandas/issues/6290
@jreback is there a good way to update **part** of a BlockManager inplace? I have a new BlockManager from `interpolate` and the original BlockManager (or DataFrame) which contains some "all good" columns that didn't get interpolate on, and some bad columns that did get interpolated on.
For the non inplace version I'm calling `self._constructor` on the BlockManager returned from interpolating and concating that to the all good columns.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6291/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6291/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6291.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6291",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/6291.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6291"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6292 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6292/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6292/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6292/events | https://github.com/pandas-dev/pandas/issues/6292 | 27,092,145 | MDU6SXNzdWUyNzA5MjE0NQ== | 6,292 | ENH: sql support with SQLAlchemy - follow-up | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "e102d8",
"d... | 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"
} | 9 | 2014-02-06T22:29:18Z | 2014-07-15T20:34:33Z | 2014-05-17T00:04:45Z | MEMBER | null | #5950 is now merged! (Thanks to @mangecoeur)
But there were still some issue to flesh out/fix:
- [x] release notes / 0.14.0 whatsnew (Here is the section in whatsnew for when you are ready): http://pandas-docs.github.io/pandas-docs-travis/whatsnew.html#whatsnew-0140-sql -> #7120
- [ ] figure out user API (#6300) and update api.rst/docs accordingly
- ~~functional api (read_table/read_sql)~~ (fixed in #6867)
- ~~other public functions? (execute, has_table)`~~ (see #6300 and #6987)
- OO API (PandasSQLAlchemy?)
- [x] get travis working (not skipping the tests)
MySQL was taken out of the 2.7 build, for some reason was failing the build process: https://github.com/pydata/pandas/commit/043d165290180c6d9e3a480c18e220548af56c53, and failure here (see install.sh): https://travis-ci.org/jreback/pandas/jobs/18477137 (note Joris: I think this is OK now with pymysql)
- [x] get MySQL working (failing tests, see https://github.com/pydata/pandas/pull/6316#issuecomment-34960181) -> fixed in #6613
- [x] handle `OperationsError` (e.g. have PyMySQL installed but server is not running) -> #6651
- lower bar on sql alchemy version -> moved to #6340, #7022
- [x] add postgresql tests (#6316) (and other flavors?)
- [x] move DataFrame.to_sql to generic and update it with new functionality -> fixed in #6598
- timezone issues (see also https://github.com/pydata/pandas/pull/5950#issuecomment-33630742) -> moved to #7139
- [x] check if relevant parts of old legacy tests pass with master -> #6987
- [x] check coverage of the test suite
- [ ] add vbench (esp. vs old code)
- [x] `columns` argument in `read_table` not working
- [x] use `itertuples` rather than `iterrows` #6509
- [x] error when having integer column names (fixed in #6902)
- [x] read and write a `MultiIndex` (so `index_col` should take a list as well as a scalar) (fixed in #6735)
- [x] Allow mapping as parameters for SQL DBAPI2 #6708 (fixed in #6709)
- [x] Conversion of invalid column names is broken (you get column with None's) #6796, fixed in #6902
- [x] Data written with to_sql legacy mode (sqlite/mysql) is not persistent (not written, only in memory) #6846, fixed in #6875
There is also a todo list in https://github.com/pydata/pandas/issues/4163, but I thought it is cleaner to start a new one (but maybe we should copy some over).
Complement the list if you think of others!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6292/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6292/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6293 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6293/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6293/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6293/events | https://github.com/pandas-dev/pandas/issues/6293 | 27,124,940 | MDU6SXNzdWUyNzEyNDk0MA== | 6,293 | DOC: links to pages on dev docs don't work anymore | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | null | 4 | 2014-02-07T10:15:35Z | 2014-02-25T12:41:49Z | 2014-02-25T12:41:49Z | MEMBER | null | For example, link provided by google when searching for 'pandas dataframe set_index': http://pandas.pydata.org/pandas-docs/dev/generated/pandas.DataFrame.set_index.html.
This link does not work anymore, as it appears now the dev docs are hosted on http://pandas-docs.github.io/pandas-docs-travis/
@y-p Would it be possible to redirect or also put the build on the old place?
Maybe google on my computer is somewhat biased because of my browse history, but if I search for certain doc pages through google, it almost always returns the page on the dev docs.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6293/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6293/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6294 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6294/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6294/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6294/events | https://github.com/pandas-dev/pandas/issues/6294 | 27,128,072 | MDU6SXNzdWUyNzEyODA3Mg== | 6,294 | BUG: Install doesn't support merged setuptools+distribute | {
"avatar_url": "https://avatars.githubusercontent.com/u/743508?v=4",
"events_url": "https://api.github.com/users/mangecoeur/events{/privacy}",
"followers_url": "https://api.github.com/users/mangecoeur/followers",
"following_url": "https://api.github.com/users/mangecoeur/following{/other_user}",
"gists_url": "https://api.github.com/users/mangecoeur/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mangecoeur",
"id": 743508,
"login": "mangecoeur",
"node_id": "MDQ6VXNlcjc0MzUwOA==",
"organizations_url": "https://api.github.com/users/mangecoeur/orgs",
"received_events_url": "https://api.github.com/users/mangecoeur/received_events",
"repos_url": "https://api.github.com/users/mangecoeur/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mangecoeur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mangecoeur/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mangecoeur"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | null | 2 | 2014-02-07T11:17:11Z | 2014-05-05T13:27:25Z | 2014-05-05T13:27:25Z | CONTRIBUTOR | null | Installing from source requires distribute (0.6). In 2013, setuptools and distribute were merged into setuptools 2.1+ : http://pythonhosted.org/setuptools/merge.html
Attemping to install with setuptools 2.1 results in error "global name pkg_resources not found"
Pandas should be installable with setuptools 2.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/6294/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6294/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6295 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6295/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6295/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6295/events | https://github.com/pandas-dev/pandas/issues/6295 | 27,148,376 | MDU6SXNzdWUyNzE0ODM3Ng== | 6,295 | ENH: pprint index/columns? | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related ... | closed | false | null | [] | {
"closed_at": "2015-05-11T15:46:03Z",
"closed_issues": 237,
"created_at": "2014-10-07T14:39:07Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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.16.0 of course!",
"due_on": "2015-05-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/29",
"id": 816810,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29/labels",
"node_id": "MDk6TWlsZXN0b25lODE2ODEw",
"number": 29,
"open_issues": 0,
"state": "closed",
"title": "0.16.1",
"updated_at": "2017-04-16T08:39:48Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/29"
} | 13 | 2014-02-07T16:21:46Z | 2015-05-09T21:51:59Z | 2015-05-09T21:51:59Z | CONTRIBUTOR | null | I haven't looked at the source yet, but do columns ever get pretty printed? It looks like indices do if it's a DatetimeIndex, but not otherwise.
I often find myself doing
```
df.columns.tolist()
```
otherwise it's not really readable.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6295/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6295/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6296 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6296/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6296/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6296/events | https://github.com/pandas-dev/pandas/issues/6296 | 27,163,290 | MDU6SXNzdWUyNzE2MzI5MA== | 6,296 | iloc errors when end is greater than length | {
"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": "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": "AD... | 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"
} | 4 | 2014-02-07T19:20:21Z | 2014-02-25T09:00:57Z | 2014-02-08T15:53:33Z | CONTRIBUTOR | null | IMO this should work
```
x = pd.DataFrame(np.random.rand(5,3))
x.iloc[:6]
```
Consider
```
np.arange(5)[:7]
```
And
```
range(5)[:7]
```
I'm on
```
[~/]
[14]: pd.version.version
[14]: '0.13.1-63-gcc6ee40'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6296/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6296/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6297 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6297/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6297/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6297/events | https://github.com/pandas-dev/pandas/issues/6297 | 27,173,094 | MDU6SXNzdWUyNzE3MzA5NA== | 6,297 | rolling_max on a TimeSeries with freq='D' returns incorrect results | {
"avatar_url": "https://avatars.githubusercontent.com/u/1260747?v=4",
"events_url": "https://api.github.com/users/sleibman/events{/privacy}",
"followers_url": "https://api.github.com/users/sleibman/followers",
"following_url": "https://api.github.com/users/sleibman/following{/other_user}",
"gists_url": "https://api.github.com/users/sleibman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sleibman",
"id": 1260747,
"login": "sleibman",
"node_id": "MDQ6VXNlcjEyNjA3NDc=",
"organizations_url": "https://api.github.com/users/sleibman/orgs",
"received_events_url": "https://api.github.com/users/sleibman/received_events",
"repos_url": "https://api.github.com/users/sleibman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sleibman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sleibman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sleibman"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | closed | false | null | [] | {
"closed_at": "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 | 2014-02-07T21:18:04Z | 2014-04-22T13:09:37Z | 2014-04-22T13:09:37Z | NONE | null | rolling_max on a TimeSeries with freq='D' appears to actually compute the rolling mean, and not the rolling max.
``` python
In [118]: import pandas
In [119]: indices = [datetime.datetime(1975, 1, i, 12, 0) for i in range(1, 6)]
In [120]: indices.append(datetime.datetime(1975, 1, 3, 6, 0)) # So that we can have 2 datapoints on one of the days
In [121]: series = pandas.Series(range(1, 7), index=indices)
In [122]: series = series.map(lambda x: float(x)) # Use floats instead of ints as values
In [123]: series = series.sort_index() # Sort chronologically
In [124]: expected_result = pandas.Series([1.0, 2.0, 6.0, 4.0, 5.0], index=[datetime.datetime(1975, 1, i, 12, 0) for i in range(1, 6)])
In [125]: actual_result = pandas.rolling_max(series, window=1, freq='D')
In [126]: assert((actual_result==expected_result).all())
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-126-cc436c4798a7> in <module>()
----> 1 assert((actual_result==expected_result).all())
AssertionError:
In [127]: expected_result
Out[127]:
1975-01-01 12:00:00 1
1975-01-02 12:00:00 2
1975-01-03 12:00:00 6
1975-01-04 12:00:00 4
1975-01-05 12:00:00 5
dtype: float64
In [128]: actual_result
Out[128]:
1975-01-01 1.0
1975-01-02 2.0
1975-01-03 4.5
1975-01-04 4.0
1975-01-05 5.0
Freq: D, dtype: float64
```
With a window of size 2 days, it still looks like the rolling mean:
``` python
In [130]: pandas.rolling_max(series, window=2, freq='D')
Out[130]:
1975-01-01 NaN
1975-01-02 2.0
1975-01-03 4.5
1975-01-04 4.5
1975-01-05 5.0
Freq: D, dtype: float64
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6297/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6297/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/6298 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6298/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6298/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6298/events | https://github.com/pandas-dev/pandas/pull/6298 | 27,175,327 | MDExOlB1bGxSZXF1ZXN0MTIzMzA2OTE= | 6,298 | DOC: clean-up docstrings of sql + fix doc build | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [] | closed | false | null | [] | null | 1 | 2014-02-07T21:35:24Z | 2014-06-26T12:27:21Z | 2014-02-09T22:40:32Z | MEMBER | null | @mangecoeur I don't think I changed some real content, just some adjustments for the numpy docstring standards. Only for has_table I corrected the parameters.
And the second commit should fix the doc builds (see http://pandas-docs.github.io/pandas-docs-travis/io.html#io-sql)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6298/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6298/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6298.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6298",
"merged_at": "2014-02-09T22:40:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6298.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6298"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6299 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6299/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6299/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6299/events | https://github.com/pandas-dev/pandas/pull/6299 | 27,177,883 | MDExOlB1bGxSZXF1ZXN0MTIzMzE3MDI= | 6,299 | API: allow the iloc indexer to run off the end and not raise IndexError (GH6296) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD... | 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"
} | 7 | 2014-02-07T22:02:01Z | 2014-06-16T19:22:59Z | 2014-02-08T15:53:33Z | CONTRIBUTOR | null | closes #6296
Here's the behavior
I left it raising an `IndexError` if a single indexer is given that is out-of-bounds (consistent with the way `ix/loc` would work)
```
In [1]: df = DataFrame(np.random.randn(5,2),columns=list('AB'))
In [2]: df
Out[2]:
A B
0 1.105982 0.309531
1 -0.619102 -0.002967
2 -0.817371 0.270714
3 1.569206 1.595204
4 0.276390 -1.316232
[5 rows x 2 columns]
In [3]: df.iloc[[4,5,6]]
Out[3]:
A B
4 0.27639 -1.316232
[1 rows x 2 columns]
In [4]: df.iloc[4:6]
Out[4]:
A B
4 0.27639 -1.316232
[1 rows x 2 columns]
In [5]: df.iloc[:,2:3]
Out[5]:
Empty DataFrame
Columns: []
Index: [0, 1, 2, 3, 4]
[5 rows x 0 columns]
In [6]: df.iloc[:,1:3]
Out[6]:
B
0 0.309531
1 -0.002967
2 0.270714
3 1.595204
4 -1.316232
[5 rows x 1 columns]
In [7]: df.iloc[10]
IndexError:
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6299/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6299/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/6299.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/6299",
"merged_at": "2014-02-08T15:53:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/6299.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/6299"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/6300 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/6300/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/6300/comments | https://api.github.com/repos/pandas-dev/pandas/issues/6300/events | https://github.com/pandas-dev/pandas/issues/6300 | 27,180,503 | MDU6SXNzdWUyNzE4MDUwMw== | 6,300 | API: user api for new sql functionality | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "5319e7",
"default": false,
"description": "t... | 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"
} | 47 | 2014-02-07T22:44:41Z | 2014-08-08T09:20:26Z | 2014-08-08T09:20:04Z | MEMBER | null | Starting a new issue to discuss this. See merged PR #5950 and follow-up issue #6292.
Summary of situation:
**Current (0.13)**:
- top-level `read_sql`, `read_frame`, `write_frame` and `DataFrame.to_sql`
- in sql module: `uquery`, `tquery`, `has_table` (+ `read_sql`)
**New after #5950**
- top-level `read_sql` and `DataFrame.to_sql` (but not yet used in the docs)
- in sql module: `read_sql`, `read_table`, `to_sql`, `has_table`, `execute`
- `read_frame`, `write_frame`, `uquery`, `tquery` are deprecated
**Points to dicsuss**
- docs: use top-level functions `read_sql` and `DataFrame.to_sql` instead of functions from `sql`
- `sql.read_table` vs existing `pd.read_table`. Is this a problem?
- merge functionality of `read_table` and `read_sql` or not (see this comment of @mangecoeur to not do that: https://github.com/pydata/pandas/pull/5950#issuecomment-33174797)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/6300/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/6300/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.