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
unknown | updated_at
unknown | closed_at
unknown | 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/2201 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2201/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2201/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2201/events | https://github.com/pandas-dev/pandas/pull/2201 | 8,223,174 | MDExOlB1bGxSZXF1ZXN0MjkzNzk3Mg== | 2,201 | PR: unicode, mostly | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 1 | "2012-11-08T23:41:48Z" | "2014-06-16T22:34:21Z" | "2012-11-09T17:29:02Z" | NONE | null | f2db4c1 fixes the `UnboundLocalError` mentioned in #2200.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2201/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2201/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2201.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2201",
"merged_at": "2012-11-09T17:29:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2201.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2201"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2202 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2202/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2202/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2202/events | https://github.com/pandas-dev/pandas/issues/2202 | 8,232,664 | MDU6SXNzdWU4MjMyNjY0 | 2,202 | timeseries: shortcut to unique | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [] | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 4 | "2012-11-09T10:24:18Z" | "2012-11-09T23:52:59Z" | "2012-11-09T18:08:06Z" | CONTRIBUTOR | null | what do you think is it worthwhile to add a shortcur to get unique values of a index:
hours = nanops.unique1d(series.index.hour)
nanops.unique1d(series.index.days)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2202/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2202/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2203 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2203/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2203/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2203/events | https://github.com/pandas-dev/pandas/pull/2203 | 8,236,796 | MDExOlB1bGxSZXF1ZXN0Mjk0MzcwNQ== | 2,203 | link the info on scikits.timeseries | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [] | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-09T12:37:26Z" | "2013-12-04T00:57:52Z" | "2012-11-09T17:19:06Z" | CONTRIBUTOR | null | link to the FAQ, devel pages and issue list.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2203/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2203/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2203.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2203",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2203.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2203"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2204 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2204/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2204/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2204/events | https://github.com/pandas-dev/pandas/pull/2204 | 8,236,829 | MDExOlB1bGxSZXF1ZXN0Mjk0MzcyMA== | 2,204 | set link target for faq site | {
"avatar_url": "https://avatars.githubusercontent.com/u/11860?v=4",
"events_url": "https://api.github.com/users/timmie/events{/privacy}",
"followers_url": "https://api.github.com/users/timmie/followers",
"following_url": "https://api.github.com/users/timmie/following{/other_user}",
"gists_url": "https://api.github.com/users/timmie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/timmie",
"id": 11860,
"login": "timmie",
"node_id": "MDQ6VXNlcjExODYw",
"organizations_url": "https://api.github.com/users/timmie/orgs",
"received_events_url": "https://api.github.com/users/timmie/received_events",
"repos_url": "https://api.github.com/users/timmie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/timmie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/timmie"
} | [] | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-09T12:39:28Z" | "2012-11-09T16:44:15Z" | "2012-11-09T16:44:15Z" | CONTRIBUTOR | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2204/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2204/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2204.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2204",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2204.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2204"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2205 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2205/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2205/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2205/events | https://github.com/pandas-dev/pandas/issues/2205 | 8,244,722 | MDU6SXNzdWU4MjQ0NzIy | 2,205 | Add option to disable pandas-style tick locator and formatter for plotting | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-09T16:35:34Z" | "2012-11-12T04:39:39Z" | "2012-11-12T04:39:39Z" | CONTRIBUTOR | null | so no conversion to Period (for compatibility with irregular timeseries on twinx etc)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2205/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2205/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2206 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2206/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2206/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2206/events | https://github.com/pandas-dev/pandas/pull/2206 | 8,247,094 | MDExOlB1bGxSZXF1ZXN0Mjk0ODExOA== | 2,206 | ENH: eliminate _str() in favor of pprint_thing | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 1 | "2012-11-09T17:59:02Z" | "2012-11-09T19:12:37Z" | "2012-11-09T19:12:37Z" | 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/2206/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2206/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2206.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2206",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2206.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2206"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2207 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2207/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2207/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2207/events | https://github.com/pandas-dev/pandas/issues/2207 | 8,249,302 | MDU6SXNzdWU4MjQ5MzAy | 2,207 | MultiIndex with Heterogenous dtype | {
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:57:28Z",
"closed_issues": 340,
"created_at": "2013-01-18T03:58:28Z",
"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": "",
"due_on": "2013-04-26T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/21",
"id": 246733,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21/labels",
"node_id": "MDk6TWlsZXN0b25lMjQ2NzMz",
"number": 21,
"open_issues": 0,
"state": "closed",
"title": "0.11",
"updated_at": "2013-11-24T16:49:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21"
} | 5 | "2012-11-09T19:24:44Z" | "2013-01-20T19:51:45Z" | "2013-01-20T19:51:45Z" | CONTRIBUTOR | null | I'm not sure if this is supposed to work or not.
I'm reading in a csv file:
`df = pd.read_csv('nc201052.dat', index_col=['FLOW', 'PERIOD', 'DECLARANT', 'PARTNER', 'PRODUCT_NC'], nrows=1000)`
```
df.head(5)
STAT_REGIME VALUE_1000ECU QUANTITY_TON SUP_QUANTITY
FLOW PERIOD DECLARANT PARTNER PRODUCT_NC
1 201052 001 3 01 4 41818.21 13419.4 0
4 01 4 17667.97 3939.6 0
5 01 4 6956.63 1181.9 0
6 01 4 44011.98 1031.2 0
7 01 4 7141.68 559.0 0
```
The 'DECLARANT' columns index type is 'object' (they coded one item as 'EU').
`df.index[0]` gives `(1, 201052, '001', 3, '01')`, but `df.ix[1, 201052, '001']` raises [this](https://gist.github.com/b735fad192ce878dc353) error.
When I only import the first 10 rows, the parser infers the "DECLARANT" column as an integer, and the slice works. That's what is leading me to guess that it's the type of the index that's messing things up.
Sorry if this isn't actually a bug. Still very new to python. 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/2207/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2207/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2208 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2208/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2208/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2208/events | https://github.com/pandas-dev/pandas/issues/2208 | 8,250,336 | MDU6SXNzdWU4MjUwMzM2 | 2,208 | Test case for skipinitialspace | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2012-11-09T20:01:58Z" | "2012-11-17T21:37:22Z" | "2012-11-17T21:20:59Z" | MEMBER | null | https://gist.github.com/4016025
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2208/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2208/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2209 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2209/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2209/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2209/events | https://github.com/pandas-dev/pandas/issues/2209 | 8,250,799 | MDU6SXNzdWU4MjUwNzk5 | 2,209 | Ability to handle fractional seconds in date_converters | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 5 | "2012-11-09T20:19:31Z" | "2012-12-01T00:08:23Z" | "2012-11-30T23:58:49Z" | MEMBER | null | cc @michaelaye
```
I have a 'second' column that contains microseconds like these:
In [52]: df.second.values
Out[52]:
array([ 4.50000000e-02, 4.50000000e-02, 4.50000000e-02, ...,
5.99920000e+01, 5.99920000e+01, 5.99920000e+01])
and had used this column to produce a DateTime index like this before:
d = dataframe
di = pandas.io.date_converters.parse_all_fields(
d.year, d.month, d.date, d.hour, d.minute, d.second)
but the resulting datetime index lost the microseconds:
MultiIndex
[(1.0, 1.0, <Timestamp: 2009-07-20 00:00:00>)
(1.0, 2.0, <Timestamp: 2009-07-20 00:00:00>)
(1.0, 3.0, <Timestamp: 2009-07-20 00:00:00>) ...,
(9.0, 19.0, <Timestamp: 2009-07-20 00:59:59>)
(9.0, 20.0, <Timestamp: 2009-07-20 00:59:59>)
(9.0, 21.0, <Timestamp: 2009-07-20 00:59:59>)]
Is there a way to keep the microseconds?
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2209/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2209/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2210 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2210/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2210/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2210/events | https://github.com/pandas-dev/pandas/issues/2210 | 8,251,700 | MDU6SXNzdWU4MjUxNzAw | 2,210 | Formatting DataFrame for input to SQL | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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 | "2012-11-09T20:54:11Z" | "2014-05-29T05:10:08Z" | "2014-05-29T05:10:08Z" | MEMBER | null | xref: http://stackoverflow.com/questions/13116394/pandas-flatten-df-with-delimiter
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2210/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2210/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2211 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2211/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2211/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2211/events | https://github.com/pandas-dev/pandas/issues/2211 | 8,251,920 | MDU6SXNzdWU4MjUxOTIw | 2,211 | Interesting group operation (nth value from first event) | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": 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 | "2012-11-09T21:02:56Z" | "2016-01-09T21:09:58Z" | "2016-01-09T21:09:58Z" | MEMBER | null | http://stackoverflow.com/questions/13156660/compute-the-nth-day-from-the-first-event-in-pandas
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2211/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2211/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2212 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2212/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2212/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2212/events | https://github.com/pandas-dev/pandas/issues/2212 | 8,251,976 | MDU6SXNzdWU4MjUxOTc2 | 2,212 | New API for expressing pairwise column operations | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 0 | "2012-11-09T21:05:26Z" | "2017-01-25T21:01:16Z" | "2017-01-25T15:50:30Z" | MEMBER | null | http://stackoverflow.com/questions/13143050/calculating-subtractions-of-pairs-of-columns-in-pandas-dataframe
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2212/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2212/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2213 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2213/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2213/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2213/events | https://github.com/pandas-dev/pandas/issues/2213 | 8,252,166 | MDU6SXNzdWU4MjUyMTY2 | 2,213 | Specify format for strptime in to_datetime | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2013-05-10T10:57:28Z",
"closed_issues": 340,
"created_at": "2013-01-18T03:58:28Z",
"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": "",
"due_on": "2013-04-26T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/21",
"id": 246733,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21/labels",
"node_id": "MDk6TWlsZXN0b25lMjQ2NzMz",
"number": 21,
"open_issues": 0,
"state": "closed",
"title": "0.11",
"updated_at": "2013-11-24T16:49:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/21"
} | 6 | "2012-11-09T21:13:13Z" | "2013-07-08T09:27:57Z" | "2013-02-17T23:22:05Z" | MEMBER | null | http://stackoverflow.com/questions/13133458/pandas-casting-iso-string-to-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/2213/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2213/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2214 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2214/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2214/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2214/events | https://github.com/pandas-dev/pandas/pull/2214 | 8,255,565 | MDExOlB1bGxSZXF1ZXN0Mjk1MjcwMw== | 2,214 | BUG: coerce ndarray dtype to object when comparing series | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-09T23:34:41Z" | "2014-07-02T07:41:20Z" | "2012-11-14T00:02:28Z" | NONE | null | fixes #1926 (partialy at least)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2214/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2214/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2214.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2214",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2214.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2214"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2215 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2215/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2215/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2215/events | https://github.com/pandas-dev/pandas/issues/2215 | 8,255,863 | MDU6SXNzdWU4MjU1ODYz | 2,215 | integrate scatter plot into DataFrame/Series plot (or scatter) method | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 0 | "2012-11-09T23:50:36Z" | "2013-10-17T12:50:56Z" | "2013-10-17T12:50:56Z" | CONTRIBUTOR | null | from mailing list:
"I've been searching the API/Internet to find the easiest way to make call plt.scatter() with a dataframe. I figured there would be a keyword if df.plot(kind='scatter') or df.scatter() but this seems not to be the case. I saw from the API that kind only accepts three arguments:
kind : {‘line’, ‘bar’, ‘barh’}
Although this is out of date.
"
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2215/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2215/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2216 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2216/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2216/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2216/events | https://github.com/pandas-dev/pandas/pull/2216 | 8,262,225 | MDExOlB1bGxSZXF1ZXN0Mjk1NTQyNQ== | 2,216 | Small tweaks to vb_suite | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-10T14:23:31Z" | "2013-12-04T00:57:53Z" | "2012-11-13T23:51:46Z" | NONE | null | I had a couple of false starts with vbench in the past, Hopefully these trivial changes
will help make it work out of the box for more people.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2216/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2216/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2216.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2216",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2216.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2216"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2217 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2217/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2217/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2217/events | https://github.com/pandas-dev/pandas/issues/2217 | 8,267,497 | MDU6SXNzdWU4MjY3NDk3 | 2,217 | Can't slice and dice time series df (pandas 0.9) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2744117?v=4",
"events_url": "https://api.github.com/users/pichonz/events{/privacy}",
"followers_url": "https://api.github.com/users/pichonz/followers",
"following_url": "https://api.github.com/users/pichonz/following{/other_user}",
"gists_url": "https://api.github.com/users/pichonz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pichonz",
"id": 2744117,
"login": "pichonz",
"node_id": "MDQ6VXNlcjI3NDQxMTc=",
"organizations_url": "https://api.github.com/users/pichonz/orgs",
"received_events_url": "https://api.github.com/users/pichonz/received_events",
"repos_url": "https://api.github.com/users/pichonz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pichonz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pichonz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pichonz"
} | [] | closed | false | null | [] | null | 2 | "2012-11-11T01:30:27Z" | "2012-11-11T03:22:01Z" | "2012-11-11T03:22:01Z" | NONE | null | I'm usin pythonxy 2.7.3.0
# Create a dataframe with dates as your index
data = [1,2,3,4,5,6,7,8,9,10]
idx = date_range('1/1/2012', periods=10)
df = DataFrame(data, index=idx, columns=['Revenue'])
df
df[datetime(2012,1,1)]
---
KeyError Traceback (most recent call last)
<ipython-input-47-49bb4e9bc6db> in <module>()
2
3 print 'First record:'
----> 4 df[datetime(2012,1,1)]
5 #print df['2012'], '-'
6 #print df['Revenue'], '--'
C:\Python27\lib\site-packages\pandas\core\frame.pyc in **getitem**(self, key)
1702 raise ValueError('Cannot index using non-boolean DataFrame')
1703 else:
-> 1704 return self._get_item_cache(key)
1705
1706 def _getitem_array(self, key):
C:\Python27\lib\site-packages\pandas\core\generic.pyc in _get_item_cache(self, item)
472 return cache[item]
473 except Exception:
--> 474 values = self._data.get(item)
475 res = self._box_item_values(item, values)
476 cache[item] = res
C:\Python27\lib\site-packages\pandas\core\internals.pyc in get(self, item)
825
826 def get(self, item):
--> 827 _, block = self._find_block(item)
828 return block.get(item)
829
C:\Python27\lib\site-packages\pandas\core\internals.pyc in _find_block(self, item)
939
940 def _find_block(self, item):
--> 941 self._check_have(item)
942 for i, block in enumerate(self.blocks):
943 if item in block:
C:\Python27\lib\site-packages\pandas\core\internals.pyc in _check_have(self, item)
946 def _check_have(self, item):
947 if item not in self.items:
--> 948 raise KeyError('no item named %s' % str(item))
949
950 def reindex_axis(self, new_axis, method=None, axis=0, copy=True):
KeyError: 'no item named 2012-01-01 00:00:00'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2217/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2217/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2218 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2218/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2218/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2218/events | https://github.com/pandas-dev/pandas/issues/2218 | 8,271,102 | MDU6SXNzdWU4MjcxMTAy | 2,218 | df with dupe cols should raise KeyError on accessing non-existent col via list | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-11T12:18:35Z" | "2012-11-13T23:27:13Z" | "2012-11-13T23:27:13Z" | NONE | null | ``` python
from pandas import DataFrame
df=DataFrame([[1,2,3],[4,5,6]],columns=['a','a','b'])
try:
df[['baf']]
except KeyError:
pass
else:
self.fail("Dataframe failed to raise KeyError")
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2218/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2218/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2219 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2219/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2219/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2219/events | https://github.com/pandas-dev/pandas/issues/2219 | 8,271,120 | MDU6SXNzdWU4MjcxMTIw | 2,219 | df.iteritems() should yield Series even with non-unique column labels | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 3 | "2012-11-11T12:21:29Z" | "2012-11-13T23:26:18Z" | "2012-11-13T23:26:18Z" | NONE | null | ``` python
df=DataFrame([[1,2,3],[4,5,6]],columns=['a','a','b'])
for k,v in df.iteritems():
self.assertEqual(type(v),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/2219/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2219/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2220 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2220/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2220/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2220/events | https://github.com/pandas-dev/pandas/issues/2220 | 8,271,155 | MDU6SXNzdWU4MjcxMTU1 | 2,220 | 1 ** Sparse df with nans makes sp_values() produce strange results under df[] vs df.take([]) | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-11T12:26:32Z" | "2012-11-14T07:51:36Z" | "2012-11-13T23:51:13Z" | NONE | null | ``` python
df = SparseDataFrame({ 'A' : [nan, 0, 1] }) # note : no error without nan
df = 1 ** df # note that 2 ** df works fine, also df ** 1
r1=df.take([0],1)['A']
r2=df['A']
assert len(r2.sp_values) == len(r1.sp_values)
```
- I'm not familiar with the block management code so I can't figure this out
with reasonable effort right now.
- as a side issue, it looks like 1 *\* nan == 1 in this context, seems suspect.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2220/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2220/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2221 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2221/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2221/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2221/events | https://github.com/pandas-dev/pandas/pull/2221 | 8,271,184 | MDExOlB1bGxSZXF1ZXN0Mjk1ODA3Mw== | 2,221 | fixes for #2218, #2219 | {
"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 | {
"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"
} | [
{
"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"
}
] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-11T12:30:20Z" | "2014-07-07T19:30:39Z" | "2012-11-13T23:27:47Z" | NONE | null | 4a5b75b (the fix for #2219) triggers the issue in #2220 which makes a test fail,
afiact, that's a genuine issue.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2221/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2221/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2221.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2221",
"merged_at": "2012-11-13T23:27:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2221.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2221"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2222 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2222/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2222/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2222/events | https://github.com/pandas-dev/pandas/pull/2222 | 8,271,261 | MDExOlB1bGxSZXF1ZXN0Mjk1ODA5Ng== | 2,222 | beef-up tests of arith operators on panel and df | {
"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 | 1 | "2012-11-11T12:41:17Z" | "2014-06-16T09:15:24Z" | "2012-11-12T16:41:42Z" | 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/2222/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2222/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2222.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2222",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2222.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2222"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2223 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2223/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2223/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2223/events | https://github.com/pandas-dev/pandas/pull/2223 | 8,271,313 | MDExOlB1bGxSZXF1ZXN0Mjk1ODExMQ== | 2,223 | CLN: use com._is_sequence instead of duplicating code | {
"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 | 1 | "2012-11-11T12:46:01Z" | "2012-11-12T16:23:20Z" | "2012-11-12T16:23:10Z" | 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/2223/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2223/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2223.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2223",
"merged_at": "2012-11-12T16:23:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2223.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2223"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2224 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2224/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2224/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2224/events | https://github.com/pandas-dev/pandas/pull/2224 | 8,274,181 | MDExOlB1bGxSZXF1ZXN0Mjk1ODg5Mw== | 2,224 | Unicode : change df.to_string() and friends to always return unicode 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"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 12 | "2012-11-11T18:25:14Z" | "2014-06-13T01:01:53Z" | "2012-11-27T02:46:35Z" | NONE | null | closes #2225
**Note**: Although all the tests pass with minor fixes, this PR has an above-average chance of
breaking things for people who have relied on broken behaviour thus far.
`df.tidy_repr` combines several strings to produce a result. when one component is unicode
and other other is a non-ascii bytestring, it tries to convert the latter back to a unicode string
using the 'ascii' codec and fails.
I suggest that `_get_repr` -> `to_string` should always return unicode, as implemented by this PR,
and that the `force_unicode` argument be deprecated everyhwere.
The `force_unicode` argument in `to_string` conflates two things:
- which codec to use to decode the string (which can only be a hopeful guess)
- whether to return a unicode() object or str() object,
The first is now no longer necessary since `pprint_thing` already resorts to the same hack
of using utf-8 (with errors='replace') as a fallback.
I believe making the latter optional is wrong, precisely because it brings about situations
like the test case above.
`to_string`, like all internal functions , should utilize unicode objects, whenever feasible.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2224/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2224/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2224.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2224",
"merged_at": "2012-11-27T02:46:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2224.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2224"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2225 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2225/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2225/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2225/events | https://github.com/pandas-dev/pandas/issues/2225 | 8,274,267 | MDU6SXNzdWU4Mjc0MjY3 | 2,225 | BUG: series tidy_repr UnicodeDecodeError | {
"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": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-11T18:33:40Z" | "2014-04-05T19:32:40Z" | "2012-11-27T15:33:55Z" | NONE | null | ``` python
a=pd.Series([u"\u05d0"]*1000)
a.name= 'title1'
repr(a)
pandas/pandas/core/series.py in _tidy_repr(self, max_vals)
869 name=False)
870 result = head + '\n...\n' + tail
--> 871 return '%s\n%s' % (result, self._repr_footer())
872
873 def _repr_footer(self):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 6: ordinal not in range(128)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2225/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2225/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2226 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2226/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2226/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2226/events | https://github.com/pandas-dev/pandas/issues/2226 | 8,274,974 | MDU6SXNzdWU4Mjc0OTc0 | 2,226 | Better error message in pandas.core.index | {
"avatar_url": "https://avatars.githubusercontent.com/u/2761822?v=4",
"events_url": "https://api.github.com/users/quintusdias/events{/privacy}",
"followers_url": "https://api.github.com/users/quintusdias/followers",
"following_url": "https://api.github.com/users/quintusdias/following{/other_user}",
"gists_url": "https://api.github.com/users/quintusdias/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/quintusdias",
"id": 2761822,
"login": "quintusdias",
"node_id": "MDQ6VXNlcjI3NjE4MjI=",
"organizations_url": "https://api.github.com/users/quintusdias/orgs",
"received_events_url": "https://api.github.com/users/quintusdias/received_events",
"repos_url": "https://api.github.com/users/quintusdias/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/quintusdias/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quintusdias/subscriptions",
"type": "User",
"url": "https://api.github.com/users/quintusdias"
} | [] | closed | false | null | [] | null | 0 | "2012-11-11T19:42:34Z" | "2012-11-12T04:37:38Z" | "2012-11-12T04:37:38Z" | CONTRIBUTOR | null | If sortlevel is called with an out-of-range level, the error message is a bit confusing, particularly if the level is equal to the maximum number of levels.
```
# Example from "Python for Data Analysys", page 148
import pandas as pd
import numpy as np
frame = pd.DataFrame(np.arange(12).reshape((4,3)),
index=[list('aabb'), [1, 2, 1, 2]],
columns=[['Ohio','Ohio','Colorado'],['Green','Red','Green']])
frame.sortlevel(2)
.
.
.
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
packages/pandas/core/index.pyc in _get_level_number(self, level)
1363 elif level >= self.nlevels:
1364 raise ValueError('Index has only %d levels, not %d'
-> 1365 % (self.nlevels, level))
1366 return level
1367
ValueError: Index has only 2 levels, not 2
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2226/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2226/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2227 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2227/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2227/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2227/events | https://github.com/pandas-dev/pandas/issues/2227 | 8,275,001 | MDU6SXNzdWU4Mjc1MDAx | 2,227 | SparseDataFrame.icol(j) returns Series rather then SparseSeries | {
"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 | {
"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"
} | [
{
"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"
}
] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-11T19:45:04Z" | "2012-11-14T16:50:29Z" | "2012-11-14T16:50:29Z" | NONE | null | ``` python
In [38]: df=SparseDataFrame([[1,2],[4,5]],columns=['a','b'])
...: type(df.icol(0))
Out[38]: pandas.core.series.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/2227/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2227/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2228 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2228/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2228/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2228/events | https://github.com/pandas-dev/pandas/issues/2228 | 8,275,085 | MDU6SXNzdWU4Mjc1MDg1 | 2,228 | df.icol([0]) fails when df has non-unique column labels | {
"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 | {
"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"
} | [
{
"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"
}
] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-11T19:52:49Z" | "2012-11-14T00:10:35Z" | "2012-11-14T00:10:35Z" | NONE | null | ``` python
df=DataFrame([[1,2,3],[4,5,6]],columns=['a','b','b'])
df.icol([0])
pandas/pandas/core/index.pyc in get_indexer(self, target, method, limit)
747
748 if not self.is_unique:
--> 749 raise Exception('Reindexing only valid with uniquely valued Index '
750 'objects')
751
Exception: Reindexing only valid with uniquely valued Index objects
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2228/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2228/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2229 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2229/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2229/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2229/events | https://github.com/pandas-dev/pandas/issues/2229 | 8,275,247 | MDU6SXNzdWU4Mjc1MjQ3 | 2,229 | SparseSeries.from_array returns Series rather then SparseSeries | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-11T20:09:20Z" | "2012-11-14T16:50:46Z" | "2012-11-14T16:50:46Z" | NONE | null | ``` python
In [16]: s=SparseSeries.from_array(np.array([1,2,3]),index=Index(range(3)))
...: type(s)
...:
Out[16]: pandas.core.series.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/2229/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2229/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2230 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2230/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2230/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2230/events | https://github.com/pandas-dev/pandas/pull/2230 | 8,275,921 | MDExOlB1bGxSZXF1ZXN0Mjk1OTQ0Ng== | 2,230 | use boolean indexing via getitem to trigger masking; add inplace keyword to where | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 16 | "2012-11-11T21:19:09Z" | "2014-06-12T19:22:25Z" | "2012-11-13T22:52:23Z" | CONTRIBUTOR | null | in core/frame.py
changed method _getitem_ to use _mask_ directly (e.g. df.mask(df > 0) is equivalent semantically to df[df>0])
this would be a small API change as before df[df >0] returned a boolean np array
added inplace keyword to _where_ method (to update the dataframe in place, default is NOT to use inplace, and return a new dataframe)
changed method _boolean_set_ to use where and inplace=True (this allows alignment of the passed values and is slightly less strict than the current method)
all tests pass (as well as an added test in boolean frame indexing)
if included in 0.9.1 would be great (sorry for the late addition)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2230/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2230/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2230.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2230",
"merged_at": "2012-11-13T22:52:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2230.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2230"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2231 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2231/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2231/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2231/events | https://github.com/pandas-dev/pandas/pull/2231 | 8,277,993 | MDExOlB1bGxSZXF1ZXN0Mjk2MDE0Ng== | 2,231 | BUG: Incorrect error message due to zero based levels. #2226 | {
"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 | 1 | "2012-11-12T00:44:52Z" | "2012-11-12T04:37:41Z" | "2012-11-12T04:37:37Z" | NONE | null | Simple fix in error message that assume levels starting at 1 instead of 0.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2231/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2231/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2231.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2231",
"merged_at": "2012-11-12T04:37:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2231.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2231"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2232 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2232/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2232/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2232/events | https://github.com/pandas-dev/pandas/issues/2232 | 8,280,254 | MDU6SXNzdWU4MjgwMjU0 | 2,232 | Inconsistent behaviour of to_period | {
"avatar_url": "https://avatars.githubusercontent.com/u/1953974?v=4",
"events_url": "https://api.github.com/users/killinc/events{/privacy}",
"followers_url": "https://api.github.com/users/killinc/followers",
"following_url": "https://api.github.com/users/killinc/following{/other_user}",
"gists_url": "https://api.github.com/users/killinc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/killinc",
"id": 1953974,
"login": "killinc",
"node_id": "MDQ6VXNlcjE5NTM5NzQ=",
"organizations_url": "https://api.github.com/users/killinc/orgs",
"received_events_url": "https://api.github.com/users/killinc/received_events",
"repos_url": "https://api.github.com/users/killinc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/killinc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/killinc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/killinc"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-12T04:45:54Z" | "2016-10-12T23:03:19Z" | "2012-11-29T21:17:06Z" | NONE | null | to_period works correctly on individual timestamp objects with timezone information. When it is applied to datetime indexes with timezone information though, the conversion appears to happen based on the underlying UTC timestamp.
For example:
index = date_range('2000-1-1', periods=1000, freq='D', tz = 'Australia/Sydney')
index[0].to_period('D') # gives a different result from:
index.to_period('D')[0]
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2232/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2232/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2233 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2233/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2233/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2233/events | https://github.com/pandas-dev/pandas/issues/2233 | 8,280,809 | MDU6SXNzdWU4MjgwODA5 | 2,233 | Strict mode for date parsing/conversion | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 4 | "2012-11-12T05:42:01Z" | "2013-09-21T13:20:47Z" | "2013-09-21T13:20:47Z" | CONTRIBUTOR | null | Sometimes if there are invalid entries in a large series of datetime data the conversion fails but it's not clear why.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2233/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2233/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2234 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2234/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2234/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2234/events | https://github.com/pandas-dev/pandas/issues/2234 | 8,289,643 | MDU6SXNzdWU4Mjg5NjQz | 2,234 | Can't create a DataFrame from an empty Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/1210462?v=4",
"events_url": "https://api.github.com/users/grsr/events{/privacy}",
"followers_url": "https://api.github.com/users/grsr/followers",
"following_url": "https://api.github.com/users/grsr/following{/other_user}",
"gists_url": "https://api.github.com/users/grsr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/grsr",
"id": 1210462,
"login": "grsr",
"node_id": "MDQ6VXNlcjEyMTA0NjI=",
"organizations_url": "https://api.github.com/users/grsr/orgs",
"received_events_url": "https://api.github.com/users/grsr/received_events",
"repos_url": "https://api.github.com/users/grsr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/grsr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grsr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/grsr"
} | [
{
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 3 | "2012-11-12T13:56:11Z" | "2012-11-14T17:44:28Z" | "2012-11-14T17:44:28Z" | NONE | null | For a project I am working on it would be convenient if you could create a DataFrame from an empty Series. I have some library code that will create a Series object constructed from a dict, most of the time this dict will have some entries, but occasionally it does not. Currently you can create an empty DataFrame by not supplying anything to the constructor, and you can create a DataFrame or a Series from an empty dict, but if you try to create a DataFrame from an Series constructed from an empty dict pandas throws an AssertionError. I can code around this easily enough, but it would be preferable just to return an empty DataFrame. Example code below:
``` python
In [73]: pandas.__version__
Out[73]: '0.9.0'
In [74]: df = DataFrame()
In [75]: df = DataFrame({})
In [76]: s = Series({}, name="foo")
In [77]: df = DataFrame(s)
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-77-4c4337b321e1> in <module>()
----> 1 df = DataFrame(s)
/nfs/users/nfs_g/gr5/software/epd-7.2-2-rh5-x86_64/lib/python2.7/site-packages/pandas-0.9.0-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in __init__(self, data, index, columns, dtype, copy)
392 else:
393 mgr = self._init_ndarray(data, index, columns, dtype=dtype,
--> 394 copy=copy)
395 elif isinstance(data, list):
396 if len(data) > 0:
/nfs/users/nfs_g/gr5/software/epd-7.2-2-rh5-x86_64/lib/python2.7/site-packages/pandas-0.9.0-py2.7-linux-x86_64.egg/pandas/core/frame.pyc in _init_ndarray(self, values, index, columns, dtype, copy)
504 columns = _ensure_index(columns)
505
--> 506 block = make_block(values.T, columns, columns)
507 return BlockManager([block], [columns, index])
508
/nfs/users/nfs_g/gr5/software/epd-7.2-2-rh5-x86_64/lib/python2.7/site-packages/pandas-0.9.0-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in make_block(values, items, ref_items, do_integrity_check)
459
460 return klass(values, items, ref_items, ndim=values.ndim,
--> 461 do_integrity_check=do_integrity_check)
462
463 # TODO: flexible with index=None and/or items=None
/nfs/users/nfs_g/gr5/software/epd-7.2-2-rh5-x86_64/lib/python2.7/site-packages/pandas-0.9.0-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in __init__(self, values, items, ref_items, ndim, do_integrity_check)
24
25 assert(values.ndim == ndim)
---> 26 assert(len(items) == len(values))
27
28 self.values = values
AssertionError:
```
Cheers,
Graham
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2234/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2234/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2235 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2235/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2235/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2235/events | https://github.com/pandas-dev/pandas/issues/2235 | 8,298,016 | MDU6SXNzdWU4Mjk4MDE2 | 2,235 | prettier tick labelling etc for irregular timeseries | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": 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 | "2012-11-12T18:10:36Z" | "2018-06-27T18:06:49Z" | "2018-06-27T18:06:49Z" | CONTRIBUTOR | null | xref: http://stackoverflow.com/questions/13347288/how-do-i-get-nice-tick-labels-for-an-irregularly-sampled-time-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/2235/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2235/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2236 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2236/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2236/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2236/events | https://github.com/pandas-dev/pandas/issues/2236 | 8,302,533 | MDU6SXNzdWU4MzAyNTMz | 2,236 | Error converting DataFrame with duplicate columns to ndarray | {
"avatar_url": "https://avatars.githubusercontent.com/u/1615663?v=4",
"events_url": "https://api.github.com/users/jpindi/events{/privacy}",
"followers_url": "https://api.github.com/users/jpindi/followers",
"following_url": "https://api.github.com/users/jpindi/following{/other_user}",
"gists_url": "https://api.github.com/users/jpindi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jpindi",
"id": 1615663,
"login": "jpindi",
"node_id": "MDQ6VXNlcjE2MTU2NjM=",
"organizations_url": "https://api.github.com/users/jpindi/orgs",
"received_events_url": "https://api.github.com/users/jpindi/received_events",
"repos_url": "https://api.github.com/users/jpindi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jpindi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jpindi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jpindi"
} | [
{
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 5 | "2012-11-12T20:34:27Z" | "2014-06-13T02:57:06Z" | "2012-11-13T21:54:20Z" | NONE | null | Installed latest version of pandas 0.9.0 in case this was an error
Trying to read Excel file. That part seems ok.
Originally, I was trying iteritems() for each row of the pandas dataframe, as the id_company had to be verified against a mysql database (code not included). Same/similar error message to putting it into a tuple (code is below). Error message follows.
Note there is a .reindex() but it didn't work before, either. The reindex() was kind of a hail-mary.
As a work-around, I'm probably going to simply import from my target sql and do a join. I'm concerned because of the size of the datasets.
```
import pandas as pd
def runNow():
#identify sheet
source = 'C:\Users\jlalonde\Desktop\startup_geno\startupgenome_w_id_xl_20121109.xlsx'
xls_file = pd.ExcelFile(source)
sd = xls_file.parse('Sheet1')
source_u = sd.drop_duplicates(cols = 'id_company', take_last=False)
source_r = source_u[['id_company','id_good','description', 'website','keyword', 'company_name','founded_month', 'founded_year', 'description']]
source_i = source_r.reindex() #hail mary
tup_r = [tuple(x) for x in source_i.values]
Traceback (most recent call last):
File "<pyshell#10>", line 1, in <module>
sg_sql_2.runNow()
File "sg_sql_2.py", line 31, in runNow
tup_r = [tuple(x) for x in source_r.values]
File "C:\Python27\lib\site-packages\pandas\core\frame.py", line 1443, in as_matrix
return self._data.as_matrix(columns).T
File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 723, in as_matrix
mat = self._interleave(self.items)
File "C:\Python27\lib\site-packages\pandas\core\internals.py", line 743, in _interleave
indexer = items.get_indexer(block.items)
File "C:\Python27\lib\site-packages\pandas\core\index.py", line 748, in get_indexer
raise Exception('Reindexing only valid with uniquely valued Index '
Exception: Reindexing only valid with uniquely valued Index objects
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2236/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2236/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2237 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2237/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2237/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2237/events | https://github.com/pandas-dev/pandas/issues/2237 | 8,306,210 | MDU6SXNzdWU4MzA2MjEw | 2,237 | parallel_coordinates incorrect auto legend | {
"avatar_url": "https://avatars.githubusercontent.com/u/125001?v=4",
"events_url": "https://api.github.com/users/khughitt/events{/privacy}",
"followers_url": "https://api.github.com/users/khughitt/followers",
"following_url": "https://api.github.com/users/khughitt/following{/other_user}",
"gists_url": "https://api.github.com/users/khughitt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/khughitt",
"id": 125001,
"login": "khughitt",
"node_id": "MDQ6VXNlcjEyNTAwMQ==",
"organizations_url": "https://api.github.com/users/khughitt/orgs",
"received_events_url": "https://api.github.com/users/khughitt/received_events",
"repos_url": "https://api.github.com/users/khughitt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/khughitt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khughitt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/khughitt"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 2 | "2012-11-12T22:43:41Z" | "2016-10-12T23:03:19Z" | "2012-11-14T19:36:35Z" | CONTRIBUTOR | null | Just tried the latest version of the parallel coordinates plot, but the default legend appears to be incorrect: instead of just choosing the four expected groups, one legend entry is included per row, many of them set to "None".
To reproduce, follow steps in the [pandas guide](http://pandas.pydata.org/pandas-docs/stable/visualization.html#parallel-coordinates).
## System info:
Arch Linux 64-bit
pandas 0.9.1rc1 (git)
numpy 1.7.0b2
matplotlib 1.2.0
## Screenshot

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2237/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2237/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2238 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2238/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2238/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2238/events | https://github.com/pandas-dev/pandas/issues/2238 | 8,322,184 | MDU6SXNzdWU4MzIyMTg0 | 2,238 | Aggregated datetime64 column converted to float | {
"avatar_url": "https://avatars.githubusercontent.com/u/1385476?v=4",
"events_url": "https://api.github.com/users/mattijohn/events{/privacy}",
"followers_url": "https://api.github.com/users/mattijohn/followers",
"following_url": "https://api.github.com/users/mattijohn/following{/other_user}",
"gists_url": "https://api.github.com/users/mattijohn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mattijohn",
"id": 1385476,
"login": "mattijohn",
"node_id": "MDQ6VXNlcjEzODU0NzY=",
"organizations_url": "https://api.github.com/users/mattijohn/orgs",
"received_events_url": "https://api.github.com/users/mattijohn/received_events",
"repos_url": "https://api.github.com/users/mattijohn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mattijohn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattijohn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mattijohn"
} | [] | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 3 | "2012-11-13T14:04:49Z" | "2012-11-14T00:14:59Z" | "2012-11-14T00:12:34Z" | NONE | null | See this [Stackoverflow question](http://stackoverflow.com/questions/13361326/preserving-datetime-index-in-groupby-operation/13362096#13362096)
It appears that when grouping and then aggregating a datetime column the dtype converts to float
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2238/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2238/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2239 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2239/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2239/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2239/events | https://github.com/pandas-dev/pandas/issues/2239 | 8,331,141 | MDU6SXNzdWU4MzMxMTQx | 2,239 | win py3.3 packages? | {
"avatar_url": "https://avatars.githubusercontent.com/u/50109?v=4",
"events_url": "https://api.github.com/users/gliptak/events{/privacy}",
"followers_url": "https://api.github.com/users/gliptak/followers",
"following_url": "https://api.github.com/users/gliptak/following{/other_user}",
"gists_url": "https://api.github.com/users/gliptak/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gliptak",
"id": 50109,
"login": "gliptak",
"node_id": "MDQ6VXNlcjUwMTA5",
"organizations_url": "https://api.github.com/users/gliptak/orgs",
"received_events_url": "https://api.github.com/users/gliptak/received_events",
"repos_url": "https://api.github.com/users/gliptak/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gliptak/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gliptak/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gliptak"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 8 | "2012-11-13T18:37:02Z" | "2013-07-29T03:44:16Z" | "2013-07-29T03:44:16Z" | CONTRIBUTOR | null | Could you please also make pandas win py3.3 available at::
http://pypi.python.org/pypi/pandas/0.9.0
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/2239/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2239/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2240 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2240/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2240/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2240/events | https://github.com/pandas-dev/pandas/issues/2240 | 8,340,063 | MDU6SXNzdWU4MzQwMDYz | 2,240 | cannot write resampled frame to excel TypeError: 'Period' object does not support indexing | {
"avatar_url": "https://avatars.githubusercontent.com/u/1199593?v=4",
"events_url": "https://api.github.com/users/simonm3/events{/privacy}",
"followers_url": "https://api.github.com/users/simonm3/followers",
"following_url": "https://api.github.com/users/simonm3/following{/other_user}",
"gists_url": "https://api.github.com/users/simonm3/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonm3",
"id": 1199593,
"login": "simonm3",
"node_id": "MDQ6VXNlcjExOTk1OTM=",
"organizations_url": "https://api.github.com/users/simonm3/orgs",
"received_events_url": "https://api.github.com/users/simonm3/received_events",
"repos_url": "https://api.github.com/users/simonm3/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonm3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonm3/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonm3"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 1 | "2012-11-13T23:30:13Z" | "2016-10-12T23:03:19Z" | "2012-11-14T16:55:47Z" | NONE | null | Excel_to function is not working with some dataframes with period index
# this works for a dataframe with timeseries index
close.to_excel("temp.xlsx")
# this does not work. fails with error shown above
monthly=close.resample('M', kind='period')
monthly.to_excel("temp.xlsx")
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2240/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2240/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2241 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2241/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2241/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2241/events | https://github.com/pandas-dev/pandas/pull/2241 | 8,341,283 | MDExOlB1bGxSZXF1ZXN0Mjk5MDQ1NQ== | 2,241 | Ignore terminal width when not running in an interactive shell | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-14T00:29:59Z" | "2014-07-04T07:51:38Z" | "2012-11-14T17:29:58Z" | NONE | null | shell use with python/ipython is unaffected, but redirecting to a file
gives you all the columns unles print_config.max_columns is set.
#1610.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2241/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2241/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2241.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2241",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2241.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2241"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2242 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2242/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2242/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2242/events | https://github.com/pandas-dev/pandas/pull/2242 | 8,344,947 | MDExOlB1bGxSZXF1ZXN0Mjk5MjI0Ng== | 2,242 | Panelnd | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 10 | "2012-11-14T04:29:16Z" | "2014-06-12T10:20:37Z" | "2012-12-02T23:03:23Z" | CONTRIBUTOR | null | ## Panel4D
( note - this superseeds the prior branch, FDPanel and this is 0.9rc1 compatible)
Panel4D is like a Panel object, but provides 4 dimensions
labels, items, major_axis, minor_axis
instead of using a dict of Panels to hold data, the Panel4D provides a convenient represenation in pandas space with named dimensions to allow easy axis swapping and slicing
# testing
tests/test_panel4d.py provides a similar methodology to test_panel.py
Panel4D required an overhall of many methods in panel.py and one change in core/index.py (regarding multi-indexing)
almost all methods in a Panel are extended to Panel4D (with the exception in that Panel
now allows a multi-axis on axis 0)
docstrings need to be refreshed a bit and made a bit more general
all tests that are not skipped pass (tested with 0.9rc1)
join is a work in progress
# further
panelnd.py provides a factory function for creation of generic panel-like ND structures with custom named dimensions
(this works, but not fully tested - examples are in the docstring)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2242/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2242/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2242.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2242",
"merged_at": "2012-12-02T23:03:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2242.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2242"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2243 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2243/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2243/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2243/events | https://github.com/pandas-dev/pandas/issues/2243 | 8,345,424 | MDU6SXNzdWU4MzQ1NDI0 | 2,243 | reset_index on DataFrame with PeriodIndex changes to ordinal representation | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-14T05:16:56Z" | "2012-11-23T05:43:17Z" | "2012-11-23T05:43:17Z" | CONTRIBUTOR | null | Should be array of Period objects probably
Note this is due to PeriodIndex.values converting to array of ordinals
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2243/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2243/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2244 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2244/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2244/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2244/events | https://github.com/pandas-dev/pandas/pull/2244 | 8,345,652 | MDExOlB1bGxSZXF1ZXN0Mjk5MjU4MA== | 2,244 | BUG: ExcelWriter raises exception on PeriodIndex #2240 | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-14T05:37:28Z" | "2014-07-15T12:47:03Z" | "2012-11-14T16:55:39Z" | CONTRIBUTOR | null | convert to_timestamp first
otherwise roundtripping is hard and the output isn't all that useful for processing in Excel
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2244/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2244/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2244.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2244",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2244.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2244"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2245 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2245/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2245/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2245/events | https://github.com/pandas-dev/pandas/issues/2245 | 8,356,255 | MDU6SXNzdWU4MzU2MjU1 | 2,245 | Exception during resample w/ tz | {
"avatar_url": "https://avatars.githubusercontent.com/u/805293?v=4",
"events_url": "https://api.github.com/users/craustin/events{/privacy}",
"followers_url": "https://api.github.com/users/craustin/followers",
"following_url": "https://api.github.com/users/craustin/following{/other_user}",
"gists_url": "https://api.github.com/users/craustin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/craustin",
"id": 805293,
"login": "craustin",
"node_id": "MDQ6VXNlcjgwNTI5Mw==",
"organizations_url": "https://api.github.com/users/craustin/orgs",
"received_events_url": "https://api.github.com/users/craustin/received_events",
"repos_url": "https://api.github.com/users/craustin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/craustin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/craustin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/craustin"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | {
"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"
} | [
{
"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"
}
] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 1 | "2012-11-14T15:03:51Z" | "2014-10-22T10:46:09Z" | "2012-11-14T16:34:16Z" | NONE | null | from pandas import date_range, Series
idx = date_range('2001-09-20 15:59','2001-09-20 16:00', freq='T', tz='Australia/Sydney')
s = Series([1,2], index=idx)
s.resample('D')
## In [4]: s.resample('D')
ValueError Traceback (most recent call last)
<ipython-input-4-5ce76d689c21> in <module>()
----> 1 s.resample('D')
Q:\GAARD\Prod\Apps\Pandas64\4.36\pandas\core\generic.pyc in resample(self, rule, how, axis, fill_method, closed,
label, convention, kind, loffset, limit, base)
187 fill_method=fill_method, convention=convention,
188 limit=limit, base=base)
--> 189 return sampler.resample(self)
190
191 def first(self, offset):
Q:\GAARD\Prod\Apps\Pandas64\4.36\pandas\tseries\resample.pyc in resample(self, obj)
66
67 if isinstance(axis, DatetimeIndex):
---> 68 rs = self._resample_timestamps(obj)
69 elif isinstance(axis, PeriodIndex):
70 offset = to_offset(self.freq)
Q:\GAARD\Prod\Apps\Pandas64\4.36\pandas\tseries\resample.pyc in _resample_timestamps(self, obj)
180 axlabels = obj._get_axis(self.axis)
181
--> 182 binner, grouper = self._get_time_grouper(obj)
183
184 # Determine if we're downsampling
Q:\GAARD\Prod\Apps\Pandas64\4.36\pandas\tseries\resample.pyc in _get_time_grouper(self, obj)
95
96 if self.kind is None or self.kind == 'timestamp':
---> 97 binner, bins, binlabels = self._get_time_bins(axis)
98 else:
99 binner, bins, binlabels = self._get_time_period_bins(axis)
Q:\GAARD\Prod\Apps\Pandas64\4.36\pandas\tseries\resample.pyc in _get_time_bins(self, axis)
125
126 # general version, knowing nothing about relative frequencies
--> 127 bins = lib.generate_bins_dt64(ax_values, bin_edges, self.closed)
128
129 if self.closed == 'right':
Q:\GAARD\Prod\Apps\Pandas64\4.36\pandas\lib.pyd in pandas.lib.generate_bins_dt64 (pandas\src\tseries.c:61444)()
ValueError: Values falls after last bin
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2245/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2245/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2246 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2246/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2246/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2246/events | https://github.com/pandas-dev/pandas/pull/2246 | 8,358,628 | MDExOlB1bGxSZXF1ZXN0Mjk5OTAwMg== | 2,246 | ENH: Import DataReader and Options into namespace | {
"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"
} | [] | closed | false | null | [] | null | 4 | "2012-11-14T16:14:20Z" | "2012-11-14T16:19:19Z" | "2012-11-14T16:19:19Z" | CONTRIBUTOR | null | Don't know if there's any reason not to import these. I thought maybe they'd be better off in the data namespace though. Thoughts?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2246/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2246/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2246.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2246",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2246.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2246"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2247 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2247/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2247/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2247/events | https://github.com/pandas-dev/pandas/issues/2247 | 8,362,113 | MDU6SXNzdWU4MzYyMTEz | 2,247 | Detection of integer overflows in parsers | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-14T17:58:47Z" | "2012-11-28T04:09:40Z" | "2012-11-28T04:09:40Z" | MEMBER | null | xref: http://stackoverflow.com/questions/13293810/import-pandas-dataframe-column-as-string-not-int
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2247/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2247/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2248 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2248/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2248/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2248/events | https://github.com/pandas-dev/pandas/issues/2248 | 8,362,209 | MDU6SXNzdWU4MzYyMjA5 | 2,248 | Exception during tz_localize w/ empty Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/805293?v=4",
"events_url": "https://api.github.com/users/craustin/events{/privacy}",
"followers_url": "https://api.github.com/users/craustin/followers",
"following_url": "https://api.github.com/users/craustin/following{/other_user}",
"gists_url": "https://api.github.com/users/craustin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/craustin",
"id": 805293,
"login": "craustin",
"node_id": "MDQ6VXNlcjgwNTI5Mw==",
"organizations_url": "https://api.github.com/users/craustin/orgs",
"received_events_url": "https://api.github.com/users/craustin/received_events",
"repos_url": "https://api.github.com/users/craustin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/craustin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/craustin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/craustin"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | {
"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"
} | [
{
"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"
}
] | {
"closed_at": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 1 | "2012-11-14T18:01:54Z" | "2012-11-14T20:22:25Z" | "2012-11-14T20:22:25Z" | NONE | null | from pandas import Series
s = Series()
s.tz_localize('UTC')
Q:\GAARD\Prod\Apps\Pandas64\4.36\pandas\core\series.pyc in tz_localize(self, tz, copy)
2730 localized : TimeSeries
2731 """
-> 2732 new_index = self.index.tz_localize(tz)
2733
2734 new_values = self.values
AttributeError: 'Index' object has no attribute 'tz_localize'
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2248/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2248/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2249 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2249/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2249/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2249/events | https://github.com/pandas-dev/pandas/issues/2249 | 8,367,748 | MDU6SXNzdWU4MzY3NzQ4 | 2,249 | icol() should propegate fill_value for sparse data frames | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-14T20:45:31Z" | "2012-11-15T00:37:59Z" | "2012-11-15T00:37:59Z" | NONE | null | ``` python
from pandas.sparse.api import SparseSeries,SparseDataFrame
from pandas import Series, DataFrame, bdate_range, Panel
data = {'A' : [0,1 ]}
iframe = SparseDataFrame(data, default_kind='integer')
print type(iframe['A'].sp_index)
print type(iframe.icol(0).sp_index)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2249/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2249/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2250 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2250/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2250/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2250/events | https://github.com/pandas-dev/pandas/pull/2250 | 8,367,788 | MDExOlB1bGxSZXF1ZXN0MzAwMzQ3Mg== | 2,250 | BUG: icol() should propegate fill_value for sparse data frames #2249 | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 0 | "2012-11-14T20:46:34Z" | "2014-07-17T12:26:16Z" | "2012-11-15T00:38:09Z" | NONE | null | #2249
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2250/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2250/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2250.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2250",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2250.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2250"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2251 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2251/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2251/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2251/events | https://github.com/pandas-dev/pandas/issues/2251 | 8,367,855 | MDU6SXNzdWU4MzY3ODU1 | 2,251 | BUG: icol() doesn't preserve index type on sparse DataFrames | {
"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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 1 | "2012-11-14T20:48:59Z" | "2012-11-15T00:35:25Z" | "2012-11-15T00:35:25Z" | NONE | null | ``` python
from pandas.sparse.api import SparseSeries,SparseDataFrame
from pandas import Series, DataFrame, bdate_range, Panel
data = {'A' : [0,1 ]}
iframe = SparseDataFrame(data, default_kind='integer')
print type(iframe['A'].sp_index)
print type(iframe.icol(0).sp_index)
<type 'pandas._sparse.IntIndex'>
<type 'pandas._sparse.BlockIndex'>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2251/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2251/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2252 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2252/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2252/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2252/events | https://github.com/pandas-dev/pandas/issues/2252 | 8,372,735 | MDU6SXNzdWU4MzcyNzM1 | 2,252 | Losing Nanosecond precision upon conversion to DatetimeIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/2800129?v=4",
"events_url": "https://api.github.com/users/lterry-t/events{/privacy}",
"followers_url": "https://api.github.com/users/lterry-t/followers",
"following_url": "https://api.github.com/users/lterry-t/following{/other_user}",
"gists_url": "https://api.github.com/users/lterry-t/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lterry-t",
"id": 2800129,
"login": "lterry-t",
"node_id": "MDQ6VXNlcjI4MDAxMjk=",
"organizations_url": "https://api.github.com/users/lterry-t/orgs",
"received_events_url": "https://api.github.com/users/lterry-t/received_events",
"repos_url": "https://api.github.com/users/lterry-t/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lterry-t/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lterry-t/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lterry-t"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 7 | "2012-11-14T23:24:59Z" | "2012-11-20T15:28:41Z" | "2012-11-20T15:28:41Z" | NONE | null | All,
I am experiencing a problem when converting from a TimeSeries to a DatetimeIndex. In the code below, I create a TimeSeries of nanosecond precision TimeStamps. I then convert it to a DatetimeIndex and lose the nanosecond precision (but maintain the microseconds). This appears to be a bug as the resulting elements of DatetimeIndex are of time TimeStamp and can handle nanosecond precision. Please see the snippet below.
Any help/resolution would be greatly appreciated.
Thanks,
Joe
```
In [233]: t1 = pandas.Timestamp((1352934390*1000000000)+1000000+1000+1)
In [234]: t2 = pandas.Timestamp((1352934390*1000000000)+1000000+1000+5)
In [235]: timeseries = pandas.TimeSeries([t1,t2])
In [236]: timeseries[0]
Out[236]: <Timestamp: 2012-11-14 23:06:30.001001001>
In [237]: datetimeindex = pandas.DatetimeIndex(timeseries)
In [238]: datetimeindex[0]
Out[238]: <Timestamp: 2012-11-14 23:06:30.001001>
In [236]: timeseries[0]
Out[236]: <Timestamp: 2012-11-14 23:06:30.001001001>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2252/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2252/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2253 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2253/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2253/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2253/events | https://github.com/pandas-dev/pandas/pull/2253 | 8,374,500 | MDExOlB1bGxSZXF1ZXN0MzAwNjg0NQ== | 2,253 | CLN: df.iteritems() can use self.icol() | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-15T00:46:32Z" | "2012-11-17T02:55:45Z" | "2012-11-17T02:55:43Z" | NONE | null | now that all the issues have been 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/2253/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2253/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2253.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2253",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2253.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2253"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2254 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2254/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2254/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2254/events | https://github.com/pandas-dev/pandas/pull/2254 | 8,375,852 | MDExOlB1bGxSZXF1ZXN0MzAwNzQ5MQ== | 2,254 | update 0.9.1 whatsnew to add where/mask commentary | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.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": "2012-11-18T18:54:52Z",
"closed_issues": 130,
"created_at": "2012-10-11T19:38:39Z",
"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": "",
"due_on": "2012-10-27T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/17",
"id": 194158,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0MTU4",
"number": 17,
"open_issues": 0,
"state": "closed",
"title": "0.9.1",
"updated_at": "2012-11-19T16:07:57Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/17"
} | 1 | "2012-11-15T02:03:33Z" | "2014-06-26T19:47:36Z" | "2012-11-15T03:14:09Z" | CONTRIBUTOR | null | update whatsnew docs for where/mask (prob could be added to main docs at some point)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2254/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2254/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2254.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2254",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2254.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2254"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2255 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2255/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2255/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2255/events | https://github.com/pandas-dev/pandas/issues/2255 | 8,386,578 | MDU6SXNzdWU4Mzg2NTc4 | 2,255 | dtype=object not obeyed and integer converted to float | {
"avatar_url": "https://avatars.githubusercontent.com/u/849427?v=4",
"events_url": "https://api.github.com/users/ruidc/events{/privacy}",
"followers_url": "https://api.github.com/users/ruidc/followers",
"following_url": "https://api.github.com/users/ruidc/following{/other_user}",
"gists_url": "https://api.github.com/users/ruidc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ruidc",
"id": 849427,
"login": "ruidc",
"node_id": "MDQ6VXNlcjg0OTQyNw==",
"organizations_url": "https://api.github.com/users/ruidc/orgs",
"received_events_url": "https://api.github.com/users/ruidc/received_events",
"repos_url": "https://api.github.com/users/ruidc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ruidc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ruidc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ruidc"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-15T13:23:22Z" | "2012-11-24T00:32:19Z" | "2012-11-24T00:32:19Z" | CONTRIBUTOR | null | reading http://pandas.pydata.org/pandas-docs/dev/gotchas.html it implies that using dtype=object should preserve the integer, passing the data via a numpy array preserves the type as I would like:
```
In [1]: import pandas
In [2]: pandas.__version__
Out[2]: '0.9.1'
In [3]: data = [(6260L, 20302010L), (6262L, None)]
In [4]: df = pandas.DataFrame(data, dtype=object)
In [5]: df
Out[5]:
0 1
0 6260 2.030201e+07
1 6262 NaN
In [6]: df.dtypes
Out[6]:
0 object
1 object
In [7]: type(df.values[0][1])
Out[7]: float
In [8]: df = pandas.DataFrame(data)
In [9]: df.dtypes
Out[9]:
0 int64
1 float64
In [10]: type(df.values[0][1])
Out[10]: numpy.float64
In [11]: df = pandas.DataFrame(pandas.np.array(data, dtype=object))
In [12]: df.dtypes
Out[12]:
0 object
1 object
In [13]: type(df.values[0][1])
Out[13]: long
```
The place where this seems to start breaking is in the call to maybe_convert_objects from _convert_object_array, in pandas.core.frame.py L 5221 (for 0.9.1)
```
In [3]: type(pandas.lib.maybe_convert_objects(pandas.np.array([20302010, None], dtype=object), try_float=False)[0])
Out[3]: numpy.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/2255/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2255/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2256 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2256/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2256/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2256/events | https://github.com/pandas-dev/pandas/pull/2256 | 8,388,237 | MDExOlB1bGxSZXF1ZXN0MzAxMzMzNQ== | 2,256 | Fixes - Block.repr unicode and docstring tweak | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-15T14:31:05Z" | "2014-06-27T13:41:00Z" | "2012-11-18T22:00:33Z" | 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/2256/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2256/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2256.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2256",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2256.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2256"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2257 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2257/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2257/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2257/events | https://github.com/pandas-dev/pandas/issues/2257 | 8,388,541 | MDU6SXNzdWU4Mzg4NTQx | 2,257 | Regression issue with concat of panels in 0.9.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": "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": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-11-15T14:40:30Z" | "2012-11-19T05:14:07Z" | "2012-11-19T05:14:07Z" | CONTRIBUTOR | null | concat of panels with the same items and minor_axis (but different major_axis) on axis=2 worked in 0.8.1, but fails in 0.9.1
```
In [1]: import numpy as np
In [2]: import pandas
In [3]: pandas.__version__
Out[3]: '0.9.1'
In [4]: def make_panel():
...: index = 5
...: cols = 3
...: return pandas.Panel(dict([ ("Item%s" % x,pandas.DataFrame(np.random.randn(index,cols),index = [ "I%s" % i for i in range(index) ], columns = [ "C%s" % i for i in range(cols) ])) for x in ['A','B','C'] ]))
...:
In [5]: panel1 = make_panel()
In [6]: panel1
Out[6]:
<class 'pandas.core.panel.Panel'>
Dimensions: 3 (items) x 5 (major) x 3 (minor)
Items: ItemA to ItemC
Major axis: I0 to I4
Minor axis: C0 to C2
In [7]: panel2 = make_panel()
In [8]: panel2 = panel2.rename_axis(dict([ (x,"%s_1" % x) for x in panel2.major_axis ]), axis=1)
In [9]: panel2
Out[9]:
<class 'pandas.core.panel.Panel'>
Dimensions: 3 (items) x 5 (major) x 3 (minor)
Items: ItemA to ItemC
Major axis: I0_1 to I4_1
Minor axis: C0 to C2
In [10]: panel3 = make_panel()
In [11]: panel3 = panel2.rename_axis(dict([ (x,"%s_1" % x) for x in panel2.major_axis ]), axis=1).rename_axis(dict([ (x,"%s_1" % x) for x in panel2.minor_axis ]), axis=2)
In [12]: panel3
Out[12]:
<class 'pandas.core.panel.Panel'>
Dimensions: 3 (items) x 5 (major) x 3 (minor)
Items: ItemA to ItemC
Major axis: I0_1_1 to I4_1_1
Minor axis: C0_1 to C2_1
```
this works in 0.8.1 & 0.9.1
```
In [14]: pandas.concat([ panel1, panel2 ], axis = 1, verify_integrity = True)
Out[14]:
<class 'pandas.core.panel.Panel'>
Dimensions: 3 (items) x 10 (major) x 3 (minor)
Items: ItemA to ItemC
Major axis: I0 to I4_1
Minor axis: C0 to C2
```
fails under 0.9.1 (worked in 0.8.1)
```
In [16]: pandas.concat([ panel1, panel3 ], axis = 1, verify_integrity = True)
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-16-72a0267c3f61> in <module>()
----> 1 pandas.concat([ panel1, panel3 ], axis = 1, verify_integrity = True)
/usr/local/lib/python2.7/site-packages/pandas-0.9.1-py2.7-linux-x86_64.egg/pandas/tools/merge.pyc in concat(objs, axis, join, join_axes, ignore_index, keys, levels, names, verify_integrity)
877 keys=keys, levels=levels, names=names,
878 verify_integrity=verify_integrity)
--> 879 return op.get_result()
880
881
/usr/local/lib/python2.7/site-packages/pandas-0.9.1-py2.7-linux-x86_64.egg/pandas/tools/merge.pyc in get_result(self)
959 else:
960 new_data = self._get_concatenated_data()
--> 961 return self.objs[0]._from_axes(new_data, self.new_axes)
962
963 def _get_fresh_axis(self):
/usr/local/lib/python2.7/site-packages/pandas-0.9.1-py2.7-linux-x86_64.egg/pandas/core/panel.pyc in _from_axes(cls, data, axes)
241 items, major, minor = axes
242 return cls(data, items=items, major_axis=major,
--> 243 minor_axis=minor, copy=False)
244
245 def _init_dict(self, data, axes, dtype=None):
/usr/local/lib/python2.7/site-packages/pandas-0.9.1-py2.7-linux-x86_64.egg/pandas/core/panel.pyc in __init__(self, data, items, major_axis, minor_axis, copy, dtype)
221 mgr = data
222 elif isinstance(data, dict):
--> 223 mgr = self._init_dict(data, passed_axes, dtype=dtype)
224 copy = False
225 dtype = None
/usr/local/lib/python2.7/site-packages/pandas-0.9.1-py2.7-linux-x86_64.egg/pandas/core/panel.pyc in _init_dict(self, data, axes, dtype)
280 arrays.append(values)
281
--> 282 return self._init_arrays(arrays, items, axes)
283
284 def _init_arrays(self, arrays, arr_names, axes):
/usr/local/lib/python2.7/site-packages/pandas-0.9.1-py2.7-linux-x86_64.egg/pandas/core/panel.pyc in _init_arrays(self, arrays, arr_names, axes)
285 # segregates dtypes and forms blocks matching to columns
286 blocks = form_blocks(arrays, arr_names, axes)
--> 287 mgr = BlockManager(blocks, axes).consolidate()
288 return mgr
289
/usr/local/lib/python2.7/site-packages/pandas-0.9.1-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in __init__(self, blocks, axes, do_integrity_check)
484
485 if do_integrity_check:
--> 486 self._verify_integrity()
487
488 @classmethod
/usr/local/lib/python2.7/site-packages/pandas-0.9.1-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in _verify_integrity(self)
566 for block in self.blocks:
567 assert(block.ref_items is self.items)
--> 568 assert(block.values.shape[1:] == mgr_shape[1:])
569 tot_items = sum(len(x.items) for x in self.blocks)
570 assert(len(self.items) == tot_items)
AssertionError:
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2257/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2257/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2258 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2258/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2258/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2258/events | https://github.com/pandas-dev/pandas/issues/2258 | 8,394,468 | MDU6SXNzdWU4Mzk0NDY4 | 2,258 | Memory leak when subsetting and using timeit.Timer | {
"avatar_url": "https://avatars.githubusercontent.com/u/168236?v=4",
"events_url": "https://api.github.com/users/abielr/events{/privacy}",
"followers_url": "https://api.github.com/users/abielr/followers",
"following_url": "https://api.github.com/users/abielr/following{/other_user}",
"gists_url": "https://api.github.com/users/abielr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/abielr",
"id": 168236,
"login": "abielr",
"node_id": "MDQ6VXNlcjE2ODIzNg==",
"organizations_url": "https://api.github.com/users/abielr/orgs",
"received_events_url": "https://api.github.com/users/abielr/received_events",
"repos_url": "https://api.github.com/users/abielr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/abielr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/abielr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/abielr"
} | [] | closed | false | null | [] | null | 2 | "2012-11-15T17:40:34Z" | "2012-11-15T18:01:05Z" | "2012-11-15T18:01:05Z" | NONE | null | When subsetting a Series object inside of a function that is being run with Python's timeit.Timer module, memory usage grows without bound. Tested with pandas 0.9.1 on Python 2.7.3 32-bit on Windows.
```
from timeit import Timer
def test():
for i in range(1000000):
s = pd.Series(np.random.randn(150))
s[0:100]
t = Timer(lambda: test())
t.timeit(1)
```
If I remove the line s[0:100] the problem disappears.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2258/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2258/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2259 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2259/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2259/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2259/events | https://github.com/pandas-dev/pandas/issues/2259 | 8,395,131 | MDU6SXNzdWU4Mzk1MTMx | 2,259 | icol([0]) fails with non-unique, integer columns | {
"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": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-15T18:02:29Z" | "2012-12-14T02:41:34Z" | "2012-12-14T02:41:34Z" | NONE | null | ``` python
In [14]: df=pd.DataFrame([[1,2,3],[4,5,6]],columns=[1,1,2])
In [15]: df.icol([0])
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-15-bb76389fbd62> in <module>()
----> 1 df.icol([0])
/home/user1/src/pandas/pandas/core/frame.pyc in icol(self, i)
1877 return self[name]
1878 raise AttributeError("'%s' object has no attribute '%s'" %
-> 1879 (type(self).__name__, name))
1880
1881 def __setattr__(self, name, value):
/home/user1/src/pandas/pandas/core/frame.pyc in reindex(self, index, columns, method, level, fill_value, limit, copy)
2503 necessary. Setting to False will improve the performance of this
2504 method
-> 2505
2506 Examples
2507 --------
/home/user1/src/pandas/pandas/core/frame.pyc in _reindex_columns(self, new_columns, copy, level, fill_value, limit)
2590 levels are named. If None then the index name is repeated.
2591
-> 2592 Returns
2593 -------
2594 resetted : DataFrame
/home/user1/src/pandas/pandas/core/index.pyc in reindex(self, target, method, level, limit)
870 if self._join_precedence < other._join_precedence:
871 how = {'right': 'left', 'left': 'right'}.get(how, how)
--> 872 result = other.join(self, how=how, level=level,
873 return_indexers=return_indexers)
874 if return_indexers:
/home/user1/src/pandas/pandas/core/index.pyc in get_indexer(self, target, method, limit)
789 is_contained : ndarray (boolean dtype)
790 """
--> 791 value_set = set(values)
792 return lib.ismember(self._array_values(), value_set)
793
Exception: Reindexing only valid with uniquely valued Index objects
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2259/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2259/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2260 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2260/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2260/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2260/events | https://github.com/pandas-dev/pandas/issues/2260 | 8,396,373 | MDU6SXNzdWU4Mzk2Mzcz | 2,260 | Series append function drops timezone information | {
"avatar_url": "https://avatars.githubusercontent.com/u/1027400?v=4",
"events_url": "https://api.github.com/users/dirkdevriendt/events{/privacy}",
"followers_url": "https://api.github.com/users/dirkdevriendt/followers",
"following_url": "https://api.github.com/users/dirkdevriendt/following{/other_user}",
"gists_url": "https://api.github.com/users/dirkdevriendt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dirkdevriendt",
"id": 1027400,
"login": "dirkdevriendt",
"node_id": "MDQ6VXNlcjEwMjc0MDA=",
"organizations_url": "https://api.github.com/users/dirkdevriendt/orgs",
"received_events_url": "https://api.github.com/users/dirkdevriendt/received_events",
"repos_url": "https://api.github.com/users/dirkdevriendt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dirkdevriendt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dirkdevriendt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dirkdevriendt"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-15T18:34:08Z" | "2012-12-10T15:33:03Z" | "2012-12-10T15:33:03Z" | NONE | null | Except when one of the two series is empty; in that case a tz-aware Series is returned
Code to reproduce:
import numpy as np
import pandas as pd
rng1 = pd.date_range('1/1/2011 01:00', periods=1, freq='H')
rng2 = pd.date_range('1/1/2011 02:00', periods=1, freq='H')
ts1 = pd.Series(np.random.randn(len(rng1)), index=rng1).tz_localize('UTC')
ts2 = pd.Series(np.random.randn(len(rng2)), index=rng2).tz_localize('UTC')
ts_result = ts1.append(ts2)
Result in IPython:
In [1]: import numpy as np
In [2]: import pandas as pd
In [3]: rng1 = pd.date_range('1/1/2011 01:00', periods=1, freq='H')
In [4]: rng2 = pd.date_range('1/1/2011 02:00', periods=1, freq='H')
In [5]: ts1 = pd.Series(np.random.randn(len(rng1)), index=rng1).tz_localize('UTC')
In [6]: ts1
Out[6]:
2011-01-01 01:00:00+00:00 1.870471
Freq: H
In [7]: ts2 = pd.Series(np.random.randn(len(rng2)), index=rng2).tz_localize('UTC')
In [8]: ts2
Out[8]:
2011-01-01 02:00:00+00:00 1.266536
Freq: H
In [9]: ts_result = ts1.append(ts2)
In [10]: ts_result
Out[10]:
2011-01-01 01:00:00 1.870471
2011-01-01 02:00:00 1.266536
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2260/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2260/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2261 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2261/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2261/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2261/events | https://github.com/pandas-dev/pandas/pull/2261 | 8,398,048 | MDExOlB1bGxSZXF1ZXN0MzAxNzg1Ng== | 2,261 | pytables selection enhancements (to close GH #1966) | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | null | 1 | "2012-11-15T19:09:12Z" | "2014-06-19T00:02:49Z" | "2012-11-15T20:35:39Z" | CONTRIBUTOR | null | in pandas/io/pytables.py
1. added **str** (to do **repr**)
2. row removal in tables is much faster if rows are consecutive
3. added Term class, refactored Selection (this is backdwards compatible)
Term is a concise way of specifying conditions for queries, e.g.
```
Term(dict(field = 'index', op = '>', value = '20121114'))
Term('index', '20121114')
Term('index', '>', '20121114')
Term('index', ['20121114','20121114'])
Term('index', datetime(2012,11,14))
Term('index>20121114')
```
updated tests for same
this should close GH #1996
also potentially a starting point to do things like this:
df['df>0']...e.g allowing simple string expressions in criteria (Term is indpendent; I could move to a separete module.... - just a thought)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2261/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2261/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2261.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2261",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2261.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2261"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2262 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2262/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2262/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2262/events | https://github.com/pandas-dev/pandas/issues/2262 | 8,398,112 | MDU6SXNzdWU4Mzk4MTEy | 2,262 | DataFrame.reset_index() loses timezone | {
"avatar_url": "https://avatars.githubusercontent.com/u/2807270?v=4",
"events_url": "https://api.github.com/users/jim22k/events{/privacy}",
"followers_url": "https://api.github.com/users/jim22k/followers",
"following_url": "https://api.github.com/users/jim22k/following{/other_user}",
"gists_url": "https://api.github.com/users/jim22k/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jim22k",
"id": 2807270,
"login": "jim22k",
"node_id": "MDQ6VXNlcjI4MDcyNzA=",
"organizations_url": "https://api.github.com/users/jim22k/orgs",
"received_events_url": "https://api.github.com/users/jim22k/received_events",
"repos_url": "https://api.github.com/users/jim22k/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jim22k/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jim22k/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jim22k"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-15T19:11:09Z" | "2012-12-10T15:38:43Z" | "2012-12-10T15:38:43Z" | NONE | null | When timezone-aware datetime.datetime objects are used as the index of a DataFrame via set_index(), undoing the operation with reset_index() loses the timezone.
After the round-trip, the datetime.datetime column becomes a datetime64[ns] column, which can be considered a feature, not a bug. The times are correctly converted to UTC (which is good if you're going to lose the timezone), but the loss of timezone information seems like a bug.
This has been tested against version 0.9.1 on Python 2.7 (Windows 32-bit)
## Code to recreate
```
import datetime, dateutil, pandas as pd
tzoffset = dateutil.tz.tzoffset(None, -5*60*60)
ts = datetime.datetime(2012,11,15,10,38,4,tzinfo=tzoffset)
print ts # this has a timezone
df = pd.DataFrame([[ts, 15]], columns=['ts', 'val'])
dfi = df.set_index('ts')
print dfi.index # this has a timezone
df2 = dfi.reset_index() # <-- This is where the timezone gets lost
print df2['ts'][0] # this doesn't have a timezone
print df2['ts'][0].to_datetime() # neither does 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/2262/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2262/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2263 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2263/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2263/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2263/events | https://github.com/pandas-dev/pandas/issues/2263 | 8,398,382 | MDU6SXNzdWU4Mzk4Mzgy | 2,263 | read_csv dateparser empty date's are assigned today's date | {
"avatar_url": "https://avatars.githubusercontent.com/u/379552?v=4",
"events_url": "https://api.github.com/users/jassinm/events{/privacy}",
"followers_url": "https://api.github.com/users/jassinm/followers",
"following_url": "https://api.github.com/users/jassinm/following{/other_user}",
"gists_url": "https://api.github.com/users/jassinm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jassinm",
"id": 379552,
"login": "jassinm",
"node_id": "MDQ6VXNlcjM3OTU1Mg==",
"organizations_url": "https://api.github.com/users/jassinm/orgs",
"received_events_url": "https://api.github.com/users/jassinm/received_events",
"repos_url": "https://api.github.com/users/jassinm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jassinm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jassinm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jassinm"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-11-15T19:20:13Z" | "2012-11-28T00:43:03Z" | "2012-11-28T00:43:03Z" | NONE | null | Hi,
``` python
import StringIO
s = StringIO.StringIO("Date, test\n2012-01-01, 1\n,2")
pd.read_csv(s, parse_dates=["Date"])
Date test
0 2012-01-01 00:00:00 1
1 2012-11-15 00:00:00 2
```
second row should be None.
is this the default behaviour?
this is a quick fix for me
``` python
from dateutil.parser import parse as dateparser
def parse_date(d):
if d.strip():
return dateparser(d)
pd.read_csv(s, parse_dates=["Date"], date_parser=parse_date)
using pandas 0.9.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/2263/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2263/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2264 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2264/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2264/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2264/events | https://github.com/pandas-dev/pandas/pull/2264 | 8,400,210 | MDExOlB1bGxSZXF1ZXN0MzAxODkzNA== | 2,264 | Pytables selection enhancement & docs update for HDF5 tables | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [] | closed | false | null | [] | null | 5 | "2012-11-15T20:16:53Z" | "2014-06-12T20:20:07Z" | "2012-11-24T18:09:04Z" | CONTRIBUTOR | null | 1. added **str** (to do **repr**)
2. row removal in tables is much faster if rows are consecutive
3. added Term class, refactored Selection (this is backwards compatible)
Term is a concise way of specifying conditions for queries, e.g.
```
Term(dict(field = 'index', op = '>', value = '20121114'))
Term('index', '20121114')
Term('index', '>', '20121114')
Term('index', ['20121114','20121114'])
Term('index', datetime(2012,11,14))
Term('index>20121114')
```
updated tests for same
this should close GH #1996
4. added docs for HDF5 table in io.html
5. append on a table that didn't exist was failing (because of testing of the index_kind attribute first - which may not exist)
fixed & added test
6. added create_table_index method to create indicies on tables (which, btw now works quite well as Int64 indicies are used as opposed to the Time64Col which has a bug); includes a check on the pytables version requirement
this should close GH #698
7. added min_itemsize as a paremeter to append; allows bigger default indexer columns upon table creation (even if you don't append something that big - but might later, avoid the truncation issue)
8. incorporated 0.9.1 whatsnew docs for where & mask into Indexing Section of main 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/2264/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2264/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2264.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2264",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2264.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2264"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2265 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2265/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2265/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2265/events | https://github.com/pandas-dev/pandas/pull/2265 | 8,402,259 | MDExOlB1bGxSZXF1ZXN0MzAxOTk1NA== | 2,265 | BUG: loses nano precision when converting Timestamp objects #2252 | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | {
"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"
} | [
{
"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"
}
] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-15T21:19:02Z" | "2014-06-22T14:35:35Z" | "2012-11-23T21:11:39Z" | CONTRIBUTOR | null | quick and dirty: add nanoseconds after conversion to datetimestruct #2252
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2265/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2265/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2265.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2265",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2265.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2265"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2266 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2266/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2266/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2266/events | https://github.com/pandas-dev/pandas/issues/2266 | 8,402,394 | MDU6SXNzdWU4NDAyMzk0 | 2,266 | diff() behavior causes memory problems | {
"avatar_url": "https://avatars.githubusercontent.com/u/2464561?v=4",
"events_url": "https://api.github.com/users/etyurin/events{/privacy}",
"followers_url": "https://api.github.com/users/etyurin/followers",
"following_url": "https://api.github.com/users/etyurin/following{/other_user}",
"gists_url": "https://api.github.com/users/etyurin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/etyurin",
"id": 2464561,
"login": "etyurin",
"node_id": "MDQ6VXNlcjI0NjQ1NjE=",
"organizations_url": "https://api.github.com/users/etyurin/orgs",
"received_events_url": "https://api.github.com/users/etyurin/received_events",
"repos_url": "https://api.github.com/users/etyurin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/etyurin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/etyurin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/etyurin"
} | [
{
"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": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 3 | "2012-11-15T21:23:40Z" | "2016-10-12T23:03:20Z" | "2012-11-17T02:57:28Z" | NONE | null | diff(n) with a negative n used to be a recipe for obtaining a forward-looking diff. Now it causes memory problems.
The change was introduced in commit 06f74e5d06c4766ec59564374640c4758a72409d and "improved" in commit 0d6fb1b381ef3882ceb766fecb0e28a5d5c2bd2bw . The first commit produces unexpected results silently. The second commit causes an outright coredump with
**\* glibc detected **\* /usr/bin/python: double free or corruption (out): 0x000000000591db00 ***
This is a simple script to trigger this bug:
import pandas
import numpy as np
x = np.sin(np.arange(24))
x = x.reshape((4,6))
df = pandas.DataFrame(x,columns=['a','b','c','d','e','f'])
print df
df2 = -df.diff(-1)
print df2
The results used to be mathematically correct:
```
a b c d e f
```
0 0.000000 0.841471 0.909297 0.141120 -0.756802 -0.958924
1 -0.279415 0.656987 0.989358 0.412118 -0.544021 -0.999990
2 -0.536573 0.420167 0.990607 0.650288 -0.287903 -0.961397
3 -0.750987 0.149877 0.912945 0.836656 -0.008851 -0.846220
a b c d e f
0 -0.279415 -0.184484 0.080061 0.270998 0.212781 -0.041066
1 -0.257157 -0.236820 0.001249 0.238169 0.256118 0.038593
2 -0.214414 -0.270290 -0.077662 0.186368 0.279052 0.115177
3 NaN NaN NaN NaN NaN NaN
Now they are not even consistent column-by-column:
```
a b c d e f
```
0 0.000000 0.841471 0.909297 0.141120 -0.756802 -0.958924
1 -0.279415 0.656987 0.989358 0.412118 -0.544021 -0.999990
2 -0.536573 0.420167 0.990607 0.650288 -0.287903 -0.961397
3 -0.750987 0.149877 0.912945 0.836656 -0.008851 -0.846220
a b c d e f
0 NaN NaN NaN NaN NaN NaN
1 NaN NaN NaN NaN NaN NaN
2 NaN NaN NaN NaN NaN NaN
3 0.750987 0.691594 -0.003648 -0.695536 -0.747951 -0.112704
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2266/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2266/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2267 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2267/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2267/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2267/events | https://github.com/pandas-dev/pandas/issues/2267 | 8,413,152 | MDU6SXNzdWU4NDEzMTUy | 2,267 | Allow TimeSeries to be initialized using a data vector of type Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/54181?v=4",
"events_url": "https://api.github.com/users/Sharpie/events{/privacy}",
"followers_url": "https://api.github.com/users/Sharpie/followers",
"following_url": "https://api.github.com/users/Sharpie/following{/other_user}",
"gists_url": "https://api.github.com/users/Sharpie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Sharpie",
"id": 54181,
"login": "Sharpie",
"node_id": "MDQ6VXNlcjU0MTgx",
"organizations_url": "https://api.github.com/users/Sharpie/orgs",
"received_events_url": "https://api.github.com/users/Sharpie/received_events",
"repos_url": "https://api.github.com/users/Sharpie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Sharpie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sharpie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Sharpie"
} | [] | closed | false | null | [] | null | 5 | "2012-11-16T08:01:24Z" | "2012-11-16T16:06:53Z" | "2012-11-16T14:37:14Z" | NONE | null | Suppose one has the following data:
``` python
from pandas import Series, TimeSeries, date_range
foo = date_range('2012-1-1', '2012-1-4')
bar = Series(range(0,4))
```
Currently (as of pandas 0.9.1), initializing a `TimeSeries` object using `data` of type `Series` produces unexpected results---all data values are converted to `NaN`.
```
TimeSeries(data = bar, index = foo)
2012-01-01 NaN
2012-01-02 NaN
2012-01-03 NaN
2012-01-04 NaN
Freq: D
```
However, casting the `Series` object to a list produces intuitive results:
```
TimeSeries(data = bar.tolist(), index = foo)
2012-01-01 0
2012-01-02 1
2012-01-03 2
2012-01-04 3
Freq: D
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2267/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2267/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2268 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2268/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2268/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2268/events | https://github.com/pandas-dev/pandas/issues/2268 | 8,425,347 | MDU6SXNzdWU4NDI1MzQ3 | 2,268 | Duplicate row indices (bootstrapped dataframes) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2072476?v=4",
"events_url": "https://api.github.com/users/hcorrada/events{/privacy}",
"followers_url": "https://api.github.com/users/hcorrada/followers",
"following_url": "https://api.github.com/users/hcorrada/following{/other_user}",
"gists_url": "https://api.github.com/users/hcorrada/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hcorrada",
"id": 2072476,
"login": "hcorrada",
"node_id": "MDQ6VXNlcjIwNzI0NzY=",
"organizations_url": "https://api.github.com/users/hcorrada/orgs",
"received_events_url": "https://api.github.com/users/hcorrada/received_events",
"repos_url": "https://api.github.com/users/hcorrada/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hcorrada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hcorrada/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hcorrada"
} | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
} | 5 | "2012-11-16T17:00:04Z" | "2016-12-29T11:24:30Z" | "2016-12-29T11:24:30Z" | NONE | null | I'm running into issues using bootstrap samples of the rows of a DataFrame. Example:
<pre>
import pandas
import numpy
numpy.random.seed(1)
df=pandas.DataFrame({'a':numpy.random.randn(20),'b':numpy.random.randn(20)})
nrows=df.shape[0]
# make a bootstrap sample of the rows (nrows indices with replacement)
boot_indxs=numpy.random.random_integers(0,nrows-1,nrows)
# make a dataframe with sampled rows
df2=df.irow(boot_indxs)
print df2
# this complains but that's ok since row 5 of df wasn't sampled
print df2.ix[:5,:]
# this complains, but perhaps it shouldn't since I'm just asking for the first nine
# rows of the data frame
print df2.irow(range(10))
# this works however which is great
print df2.irow(slice(10))
# the problem is then accessing rows without slices
# use case: taking a random subset of the rows of the bootstrapped dataframe
# to fit a predictive model and test it on the remaining rows
print df2.irow(numpy.random.permutation(range(nrows))[:15])
</pre>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2268/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2268/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2269 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2269/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2269/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2269/events | https://github.com/pandas-dev/pandas/issues/2269 | 8,425,419 | MDU6SXNzdWU4NDI1NDE5 | 2,269 | In read_csv, header=0 and passed names should discard first row | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-16T17:02:12Z" | "2012-11-27T02:38:42Z" | "2012-11-27T02:38:42Z" | MEMBER | null | Currently does not
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2269/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2269/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2270 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2270/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2270/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2270/events | https://github.com/pandas-dev/pandas/issues/2270 | 8,425,490 | MDU6SXNzdWU4NDI1NDkw | 2,270 | usecols conflicts with leading columns handling in read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-11-16T17:04:34Z" | "2012-11-18T18:53:34Z" | "2012-11-18T18:53:34Z" | MEMBER | null | E.g. 3-column file, `usecols=[1, 2]`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2270/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2270/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2271 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2271/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2271/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2271/events | https://github.com/pandas-dev/pandas/pull/2271 | 8,425,975 | MDExOlB1bGxSZXF1ZXN0MzAzMTc1Mw== | 2,271 | ENH: pprint_thing escapes tabs. close #2038 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-16T17:20:54Z" | "2012-11-17T03:53:16Z" | "2012-11-17T03:53:16Z" | NONE | null | another win for DRY.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2271/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2271/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2271.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2271",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2271.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2271"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2272 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2272/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2272/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2272/events | https://github.com/pandas-dev/pandas/issues/2272 | 8,428,085 | MDU6SXNzdWU4NDI4MDg1 | 2,272 | datetime64 ns representation error in Series repr | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-11-16T18:41:09Z" | "2012-11-18T22:04:18Z" | "2012-11-18T22:04:18Z" | MEMBER | null | Will post example
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2272/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2272/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2273 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2273/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2273/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2273/events | https://github.com/pandas-dev/pandas/issues/2273 | 8,429,456 | MDU6SXNzdWU4NDI5NDU2 | 2,273 | Significant performance degradation in 0.9.1 for SparseDataFrame methods like to_dense() and save() and for arithmetic operations | {
"avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4",
"events_url": "https://api.github.com/users/bluefir/events{/privacy}",
"followers_url": "https://api.github.com/users/bluefir/followers",
"following_url": "https://api.github.com/users/bluefir/following{/other_user}",
"gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bluefir",
"id": 1903683,
"login": "bluefir",
"node_id": "MDQ6VXNlcjE5MDM2ODM=",
"organizations_url": "https://api.github.com/users/bluefir/orgs",
"received_events_url": "https://api.github.com/users/bluefir/received_events",
"repos_url": "https://api.github.com/users/bluefir/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bluefir/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bluefir"
} | [
{
"color": "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": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2012-11-16T19:32:08Z" | "2012-11-17T02:53:26Z" | "2012-11-17T02:53:26Z" | NONE | null | This is what I have in version 0.9.0:
```
import pandas as pd
pd.__version__
```
> '0.9.0'
```
barra_industry_exposures
```
> <class 'pandas.core.frame.DataFrame'>
> MultiIndex: 253738 entries, (20061229, '00036110') to (20120928, 'Y8564W10')
> Data columns:
> MINING_METALS 253738 non-null values
> GOLD 253738 non-null values
> FORESTRY_PAPER 253738 non-null values
> CHEMICAL 253738 non-null values
> ENERGY_RESERVES 253738 non-null values
> OIL_REFINING 253738 non-null values
> OIL_SERVICES 253738 non-null values
> FOOD_BEVERAGES 253738 non-null values
> ALCOHOL 253738 non-null values
> TOBACCO 253738 non-null values
> HOME_PRODUCTS 253738 non-null values
> GROCERY_STORES 253738 non-null values
> CONSUMER_DURABLES 253738 non-null values
> MOTOR_VEHICLES 253738 non-null values
> APPAREL_TEXTILES 253738 non-null values
> CLOTHING_STORES 253738 non-null values
> SPECIALTY_RETAIL 253738 non-null values
> DEPARTMENT_STORES 253738 non-null values
> CONSTRUCTION 253738 non-null values
> PUBLISHING 253738 non-null values
> MEDIA 253738 non-null values
> HOTELS 253738 non-null values
> RESTAURANTS 253738 non-null values
> ENTERTAINMENT 253738 non-null values
> LEISURE 253738 non-null values
> ENVIRONMENTAL_SERVICES 253738 non-null values
> HEAVY_ELECTRICAL_EQUIPMENT 253738 non-null values
> HEAVY_MACHINERY 253738 non-null values
> INDUSTRIAL_PARTS 253738 non-null values
> ELECTRICAL_UTILITY 253738 non-null values
> GAS_WATER_UTILITY 253738 non-null values
> RAILROADS 253738 non-null values
> AIRLINES 253738 non-null values
> FREIGHT 253738 non-null values
> MEDICAL_SERVICES 253738 non-null values
> MEDICAL_PRODUCTS 253738 non-null values
> DRUGS 253738 non-null values
> ELECTRONIC_EQUIPMENT 253738 non-null values
> SEMICONDUCTORS 253738 non-null values
> COMPUTER_HARDWARE 253738 non-null values
> COMPUTER_SOFTWARE 253738 non-null values
> DEFENCE_AEROSPACE 253738 non-null values
> TELEPHONE 253738 non-null values
> WIRELESS 253738 non-null values
> INFORMATION_SERVICES 253738 non-null values
> INDUSTRIAL_SERVICES 253738 non-null values
> LIFE_HEALTH_INSURANCE 253738 non-null values
> PROPERTY_CASUALTY_INSURANCE 253738 non-null values
> BANKS 253738 non-null values
> THRIFTS 253738 non-null values
> ASSET_MANAGEMENT 253738 non-null values
> FINANCIAL_SERVICES 253738 non-null values
> INTERNET 253738 non-null values
> REITS 253738 non-null values
> BIOTECH 253738 non-null values
> dtypes: int64(55)
```
sparse = barra_industry_exposures.to_sparse(fill_value=0)
sparse
```
> <class 'pandas.sparse.frame.SparseDataFrame'>
> MultiIndex: 253738 entries, (20061229, '00036110') to (20120928, 'Y8564W10')
> Columns: 55 entries, AIRLINES to WIRELESS
> dtypes: float64(55)
```
%timeit sparse / 100.
```
> 100 loops, best of 3: 6.64 ms per loop
```
%timeit sparse.to_dense()
```
> 10 loops, best of 3: 127 ms per loop
```
%timeit sparse.save('test.pkl')
```
> 1 loops, best of 3: 16.9 ms per loop
Now this is what I get in 0.9.1:
```
import pandas as pd
pd.__version__
```
> '0.9.1'
```
%timeit sparse / 100.
```
> 1 loops, best of 3: 92.2 s per loop
```
%timeit sparse.to_dense()
```
> 1 loops, best of 3: 99.8 s per loop
```
%timeit sparse.save('test.pkl')
```
> 1 loops, best of 3: 100 s per loop
So, in the new version SparseDataFrame methods that used to run in less than 7-130 ms now run in more than 90 s. Ouch! What happened?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2273/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2273/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2274 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2274/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2274/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2274/events | https://github.com/pandas-dev/pandas/pull/2274 | 8,431,533 | MDExOlB1bGxSZXF1ZXN0MzAzNDY5Mw== | 2,274 | Added support for specifying colors in parallel_plot() | {
"avatar_url": "https://avatars.githubusercontent.com/u/125001?v=4",
"events_url": "https://api.github.com/users/khughitt/events{/privacy}",
"followers_url": "https://api.github.com/users/khughitt/followers",
"following_url": "https://api.github.com/users/khughitt/following{/other_user}",
"gists_url": "https://api.github.com/users/khughitt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/khughitt",
"id": 125001,
"login": "khughitt",
"node_id": "MDQ6VXNlcjEyNTAwMQ==",
"organizations_url": "https://api.github.com/users/khughitt/orgs",
"received_events_url": "https://api.github.com/users/khughitt/received_events",
"repos_url": "https://api.github.com/users/khughitt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/khughitt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khughitt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/khughitt"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 6 | "2012-11-16T20:52:32Z" | "2012-11-19T00:27:59Z" | "2012-11-19T00:11:39Z" | CONTRIBUTOR | null | Sometimes the random colors chosen in parallel_plot are very unfortunate, so I thought it would be nice to provide an option to pass a list of colors in.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2274/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2274/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2274.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2274",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2274.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2274"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2275 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2275/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2275/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2275/events | https://github.com/pandas-dev/pandas/issues/2275 | 8,433,239 | MDU6SXNzdWU4NDMzMjM5 | 2,275 | qtconsole + _repr_html_ bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/2817086?v=4",
"events_url": "https://api.github.com/users/csakhil/events{/privacy}",
"followers_url": "https://api.github.com/users/csakhil/followers",
"following_url": "https://api.github.com/users/csakhil/following{/other_user}",
"gists_url": "https://api.github.com/users/csakhil/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/csakhil",
"id": 2817086,
"login": "csakhil",
"node_id": "MDQ6VXNlcjI4MTcwODY=",
"organizations_url": "https://api.github.com/users/csakhil/orgs",
"received_events_url": "https://api.github.com/users/csakhil/received_events",
"repos_url": "https://api.github.com/users/csakhil/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/csakhil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/csakhil/subscriptions",
"type": "User",
"url": "https://api.github.com/users/csakhil"
} | [
{
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 12 | "2012-11-16T21:57:13Z" | "2013-04-19T14:51:49Z" | "2012-11-30T23:30:45Z" | NONE | null | Printing a `pandas.DataFrame` in IPython's qtconsole tries to use `_repr_html_`. This method returns `None` if the terminal window that started the IPython session is too small.
I'm not sure this behaviour is right. When you're in the qtconsole, `_repr_html_` should check the size of the qtconsole window and not the the size of the terminal that started the session.
Here are some steps to reproduce the issue:
1. Create a very small terminal window and run `ipython qtconsole`.
2. Create a `pandas.DataFrame` called `df`.
3. Run `df.head()` in IPython. You should notice that the HTML representation of the table is not used.
4. Maximize the small terminal window from step 1.
5. Run `df.head()` in IPython. The HTML representation is now used.
I would guess the easiest way to fix this would be to add a qtconsole "os" in `get_terminal_size` in `util/terminal.py` and use Qt hooks to figure out the dimensions of the qtconsole.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2275/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2275/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2276 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2276/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2276/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2276/events | https://github.com/pandas-dev/pandas/pull/2276 | 8,433,282 | MDExOlB1bGxSZXF1ZXN0MzAzNTYwOA== | 2,276 | ENH: add encoding/decoding error handling | {
"avatar_url": "https://avatars.githubusercontent.com/u/272442?v=4",
"events_url": "https://api.github.com/users/chmullig/events{/privacy}",
"followers_url": "https://api.github.com/users/chmullig/followers",
"following_url": "https://api.github.com/users/chmullig/following{/other_user}",
"gists_url": "https://api.github.com/users/chmullig/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chmullig",
"id": 272442,
"login": "chmullig",
"node_id": "MDQ6VXNlcjI3MjQ0Mg==",
"organizations_url": "https://api.github.com/users/chmullig/orgs",
"received_events_url": "https://api.github.com/users/chmullig/received_events",
"repos_url": "https://api.github.com/users/chmullig/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chmullig/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chmullig/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chmullig"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-16T21:58:47Z" | "2014-06-12T13:19:13Z" | "2012-11-17T03:50:06Z" | CONTRIBUTOR | null | When encoding/decoding strings with errors allow you to pass error handling strings. This works the same as error handling for other encode/decode functions. Defaults to 'strict', but you can pass 'ignore', 'replace'.
Extends work done in #1706.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2276/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2276/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2276.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2276",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2276.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2276"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2277 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2277/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2277/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2277/events | https://github.com/pandas-dev/pandas/issues/2277 | 8,437,124 | MDU6SXNzdWU4NDM3MTI0 | 2,277 | Series.reset_index not working with "inplace=True" | {
"avatar_url": "https://avatars.githubusercontent.com/u/1214337?v=4",
"events_url": "https://api.github.com/users/dvic/events{/privacy}",
"followers_url": "https://api.github.com/users/dvic/followers",
"following_url": "https://api.github.com/users/dvic/following{/other_user}",
"gists_url": "https://api.github.com/users/dvic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dvic",
"id": 1214337,
"login": "dvic",
"node_id": "MDQ6VXNlcjEyMTQzMzc=",
"organizations_url": "https://api.github.com/users/dvic/orgs",
"received_events_url": "https://api.github.com/users/dvic/received_events",
"repos_url": "https://api.github.com/users/dvic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dvic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dvic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dvic"
} | [
{
"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": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2012-11-17T01:31:18Z" | "2012-11-23T05:53:42Z" | "2012-11-23T05:53:31Z" | NONE | null | When I call reset_index on a Series object with arguments inplace=True, it does not work. See the code example below. Am I missing something here? (I am using "0.9.0", checked with pandas.**version**)
``` python
ts_a = pandas.Series([1]*3+[2]*3+[3]*4, range(10))
ts_b = pandas.Series([2]*3+[3]*3+[1]*4, range(10))
ts_c = pandas.Series(numpy.random.randn(10), range(10))
df = pandas.DataFrame({"A": ts_a, "B": ts_b, "C":ts_c})
df = df.set_index(['A', 'B'])['C'] # I select column C here to have a Series object
# print df
# A B
#1 2 1.032
# 2 0.139
# 2 -0.708
#2 3 -1.268
# 3 0.138
# 3 0.497
#3 1 0.973
# 1 -0.634
# 1 -0.112
# 1 -0.997
# now let's reset index 'B': inplace does not work?
df.reset_index('B', inplace=True)
# print df
# A B
#1 2 1.032
# 2 0.139
# 2 -0.708
#2 3 -1.268
# 3 0.138
# 3 0.497
#3 1 0.973
# 1 -0.634
# 1 -0.112
# 1 -0.997
# when copied, it does work
df = df.reset_index('B')
# print df
# Name: C
# B C
# A
#1 2 1.032
#1 2 0.139
#1 2 -0.708
#2 3 -1.268
#2 3 0.138
#2 3 0.497
#3 1 0.973
#3 1 -0.634
#3 1 -0.112
#3 1 -0.997
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2277/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2277/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2278 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2278/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2278/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2278/events | https://github.com/pandas-dev/pandas/issues/2278 | 8,437,651 | MDU6SXNzdWU4NDM3NjUx | 2,278 | Unstack is not careful about potential memory use problems | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/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"
} | [
{
"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"
}
] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-17T02:32:14Z" | "2012-11-22T20:34:04Z" | "2012-11-22T20:34:04Z" | MEMBER | null | Cartesian product problem; unstacks relative to hypothetical possibilities instead of observed combinations. I'm claiming this unless someone else wants to look inside the reshape code
```
import pandas as pd
import numpy as np
# Generate Long File & Test Pivot
NUM_ROWS = 1000000
df = pd.DataFrame({'A' : np.random.randint(100, size=NUM_ROWS),
'B' : np.random.randint(300, size=NUM_ROWS),
'C' : np.random.randint(-7, 7, size=NUM_ROWS),
'D' : np.random.randint(-19,19, size=NUM_ROWS),
'E' : np.random.randint(3000, size=NUM_ROWS),
'F' : np.random.randn(NUM_ROWS)})
df_pivoted = df.pivot_table(rows=['A', 'B', 'C'], cols='E', values='F')
df_pivoted
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2278/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2278/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2279 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2279/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2279/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2279/events | https://github.com/pandas-dev/pandas/pull/2279 | 8,446,482 | MDExOlB1bGxSZXF1ZXN0MzA0MTAzMA== | 2,279 | Easy vbench testing of HEAD against a known-good baseline | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 7 | "2012-11-18T00:52:59Z" | "2012-11-25T04:52:55Z" | "2012-11-23T16:33:53Z" | NONE | null | I hope to avoid more performance regressions in the future, in my own PR's
if no one else's...
Her'es some example output:
```
groupby_apply_dict_return 33.20 33.26 1.00
frame_reindex_axis1 2.32 2.32 1.00
frame_fillna_inplace 18.34 18.31 1.00
frame_ctor_nested_dict_int64 106.89 106.40 1.00
index_int64_union 94.21 93.68 1.01
write_csv_standard 309.77 307.62 1.01
groupby_multi_different_functions 16.72 16.60 1.01
frame_ctor_nested_dict 75.67 74.62 1.01
groupby_multi_python 54.00 53.18 1.02
frame_to_csv 356.20 347.55 1.02
groupby_multi_cython 21.21 20.63 1.03
groupby_indices 9.22 8.95 1.03
frame_ctor_list_of_dict 95.60 91.88 1.04
series_ctor_from_dict 2.84 2.65 1.07
sort_level_zero 6.46 6.00 1.08
groupby_simple_compress_timing 70.36 62.56 1.12
Columns: test_name | head_time [ms] | baseline_time [ms] | ratio
- a Ratio of 1.30 means HEAD is 30% slower then the Baseline.
Head [951d13b] : ENH: Add test_perf.sh, make vbench dead easy.
Baseline [bdbca8e] : BUG: fix borked data-copying iteritems performance affecting DataFrame and SparseDataFrame. close #2273
*** Results were also written to the logfile at '/home/user1/src/pandas/vb_suite.log'
```
benchmarks for which HEAD takes less then 1ms are dropped.
## Remaining issues
1) vb_suite/join_merge.py contains two tests named 'join_dataframe_index_single_key_bigger'
, easy enough to fix, but that might break existing dbs, i'm not sure, so I left it alone.
2) Runner seems to choke on refs which are not an ancestor of the current HEAD
this looks like a shortcoming in vbench.GitRepo.
example trace:
``` python
Traceback (most recent call last):
File "test_perf.py", line 134, in <module>
main()
File "test_perf.py", line 94, in main
runner._run_and_write_results(h_baseline)
File "/usr/local/lib/python2.7/dist-packages/vbench/runner.py", line 87, in _run_and_write_results
n_active_benchmarks, results = self._run_revision(rev)
File "/usr/local/lib/python2.7/dist-packages/vbench/runner.py", line 119, in _run_revision
need_to_run = self._get_benchmarks_for_rev(rev)
File "/usr/local/lib/python2.7/dist-packages/vbench/runner.py", line 173, in _get_benchmarks_for_rev
timestamp = self.repo.timestamps[rev]
File "/home/user1/src/pandas/pandas/core/series.py", line 470, in __getitem__
return self.index.get_value(self, key)
File "/home/user1/src/pandas/pandas/core/index.py", line 692, in get_value
raise e1
KeyError: 'bdbca8e'
```
3) redirecting stdout/stderr does no work, maybe because os.system is used
under the covers. It frustrated my efforts funnel the crud into a log file,
and keep the output readable.
4) it would be nice if vbench.db.BenchmarkDB.get_ref_result() returned a fully
labeled DataFrame, rather then just a partial dict (test names are not included)
Something like:
``` python
def get_rev_full_results(self, revision):
tab = self._results
bench = self._benchmarks
stmt = sql.select([tab.c.timestamp, tab.c.revision, tab.c.ncalls,
tab.c.timing, tab.c.traceback, tab.c.description,
tab.c.checksum,bench.c.name],
sql.and_(tab.c.revision == revision,tab.c.checksum == bench.c.checksum))
results = self.conn.execute(stmt)
df = _sqa_to_frame(results).set_index('name')
return df.sort_index()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2279/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2279/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2279.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2279",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2279.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2279"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2280 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2280/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2280/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2280/events | https://github.com/pandas-dev/pandas/issues/2280 | 8,452,058 | MDU6SXNzdWU4NDUyMDU4 | 2,280 | test_transform_broadcast failure on ubuntu 13.04 | {
"avatar_url": "https://avatars.githubusercontent.com/u/542663?v=4",
"events_url": "https://api.github.com/users/juliantaylor/events{/privacy}",
"followers_url": "https://api.github.com/users/juliantaylor/followers",
"following_url": "https://api.github.com/users/juliantaylor/following{/other_user}",
"gists_url": "https://api.github.com/users/juliantaylor/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/juliantaylor",
"id": 542663,
"login": "juliantaylor",
"node_id": "MDQ6VXNlcjU0MjY2Mw==",
"organizations_url": "https://api.github.com/users/juliantaylor/orgs",
"received_events_url": "https://api.github.com/users/juliantaylor/received_events",
"repos_url": "https://api.github.com/users/juliantaylor/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/juliantaylor/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/juliantaylor/subscriptions",
"type": "User",
"url": "https://api.github.com/users/juliantaylor"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2012-11-18T17:35:32Z" | "2012-11-19T20:30:49Z" | "2012-11-19T01:41:28Z" | NONE | null | on ubuntu 13.04 test_transform_broadcast fails due to rounding issues.
I'm not sure if this is a bug in the test or if some underlying component may have changed to cause rounding errors when there were non before.
a possible reason might be numpy 1.7 because the test works fine in ubuntu 12.10 with numpy 1.6
see also https://launchpadlibrarian.net/122195559/buildlog_ubuntu-raring-i386.pandas_0.8.1-1_FAILEDTOBUILD.txt.gz
it affects git HEAD too.
```
test_transform_broadcast (__main__.TestGroupBy) ... > /usr/lib/python2.7/unittest/case.py(425)assertTrue()
-> raise self.failureException(msg)
(Pdb) bt
/usr/lib/python2.7/unittest/case.py(332)run()
-> testMethod()
/tmp/pandas/pandas/tests/test_groupby.py(404)test_transform_broadcast()
-> self.assert_((res[col] == agged[col]).all())
> /usr/lib/python2.7/unittest/case.py(425)assertTrue()
-> raise self.failureException(msg)
(Pdb) up
> /tmp/pandas/pandas/tests/test_groupby.py(404)test_transform_broadcast()
-> self.assert_((res[col] == agged[col]).all())
(Pdb) p res[col][0]
0.14593691347699592
(Pdb) p agged[col]
0.14593691347699594
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2280/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2280/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2281 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2281/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2281/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2281/events | https://github.com/pandas-dev/pandas/issues/2281 | 8,452,787 | MDU6SXNzdWU4NDUyNzg3 | 2,281 | Assigning PeriodIndex to DataFrame columns should box period objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-18T19:02:11Z" | "2012-11-23T05:43:27Z" | "2012-11-23T05:43:27Z" | MEMBER | null | http://stackoverflow.com/questions/13432213/pandas-time-period-data-type-prints-as-numbers
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2281/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2281/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2282 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2282/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2282/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2282/events | https://github.com/pandas-dev/pandas/issues/2282 | 8,453,121 | MDU6SXNzdWU4NDUzMTIx | 2,282 | Ideas about random sampling | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"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": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 1 | "2012-11-18T19:37:15Z" | "2013-09-21T13:49:37Z" | "2013-09-21T13:49:37Z" | MEMBER | null | http://stackoverflow.com/questions/13395725/efficient-way-of-doing-permutations-with-pandas-over-a-large-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/2282/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2282/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2283 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2283/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2283/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2283/events | https://github.com/pandas-dev/pandas/pull/2283 | 8,453,911 | MDExOlB1bGxSZXF1ZXN0MzA0MzMxMQ== | 2,283 | ENH: google analytics integration using oauth2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-18T20:59:41Z" | "2014-06-14T13:14:30Z" | "2012-12-01T15:25:45Z" | CONTRIBUTOR | null | skips tests if no network or authentication config file is missing
@wesm, mainly just want a quick review of the testing suite to make sure it skips the test in the right situations.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2283/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2283/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2283.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2283",
"merged_at": "2012-12-01T15:25:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2283.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2283"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2284 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2284/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2284/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2284/events | https://github.com/pandas-dev/pandas/pull/2284 | 8,454,855 | MDExOlB1bGxSZXF1ZXN0MzA0MzYwNQ== | 2,284 | API: fillna method argument should be None by default and raise on both ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 3 | "2012-11-18T22:28:48Z" | "2014-06-12T07:17:06Z" | "2012-11-30T23:46:12Z" | CONTRIBUTOR | null | ...value and method #2027
@wesm what do you think of the API change? If you're ok with it I'll propagate to DataFrame and Panel.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2284/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2284/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2284.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2284",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2284.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2284"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2285 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2285/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2285/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2285/events | https://github.com/pandas-dev/pandas/issues/2285 | 8,456,671 | MDU6SXNzdWU4NDU2Njcx | 2,285 | Replace with regular expression | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 45 | "2012-11-19T00:00:17Z" | "2013-05-29T18:03:46Z" | "2013-05-17T19:26:09Z" | CONTRIBUTOR | null | xref: http://stackoverflow.com/questions/13445241/replacing-blank-values-white-space-with-nan-in-pandas
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2285/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2285/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2286 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2286/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2286/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2286/events | https://github.com/pandas-dev/pandas/issues/2286 | 8,457,040 | MDU6SXNzdWU4NDU3MDQw | 2,286 | Additional parameterization for groupby.agg | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": 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"
} | 3 | "2012-11-19T00:43:13Z" | "2017-05-04T13:37:41Z" | "2017-05-04T13:37:41Z" | CONTRIBUTOR | null | more explicit control over whether the agg func is applied per column or over each group 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/2286/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2286/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2287 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2287/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2287/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2287/events | https://github.com/pandas-dev/pandas/pull/2287 | 8,458,517 | MDExOlB1bGxSZXF1ZXN0MzA0NDU5MA== | 2,287 | Support for customizing parallel_plot() x axis tickmarks | {
"avatar_url": "https://avatars.githubusercontent.com/u/125001?v=4",
"events_url": "https://api.github.com/users/khughitt/events{/privacy}",
"followers_url": "https://api.github.com/users/khughitt/followers",
"following_url": "https://api.github.com/users/khughitt/following{/other_user}",
"gists_url": "https://api.github.com/users/khughitt/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/khughitt",
"id": 125001,
"login": "khughitt",
"node_id": "MDQ6VXNlcjEyNTAwMQ==",
"organizations_url": "https://api.github.com/users/khughitt/orgs",
"received_events_url": "https://api.github.com/users/khughitt/received_events",
"repos_url": "https://api.github.com/users/khughitt/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/khughitt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khughitt/subscriptions",
"type": "User",
"url": "https://api.github.com/users/khughitt"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-19T03:26:26Z" | "2012-12-11T20:34:24Z" | "2012-12-11T20:34:24Z" | CONTRIBUTOR | null | If the columns are already numeric, then you can simply use "use_columns=True" to have x-axis scaled according to those values. Otherwise the "xticks" parameter can be used to manually specify xticks to use.
Feedback or suggestions are welcome!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2287/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2287/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2287.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2287",
"merged_at": "2012-12-11T20:34:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2287.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2287"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2288 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2288/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2288/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2288/events | https://github.com/pandas-dev/pandas/issues/2288 | 8,459,442 | MDU6SXNzdWU4NDU5NDQy | 2,288 | Replace all usages of assert keyword/function with AssertionErrors | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-19T04:56:16Z" | "2012-11-20T19:36:07Z" | "2012-11-20T19:36:07Z" | MEMBER | null | This is probably long overdue. Brought up by #2057. If you help with this please make the new error message informative!
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2288/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2288/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2289 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2289/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2289/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2289/events | https://github.com/pandas-dev/pandas/issues/2289 | 8,470,044 | MDU6SXNzdWU4NDcwMDQ0 | 2,289 | Add "day of month" (e.g., 15th of month) frequencies, easier extension? | {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | 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"
} | 5 | "2012-11-19T14:15:50Z" | "2019-10-21T19:34:15Z" | null | MEMBER | null | http://stackoverflow.com/questions/13445174/date-ranges-in-pandas
| {
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2289/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2289/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2290 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2290/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2290/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2290/events | https://github.com/pandas-dev/pandas/issues/2290 | 8,474,627 | MDU6SXNzdWU4NDc0NjI3 | 2,290 | Dependency on weird statsmodels import causes large slowdown | {
"avatar_url": "https://avatars.githubusercontent.com/u/744988?v=4",
"events_url": "https://api.github.com/users/spearsem/events{/privacy}",
"followers_url": "https://api.github.com/users/spearsem/followers",
"following_url": "https://api.github.com/users/spearsem/following{/other_user}",
"gists_url": "https://api.github.com/users/spearsem/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/spearsem",
"id": 744988,
"login": "spearsem",
"node_id": "MDQ6VXNlcjc0NDk4OA==",
"organizations_url": "https://api.github.com/users/spearsem/orgs",
"received_events_url": "https://api.github.com/users/spearsem/received_events",
"repos_url": "https://api.github.com/users/spearsem/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/spearsem/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/spearsem/subscriptions",
"type": "User",
"url": "https://api.github.com/users/spearsem"
} | [] | closed | false | null | [] | null | 6 | "2012-11-19T16:36:48Z" | "2014-05-19T15:52:34Z" | "2012-12-12T12:48:32Z" | NONE | null | I filed a bug on this over with scikits.statsmodels, but in the meantime I thought Pandas folks might want to know, so here's the bug report below:
Within statsmodels/tools/data.py, there's a piece of code in the function "_is_using_larry" that tries an import of the la module and walks the Python path looking for the module.
When it's not installed, this substantially slows down several programs. Probably, this module should just be included with statsmodels, or a global variable within data.py should be used to prevent multiple expensive searches for importing the file.
In my use case, I am working with Python Pandas and doing several large rolling OLS calculations distributed on many processors. The compounded effect of all of these searches to import la is pretty drastic. When I just added my own la.py file to a regular directory in my path, and all the file contained was: "larry = type(None)", this sped up my code by a factor of 50. This shouldn't be needed though, for overcoming a simple module import.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2290/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2290/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2291 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2291/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2291/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2291/events | https://github.com/pandas-dev/pandas/pull/2291 | 8,479,713 | MDExOlB1bGxSZXF1ZXN0MzA1NDQyNg== | 2,291 | BUG: dtype=object should stop conversion from object in frame constructo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-19T19:22:53Z" | "2014-06-25T01:09:13Z" | "2012-11-24T00:31:38Z" | CONTRIBUTOR | null | ...r #2255
don't call maybe_convert_objects in _convert_object_array if dtype is object.
Note that it also stops other type conversions too.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2291/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2291/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2291.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2291",
"merged_at": "2012-11-24T00:31:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/2291.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2291"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2292 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2292/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2292/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2292/events | https://github.com/pandas-dev/pandas/issues/2292 | 8,481,713 | MDU6SXNzdWU4NDgxNzEz | 2,292 | sum over objects | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 5 | "2012-11-19T20:25:46Z" | "2012-11-27T02:37:27Z" | "2012-11-27T02:37:27Z" | CONTRIBUTOR | null | Was surprised by this. I don't recall seeing this behavior before. I guess there are some object types that you do want to try to add together? Still seems like this could lead to problems
```
[~/statsmodels/statsmodels-skipper/statsmodels/sandbox/examples/]
[20]: import statsmodels.api as sm
[~/statsmodels/statsmodels-skipper/statsmodels/sandbox/examples/]
[21]: aml = sm.datasets.get_rdataset("leukemia", "survival")
[~/statsmodels/statsmodels-skipper/statsmodels/sandbox/examples/]
\[22\]: aml.data.head(2)
[22]:
time status x
0 9 1 Maintained
1 13 1 Maintained
[~/statsmodels/statsmodels-skipper/statsmodels/sandbox/examples/]
\[23\]: aml.data.sum()
[23]:
time 678
status 18
x MaintainedMaintainedMaintainedMaintainedMainta...
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2292/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2292/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2293 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2293/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2293/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2293/events | https://github.com/pandas-dev/pandas/pull/2293 | 8,482,316 | MDExOlB1bGxSZXF1ZXN0MzA1NTczNw== | 2,293 | BUG: remove asserts from core #2288 | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-19T20:46:08Z" | "2014-06-12T16:07:43Z" | "2012-11-20T19:36:00Z" | 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/2293/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2293/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2293.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2293",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2293.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2293"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/2294 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2294/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2294/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2294/events | https://github.com/pandas-dev/pandas/issues/2294 | 8,483,279 | MDU6SXNzdWU4NDgzMjc5 | 2,294 | pandas export_to_excel (time stamp in tuple) | {
"avatar_url": "https://avatars.githubusercontent.com/u/379552?v=4",
"events_url": "https://api.github.com/users/jassinm/events{/privacy}",
"followers_url": "https://api.github.com/users/jassinm/followers",
"following_url": "https://api.github.com/users/jassinm/following{/other_user}",
"gists_url": "https://api.github.com/users/jassinm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jassinm",
"id": 379552,
"login": "jassinm",
"node_id": "MDQ6VXNlcjM3OTU1Mg==",
"organizations_url": "https://api.github.com/users/jassinm/orgs",
"received_events_url": "https://api.github.com/users/jassinm/received_events",
"repos_url": "https://api.github.com/users/jassinm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jassinm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jassinm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jassinm"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-19T21:18:58Z" | "2012-12-02T01:06:34Z" | "2012-12-02T01:06:34Z" | NONE | null | ``` python
import pandas as pd
import StringIO
s = StringIO.StringIO(
"""Date,ticker,type,value
2001-01-01,x,close,12.2
2001-01-01,x,open ,12.1
2001-01-01,y,close,12.2
2001-01-01,y,open ,12.1
2001-02-01,x,close,12.2
2001-02-01,x,open ,12.1
2001-02-01,y,close,12.2
2001-02-01,y,open ,12.1
2001-03-01,x,close,12.2
2001-03-01,x,open ,12.1
2001-03-01,y,close,12.2
2001-03-01,y,open ,12.1""")
df = pd.read_csv(s, parse_dates=["Date"])
pdf = df.pivot_table(values="value", rows=["ticker"], cols=["Date", "type"])
pdf.to_excel('test.xlsx')
```
xlsx erros in
```
Traceback (most recent call last):
File "ipython_log.py", line 19, in <module>
pdf.to_excel('test.xlsx')
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/pandas-0.9.2.dev_c103897-py2.7-macosx-10.8-x86_64.egg/pandas/core/frame.py", line 1343, in to_excel
index_label=index_label)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/pandas-0.9.2.dev_c103897-py2.7-macosx-10.8-x86_64.egg/pandas/core/frame.py", line 1198, in _helper_csvexcel
writer.writerow(encoded_labels + encoded_cols)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/pandas-0.9.2.dev_c103897-py2.7-macosx-10.8-x86_64.egg/pandas/io/parsers.py", line 1932, in writerow
self._writerow_xlsx(row, sheet_name)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/pandas-0.9.2.dev_c103897-py2.7-macosx-10.8-x86_64.egg/pandas/io/parsers.py", line 1977, in _writerow_xlsx
sheet.append(conv_row)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/openpyxl/writer/dump_worksheet.py", line 238, in append
cell = self._string_builder.add(cell)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/openpyxl/writer/strings.py", line 82, in add
key = key.strip()
AttributeError: 'tuple' object has no attribute 'strip'
```
xls errors in
```
pdf.to_excel('test.xls')
```
```
Traceback (most recent call last):
File "ipython_log.py", line 19, in <module>
pdf.to_excel('test.xls')
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/pandas-0.9.2.dev_c103897-py2.7-macosx-10.8-x86_64.egg/pandas/core/frame.py", line 1343, in to_excel
index_label=index_label)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/pandas-0.9.2.dev_c103897-py2.7-macosx-10.8-x86_64.egg/pandas/core/frame.py", line 1198, in _helper_csvexcel
writer.writerow(encoded_labels + encoded_cols)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/pandas-0.9.2.dev_c103897-py2.7-macosx-10.8-x86_64.egg/pandas/io/parsers.py", line 1934, in writerow
self._writerow_xls(row, sheet_name)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/pandas-0.9.2.dev_c103897-py2.7-macosx-10.8-x86_64.egg/pandas/io/parsers.py", line 1956, in _writerow_xls
sheetrow.write(i, val)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/xlwt/Row.py", line 257, in write
self.__rich_text_helper(col, label, style, style_index)
File "/Volumes/Locodrive/Dev/.virtualenvs/pandasdev/lib/python2.7/site-packages/xlwt/Row.py", line 283, in __rich_text_helper
raise Exception ("Unexpected data type %r" % type(data))
Exception: Unexpected data type <class 'pandas.lib.Timestamp'>
```
a Fix seams relatively easy . just test for tuple or MultiIndex and fix the output (similar to csv parser)
I was thinking of adding an ExcelFormatter similar to the HTMLFormatter which would merge cells , bold header....
I am currently using the to_html and then importing in excel but would like to have the ability to dump multiple dataframe in different tabs.
did anyone else start a branch? otherwise i would give it a go
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/2294/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2294/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2295 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2295/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2295/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2295/events | https://github.com/pandas-dev/pandas/issues/2295 | 8,485,825 | MDU6SXNzdWU4NDg1ODI1 | 2,295 | Error setting multiple columns via hierarchical indexing in DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/1903683?v=4",
"events_url": "https://api.github.com/users/bluefir/events{/privacy}",
"followers_url": "https://api.github.com/users/bluefir/followers",
"following_url": "https://api.github.com/users/bluefir/following{/other_user}",
"gists_url": "https://api.github.com/users/bluefir/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bluefir",
"id": 1903683,
"login": "bluefir",
"node_id": "MDQ6VXNlcjE5MDM2ODM=",
"organizations_url": "https://api.github.com/users/bluefir/orgs",
"received_events_url": "https://api.github.com/users/bluefir/received_events",
"repos_url": "https://api.github.com/users/bluefir/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bluefir/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bluefir/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bluefir"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 4 | "2012-11-19T22:41:40Z" | "2012-11-24T00:14:41Z" | "2012-11-24T00:14:41Z" | NONE | null | I encountered the following:
```
for i in xrange(len(reg_results)):
name = names[i]
reg_result = reg_results[i]
betas[name] = reg_result._beta_raw
```
> ---
>
> AssertionError Traceback (most recent call last)
> <ipython-input-26-86f8dc5d0623> in <module>()
> 5 print(betas[name].shape)
> 6 print(reg_result._beta_raw.shape)
> ----> 7 betas[name] = reg_result._beta_raw
>
> C:\Python27\lib\site-packages\pandas\core\frame.pyc in **setitem**(self, key, value)
> 1802 else:
> 1803 # set column
> -> 1804 self._set_item(key, value)
> 1805
> 1806 def _boolean_set(self, key, value):
>
> C:\Python27\lib\site-packages\pandas\core\frame.pyc in _set_item(self, key, value)
> 1842 """
> 1843 value = self._sanitize_column(key, value)
> -> 1844 NDFrame._set_item(self, key, value)
> 1845
> 1846 def insert(self, loc, column, value):
>
> C:\Python27\lib\site-packages\pandas\core\generic.pyc in _set_item(self, key, value)
> 491 if len(key) != self.columns.nlevels:
> 492 key += ('',)*(self.columns.nlevels - len(key))
> --> 493 self._data.set(key, value)
> 494
> 495 try:
>
> C:\Python27\lib\site-packages\pandas\core\internals.pyc in set(self, item, value)
> 882 if value.ndim == self.ndim - 1:
> 883 value = value.reshape((1,) + value.shape)
> --> 884 assert(value.shape[1:] == self.shape[1:])
> 885 if item in self.items:
> 886 i, block = self._find_block(item)
>
> AssertionError:
Data shapes seem to be equal:
```
print(betas[name].shape)
print(reg_result._beta_raw.shape)
betas[name].shape == reg_result._beta_raw.shape
```
> (1257, 3)
> (1257L, 3L)
> True
The walkaround that works is the following:
```
for i in xrange(len(reg_results)):
name = names[i]
reg_result = reg_results[i]
for i in xrange(len(data_columns)):
column = data_columns[i]
betas[name, column] = reg_result._beta_raw[:, i]
```
Is this the way to go or did I encounter 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/2295/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2295/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2296 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2296/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2296/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2296/events | https://github.com/pandas-dev/pandas/issues/2296 | 8,486,974 | MDU6SXNzdWU4NDg2OTc0 | 2,296 | bug in csv_reader? | {
"avatar_url": "https://avatars.githubusercontent.com/u/2835718?v=4",
"events_url": "https://api.github.com/users/cossatot/events{/privacy}",
"followers_url": "https://api.github.com/users/cossatot/followers",
"following_url": "https://api.github.com/users/cossatot/following{/other_user}",
"gists_url": "https://api.github.com/users/cossatot/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cossatot",
"id": 2835718,
"login": "cossatot",
"node_id": "MDQ6VXNlcjI4MzU3MTg=",
"organizations_url": "https://api.github.com/users/cossatot/orgs",
"received_events_url": "https://api.github.com/users/cossatot/received_events",
"repos_url": "https://api.github.com/users/cossatot/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cossatot/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cossatot/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cossatot"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 2 | "2012-11-19T23:17:27Z" | "2012-11-20T04:54:46Z" | "2012-11-20T04:53:42Z" | NONE | null | Some previously-functioning code of mine broke this morning after upgrading to the newest Ubuntu package of Pandas v. 0.9.2. It seems to be a bug in the upgraded read_csv parser. Beyond that, the error message (below) is fairly unhelpful to the uninitiated. Maybe this is a bug, or maybe the new version uses different syntax (although some of the .csv files are able to be imported...).
I am sending a copy of the offending file to Wes, as I've got no quick place to put it.
Thanks,
Richard
aHe_df = pd.readcsv('aHe_aliquots.csv')
---
CParserError Traceback (most recent call last)
/home/itchy/ecopetrol/ec-working/data/<ipython-input-29-9ec771184960> in <module>()
----> 1 aHe_df =pd.read_csv('aHe_aliquots.csv')
/usr/lib/pymodules/python2.7/pandas/io/parsers.pyc in parser_f(filepath_or_buffer, sep, dialect, compression, doublequote, escapechar, quotechar, quoting, skipinitialspace, header, index_col, names, skiprows, skipfooter, skip_footer, na_values, delimiter, converters, dtype, usecols, engine, delim_whitespace, as_recarray, na_filter, compact_ints, use_unsigned, low_memory, buffer_lines, warn_bad_lines, error_bad_lines, keep_default_na, thousands, comment, parse_dates, keep_date_col, dayfirst, date_parser, memory_map, nrows, iterator, chunksize, verbose, encoding, squeeze)
361 buffer_lines=buffer_lines)
362
--> 363 return _read(filepath_or_buffer, kwds)
364
365 parser_f.__name__ = name
/usr/lib/pymodules/python2.7/pandas/io/parsers.pyc in _read(filepath_or_buffer, kwds)
185
186 # Create the parser.
--> 187 parser = TextFileReader(filepath_or_buffer, **kwds)
188
189 if nrows is not None:
/usr/lib/pymodules/python2.7/pandas/io/parsers.pyc in **init**(self, f, engine, **kwds)
465 self.options, self.engine = self._clean_options(options, engine)
466
--> 467 self._make_engine(self.engine)
468
469 def _get_options_with_defaults(self, engine):
/usr/lib/pymodules/python2.7/pandas/io/parsers.pyc in _make_engine(self, engine)
567 def _make_engine(self, engine='c'):
568 if engine == 'c':
--> 569 self._engine = CParserWrapper(self.f, **self.options)
570 else:
571 if engine == 'python':
/usr/lib/pymodules/python2.7/pandas/io/parsers.pyc in **init**(self, src, *_kwds)
787 ParserBase.**init**(self, kwds)
788
--> 789 self._reader = _parser.TextReader(src, *_kwds)
790
791 # XXX
/usr/lib/pymodules/python2.7/pandas/_parser.so in pandas._parser.TextReader.__cinit__ (pandas/src/parser.c:3357)()
/usr/lib/pymodules/python2.7/pandas/_parser.so in pandas._parser.TextReader._get_header (pandas/src/parser.c:4283)()
/usr/lib/pymodules/python2.7/pandas/_parser.so in pandas._parser.TextReader._tokenize_rows (pandas/src/parser.c:5731)()
/usr/lib/pymodules/python2.7/pandas/_parser.so in pandas._parser.raise_parser_error (pandas/src/parser.c:13774)()
CParserError: Error tokenizing data. C error: no error message set
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2296/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2296/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2297 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2297/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2297/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2297/events | https://github.com/pandas-dev/pandas/pull/2297 | 8,487,061 | MDExOlB1bGxSZXF1ZXN0MzA1ODAyNA== | 2,297 | ENH: DataFrame.from_records takes iterator #1794 | {
"avatar_url": "https://avatars.githubusercontent.com/u/759245?v=4",
"events_url": "https://api.github.com/users/changhiskhan/events{/privacy}",
"followers_url": "https://api.github.com/users/changhiskhan/followers",
"following_url": "https://api.github.com/users/changhiskhan/following{/other_user}",
"gists_url": "https://api.github.com/users/changhiskhan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/changhiskhan",
"id": 759245,
"login": "changhiskhan",
"node_id": "MDQ6VXNlcjc1OTI0NQ==",
"organizations_url": "https://api.github.com/users/changhiskhan/orgs",
"received_events_url": "https://api.github.com/users/changhiskhan/received_events",
"repos_url": "https://api.github.com/users/changhiskhan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/changhiskhan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/changhiskhan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/changhiskhan"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 1 | "2012-11-19T23:20:40Z" | "2012-11-20T19:29:28Z" | "2012-11-20T19:29:28Z" | CONTRIBUTOR | null | @wesm are there other cases you can think of we should add as test case?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2297/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2297/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/2297.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/2297",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/2297.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/2297"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/2298 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2298/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2298/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2298/events | https://github.com/pandas-dev/pandas/issues/2298 | 8,497,822 | MDU6SXNzdWU4NDk3ODIy | 2,298 | read_csv fails for UTF-16 with BOM (maybe also other encodings with BOM) and skiprows | {
"avatar_url": "https://avatars.githubusercontent.com/u/1327168?v=4",
"events_url": "https://api.github.com/users/gerigk/events{/privacy}",
"followers_url": "https://api.github.com/users/gerigk/followers",
"following_url": "https://api.github.com/users/gerigk/following{/other_user}",
"gists_url": "https://api.github.com/users/gerigk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gerigk",
"id": 1327168,
"login": "gerigk",
"node_id": "MDQ6VXNlcjEzMjcxNjg=",
"organizations_url": "https://api.github.com/users/gerigk/orgs",
"received_events_url": "https://api.github.com/users/gerigk/received_events",
"repos_url": "https://api.github.com/users/gerigk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gerigk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gerigk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gerigk"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 10 | "2012-11-20T09:27:11Z" | "2012-12-06T18:37:11Z" | "2012-12-06T18:37:11Z" | NONE | null | Unfortunately I can't send the file but from the output of head filename -n 7
```
��Name Ad performance report
Type Ad
Frequency One time
Date range Custom date range
Dates Sep 19, 2012-Nov 19, 2012
Account Day Campaign Ad group Ad ID Client name Destination URL Impressions Clicks Cost Avg. position Status Conv. (1-per-click)
Categories 2 15.11.2012 something: ;C7:8 [somethinglse]{test}: ;C7:8 16902484818 Categories 2 http://www.someurl?ad=291012 333 2 4.7 5.5 approved 0
```
I guess that the beginning of the file is the BOM and that this causes problems when skipping the rows. Without skiprows everything gets read into one row with the first column containing the BOM.
```
<class 'pandas.core.frame.DataFrame'>
Index: 0 entries
Data columns:
��Name\tAd performance report\t\t\t\t\t\t\t\t\t\t\t
...
```
The error raised is:
```
pd.read_csv('/home/arthur/Desktop/client 139 - ads report/test_pandas.csv', sep='\t', skiprows=5)
/usr/local/lib/python2.7/dist-packages/pandas-0.9.2.dev_b8dae94-py2.7-linux-x86_64.egg/pandas/io/parsers.pyc in parser_f(filepath_or_buffer, sep, dialect, compression, doublequote, escapechar, quotechar, quoting, skipinitialspace, header, index_col, names, skiprows, skipfooter, skip_footer, na_values, delimiter, converters, dtype, usecols, engine, delim_whitespace, as_recarray, na_filter, compact_ints, use_unsigned, low_memory, buffer_lines, warn_bad_lines, error_bad_lines, keep_default_na, thousands, comment, parse_dates, keep_date_col, dayfirst, date_parser, memory_map, nrows, iterator, chunksize, verbose, encoding, squeeze)
361 buffer_lines=buffer_lines)
362
--> 363 return _read(filepath_or_buffer, kwds)
364
365 parser_f.__name__ = name
/usr/local/lib/python2.7/dist-packages/pandas-0.9.2.dev_b8dae94-py2.7-linux-x86_64.egg/pandas/io/parsers.pyc in _read(filepath_or_buffer, kwds)
185
186 # Create the parser.
--> 187 parser = TextFileReader(filepath_or_buffer, **kwds)
188
189 if nrows is not None:
/usr/local/lib/python2.7/dist-packages/pandas-0.9.2.dev_b8dae94-py2.7-linux-x86_64.egg/pandas/io/parsers.pyc in __init__(self, f, engine, **kwds)
465 self.options, self.engine = self._clean_options(options, engine)
466
--> 467 self._make_engine(self.engine)
468
469 def _get_options_with_defaults(self, engine):
/usr/local/lib/python2.7/dist-packages/pandas-0.9.2.dev_b8dae94-py2.7-linux-x86_64.egg/pandas/io/parsers.pyc in _make_engine(self, engine)
567 def _make_engine(self, engine='c'):
568 if engine == 'c':
--> 569 self._engine = CParserWrapper(self.f, **self.options)
570 else:
571 if engine == 'python':
/usr/local/lib/python2.7/dist-packages/pandas-0.9.2.dev_b8dae94-py2.7-linux-x86_64.egg/pandas/io/parsers.pyc in __init__(self, src, **kwds)
787 ParserBase.__init__(self, kwds)
788
--> 789 self._reader = _parser.TextReader(src, **kwds)
790
791 # XXX
/usr/local/lib/python2.7/dist-packages/pandas-0.9.2.dev_b8dae94-py2.7-linux-x86_64.egg/pandas/_parser.so in pandas._parser.TextReader.__cinit__ (pandas/src/parser.c:3579)()
/usr/local/lib/python2.7/dist-packages/pandas-0.9.2.dev_b8dae94-py2.7-linux-x86_64.egg/pandas/_parser.so in pandas._parser.TextReader._get_header (pandas/src/parser.c:4590)()
CParserError: Passed header=0 but only 0 lines in file
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2298/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2298/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2299 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2299/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2299/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2299/events | https://github.com/pandas-dev/pandas/issues/2299 | 8,499,482 | MDU6SXNzdWU4NDk5NDgy | 2,299 | Retrieving large frames with sparse data from hdf5 - 'NoneType' object is not iterable error | {
"avatar_url": "https://avatars.githubusercontent.com/u/2843053?v=4",
"events_url": "https://api.github.com/users/Vankisa/events{/privacy}",
"followers_url": "https://api.github.com/users/Vankisa/followers",
"following_url": "https://api.github.com/users/Vankisa/following{/other_user}",
"gists_url": "https://api.github.com/users/Vankisa/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Vankisa",
"id": 2843053,
"login": "Vankisa",
"node_id": "MDQ6VXNlcjI4NDMwNTM=",
"organizations_url": "https://api.github.com/users/Vankisa/orgs",
"received_events_url": "https://api.github.com/users/Vankisa/received_events",
"repos_url": "https://api.github.com/users/Vankisa/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Vankisa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Vankisa/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Vankisa"
} | [] | closed | false | null | [] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 3 | "2012-11-20T10:30:45Z" | "2014-09-19T12:20:26Z" | "2012-11-26T01:40:39Z" | NONE | null | I have been using pandas within my scripts for some time now, especially to store large data sets in an easily accessible way. I have stumbled upon this problem a couple of days ago and have not been able to solve it so far.
The problem is that after I store a huge data frame into an hdf5 file, when I later load it back, it sometimes has one or more columns (only from the object type columns) completely inaccessible and returning the 'NoneType object is not iterable' error.
While I use the frame in memory there are no problems, even with moderately larger data sets than the example below. It is worth mentioning that the frame contains either multiple datetime columns or multiple VMS timestamps (http://labs.hoffmanlabs.com/node/735), as well as string and char and integer columns. All non-object columns can and do have missing values.
At first I thought I was saving 'NA' values in one of the 'object type' columns. Then I tried to update to latest pandas version (0.9.1). I was using 0.9.0 when this problem first occurred. Neither seem to be the solution.
I have been able to reproduce the error with the following code:
<pre lang="python"><code>
import pandas as pd
import numpy as np
import datetime
# Get VMS timestamps for today
time_now = datetime.datetime.today()
start_vms = datetime.datetime(1858, 11, 17)
t_delta = (time_now - start_vms)
vms_time = t_delta.total_seconds() * 10000000
# Generate Test Frame (dense)
test_records = []
vms_time1 = vms_time
vms_time2 = vms_time
for i in range(2000000):
vms_time1 += 15 * np.random.randn()
vms_time2 += 25 * np.random.randn()
vms_time_diff = vms_time2 - vms_time1
string1 = 'XXXXXXXXXX'
string2 = 'XXXXXXXXXX'
string3 = 'XXXXX'
string4 = 'XXXXX'
char1 = 'A'
char2 = 'B'
char3 = 'C'
char4 = 'D'
number1 = np.random.randint(1,10)
number2 = np.random.randint(1,100)
number3 = np.random.randint(1,1000)
test_records.append((char1, string1, vms_time1, number1, char2, string2, vms_time2, number2, char3, string3, vms_time_diff, number3, char4, string4))
df = pd.DataFrame(test_records, columns = ["column_1", "column_2", "column_3", "column_4", "column_5", "column_6", "column_7", "column_8", "column_9", "column_10", "column_11", "column_12", "column_13", "column_14"])
# Generate Test Frame (sparse)
test_records = []
vms_time1 = vms_time
vms_time2 = vms_time
count = 0
for i in range(2000000):
if (count%23 == 0):
vms_time1 += 15 * np.random.randn()
string1 = 'XXXXXXXXXX'
string2 = ' '
string3 = 'XXXXX'
string4 = 'XXXXX'
char1 = 'A'
char2 = 'B'
char3 = 'C'
char4 = 'D'
number1 = None
number2 = np.random.randint(1,100)
number3 = np.random.randint(1,1000)
test_records.append((char1, string1, vms_time1, number1, char2, None, None, number2, char3, string3, None, number3, None, string4))
else:
vms_time1 += 15 * np.random.randn()
vms_time2 += 25 * np.random.randn()
vms_time_diff = vms_time2 - vms_time1
string1 = 'XXXXXXXXXX'
string2 = 'XXXXXXXXXX'
string3 = 'XXXXX'
string4 = 'XXXXX'
char1 = 'A'
char2 = 'B'
char3 = 'C'
char4 = 'D'
number1 = np.random.randint(1,10)
number2 = np.random.randint(1,100)
number3 = np.random.randint(1,1000)
test_records.append((char1, string1, vms_time1, number1, char2, string2, vms_time2, number2, char3, string3, vms_time_diff, number3, char4, string4))
count += 1
df1 = pd.DataFrame(test_records, columns = ["column_1", "column_2", "column_3", "column_4", "column_5", "column_6", "column_7", "column_8", "column_9", "column_10", "column_11", "column_12", "column_13", "column_14"])
store_loc = "foo.h5"
h5_store = pd.HDFStore(store_loc )
h5_store['df1'] = df
h5_store['df2'] = df1
h5_store.close()
</code></pre>
When I try to load from this store now the 'df1' is behaving normally, but the 'df2' is producing the following error:
<code>
TypeError: 'NoneType' object is not iterable
</code>
Additionally I just tried to reproduce this error on pandas version 0.8.1. It does not seem to be present there. So it is probably connected with the I/O changes introduced in 0.9.0?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2299/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2299/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/2300 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/2300/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/2300/comments | https://api.github.com/repos/pandas-dev/pandas/issues/2300/events | https://github.com/pandas-dev/pandas/issues/2300 | 8,505,571 | MDU6SXNzdWU4NTA1NTcx | 2,300 | BinGrouper AttributeError when returning a Series from DataFrame.apply | {
"avatar_url": "https://avatars.githubusercontent.com/u/610115?v=4",
"events_url": "https://api.github.com/users/dalejung/events{/privacy}",
"followers_url": "https://api.github.com/users/dalejung/followers",
"following_url": "https://api.github.com/users/dalejung/following{/other_user}",
"gists_url": "https://api.github.com/users/dalejung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dalejung",
"id": 610115,
"login": "dalejung",
"node_id": "MDQ6VXNlcjYxMDExNQ==",
"organizations_url": "https://api.github.com/users/dalejung/orgs",
"received_events_url": "https://api.github.com/users/dalejung/received_events",
"repos_url": "https://api.github.com/users/dalejung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dalejung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dalejung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dalejung"
} | [
{
"color": "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 | {
"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"
} | [
{
"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"
}
] | {
"closed_at": "2013-01-18T04:50:20Z",
"closed_issues": 276,
"created_at": "2012-06-27T14:43: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": "",
"due_on": "2012-12-08T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/14",
"id": 137852,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14/labels",
"node_id": "MDk6TWlsZXN0b25lMTM3ODUy",
"number": 14,
"open_issues": 0,
"state": "closed",
"title": "0.10",
"updated_at": "2013-07-29T03:20:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/14"
} | 0 | "2012-11-20T14:09:25Z" | "2012-12-07T20:48:03Z" | "2012-12-07T20:48:03Z" | CONTRIBUTOR | null | http://nbviewer.ipython.org/4118124/
``` python
import pandas as pd
from pandas.tseries.resample import TimeGrouper
N = 1000
ind = pd.date_range(start="2000-01-01", freq="D", periods=N)
df = pd.DataFrame({'open':1, 'close':2}, index=ind)
tg = TimeGrouper('M')
grouper = tg.get_grouper(df)
# Errors
df.groupby(grouper).apply(lambda df: df['close'] / df['open'])
# AttributeError: 'BinGrouper' object has no attribute 'groupings'
```
Error does not occur for regular Grouper.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/2300/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/2300/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.