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/401 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/401/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/401/comments | https://api.github.com/repos/pandas-dev/pandas/issues/401/events | https://github.com/pandas-dev/pandas/issues/401 | 2,319,602 | MDU6SXNzdWUyMzE5NjAy | 401 | Panel property specifying orientation | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.com/users/CRP/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CRP",
"id": 807824,
"login": "CRP",
"node_id": "MDQ6VXNlcjgwNzgyNA==",
"organizations_url": "https://api.github.com/users/CRP/orgs",
"received_events_url": "https://api.github.com/users/CRP/received_events",
"repos_url": "https://api.github.com/users/CRP/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CRP/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CRP"
} | [
{
"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": 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 | "2011-11-22T16:20:05Z" | "2014-05-28T23:12:49Z" | "2014-05-28T23:12:49Z" | CONTRIBUTOR | null | I have on occasion used the from_dict(orientation) method that you created. It would be useful to have a property of the panel object telling me with which orientation the Panel was created, so that I can handle it differently.
Thanks
Christian
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/401/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/401/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/402 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/402/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/402/comments | https://api.github.com/repos/pandas-dev/pandas/issues/402/events | https://github.com/pandas-dev/pandas/issues/402 | 2,319,654 | MDU6SXNzdWUyMzE5NjU0 | 402 | Support things other than column names in DataFrame.set_index | {
"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": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"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-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 0 | "2011-11-22T16:24:19Z" | "2012-05-07T19:43:01Z" | "2012-05-07T19:43:01Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/402/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/402/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/403 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/403/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/403/comments | https://api.github.com/repos/pandas-dev/pandas/issues/403/events | https://github.com/pandas-dev/pandas/issues/403 | 2,320,152 | MDU6SXNzdWUyMzIwMTUy | 403 | Unstack with an object variable overwrites BlockManager | {
"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": "2011-12-02T22:02:04Z",
"closed_issues": 79,
"created_at": "2011-10-26T01:14: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": "2011-11-25T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/7",
"id": 50054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwNTQ=",
"number": 7,
"open_issues": 0,
"state": "closed",
"title": "0.6.0",
"updated_at": "2012-02-11T22:38:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7"
} | 2 | "2011-11-22T17:07:04Z" | "2013-07-29T11:43:14Z" | "2011-11-23T06:12:46Z" | CONTRIBUTOR | null | Consider the (long) code snippet here. Unless you remove ccode from the df beforehand, you end up with all object dtype for df after unstack.
http://www.pastie.org/2904328
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/403/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/403/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/404 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/404/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/404/comments | https://api.github.com/repos/pandas-dev/pandas/issues/404/events | https://github.com/pandas-dev/pandas/issues/404 | 2,320,539 | MDU6SXNzdWUyMzIwNTM5 | 404 | Add ignore option to unstack or something like that | {
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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 | "2011-11-22T17:37:17Z" | "2018-07-06T19:38:13Z" | "2018-07-06T19:38:06Z" | MEMBER | null | per convo with @jseabold
```
Well, it's only the ones that are the same that I want to ignore. I'd
say that's up to the user to do this right. No checking, just take the
first value or something, but that's up to you.
df = df.unstack('agefrom', ignore='ccode')
df = df.unstack('agefrom', keep='ccode')
df = df.unstack('agefrom', constant='ccode')
?
```
primary issue i can think will be what to do w/ hierarchical columns with an ignore argument-- should things get munged automatically? should the key for the ignored column be like `'ccode', ''` or `'ccode', None`?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/404/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/404/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/405 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/405/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/405/comments | https://api.github.com/repos/pandas-dev/pandas/issues/405/events | https://github.com/pandas-dev/pandas/issues/405 | 2,331,232 | MDU6SXNzdWUyMzMxMjMy | 405 | GroupBy does not handle non-string column labels passed | {
"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": "2011-12-02T22:02:04Z",
"closed_issues": 79,
"created_at": "2011-10-26T01:14: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": "2011-11-25T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/7",
"id": 50054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwNTQ=",
"number": 7,
"open_issues": 0,
"state": "closed",
"title": "0.6.0",
"updated_at": "2012-02-11T22:38:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7"
} | 1 | "2011-11-23T16:11:30Z" | "2011-11-23T17:07:42Z" | "2011-11-23T17:07:42Z" | MEMBER | null | cc @dhrod5
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/405/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/405/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/406 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/406/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/406/comments | https://api.github.com/repos/pandas-dev/pandas/issues/406/events | https://github.com/pandas-dev/pandas/issues/406 | 2,332,286 | MDU6SXNzdWUyMzMyMjg2 | 406 | Test / handle other dtypes when passing MaskedArray to DataFrame constructor | {
"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": "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": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"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-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 0 | "2011-11-23T17:26:50Z" | "2012-05-14T15:02:46Z" | "2012-05-14T15:02:46Z" | MEMBER | null | fyi @dieterv77
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/406/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/406/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/407 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/407/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/407/comments | https://api.github.com/repos/pandas-dev/pandas/issues/407/events | https://github.com/pandas-dev/pandas/issues/407 | 2,334,799 | MDU6SXNzdWUyMzM0Nzk5 | 407 | Improve memory usage of read_csv, Python objects take up too much | {
"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": "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"
} | 8 | "2011-11-23T21:10:55Z" | "2017-10-03T08:37:17Z" | "2012-11-02T14:11:13Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/407/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/407/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/408 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/408/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/408/comments | https://api.github.com/repos/pandas-dev/pandas/issues/408/events | https://github.com/pandas-dev/pandas/issues/408 | 2,336,417 | MDU6SXNzdWUyMzM2NDE3 | 408 | Index name is not properly pickled/unpickled | {
"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": "2011-12-02T22:02:04Z",
"closed_issues": 79,
"created_at": "2011-10-26T01:14: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": "2011-11-25T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/7",
"id": 50054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwNTQ=",
"number": 7,
"open_issues": 0,
"state": "closed",
"title": "0.6.0",
"updated_at": "2012-02-11T22:38:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7"
} | 0 | "2011-11-24T00:53:07Z" | "2011-11-24T02:12:48Z" | "2011-11-24T02:12:48Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/408/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/408/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/409 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/409/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/409/comments | https://api.github.com/repos/pandas-dev/pandas/issues/409/events | https://github.com/pandas-dev/pandas/issues/409 | 2,336,706 | MDU6SXNzdWUyMzM2NzA2 | 409 | A lot of partial setting stuff doesn't work with .ix, needs testing/work | {
"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": "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": "2012-10-11T23:49:54Z",
"closed_issues": 49,
"created_at": "2012-03-18T23:07:38Z",
"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-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/13",
"id": 97380,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13/labels",
"node_id": "MDk6TWlsZXN0b25lOTczODA=",
"number": 13,
"open_issues": 0,
"state": "closed",
"title": "0.7.3",
"updated_at": "2012-10-11T23:49:54Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/13"
} | 0 | "2011-11-24T01:52:48Z" | "2012-04-11T03:21:36Z" | "2012-04-11T03:21:30Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/409/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/409/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/410 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/410/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/410/comments | https://api.github.com/repos/pandas-dev/pandas/issues/410/events | https://github.com/pandas-dev/pandas/issues/410 | 2,336,790 | MDU6SXNzdWUyMzM2Nzkw | 410 | Set up some kind of system for testing legacy pickles | {
"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": "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-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 | "2011-11-24T02:08:03Z" | "2013-09-20T16:31:03Z" | "2013-09-20T16:31:03Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/410/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/410/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/411 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/411/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/411/comments | https://api.github.com/repos/pandas-dev/pandas/issues/411/events | https://github.com/pandas-dev/pandas/issues/411 | 2,340,150 | MDU6SXNzdWUyMzQwMTUw | 411 | Panel constructor ignores dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.com/users/CRP/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CRP",
"id": 807824,
"login": "CRP",
"node_id": "MDQ6VXNlcjgwNzgyNA==",
"organizations_url": "https://api.github.com/users/CRP/orgs",
"received_events_url": "https://api.github.com/users/CRP/received_events",
"repos_url": "https://api.github.com/users/CRP/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CRP/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CRP"
} | [
{
"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": "2011-12-02T22:02:04Z",
"closed_issues": 79,
"created_at": "2011-10-26T01:14: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": "2011-11-25T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/7",
"id": 50054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwNTQ=",
"number": 7,
"open_issues": 0,
"state": "closed",
"title": "0.6.0",
"updated_at": "2012-02-11T22:38:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7"
} | 1 | "2011-11-24T11:27:35Z" | "2011-11-25T05:50:26Z" | "2011-11-25T05:50:26Z" | CONTRIBUTOR | null | In [11]: Panel(items=arange(3),major_axis=arange(3),minor_axis=arange(3),dtype=np.object).ix[1].dtypes
Out[11]:
0 float64
1 float64
2 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/411/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/411/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/412 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/412/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/412/comments | https://api.github.com/repos/pandas-dev/pandas/issues/412/events | https://github.com/pandas-dev/pandas/issues/412 | 2,343,842 | MDU6SXNzdWUyMzQzODQy | 412 | Override Index.astype to prevent bad things from happening | {
"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": "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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 2 | "2011-11-24T17:58:54Z" | "2011-12-03T17:51:16Z" | "2011-12-03T17:51:12Z" | MEMBER | null | For example, this should be possible: `index.astype('i8')`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/412/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/412/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/413 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/413/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/413/comments | https://api.github.com/repos/pandas-dev/pandas/issues/413/events | https://github.com/pandas-dev/pandas/issues/413 | 2,344,354 | MDU6SXNzdWUyMzQ0MzU0 | 413 | API: Making plot methods more uniform in their options | {
"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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": 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"
} | 9 | "2011-11-24T19:21:01Z" | "2018-07-06T19:31:40Z" | "2018-07-06T19:31:39Z" | MEMBER | null | from @lodagro:
Been thinking a bit on uniformering signatures for plot, hist, boxplot and what they do/return.
For reference, below an overview what pandas and matplotlib.pyplot have.
some things that come to mind
- +1 for what you did with boxplot, _by_ and _column_ are handy, this could also be used for other kind of plots.
- [ ] bar-plot goes through plot, why not bar() itself.
- [ ] maybe pie() to?
- [ ] plot offers possibility to control _sharex_ and _sharey_, others don not have this control.
- [ ] not all functions use the same subplot layout approach. DataFrame.plot() can plot all lines on a single axis or a nx1 layout. DataFrame.hist() uses nxn layout and DataFrame.boxplot is clever and can do nxm, but the user has no control. Maybe add _nrow_, _ncol_ arguments? Default to None, meaning pandas can control layout, if either one defined pandas should compute the other one. Can get tricky for plot(), need to do something with _subplots_ argument
- [ ] usage of **_kwds_, e.g boxplot has it, does not use this. maybe add _subplot_kw_ and _figure_kw_ arguments for dispatching argmuments -- like matplotlib does.
- [ ] Series.plot has _style_, DataFrame.plot not -- later could maybe use style/colum (like _formatters_ in to_string)?
- [ ] rot not used everywhere
- [ ] probably many users of pandas are familiar with matplotlib too, in general align plotting signatures and return objects with matplotlib would be a good thing to do?
Maybe if i stare at it a bit longer i may have some more ideas, but this is getting long already. What do you think?
# for reference
## Series:
```
plot(self, label=None, kind='line', use_index=True, rot=30, ax=None, style='-',
grid=True, **kwds)
hist(self, ax=None, grid=True, **kwds)
```
## DataFrame:
```
boxplot(self, column=None, by=None, ax=None, fontsize=None,
rot=0, grid=True, **kwds)
plot(self, subplots=False, sharex=True, sharey=False, use_index=True,
figsize=None, grid=True, legend=True, rot=30, ax=None,
kind='line', **kwds)
def hist(self, grid=True, **kwds):
```
## matplotlib.pyplot
```
figure(num=None, figsize=None, dpi=None, facecolor=None, edgecolor=None,
frameon=True, FigureClass=<class 'matplotlib.figure.Figure'>,
**kwargs)
fig, ax = subplots(nrows=1, ncols=1, sharex=False, sharey=False, squeeze=True,
subplot_kw=None, **fig_kw)
---> always creates a new figure
plot(*args, **kwargs)
returns list of matplotlib.lines.Line2D
boxplot(x, notch=0, sym='b+', vert=1, whis=1.5, positions=None,
widths=None, patch_artist=False, bootstrap=None, hold=None)
Returns a dictionary, mapping each component of the boxplot
to a list of the :class:`matplotlib.lines.Line2D`
instances created.
plt.pie(x, explode=None, labels=None, colors=None, autopct=None,
pctdistance=0.6, shadow=False, labeldistance=1.1, hold=None)
Return value:
If *autopct* is None, return the tuple (*patches*, *texts*):
- *patches* is a sequence of
:class:`matplotlib.patches.Wedge` instances
- *texts* is a list of the label
:class:`matplotlib.text.Text` instances.
If *autopct* is *None*, return the tuple (*patches*, *texts*)
If *autopct* is not *None*, return the tuple (*patches*, *texts*, *autotexts*)
plt.bar(left, height, width=0.8, bottom=None, hold=None, **kwargs)
Return value is a list of matplotlib.patches.Rectangle instances
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/413/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/413/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/414 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/414/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/414/comments | https://api.github.com/repos/pandas-dev/pandas/issues/414/events | https://github.com/pandas-dev/pandas/issues/414 | 2,344,651 | MDU6SXNzdWUyMzQ0NjUx | 414 | Conditional split/groupby | {
"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": 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 | "2011-11-24T20:14:15Z" | "2014-06-07T16:57:58Z" | "2013-11-22T09:52:45Z" | MEMBER | null | per Andreas Hilboll question on mailing list
```
Hi,
I have a DataFrame ``DF`` where in one column there's the time (in
hours, as float). I'm looking for an easy way of iterating over
subsets of ``DF`` which are defined by looking for time gaps of 45
minutes or more and using these gaps as seperator between the
different iterators.
As a first shot, I would do something like this::
diff = np.diff(DF.time)
idx = np.where(diff>.75)[0]
DFs = []
for i in idx:
DFs.append(DF.ix[from:to]
But maybe there's a simpler solution?
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/414/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/414/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/415 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/415/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/415/comments | https://api.github.com/repos/pandas-dev/pandas/issues/415/events | https://github.com/pandas-dev/pandas/issues/415 | 2,346,712 | MDU6SXNzdWUyMzQ2NzEy | 415 | Implement equivalent of cut function from base R | {
"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": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"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-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 1 | "2011-11-25T05:30:16Z" | "2012-06-01T20:23:19Z" | "2012-06-01T20:23:19Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/415/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/415/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/416 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/416/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/416/comments | https://api.github.com/repos/pandas-dev/pandas/issues/416/events | https://github.com/pandas-dev/pandas/issues/416 | 2,351,937 | MDU6SXNzdWUyMzUxOTM3 | 416 | GroupBy level should pass on level name to result index | {
"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": "2011-12-02T22:02:04Z",
"closed_issues": 79,
"created_at": "2011-10-26T01:14: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": "2011-11-25T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/7",
"id": 50054,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7/labels",
"node_id": "MDk6TWlsZXN0b25lNTAwNTQ=",
"number": 7,
"open_issues": 0,
"state": "closed",
"title": "0.6.0",
"updated_at": "2012-02-11T22:38:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/7"
} | 1 | "2011-11-25T20:06:03Z" | "2011-11-26T03:09:18Z" | "2011-11-26T03:09:18Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/416/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/416/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/417 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/417/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/417/comments | https://api.github.com/repos/pandas-dev/pandas/issues/417/events | https://github.com/pandas-dev/pandas/issues/417 | 2,355,564 | MDU6SXNzdWUyMzU1NTY0 | 417 | test failures with v0.6.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/192900?v=4",
"events_url": "https://api.github.com/users/breisfeld/events{/privacy}",
"followers_url": "https://api.github.com/users/breisfeld/followers",
"following_url": "https://api.github.com/users/breisfeld/following{/other_user}",
"gists_url": "https://api.github.com/users/breisfeld/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/breisfeld",
"id": 192900,
"login": "breisfeld",
"node_id": "MDQ6VXNlcjE5MjkwMA==",
"organizations_url": "https://api.github.com/users/breisfeld/orgs",
"received_events_url": "https://api.github.com/users/breisfeld/received_events",
"repos_url": "https://api.github.com/users/breisfeld/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/breisfeld/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/breisfeld/subscriptions",
"type": "User",
"url": "https://api.github.com/users/breisfeld"
} | [] | closed | false | null | [] | null | 2 | "2011-11-26T14:46:45Z" | "2011-11-28T21:11:49Z" | "2011-11-28T21:11:49Z" | NONE | null | OS: Windows 7
python: Enthought Python Distribution, Python 2.7.2 |EPD 7.1-1 (32-bit)
pandas: v0.6.0 , git commit 010a620da89e5babc137b924dd1f632b4f6e6fee
Running 'nosetests pandas' yields the following errors:
#
## ERROR: testFilterWithDataFrameRHS (pandas.stats.tests.test_ols_filter.TestOLSFilter)
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pandas\stats\tests\test_ols_filter.py", line 62, in testFilterWithDataFrameRH
S
index, valid) = _filter_data(self.TS1, self.DF1)
ValueError: too many values to unpack
#
## ERROR: testFilterWithDictRHS (pandas.stats.tests.test_ols_filter.TestOLSFilter)
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pandas\stats\tests\test_ols_filter.py", line 72, in testFilterWithDictRHS
index, valid) = _filter_data(self.TS1, self.DICT1)
ValueError: too many values to unpack
#
## ERROR: testFilterWithSeriesRHS (pandas.stats.tests.test_ols_filter.TestOLSFilter)
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pandas\stats\tests\test_ols_filter.py", line 38, in testFilterWithSeriesRHS
index, valid) = _filter_data(self.TS1, {'x1' : self.TS2})
ValueError: too many values to unpack
#
## ERROR: testFilterWithSeriesRHS2 (pandas.stats.tests.test_ols_filter.TestOLSFilter)
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pandas\stats\tests\test_ols_filter.py", line 45, in testFilterWithSeriesRHS2
index, valid) = _filter_data(self.TS2, {'x1' : self.TS1})
ValueError: too many values to unpack
#
## ERROR: testFilterWithSeriesRHS3 (pandas.stats.tests.test_ols_filter.TestOLSFilter)
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pandas\stats\tests\test_ols_filter.py", line 52, in testFilterWithSeriesRHS3
index, valid) = _filter_data(self.TS3, {'x1' : self.TS4})
ValueError: too many values to unpack
---
Ran 1131 tests in 51.592s
FAILED (SKIP=3, errors=5)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/417/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/417/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/418 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/418/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/418/comments | https://api.github.com/repos/pandas-dev/pandas/issues/418/events | https://github.com/pandas-dev/pandas/issues/418 | 2,360,857 | MDU6SXNzdWUyMzYwODU3 | 418 | strange behavior with int in DF | {
"avatar_url": "https://avatars.githubusercontent.com/u/1168324?v=4",
"events_url": "https://api.github.com/users/sjev/events{/privacy}",
"followers_url": "https://api.github.com/users/sjev/followers",
"following_url": "https://api.github.com/users/sjev/following{/other_user}",
"gists_url": "https://api.github.com/users/sjev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sjev",
"id": 1168324,
"login": "sjev",
"node_id": "MDQ6VXNlcjExNjgzMjQ=",
"organizations_url": "https://api.github.com/users/sjev/orgs",
"received_events_url": "https://api.github.com/users/sjev/received_events",
"repos_url": "https://api.github.com/users/sjev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sjev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sjev"
} | [] | closed | false | null | [] | null | 6 | "2011-11-27T16:46:13Z" | "2011-12-02T16:18:14Z" | "2011-11-30T21:09:21Z" | CONTRIBUTOR | null | This is something that has been diving me nuts for a couple of hours, so I decided to mention this.
When I create a dataframe as a class property and append rows as shown in the code below,
the 'int' type of 'id' field is being returned as float when accessed with .ix or .xs method:
``` python
from pandas import DataFrame,Index
import numpy as np
class tst(object):
def __init__(self):
self._header = ['id','bid','ask','last'] # columns of the _data table
self._data = DataFrame()
def add(self,symbol):
''' add a row to dataframe '''
data = dict(zip(self._header,[1,np.nan,np.nan,np.nan]))
row = DataFrame(data, index = Index([symbol]))
self._data = self._data.append(row[self._header]) # append data and set correct column order
def __repr__(self):
return str(self._data)
t = tst()
t.add('AAA')
t.add('BBB')
print t._data['id']['AAA'] # int (like it should)!
# this is where it goes wrong:
print t._data.ix[0,0] # float!
print t._data.xs('AAA') # float again!
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/418/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/418/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/419 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/419/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/419/comments | https://api.github.com/repos/pandas-dev/pandas/issues/419/events | https://github.com/pandas-dev/pandas/issues/419 | 2,362,969 | MDU6SXNzdWUyMzYyOTY5 | 419 | DataReader - request to truncate retrieved data to specified dates | {
"avatar_url": "https://avatars.githubusercontent.com/u/1220850?v=4",
"events_url": "https://api.github.com/users/algotr8der/events{/privacy}",
"followers_url": "https://api.github.com/users/algotr8der/followers",
"following_url": "https://api.github.com/users/algotr8der/following{/other_user}",
"gists_url": "https://api.github.com/users/algotr8der/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/algotr8der",
"id": 1220850,
"login": "algotr8der",
"node_id": "MDQ6VXNlcjEyMjA4NTA=",
"organizations_url": "https://api.github.com/users/algotr8der/orgs",
"received_events_url": "https://api.github.com/users/algotr8der/received_events",
"repos_url": "https://api.github.com/users/algotr8der/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/algotr8der/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/algotr8der/subscriptions",
"type": "User",
"url": "https://api.github.com/users/algotr8der"
} | [
{
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 4 | "2011-11-28T00:25:18Z" | "2013-12-04T00:43:49Z" | "2011-12-02T21:03:13Z" | NONE | null | Pandas version 0.6.0
from pandas.io.data import DataReader
import datetime
import matplotlib.pyplot as plt
sp500 = DataReader("SPY", "yahoo", start=datetime.datetime(2005, 1,1))
sp500.info()
sp500["Adj Close"].plot()
plt.show()
<class 'pandas.core.frame.DataFrame'>
Index: 4744 entries, 1993-01-29 00:00:00 to 2011-11-25 00:00:00
Data columns:
Open 4744 non-null values
High 4744 non-null values
Low 4744 non-null values
Close 4744 non-null values
Volume 4744 non-null values
Adj Close 4744 non-null values
dtypes: int64(1), float64(5)
As you can see the index begins at 1993-01-29 despite a user specified start date of 2005-1-1. You can specify any ticker and the start date specified in the DataReader function seems to be ignored.
Comment from Wes below:
The Yahoo API is very unreliable in my experience-- the code currently returns whatever data is returned by the query, so something must have changed recently there. I guess it should truncate to the passed date
range regardless of what is returned.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/419/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/419/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/420 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/420/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/420/comments | https://api.github.com/repos/pandas-dev/pandas/issues/420/events | https://github.com/pandas-dev/pandas/pull/420 | 2,364,814 | MDExOlB1bGxSZXF1ZXN0NTMyNTM3 | 420 | Change Series default float formatter. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [] | closed | false | null | [] | null | 1 | "2011-11-28T07:49:49Z" | "2014-06-13T03:10:18Z" | "2011-12-02T20:14:52Z" | CONTRIBUTOR | null | Series now uses _pandas.core.common._float_format()_ as default float formatter instead of _str()_.
_pandas.core.common._float_format()_ is also default float formatter for 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/420/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/420/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/420.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/420",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/420.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/420"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/421 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/421/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/421/comments | https://api.github.com/repos/pandas-dev/pandas/issues/421/events | https://github.com/pandas-dev/pandas/issues/421 | 2,366,051 | MDU6SXNzdWUyMzY2MDUx | 421 | Buglet in groupby when passing function like len with as_index 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"
} | [
{
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-11-28T10:45:38Z" | "2011-12-02T22:01:06Z" | "2011-12-02T22:01:06Z" | MEMBER | null | ```
import numpy as np
import pandas
def webuse(data, baseurl='http://www.stata-press.com/data/r11/'):
"""
Parameters
----------
data : str
Name of dataset to fetch.
Examples
--------
>>> dta = webuse('auto')
Notes
-----
Make sure baseurl has trailing forward slash. Doesn't do any
error checking in response URLs.
"""
# lazy imports
from scikits.statsmodels.iolib import genfromdta
from urllib2 import urlopen
from urlparse import urljoin
from StringIO import StringIO
url = urljoin(baseurl, data+'.dta')
dta = urlopen(url)
dta = StringIO(dta.read()) # make it truly file-like
return genfromdta(dta)
dta = webuse('auto')
df = pandas.DataFrame.from_records(dta)
```
then
`df.groupby(['foreign', 'rep78'], as_index=False)['mpg'].agg(len)`
raises an exception
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/421/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/421/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/422 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/422/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/422/comments | https://api.github.com/repos/pandas-dev/pandas/issues/422/events | https://github.com/pandas-dev/pandas/issues/422 | 2,372,896 | MDU6SXNzdWUyMzcyODk2 | 422 | names param in DataFrame.from_records should be called columns | {
"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": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] | closed | false | null | [] | {
"closed_at": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-11-28T20:20:20Z" | "2011-12-12T04:38:22Z" | "2011-12-12T04:38:22Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/422/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/422/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/423 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/423/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/423/comments | https://api.github.com/repos/pandas-dev/pandas/issues/423/events | https://github.com/pandas-dev/pandas/issues/423 | 2,373,028 | MDU6SXNzdWUyMzczMDI4 | 423 | DataFrame.count corner case with empty columns | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-11-28T20:31:16Z" | "2011-11-29T00:10:45Z" | "2011-11-29T00:10:45Z" | MEMBER | null | Consider changing behavior of:
`DataMatrix(index=range(10)).count(1)`
returning zeros should not be very harmful.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/423/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/423/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/424 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/424/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/424/comments | https://api.github.com/repos/pandas-dev/pandas/issues/424/events | https://github.com/pandas-dev/pandas/pull/424 | 2,399,972 | MDExOlB1bGxSZXF1ZXN0NTQyMTE1 | 424 | Pass Series.hist **kwds on to plotting function. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [] | closed | false | null | [] | null | 1 | "2011-11-30T11:19:12Z" | "2014-07-06T07:54:44Z" | "2011-12-02T20:15:03Z" | CONTRIBUTOR | null | Pass Series.hist() **kwds on to plotting function, as mentioned in the documentation.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/424/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/424/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/424.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/424",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/424.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/424"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/425 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/425/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/425/comments | https://api.github.com/repos/pandas-dev/pandas/issues/425/events | https://github.com/pandas-dev/pandas/pull/425 | 2,406,858 | MDExOlB1bGxSZXF1ZXN0NTQ0NDUw | 425 | more momery efficient describe() for DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/1063143?v=4",
"events_url": "https://api.github.com/users/joonro/events{/privacy}",
"followers_url": "https://api.github.com/users/joonro/followers",
"following_url": "https://api.github.com/users/joonro/following{/other_user}",
"gists_url": "https://api.github.com/users/joonro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joonro",
"id": 1063143,
"login": "joonro",
"node_id": "MDQ6VXNlcjEwNjMxNDM=",
"organizations_url": "https://api.github.com/users/joonro/orgs",
"received_events_url": "https://api.github.com/users/joonro/received_events",
"repos_url": "https://api.github.com/users/joonro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joonro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joonro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joonro"
} | [] | closed | false | null | [] | null | 2 | "2011-11-30T20:37:32Z" | "2014-06-19T17:58:55Z" | "2011-12-02T00:55:34Z" | NONE | null | reindex() in describe() in DataFrame was making copy of the data. I changed describe() so it processes one column at a time instead of get all columns with reindex(). It seems to be a better implementation (much less memory usage).
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/425/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/425/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/425.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/425",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/425.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/425"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/426 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/426/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/426/comments | https://api.github.com/repos/pandas-dev/pandas/issues/426/events | https://github.com/pandas-dev/pandas/issues/426 | 2,408,182 | MDU6SXNzdWUyNDA4MTgy | 426 | Build errors using llvm-gcc | {
"avatar_url": "https://avatars.githubusercontent.com/u/81476?v=4",
"events_url": "https://api.github.com/users/fonnesbeck/events{/privacy}",
"followers_url": "https://api.github.com/users/fonnesbeck/followers",
"following_url": "https://api.github.com/users/fonnesbeck/following{/other_user}",
"gists_url": "https://api.github.com/users/fonnesbeck/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fonnesbeck",
"id": 81476,
"login": "fonnesbeck",
"node_id": "MDQ6VXNlcjgxNDc2",
"organizations_url": "https://api.github.com/users/fonnesbeck/orgs",
"received_events_url": "https://api.github.com/users/fonnesbeck/received_events",
"repos_url": "https://api.github.com/users/fonnesbeck/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fonnesbeck/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fonnesbeck/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fonnesbeck"
} | [] | closed | false | null | [] | null | 2 | "2011-11-30T22:23:28Z" | "2011-12-01T04:03:36Z" | "2011-12-01T04:03:36Z" | NONE | null | After upgrading to Xcode 4.2, I'm unable to build pandas. As with previous attempts, I have to hand-compile some of the .pyx files in pandas/src, but now even with this, the package will not build. Here is what I get:
```
building 'pandas._cppsandbox' extension
llvm-gcc-4.2 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -I/Users/fonnescj/Developer/include -pipe -arch x86_64 -I/Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pandas/src/cppsandbox.c -o build/temp.macosx-10.7-x86_64-2.7/pandas/src/cppsandbox.o
pandas/src/cppsandbox.c:235:19: error: utility: No such file or directory
pandas/src/cppsandbox.c:236:15: error: map: No such file or directory
In file included from /Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/numpy/ndarraytypes.h:1972,
from /Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/numpy/ndarrayobject.h:17,
from /Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/numpy/arrayobject.h:14,
from pandas/src/cppsandbox.c:239:
/Library/Python/2.7/site-packages/numpy-2.0.0.dev_eb46577_20111130-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API"
pandas/src/cppsandbox.c: In function ‘__pyx_pf_10cppsandbox_map_indices’:
pandas/src/cppsandbox.c:953: error: expected expression before ‘:’ token
pandas/src/cppsandbox.c:985: error: ‘__pyx_v_mapping’ undeclared (first use in this function)
pandas/src/cppsandbox.c:985: error: (Each undeclared identifier is reported only once
pandas/src/cppsandbox.c:985: error: for each function it appears in.)
pandas/src/cppsandbox.c:985: error: ‘std’ undeclared (first use in this function)
pandas/src/cppsandbox.c:985: error: expected ‘;’ before ‘:’ token
pandas/src/cppsandbox.c:953: warning: label ‘std’ defined but not used
error: command 'llvm-gcc-4.2' failed with exit status 1
```
Not sure if this is idiosyncratic, so I will sit tight until others have tried with the llvm compiler.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/426/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/426/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/427 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/427/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/427/comments | https://api.github.com/repos/pandas-dev/pandas/issues/427/events | https://github.com/pandas-dev/pandas/pull/427 | 2,409,579 | MDExOlB1bGxSZXF1ZXN0NTQ1Njc1 | 427 | Bugfix for issue 419 and .gitignore fixup | {
"avatar_url": "https://avatars.githubusercontent.com/u/331338?v=4",
"events_url": "https://api.github.com/users/ralphbean/events{/privacy}",
"followers_url": "https://api.github.com/users/ralphbean/followers",
"following_url": "https://api.github.com/users/ralphbean/following{/other_user}",
"gists_url": "https://api.github.com/users/ralphbean/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ralphbean",
"id": 331338,
"login": "ralphbean",
"node_id": "MDQ6VXNlcjMzMTMzOA==",
"organizations_url": "https://api.github.com/users/ralphbean/orgs",
"received_events_url": "https://api.github.com/users/ralphbean/received_events",
"repos_url": "https://api.github.com/users/ralphbean/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ralphbean/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ralphbean/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ralphbean"
} | [] | closed | false | null | [] | null | 1 | "2011-12-01T00:43:31Z" | "2014-06-12T07:55:58Z" | "2011-12-02T00:48:12Z" | CONTRIBUTOR | null | Two different things 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/427/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/427/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/427.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/427",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/427.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/427"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/428 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/428/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/428/comments | https://api.github.com/repos/pandas-dev/pandas/issues/428/events | https://github.com/pandas-dev/pandas/issues/428 | 2,413,241 | MDU6SXNzdWUyNDEzMjQx | 428 | add rank and rank correlation methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.com/users/CRP/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CRP",
"id": 807824,
"login": "CRP",
"node_id": "MDQ6VXNlcjgwNzgyNA==",
"organizations_url": "https://api.github.com/users/CRP/orgs",
"received_events_url": "https://api.github.com/users/CRP/received_events",
"repos_url": "https://api.github.com/users/CRP/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CRP/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CRP"
} | [
{
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 4 | "2011-12-01T10:43:00Z" | "2013-06-16T09:29:23Z" | "2011-12-12T02:50:53Z" | CONTRIBUTOR | null | I do not know what scope you have in mind for DataFrame methods, but rank and spearman correlation would sure be handy ;)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/428/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/428/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/429 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/429/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/429/comments | https://api.github.com/repos/pandas-dev/pandas/issues/429/events | https://github.com/pandas-dev/pandas/issues/429 | 2,428,102 | MDU6SXNzdWUyNDI4MTAy | 429 | Boolean ops with Series should reindex? | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-02T15:13:10Z" | "2011-12-12T05:06:23Z" | "2011-12-12T05:06:23Z" | MEMBER | null | Currently requires that the indexes be identical to work at all (otherwise raises exception)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/429/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/429/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/430 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/430/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/430/comments | https://api.github.com/repos/pandas-dev/pandas/issues/430/events | https://github.com/pandas-dev/pandas/issues/430 | 2,429,682 | MDU6SXNzdWUyNDI5Njgy | 430 | Enable DataFrame.append to add a single row Series | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-02T16:11:55Z" | "2011-12-02T21:17:17Z" | "2011-12-02T21:17:17Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/430/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/430/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/431 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/431/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/431/comments | https://api.github.com/repos/pandas-dev/pandas/issues/431/events | https://github.com/pandas-dev/pandas/issues/431 | 2,429,764 | MDU6SXNzdWUyNDI5NzY0 | 431 | .ix[row, col] should preserve type | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 2 | "2011-12-02T16:17:55Z" | "2011-12-02T21:07:30Z" | "2011-12-02T21:02:23Z" | MEMBER | null | In the case of float/int data, ints currently getting upcasted to float. @lodagro, @sjev
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/431/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/431/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/432 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/432/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/432/comments | https://api.github.com/repos/pandas-dev/pandas/issues/432/events | https://github.com/pandas-dev/pandas/issues/432 | 2,430,095 | MDU6SXNzdWUyNDMwMDk1 | 432 | Element-wise map does not produce DataFrame in apply | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-02T16:43:57Z" | "2011-12-02T20:46:17Z" | "2011-12-02T20:46:17Z" | MEMBER | null | ```
compareOp = lambda s1, s2 : map(lambda x, y: x if y is None else (y if x is None else min(x, y)), s1, s2)
print m2.apply(lambda x : compareOp(x, s))
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/432/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/432/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/433 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/433/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/433/comments | https://api.github.com/repos/pandas-dev/pandas/issues/433/events | https://github.com/pandas-dev/pandas/issues/433 | 2,430,141 | MDU6SXNzdWUyNDMwMTQx | 433 | Add section about development / contributing to the docs | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 0 | "2011-12-02T16:46:51Z" | "2012-05-02T21:30:45Z" | "2012-05-02T21:30:45Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/433/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/433/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/434 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/434/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/434/comments | https://api.github.com/repos/pandas-dev/pandas/issues/434/events | https://github.com/pandas-dev/pandas/issues/434 | 2,432,464 | MDU6SXNzdWUyNDMyNDY0 | 434 | Empty series corner case arith bug | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-02T20:09:31Z" | "2011-12-02T20:23:30Z" | "2011-12-02T20:23:30Z" | MEMBER | null | This works in 0.4 and crashes in 0.6:
```
import numpy as np
from pandas import Series
s1 = Series([], [], dtype=np.int32)
s2 = Series({'x' : 0.})
print s1 * s2
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/434/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/434/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/435 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/435/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/435/comments | https://api.github.com/repos/pandas-dev/pandas/issues/435/events | https://github.com/pandas-dev/pandas/pull/435 | 2,433,164 | MDExOlB1bGxSZXF1ZXN0NTUzNTg0 | 435 | Using pandas with PyQt | {
"avatar_url": "https://avatars.githubusercontent.com/u/1168324?v=4",
"events_url": "https://api.github.com/users/sjev/events{/privacy}",
"followers_url": "https://api.github.com/users/sjev/followers",
"following_url": "https://api.github.com/users/sjev/following{/other_user}",
"gists_url": "https://api.github.com/users/sjev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sjev",
"id": 1168324,
"login": "sjev",
"node_id": "MDQ6VXNlcjExNjgzMjQ=",
"organizations_url": "https://api.github.com/users/sjev/orgs",
"received_events_url": "https://api.github.com/users/sjev/received_events",
"repos_url": "https://api.github.com/users/sjev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sjev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sjev"
} | [] | closed | false | null | [] | null | 4 | "2011-12-02T21:19:22Z" | "2014-06-15T08:06:37Z" | "2011-12-08T02:58:43Z" | CONTRIBUTOR | null | I've written a simple data model for showing pandas DataFrame in a QDataTable. It is all in the sandbox, qtpandas.py. This file can be run stand-alone as an 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/435/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/435/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/435.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/435",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/435.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/435"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/436 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/436/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/436/comments | https://api.github.com/repos/pandas-dev/pandas/issues/436/events | https://github.com/pandas-dev/pandas/issues/436 | 2,433,170 | MDU6SXNzdWUyNDMzMTcw | 436 | Implement SparseList and SparseArray support data structures | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 1 | "2011-12-02T21:19:57Z" | "2011-12-11T23:15:17Z" | "2011-12-11T23:15:17Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/436/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/436/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/437 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/437/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/437/comments | https://api.github.com/repos/pandas-dev/pandas/issues/437/events | https://github.com/pandas-dev/pandas/issues/437 | 2,433,274 | MDU6SXNzdWUyNDMzMjc0 | 437 | Fast as possible get_value/put_value methods for Series/DataFrame/Panel | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-02T21:29:39Z" | "2011-12-06T00:26:55Z" | "2011-12-06T00:26:55Z" | MEMBER | null | Should feature minimal overhead. Some work already done here
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/437/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/437/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/438 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/438/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/438/comments | https://api.github.com/repos/pandas-dev/pandas/issues/438/events | https://github.com/pandas-dev/pandas/issues/438 | 2,433,295 | MDU6SXNzdWUyNDMzMjk1 | 438 | Methods for inserting values | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 4 | "2011-12-02T21:32:34Z" | "2011-12-09T00:37:58Z" | "2011-12-09T00:37:58Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/438/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/438/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/439 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/439/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/439/comments | https://api.github.com/repos/pandas-dev/pandas/issues/439/events | https://github.com/pandas-dev/pandas/issues/439 | 2,433,352 | MDU6SXNzdWUyNDMzMzUy | 439 | Faster conversion of dict of large SparseSeries -> SparseDataFrame | {
"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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-02T21:37:23Z" | "2011-12-18T21:57:15Z" | "2011-12-18T21:57:15Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/439/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/439/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/440 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/440/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/440/comments | https://api.github.com/repos/pandas-dev/pandas/issues/440/events | https://github.com/pandas-dev/pandas/issues/440 | 2,433,751 | MDU6SXNzdWUyNDMzNzUx | 440 | DataFrame.delevel infer dtypes better | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 2 | "2011-12-02T22:14:57Z" | "2012-02-07T07:57:18Z" | "2011-12-02T22:48:12Z" | MEMBER | null | cc @lodagro
```
MultiIndex seems to store the level data always as dtype('object').
When using DataFrame.delevel() the added columns from the index also have dtype('object').
This prevents from using DataFrame.delevel.corr() to have a look at the correlation between the original DataFrame columns and the index level values. Does anyone have an idea to work around this?
See example below:
In [1]: import pandas
In [2]: import numpy as np
In [3]: import itertools
In [4]: tuples = [tuple for tuple in itertools.product(['foo', 'bar'], [10, 20], [1.0, 1.1])]
In [5]: index = pandas.MultiIndex.from_tuples(tuples, names=['prm0', 'prm1', 'prm2'])
In [6]: df = pandas.DataFrame(np.random.randn(8,3), columns=['A', 'B', 'C'], index=index)
In [7]: df
Out[7]:
A B C
prm0 prm1 prm2
foo 10 1.0 0.2074 0.3425 -1.295
1.1 0.3194 0.8114 2.133
foo 20 1.0 -0.1798 -1.162 0.5774
1.1 -0.4635 1.436 1.419
bar 10 1.0 -1.013 0.7605 -1.184
1.1 -0.4716 0.6983 0.5209
bar 20 1.0 -0.87 -0.3788 0.272
1.1 1.018 -0.4496 1.132
In [8]: df.corr()
Out[8]:
A B C
A 1 -0.2445 0.3852
B -0.2445 1 0.08211
C 0.3852 0.08211 1
In [9]: df.delevel().corr()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
...
2535 cols = self.columns
2536 mat = self.as_matrix(cols).T
-> 2537 baseCov = np.cov(mat)
2538
2539 sigma = np.sqrt(np.diag(baseCov))
.../python2.7/site-packages/numpy/lib/function_base.pyc in cov(m, y, rowvar, bias, ddof)
1920 raise ValueError("ddof must be integer")
1921
-> 1922 X = array(m, ndmin=2, dtype=float)
1923 if X.shape[0] == 1:
1924 rowvar = 1
ValueError: setting an array element with a sequence.
My guess is that this exception is related to the fact corr can not work with strings.
So let`s try it without the strings.
In [10]: df.delevel()[['prm1', 'prm2', 'A', 'B', 'C']]
Out[10]:
prm1 prm2 A B C
0 10 1 0.2074 0.3425 -1.295
1 10 1.1 0.3194 0.8114 2.133
2 20 1 -0.1798 -1.162 0.5774
3 20 1.1 -0.4635 1.436 1.419
4 10 1 -1.013 0.7605 -1.184
5 10 1.1 -0.4716 0.6983 0.5209
6 20 1 -0.87 -0.3788 0.272
7 20 1.1 1.018 -0.4496 1.132
In [11]: df.delevel()[['prm1', 'prm2', 'A', 'B', 'C']].corr()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[...]
TypeError: function not supported for these types, and can't coerce safely to supported types
In [12]: df.delevel()['prm1'].values.dtype
Out[12]: dtype('object')
In [13]: df.delevel()['prm1']
Out[13]:
0 10
1 10
2 20
3 20
4 10
5 10
6 20
7 20
Name: prm1
In [14]: index.levels
Out[14]:
[Index([bar, foo], dtype=object),
Index([10, 20], dtype=object),
Index([1.0, 1.1], dtype=object)]
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/440/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/440/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/441 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/441/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/441/comments | https://api.github.com/repos/pandas-dev/pandas/issues/441/events | https://github.com/pandas-dev/pandas/issues/441 | 2,438,105 | MDU6SXNzdWUyNDM4MTA1 | 441 | issue with py2exe | {
"avatar_url": "https://avatars.githubusercontent.com/u/1168324?v=4",
"events_url": "https://api.github.com/users/sjev/events{/privacy}",
"followers_url": "https://api.github.com/users/sjev/followers",
"following_url": "https://api.github.com/users/sjev/following{/other_user}",
"gists_url": "https://api.github.com/users/sjev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sjev",
"id": 1168324,
"login": "sjev",
"node_id": "MDQ6VXNlcjExNjgzMjQ=",
"organizations_url": "https://api.github.com/users/sjev/orgs",
"received_events_url": "https://api.github.com/users/sjev/received_events",
"repos_url": "https://api.github.com/users/sjev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sjev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sjev"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 6 | "2011-12-03T17:12:27Z" | "2011-12-08T04:39:42Z" | "2011-12-08T04:39:42Z" | CONTRIBUTOR | null | a package produced by py2exe crashes in panel.py `114: f.__doc__ = f.__doc__ % str(op)` with message:
<pre>
File "zipextimporter.pyo", line 82, in load_module
File "pandas\core\panel.pyo", line 145, in <module>
File "pandas\core\panel.pyo", line 690, in Panel
File "pandas\core\panel.pyo", line 114, in _panel_arith_method
TypeError: unsupported operand type(s) for %: 'NoneType' and 'str'
</pre>
commenting this line out solves the problem in a workaround way. I guess the `.__doc__` property becomes None somehow .
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/441/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/441/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/442 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/442/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/442/comments | https://api.github.com/repos/pandas-dev/pandas/issues/442/events | https://github.com/pandas-dev/pandas/pull/442 | 2,440,942 | MDExOlB1bGxSZXF1ZXN0NTU1OTI4 | 442 | Minor fix for simpler indexing syntax in array of subplots. | {
"avatar_url": "https://avatars.githubusercontent.com/u/57394?v=4",
"events_url": "https://api.github.com/users/fperez/events{/privacy}",
"followers_url": "https://api.github.com/users/fperez/followers",
"following_url": "https://api.github.com/users/fperez/following{/other_user}",
"gists_url": "https://api.github.com/users/fperez/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fperez",
"id": 57394,
"login": "fperez",
"node_id": "MDQ6VXNlcjU3Mzk0",
"organizations_url": "https://api.github.com/users/fperez/orgs",
"received_events_url": "https://api.github.com/users/fperez/received_events",
"repos_url": "https://api.github.com/users/fperez/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fperez/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fperez/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fperez"
} | [] | closed | false | null | [] | null | 2 | "2011-12-04T06:55:39Z" | "2011-12-05T02:39:44Z" | "2011-12-05T02:39:44Z" | CONTRIBUTOR | null | `plt.subplots()` returns a numpy array, so it's OK to use the more compact/familiar/efficient `a[i,j]` indexing syntax instead of `a[i][j]`.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/442/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/442/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/442.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/442",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/442.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/442"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/443 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/443/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/443/comments | https://api.github.com/repos/pandas-dev/pandas/issues/443/events | https://github.com/pandas-dev/pandas/issues/443 | 2,445,080 | MDU6SXNzdWUyNDQ1MDgw | 443 | Add NA handling option to GroupBy | {
"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"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 1 | "2011-12-05T02:28:39Z" | "2019-11-18T17:09:34Z" | "2019-11-18T17:09:33Z" | MEMBER | null | Currently all NA groups are excluded though perhaps this should be a flag passed to groupby
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/443/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/443/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/444 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/444/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/444/comments | https://api.github.com/repos/pandas-dev/pandas/issues/444/events | https://github.com/pandas-dev/pandas/issues/444 | 2,445,552 | MDU6SXNzdWUyNDQ1NTUy | 444 | More convenient syntax for DataFrame constructor to declare order of columns? | {
"avatar_url": "https://avatars.githubusercontent.com/u/57394?v=4",
"events_url": "https://api.github.com/users/fperez/events{/privacy}",
"followers_url": "https://api.github.com/users/fperez/followers",
"following_url": "https://api.github.com/users/fperez/following{/other_user}",
"gists_url": "https://api.github.com/users/fperez/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fperez",
"id": 57394,
"login": "fperez",
"node_id": "MDQ6VXNlcjU3Mzk0",
"organizations_url": "https://api.github.com/users/fperez/orgs",
"received_events_url": "https://api.github.com/users/fperez/received_events",
"repos_url": "https://api.github.com/users/fperez/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fperez/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fperez/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fperez"
} | [
{
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 10 | "2011-12-05T04:14:09Z" | "2011-12-12T05:16:22Z" | "2011-12-12T04:30:56Z" | CONTRIBUTOR | null | I've searched the list, docs and issue list and didn't find this addressed, sorry if it was. It seems to me that right now, if I want to specify the order of my columns in new DataFrame built from existing Series, the only way to do it is to build a dict and pass the columns argument separately, with a redundant spelling of the column names:
```
df = pd.DataFrame(dict(m30_t10=splits_30, m15_t10=splits_15,
m30_m15=splits_m),
columns=['m30_t10', 'm15_t10','m30_m15'])
```
I'm wondering if a more convenient syntax could be devised for this operation. It seems that list-of-tuples already has different semantics, so the minimal change of the above doesn't work:
```
# This gives an error:
df3 = pd.DataFrame([('m30_t10', splits_30), ('m15_t10', splits_15),
('m30_m15', splits_m)])
```
It's unfortunate, b/c the above is incidentally a valid dict constructor:
```
# This is OK:
df3 = pd.DataFrame(dict([('m30_t10', splits_30), ('m15_t10', splits_15),
('m30_m15', splits_m)]))
```
But since a list is an inherently ordered data structure, it would be nice if it was accepted also as a constructor for DataFrame, carrying with it the implicit column order.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/444/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/444/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/445 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/445/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/445/comments | https://api.github.com/repos/pandas-dev/pandas/issues/445/events | https://github.com/pandas-dev/pandas/issues/445 | 2,453,077 | MDU6SXNzdWUyNDUzMDc3 | 445 | Sparse data structure support for MultiIndex? | {
"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": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": "2015-03-23T10:50:37Z",
"closed_issues": 400,
"created_at": "2014-02-14T03:31:22Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "after 0.15 of course!",
"due_on": "2015-03-22T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/25",
"id": 569113,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25/labels",
"node_id": "MDk6TWlsZXN0b25lNTY5MTEz",
"number": 25,
"open_issues": 0,
"state": "closed",
"title": "0.16.0",
"updated_at": "2017-08-24T09:17:49Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/25"
} | 1 | "2011-12-05T19:02:41Z" | "2014-08-17T21:24:02Z" | "2014-08-17T21:24:02Z" | MEMBER | null | Should probably just disable it for now. Unclear though
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/445/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/445/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/446 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/446/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/446/comments | https://api.github.com/repos/pandas-dev/pandas/issues/446/events | https://github.com/pandas-dev/pandas/issues/446 | 2,453,102 | MDU6SXNzdWUyNDUzMTAy | 446 | Cache DataFrame items in Panel to improve performance | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 1 | "2011-12-05T19:05:42Z" | "2011-12-08T04:42:07Z" | "2011-12-08T04:42:07Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/446/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/446/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/447 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/447/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/447/comments | https://api.github.com/repos/pandas-dev/pandas/issues/447/events | https://github.com/pandas-dev/pandas/issues/447 | 2,453,532 | MDU6SXNzdWUyNDUzNTMy | 447 | DataFrames should have a name attribute. | {
"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"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 39 | "2011-12-05T19:40:26Z" | "2021-06-25T20:41:14Z" | "2017-01-25T15:54:32Z" | MEMBER | null | was: should DataFrames have a name attribute?
@y-p
| {
"+1": 13,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 13,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/447/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/447/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/448 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/448/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/448/comments | https://api.github.com/repos/pandas-dev/pandas/issues/448/events | https://github.com/pandas-dev/pandas/issues/448 | 2,454,207 | MDU6SXNzdWUyNDU0MjA3 | 448 | Build data structure similar to BlockManager for sparse 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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
}
] | closed | false | null | [] | {
"closed_at": "2013-12-30T19:53:14Z",
"closed_issues": 1076,
"created_at": "2012-11-15T23:33:37Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "RC1 ANN went out on 2013-12-6: https://groups.google.com/forum/#!topic/pydata/OHutLByJvK0\r\nTwo weeks, clear all reported bugs then call it on 2013-12-20. \r\n(@y-p)\r\n\r\nsince we've had some bugs reported at a high enough rate, extending rc by one\r\nweek until 2013-12-27. \r\n(@y-p)\r\n\r\nBumping to clear debian sparc\r\n2013-12-30. \r\n(@y-p)",
"due_on": "2013-12-30T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/18",
"id": 213925,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18/labels",
"node_id": "MDk6TWlsZXN0b25lMjEzOTI1",
"number": 18,
"open_issues": 0,
"state": "closed",
"title": "0.13",
"updated_at": "2017-07-22T19:00:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/18"
} | 2 | "2011-12-05T20:34:27Z" | "2013-08-16T19:30:23Z" | "2013-08-16T19:30:23Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/448/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/448/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/449 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/449/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/449/comments | https://api.github.com/repos/pandas-dev/pandas/issues/449/events | https://github.com/pandas-dev/pandas/issues/449 | 2,456,338 | MDU6SXNzdWUyNDU2MzM4 | 449 | Decorator for copying documentation from one function to another | {
"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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-05T23:35:36Z" | "2016-10-12T23:02:41Z" | "2012-01-06T05:38:59Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/449/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/449/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/450 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/450/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/450/comments | https://api.github.com/repos/pandas-dev/pandas/issues/450/events | https://github.com/pandas-dev/pandas/issues/450 | 2,461,147 | MDU6SXNzdWUyNDYxMTQ3 | 450 | When adding a Series to a DataFrame with a different index, the Series gets turned into all NaNs | {
"avatar_url": "https://avatars.githubusercontent.com/u/25192?v=4",
"events_url": "https://api.github.com/users/lbeltrame/events{/privacy}",
"followers_url": "https://api.github.com/users/lbeltrame/followers",
"following_url": "https://api.github.com/users/lbeltrame/following{/other_user}",
"gists_url": "https://api.github.com/users/lbeltrame/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lbeltrame",
"id": 25192,
"login": "lbeltrame",
"node_id": "MDQ6VXNlcjI1MTky",
"organizations_url": "https://api.github.com/users/lbeltrame/orgs",
"received_events_url": "https://api.github.com/users/lbeltrame/received_events",
"repos_url": "https://api.github.com/users/lbeltrame/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lbeltrame/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lbeltrame/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lbeltrame"
} | [] | closed | false | null | [] | {
"closed_at": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 9 | "2011-12-06T11:25:27Z" | "2011-12-08T04:09:18Z" | "2011-12-07T00:55:55Z" | CONTRIBUTOR | null | Case in point:
``` python
>>> df
RP/Rsum P.value
ID
A_23_P42353 17.8 0
A_23_P369994 15.91 0
A_33_P3262440 436.7 0.0005
A_32_P199429 18.97 0
A_23_P256724 22.24 0
A_33_P3394689 24.24 0
A_33_P3403117 27.14 0
A_24_P252364 28.56 0
A_23_P99515 31.82 0
A_24_P261750 31.46 0
>>> df.dtypes
RP/Rsum float64
P.value float64
>>> ids = pandas.Series(['51513', '9201', np.nan, np.nan, '8794', '6530', '7025', '4897', '84935', '11081'])
>>> df["test"] = ids
>>> df
RP/Rsum P.value test
ID
A_23_P42353 17.8 0 NaN
A_23_P369994 15.91 0 NaN
A_33_P3262440 436.7 0.0005 NaN
A_32_P199429 18.97 0 NaN
A_23_P256724 22.24 0 NaN
A_33_P3394689 24.24 0 NaN
A_33_P3403117 27.14 0 NaN
A_24_P252364 28.56 0 NaN
A_23_P99515 31.82 0 NaN
A_24_P261750 31.46 0 NaN
>>> df.dtypes
RP/Rsum float64
P.value float64
test object
```
This also happens with float objects and the like. I am not sure in what the trigger is.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/450/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/450/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/451 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/451/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/451/comments | https://api.github.com/repos/pandas-dev/pandas/issues/451/events | https://github.com/pandas-dev/pandas/issues/451 | 2,462,901 | MDU6SXNzdWUyNDYyOTAx | 451 | DataFrame.unstack() issue when unstacking multiple levels. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [
{
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 1 | "2011-12-06T14:52:41Z" | "2011-12-08T05:06:54Z" | "2011-12-08T05:06:53Z" | CONTRIBUTOR | null | Let`s create a dataframe first.
``` python
In [170]: import pandas
In [171]: import numpy as np
In [172]: import itertools
In [173]: index = pandas.MultiIndex.from_tuples([t for t in itertools.product(['foo', 'bar'], [0, 1] , ['a', 'b'])])
In [174]: df = pandas.DataFrame(np.random.randn(8,2), columns=['A', 'B'], index=index)
In [175]: df
Out[175]:
A B
foo 0 a -1.627 1.301
b -494.049m 120.371m
foo 1 a 955.212m 580.450m
b -55.806m 169.247m
bar 0 a 266.666m 246.100m
b 806.406m 894.707m
bar 1 a -1.319 475.675m
b 638.371m 409.483m
```
Unstacking a single level works fine.
``` python
In [176]: df.unstack(level=[1])
Out[176]:
A B
0 1 0 1
bar a 266.666m -1.319 246.100m 475.675m
b 806.406m 638.371m 894.707m 409.483m
foo a -1.627 955.212m 1.301 580.450m
b -494.049m -55.806m 120.371m 169.247m
```
Trying to unstack multiple level does not work as expected.
Looks like when handling multiple levels the unstack are applied consecutively, ok for the first unstack, but following ones should have level adapted internally, which does not seem to happen.
First example tries to unstack level 0 and 1 but level 0 and 2 get unstacked.
Second example, idea is to unstack level 1 and 2 but this gives an error, since after level 1 is unstacked, there is no level 2 any more this became level 1 - see also last example.
``` python
In [180]: df.unstack(level=[0,1])
Out[180]:
A A B B
bar foo bar foo
a b a b a b a b
0 266.666m 806.406m -1.627 -494.049m 246.100m 894.707m 1.301 120.371m
1 -1.319 638.371m 955.212m -55.806m 475.675m 409.483m 580.450m 169.247m
In [177]: df.unstack(level=[1,2])
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
...
IndexError: pop index out of range
In [178]: df.unstack(level=[1,1])
Out[178]:
A A B B
0 1 0 1
a b a b a b a b
bar 266.666m 806.406m -1.319 638.371m 246.100m 894.707m 475.675m 409.483m
foo -1.627 -494.049m 955.212m -55.806m 1.301 120.371m 580.450m 169.247m
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/451/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/451/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/452 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/452/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/452/comments | https://api.github.com/repos/pandas-dev/pandas/issues/452/events | https://github.com/pandas-dev/pandas/issues/452 | 2,463,416 | MDU6SXNzdWUyNDYzNDE2 | 452 | UnboundLocalError when setting data to a Panel: "local variable 'mat' referenced before assignment" | {
"avatar_url": "https://avatars.githubusercontent.com/u/358378?v=4",
"events_url": "https://api.github.com/users/andreas-h/events{/privacy}",
"followers_url": "https://api.github.com/users/andreas-h/followers",
"following_url": "https://api.github.com/users/andreas-h/following{/other_user}",
"gists_url": "https://api.github.com/users/andreas-h/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andreas-h",
"id": 358378,
"login": "andreas-h",
"node_id": "MDQ6VXNlcjM1ODM3OA==",
"organizations_url": "https://api.github.com/users/andreas-h/orgs",
"received_events_url": "https://api.github.com/users/andreas-h/received_events",
"repos_url": "https://api.github.com/users/andreas-h/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andreas-h/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andreas-h/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andreas-h"
} | [
{
"color": "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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 1 | "2011-12-06T15:32:31Z" | "2011-12-08T19:50:19Z" | "2011-12-08T19:50:19Z" | CONTRIBUTOR | null | Hi,
the following code produces a UnboundLocalError when executed with pandas 0.6.0 / Python 2.7:
```
import datetime
import pandas
timeidx = pandas.DateRange(start=datetime.datetime(2009,1,1),
end=datetime.datetime(2009,12,31),
offset=pandas.datetools.MonthEnd())
lons_coarse = np.linspace(-177.5, 177.5, 72)
lats_coarse = np.linspace(-87.5, 87.5, 36)
P = pandas.Panel(items=timeidx, major_axis=lons_coarse, minor_axis=lats_coarse)
P[datetime.datetime(2009,2,28)] = np.random.randn(72*36).reshape((72,36))
```
Maybe this is to be expected, but it's definitely not intuitive. Since both `P[datetime.datetime(2009,2,28)]` and `np.random.randn(72*36).reshape((72,36))` have shape `(72,36)`, I would expect this to work.
Until it does, what would be the way to do this?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/452/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/452/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/453 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/453/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/453/comments | https://api.github.com/repos/pandas-dev/pandas/issues/453/events | https://github.com/pandas-dev/pandas/pull/453 | 2,463,652 | MDExOlB1bGxSZXF1ZXN0NTYzMzgx | 453 | Series/DataFrame, make decision between full and short __repr__ configurable | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [] | closed | false | null | [] | null | 4 | "2011-12-06T15:48:18Z" | "2014-06-20T00:27:24Z" | "2011-12-08T04:33:25Z" | CONTRIBUTOR | null | Extending pandas.set_printoptions() with two extra arguments: _max_rows_ and _max_columns_.
These two numbers impact `pandas.Series.__repr__()` and `pandas.DataFrame.__repr__()`.
Decision between a short representation or a full one is now configurable. Default values are set to the current ones, so the change is transparent.
When using DataFrames with large number of columns, i got tired of typing `print df.to_string()` all the time :-)
``` python
set_printoptions(precision=None, column_space=None, max_rows=None,
max_columns=None)
Alter default behavior of DataFrame.toString
precision : int
Floating point output precision
column_space : int
Default space for DataFrame columns, defaults to 12
max_rows : int
max_columns : int
max_rows and max_columns are used in __repr__() methods to decide if
to_string() or info() is used to render an object to a string.
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/453/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/453/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/453.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/453",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/453.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/453"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/454 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/454/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/454/comments | https://api.github.com/repos/pandas-dev/pandas/issues/454/events | https://github.com/pandas-dev/pandas/issues/454 | 2,464,176 | MDU6SXNzdWUyNDY0MTc2 | 454 | Saving Panel with float index to HDFStore fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/358378?v=4",
"events_url": "https://api.github.com/users/andreas-h/events{/privacy}",
"followers_url": "https://api.github.com/users/andreas-h/followers",
"following_url": "https://api.github.com/users/andreas-h/following{/other_user}",
"gists_url": "https://api.github.com/users/andreas-h/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andreas-h",
"id": 358378,
"login": "andreas-h",
"node_id": "MDQ6VXNlcjM1ODM3OA==",
"organizations_url": "https://api.github.com/users/andreas-h/orgs",
"received_events_url": "https://api.github.com/users/andreas-h/received_events",
"repos_url": "https://api.github.com/users/andreas-h/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andreas-h/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andreas-h/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andreas-h"
} | [
{
"color": "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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 2 | "2011-12-06T16:30:34Z" | "2011-12-12T04:09:23Z" | "2011-12-12T04:09:23Z" | CONTRIBUTOR | null | Hi,
the following code produces a `ValueError: unrecognized index type <type 'float'>`:
```
import datetime
import pandas
timeidx = pandas.DateRange(start=datetime.datetime(2009,1,1),
end=datetime.datetime(2009,12,31),
offset=pandas.datetools.MonthEnd())
lons_coarse = np.linspace(-177.5, 177.5, 72)
lats_coarse = np.linspace(-87.5, 87.5, 36)
P = pandas.Panel(items=timeidx, major_axis=lons_coarse, minor_axis=lats_coarse)
D = pandas.DataFrame(data=np.random.randn(72*36).reshape((72,36)),index=lons_coarse, columns=lats_coarse)
P[datetime.datetime(2009,2,28)] = D
H = pandas.HDFStore("test.h5", complevel=9, complib='zlib')
H['test'] = P
H.close()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/454/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/454/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/455 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/455/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/455/comments | https://api.github.com/repos/pandas-dev/pandas/issues/455/events | https://github.com/pandas-dev/pandas/issues/455 | 2,465,640 | MDU6SXNzdWUyNDY1NjQw | 455 | Possible API method for retrieving rows by number | {
"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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 10 | "2011-12-06T18:32:19Z" | "2012-01-20T03:53:49Z" | "2012-01-20T03:53:49Z" | MEMBER | null | A briefer way than, say, `df.xs(df.index[247])` though this isn't really all that bad
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/455/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/455/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/456 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/456/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/456/comments | https://api.github.com/repos/pandas-dev/pandas/issues/456/events | https://github.com/pandas-dev/pandas/issues/456 | 2,466,718 | MDU6SXNzdWUyNDY2NzE4 | 456 | DateRange union bug caused by bad DateOffset comparison | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-06T20:04:32Z" | "2011-12-08T03:48:17Z" | "2011-12-08T03:48:17Z" | MEMBER | null | Reported by user
```
In [35]: rng1 = DateRange('12/5/2011', '12/5/2011')
In [36]: rng2 = DateRange('12/2/2011', '12/5/2011')
In [37]: rng1.union(rng2)
Out[37]:
<class 'pandas.core.daterange.DateRange'>
offset: <1 BusinessDay>, tzinfo: None
[2011-12-02 00:00:00, ..., 2011-12-05 00:00:00]
length: 2
In [38]: rng2.offset = datetools.BDay()
In [39]: rng1.union(rng2)
Out[39]: Index([2011-12-02 00:00:00, 2011-12-05 00:00:00], dtype=object)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/456/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/456/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/457 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/457/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/457/comments | https://api.github.com/repos/pandas-dev/pandas/issues/457/events | https://github.com/pandas-dev/pandas/issues/457 | 2,468,629 | MDU6SXNzdWUyNDY4NjI5 | 457 | Structured array passed to DataFrame constructor can't have passed columns "selected" from it | {
"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 | false | null | [] | {
"closed_at": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 1 | "2011-12-06T22:50:14Z" | "2011-12-08T03:40:06Z" | "2011-12-08T03:40:06Z" | MEMBER | null | Structured array input should be semantically similar to dict input
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/457/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/457/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/458 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/458/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/458/comments | https://api.github.com/repos/pandas-dev/pandas/issues/458/events | https://github.com/pandas-dev/pandas/issues/458 | 2,475,201 | MDU6SXNzdWUyNDc1MjAx | 458 | winXP 32-bit build problems | {
"avatar_url": "https://avatars.githubusercontent.com/u/173637?v=4",
"events_url": "https://api.github.com/users/reckoner/events{/privacy}",
"followers_url": "https://api.github.com/users/reckoner/followers",
"following_url": "https://api.github.com/users/reckoner/following{/other_user}",
"gists_url": "https://api.github.com/users/reckoner/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/reckoner",
"id": 173637,
"login": "reckoner",
"node_id": "MDQ6VXNlcjE3MzYzNw==",
"organizations_url": "https://api.github.com/users/reckoner/orgs",
"received_events_url": "https://api.github.com/users/reckoner/received_events",
"repos_url": "https://api.github.com/users/reckoner/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/reckoner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/reckoner/subscriptions",
"type": "User",
"url": "https://api.github.com/users/reckoner"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 7 | "2011-12-07T14:40:22Z" | "2011-12-08T23:17:58Z" | "2011-12-07T23:32:35Z" | NONE | null | trouble building latest tip on winxp 32:
```
running build
running build_py
copying pandas\version.py -> build\lib.win32-2.6\pandas
running build_ext
skipping 'pandas\src\tseries.c' Cython extension (up-to-date)
building 'pandas._tseries' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python26\lib\site-packages\numpy-1.6.1-py2.6-win32.egg\numpy\core\include -IC:\Python26\include -IC:\Python26\PC /Tcpandas\src\tseries.c /Fobuild\temp.win32-2.6\Release\pandas\src\tseries.obj
tseries.c
c:\documents and settings\reckoner\desktop\pandas\pandas\src\numpy_helper.h(29) : error C2036: 'void *' : unknown size
pandas\src\tseries.c(25741) : warning C4244: 'function' : conversion from '__pyx_t_5numpy_int64_t' to 'Py_ssize_t', possible loss of data
pandas\src\tseries.c(27030) : warning C4244: 'function' : conversion from '__pyx_t_5numpy_int64_t' to 'Py_ssize_t', possible loss of data
pandas\src\tseries.c(29457) : warning C4244: 'function' : conversion from '__pyx_t_5numpy_int64_t' to 'Py_ssize_t', possible loss of data
pandas\src\tseries.c(32203) : warning C4244: 'function' : conversion from '__pyx_t_5numpy_int64_t' to 'Py_ssize_t', possible loss of data
```
any help appreciated! I previously had no trouble building this. I have the latest cython and numpy releases.
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/458/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/458/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/459 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/459/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/459/comments | https://api.github.com/repos/pandas-dev/pandas/issues/459/events | https://github.com/pandas-dev/pandas/issues/459 | 2,475,736 | MDU6SXNzdWUyNDc1NzM2 | 459 | DataFrame rendering stylists? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 7 | "2011-12-07T15:29:54Z" | "2019-10-18T15:39:08Z" | "2014-03-11T01:33:18Z" | CONTRIBUTOR | null | Been working a bit on the idea of DataFrame rendering stylists. Would like some feedback on the idea / API.
Idea is that on top of the _formatters_ used in `DataFrame.to_string()` and `DataFrame.to_html()`, i would like to add _stylists_. A _stylist_ takes as input a string and returns a string, allowing to alter the string representation of each individual cell of a DataFrame. Each DataFrame element goes first through a _formatter_ and the string result from this goes through a _stylist_. This allows to use e.g ANSI escape sequences to change text, background color of how a DataFrame cell is displayed on screen. Or in the `DataFrame.to_html()` case, a _stylists_ can add html div, class tags - which combined with css change the rendering of a html table cell.
This is the description of _stylists_ and new API for `DataFrame.to_string()` and `DataFrame.to_html`
``` python
class DataFrameFormatter(object):
"""
Render a DataFrame
self.to_string() : console-friendly tabular output
self.to_html() : html table
"""
def __init__(self, frame, buf=None, columns=None, col_space=None,
na_rep='NaN', formatters=None, float_format=None,
sparsify=True, index_names=True, stylists=None):
"""
Parameters
----------
stylists : object when indexed with [row_key][column_key] returns a
callable object taking as input a string and outputs a string.
When rendering a DataFrame, each cell can be altered individually
using stylists, a cell gets formatted first with formatters after
which a style can be applied. For example the stylist can add ansi
escape sequences to display a cell in a different color, add
html class or div tags, ...
If stylist[row_key][column_key] does not exist, no styling is done
to this particular cell of the DataFrame.
"""
class DataFrame():
def to_string(self, buf=None, columns=None, colSpace=None,
na_rep='NaN', formatters=None, float_format=None,
sparsify=True, nanRep=None, index_names=True,
stylists=None):
def to_html(self, buf=None, columns=None, colSpace=None,
na_rep='NaN', formatters=None, float_format=None,
sparsify=True, index_names=True, stylists=None):
```
A little demo when using stylists on screen:
``` python
import pandas
import numpy as np
from colorama import Fore, Back, Style
df = pandas.DataFrame(np.random.randint(0, 10, (5, 2)),
columns=['A', 'B'],
index=['a', 'b', 'c', 'd', 'e'])
red = lambda x: Back.RED + x + Back.RESET
green = lambda x: Back.GREEN + x + Back.RESET
yellow = lambda x: Back.YELLOW + x + Back.RESET
stylists = {'a': {'A': red, 'B': yellow},
'b': {'A': green},
'c': {'B': green}}
```
Results in the following (there should be an image here below):
![stylists demo](https://lh6.googleusercontent.com/-i-Ujjer_6SA/Tt96JZ45VqI/AAAAAAAAAM8/-vUM0Te4UUQ/s318/pandas_dataframe_stylists_demo.JPG)
As you can see, more work is needed. The ANSI escape sequences are taken into account when determining the number of characters needed for each column, this is not needed since they are invisible. Solution is e.g to set column widths before stylists are applied, implying that a stylist can not change the width of a column - seems reasonable.
Or maybe this should be taken one step further and find some way to combine the functionality of both _formatters_ and _stylists_ into one (have not thought about how this should look)? Ideas, feedback?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/459/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/459/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/460 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/460/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/460/comments | https://api.github.com/repos/pandas-dev/pandas/issues/460/events | https://github.com/pandas-dev/pandas/issues/460 | 2,478,680 | MDU6SXNzdWUyNDc4Njgw | 460 | Master does not compile on windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/453086?v=4",
"events_url": "https://api.github.com/users/dieterv77/events{/privacy}",
"followers_url": "https://api.github.com/users/dieterv77/followers",
"following_url": "https://api.github.com/users/dieterv77/following{/other_user}",
"gists_url": "https://api.github.com/users/dieterv77/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dieterv77",
"id": 453086,
"login": "dieterv77",
"node_id": "MDQ6VXNlcjQ1MzA4Ng==",
"organizations_url": "https://api.github.com/users/dieterv77/orgs",
"received_events_url": "https://api.github.com/users/dieterv77/received_events",
"repos_url": "https://api.github.com/users/dieterv77/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dieterv77/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dieterv77/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dieterv77"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 3 | "2011-12-07T19:24:05Z" | "2011-12-07T23:32:23Z" | "2011-12-07T23:32:23Z" | CONTRIBUTOR | null | I ran into issues compiling current master on windows. The problem is with the new pandas/src/numpyhelper.h file
There are two issues there:
1. MSVC does not support "inline" in C (see http://msdn.microsoft.com/en-us/library/z8y1yy88.aspx)
It does support _inline in C however, which has the intended meaning as far as i can tell.
1. MSVC does not support pointer arithmetic on void *. I fixed that with simple cast.
There's a diff below, it only show how to make it compile on windows, and is not portable. I didn't put this in a pull request because i'm not sure how you would like to make changes that are portable.
```
diff --git a/pandas/src/numpy_helper.h b/pandas/src/numpy_helper.h
index f5779dd..fe40e8c 100644
--- a/pandas/src/numpy_helper.h
+++ b/pandas/src/numpy_helper.h
@@ -1,30 +1,30 @@
#include "Python.h"
#include "numpy/ndarrayobject.h"
-inline int
+_inline int
is_integer_object(PyObject* obj) {
return PyArray_IsIntegerScalar(obj);
}
-inline int
+_inline int
is_float_object(PyObject* obj) {
return (PyFloat_Check(obj) || PyArray_IsScalar(obj, Floating));
}
-inline int
+_inline int
is_bool_object(PyObject* obj) {
return (PyBool_Check(obj) || PyArray_IsScalar(obj, Bool));
}
-inline int
+_inline int
is_string_object(PyObject* obj) {
return (PyString_Check(obj) || PyUnicode_Check(obj));
}
-inline int
+_inline int
assign_value_1d(PyArrayObject* ap, Py_ssize_t _i, PyObject* v) {
char *item;
npy_intp i = (npy_intp) _i;
- item = PyArray_DATA(ap) + i * PyArray_STRIDE(ap, 0);
+ item = (char *) PyArray_DATA(ap) + i * PyArray_STRIDE(ap, 0);
return PyArray_DESCR(ap)->f->setitem(v, item, ap);
}
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/460/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/460/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/461 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/461/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/461/comments | https://api.github.com/repos/pandas-dev/pandas/issues/461/events | https://github.com/pandas-dev/pandas/issues/461 | 2,479,654 | MDU6SXNzdWUyNDc5NjU0 | 461 | Enhance DataFrame.align to work with Series input / index-only option, add axis option | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-07T20:31:37Z" | "2011-12-09T20:10:35Z" | "2011-12-09T20:10:35Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/461/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/461/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/462 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/462/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/462/comments | https://api.github.com/repos/pandas-dev/pandas/issues/462/events | https://github.com/pandas-dev/pandas/issues/462 | 2,481,487 | MDU6SXNzdWUyNDgxNDg3 | 462 | Enable rolling_corr to take DataFrame + Series | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-07T23:06:05Z" | "2011-12-12T04:09:43Z" | "2011-12-12T04:09:43Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/462/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/462/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/463 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/463/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/463/comments | https://api.github.com/repos/pandas-dev/pandas/issues/463/events | https://github.com/pandas-dev/pandas/pull/463 | 2,481,740 | MDExOlB1bGxSZXF1ZXN0NTcwMzc4 | 463 | Yahoo quote | {
"avatar_url": "https://avatars.githubusercontent.com/u/1168324?v=4",
"events_url": "https://api.github.com/users/sjev/events{/privacy}",
"followers_url": "https://api.github.com/users/sjev/followers",
"following_url": "https://api.github.com/users/sjev/following{/other_user}",
"gists_url": "https://api.github.com/users/sjev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sjev",
"id": 1168324,
"login": "sjev",
"node_id": "MDQ6VXNlcjExNjgzMjQ=",
"organizations_url": "https://api.github.com/users/sjev/orgs",
"received_events_url": "https://api.github.com/users/sjev/received_events",
"repos_url": "https://api.github.com/users/sjev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sjev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sjev"
} | [] | closed | false | null | [] | null | 2 | "2011-12-07T23:29:01Z" | "2014-06-13T03:17:37Z" | "2011-12-07T23:35:54Z" | CONTRIBUTOR | null | I've added a get_quote_yahoo function to io.data.py. The function returns a DataFrame of the current yahoo data for a set of symbols
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/463/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/463/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/463.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/463",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/463.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/463"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/464 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/464/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/464/comments | https://api.github.com/repos/pandas-dev/pandas/issues/464/events | https://github.com/pandas-dev/pandas/issues/464 | 2,495,888 | MDU6SXNzdWUyNDk1ODg4 | 464 | Insert DataFrame rows with dict / other interface | {
"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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 3 | "2011-12-08T23:13:56Z" | "2012-01-14T20:34:08Z" | "2012-01-14T20:34:08Z" | MEMBER | null | want to be able to have a syntactically easy way to insert one or more rows in a 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/464/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/464/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/465 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/465/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/465/comments | https://api.github.com/repos/pandas-dev/pandas/issues/465/events | https://github.com/pandas-dev/pandas/issues/465 | 2,500,548 | MDU6SXNzdWUyNTAwNTQ4 | 465 | DataFrame.applymap(func) issue when func returns tuple | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [
{
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 2 | "2011-12-09T11:13:43Z" | "2013-12-04T00:48:07Z" | "2011-12-12T02:58:34Z" | CONTRIBUTOR | null | ``` python
In [82]: def func_tuple(x):
....: return (x,x)
....:
In [83]: series = pandas.Series(['a', 'b', 'c', 'd'])
In [84]: df = pandas.DataFrame({'A': series})
In [85]: df
Out[85]:
A
0 a
1 b
2 c
3 d
In [86]: df.applymap(func_tuple)
Out[86]:
A
0 None
1 None
2 None
3 None
```
This works fine
``` python
In [87]: map(func_tuple, series)
Out[87]: [('a', 'a'), ('b', 'b'), ('c', 'c'), ('d', 'd')]
```
Let`s try with a list:
``` python
In [88]: def func_list(x):
....: return [x,x]
In [89]: df.applymap(func_list)
Out[89]:
A
0 ['a', 'a']
1 ['b', 'b']
2 ['c', 'c']
3 ['d', 'd']
```
Had a look at the pandas.DataFrame.applymap() code and this behavior is related to numpy.
I`m using numpy 1.5.1, i know that for other reason numpy 1.6.1 is preferred. Would more recent numpy version fix this?
I tried to install more recent version of numpy, but so far unsuccessful (various compilation errors).
``` python
In [103]: np.frompyfunc(func_tuple, 1, 1)(series)
Out[103]:
0 NaN
1 NaN
2 NaN
3 NaN
In [104]: np.frompyfunc(func_list, 1, 1)(series)
Out[104]:
0 ['a', 'a']
1 ['b', 'b']
2 ['c', 'c']
3 ['d', '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/465/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/465/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/466 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/466/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/466/comments | https://api.github.com/repos/pandas-dev/pandas/issues/466/events | https://github.com/pandas-dev/pandas/issues/466 | 2,506,823 | MDU6SXNzdWUyNTA2ODIz | 466 | Padding / backfilling for monotonic data | {
"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": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"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-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 1 | "2011-12-09T20:56:39Z" | "2012-04-05T00:28:29Z" | "2012-04-05T00:28:29Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/466/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/466/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/467 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/467/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/467/comments | https://api.github.com/repos/pandas-dev/pandas/issues/467/events | https://github.com/pandas-dev/pandas/issues/467 | 2,508,486 | MDU6SXNzdWUyNTA4NDg2 | 467 | Memory leak in 0.6.0 | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-09T23:30:29Z" | "2011-12-10T20:26:45Z" | "2011-12-10T20:26:45Z" | MEMBER | null | The following code results in huge memory usage. Reported by a user
```
df = DataFrame(index=np.arange(175))
for i in range(8000):
df[i] = 5
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/467/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/467/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/468 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/468/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/468/comments | https://api.github.com/repos/pandas-dev/pandas/issues/468/events | https://github.com/pandas-dev/pandas/issues/468 | 2,518,265 | MDU6SXNzdWUyNTE4MjY1 | 468 | Optimize DataFrame.append for block structure | {
"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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-11T23:26:02Z" | "2012-01-06T05:53:33Z" | "2012-01-06T05:53:33Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/468/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/468/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/469 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/469/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/469/comments | https://api.github.com/repos/pandas-dev/pandas/issues/469/events | https://github.com/pandas-dev/pandas/issues/469 | 2,518,357 | MDU6SXNzdWUyNTE4MzU3 | 469 | Need to exclude NA values with dtype=object in stat methods | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 1 | "2011-12-11T23:47:42Z" | "2011-12-12T00:52:38Z" | "2011-12-12T00:52:25Z" | MEMBER | null | reported by @npinger, regression from 0.5.0 I think.
import pandas
lis = [1, 3, 5, None, 7]
index = [1, 2, 3, 4, 5]
ser = pandas.core.series.Series(data=lis, index=index)
ser.mean()
Gives this error:
Traceback (most recent call last):
File "<console>", line 1, in <module>
File ".../pandas/core/series.py", line 650, in mean
return nanops.nanmean(self.values, skipna=skipna)
File ".../pandas/core/nanops.py", line 30, in nanmean
the_mean = values.sum(axis) / float(values.shape[axis])
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
import pandas
import numpy as np
lis = [1, 3, 5, np.nan, 7]
index = [1, 2, 3, 4, 5]
ser = pandas.core.series.Series(data=lis, index=index)
ser.mean()
(gives no error)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/469/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/469/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/470 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/470/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/470/comments | https://api.github.com/repos/pandas-dev/pandas/issues/470/events | https://github.com/pandas-dev/pandas/issues/470 | 2,519,662 | MDU6SXNzdWUyNTE5NjYy | 470 | Use OpenMP for computing pairwise correlations | {
"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"
} | 1 | "2011-12-12T05:34:57Z" | "2016-09-29T22:44:18Z" | "2016-09-29T22:14:25Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/470/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/470/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/471 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/471/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/471/comments | https://api.github.com/repos/pandas-dev/pandas/issues/471/events | https://github.com/pandas-dev/pandas/issues/471 | 2,520,213 | MDU6SXNzdWUyNTIwMjEz | 471 | ImportError: No module named sparse.api | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 2 | "2011-12-12T07:46:39Z" | "2011-12-12T15:58:03Z" | "2011-12-12T15:30:09Z" | CONTRIBUTOR | null | Pulled from github master and did install (removed previous version and build dir), but get ImportError.
``` python
In [1]: import pandas
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
...
----> 1 import pandas
<...>/lib/python2.7/site-packages/pandas/__init__.py in <module>()
21
22 from pandas.core.api import *
---> 23 from pandas.sparse.api import *
24 from pandas.stats.api import *
25
ImportError: No module named sparse.api
In [2]:
```
There is no sparce directory in <...>/lib/python2.7/site-packages/pandas.
If i build in place and import from the src directory there is no ImportError.
UPDATE:
Running git bisect, gives the following commits as first _bad_ commit;
```
b3c12b15e8c8a0f87c317fd1bf8e792805f1c582 is the first bad commit
commit b3c12b15e8c8a0f87c317fd1bf8e792805f1c582
Author: Wes McKinney <[email protected]>
Date: Sat Dec 10 16:10:26 2011 -0500
REF: broke apart sparse.py, created sparse subpackage
:100644 100644 029e140cb88eed926b2eecf8151fc527ac6401f1 d8993b3d91be5a5b070f9960a0ba0c52e91c2445 M .gitignore
:040000 040000 62a8d207935e494713c8cc1db338b3e82ffe7af9 fc94ae9d245f0e9747352379eccb36c3298156f6 M 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/471/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/471/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/472 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/472/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/472/comments | https://api.github.com/repos/pandas-dev/pandas/issues/472/events | https://github.com/pandas-dev/pandas/issues/472 | 2,520,963 | MDU6SXNzdWUyNTIwOTYz | 472 | pandas: python remote engine crashes at object introspection of DataFrame instance Optionen | {
"avatar_url": "https://avatars.githubusercontent.com/u/1256994?v=4",
"events_url": "https://api.github.com/users/MaxBo/events{/privacy}",
"followers_url": "https://api.github.com/users/MaxBo/followers",
"following_url": "https://api.github.com/users/MaxBo/following{/other_user}",
"gists_url": "https://api.github.com/users/MaxBo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MaxBo",
"id": 1256994,
"login": "MaxBo",
"node_id": "MDQ6VXNlcjEyNTY5OTQ=",
"organizations_url": "https://api.github.com/users/MaxBo/orgs",
"received_events_url": "https://api.github.com/users/MaxBo/received_events",
"repos_url": "https://api.github.com/users/MaxBo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MaxBo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaxBo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MaxBo"
} | [] | closed | false | null | [] | null | 2 | "2011-12-12T09:38:19Z" | "2012-10-15T18:30:25Z" | "2012-10-15T18:30:25Z" | NONE | null | Dear all,
When i try the following pandas example code from
http://pandas.sourceforge.net/dsintro.html
in the Python interpreter of PyScripter 2.4.3.0 with python 2.6.7 on
win32bit and the remote python engine (using rpyc Version 3.2.0) and
pandas 0.6.0
from pandas import *
d = {'one' : Series([1., 2., 3.], index=['a', 'b', 'c']), 'two' :
Series([1., 2., 3., 4.], index=['a', 'b', 'c', 'd'])}
df = DataFrame(d)
and try to use the object inspection by typing
df.
in order to get the available methods and attributes of the DataFrame
instance,
the python engine crashes. The same happens, when i open the
"Variables"-Window in PyScripter after having created the df object.
Using the internal python engine of PyScripter causes no crash, but
the object introspection does not worrk neither.
Using the IDLE Python Interpreter, the object inspection works (after
waiting for 2-3 seconds),
With instances of the Series class, i had no problems.
A similar behaviour has been described in
http://code.google.com/p/pyscripter/issues/detail?id=579
the problem descibed there has something to do with the impementation
of the **getattribute**() method.
In the pandas modules only in pandas\core\groupby.py the
**getattribute** method is changed.
I guess, that the bug is caused by the way, how the IPython completion
mechanism has been implemented in pandas.
> > The columns are also connected to the IPython completion mechanism so they can be tab-completed:
> > In [5]: df.fo<TAB>
> > df.foo1 df.foo2
As i don't know, if this behaviour is caused by a problem in the
pandas code, or if the remote python engine of PyScripter has a bug, i
will cross-post this bug to the PyScripter mailing list.
Best regards,
Max
Thomas Kluyver wrote:
> Nothing comes to mind. I've read through the linked bug report for
> PyScripter, and it appears that case was due to attributes presenting
> invalid special (double-underscore) attributes, like **class** and **doc**.
> I don't think that's a problem with the Series objects we're returning.
>
> Wishful thinking perhaps, but I don't suppose PyScripter can be persuaded
> to crash with a traceback? Otherwise, we're kind of debugging blind.
>
> Thanks,
> Thomas
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/472/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/472/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/473 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/473/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/473/comments | https://api.github.com/repos/pandas-dev/pandas/issues/473/events | https://github.com/pandas-dev/pandas/issues/473 | 2,527,156 | MDU6SXNzdWUyNTI3MTU2 | 473 | Issue modifying data in object arrays in DataFrame | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-12T19:14:18Z" | "2011-12-12T19:56:19Z" | "2011-12-12T19:56:19Z" | MEMBER | null | reported by user
```
import pandas
pandas
import numpy as np
from pandas import DataMatrix
Y = DataMatrix( np.random.random( (4,4) ) , index = ('a','b','c','d') , columns = ('e','f','g','h' ))
Y
Y['e'] = Y['e'].astype('object')
Y['g']['c'] = np.NaN
Y
Y.sum()
Y['g'].sum()
```
Appears to be caused by a stale reference to a block
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/473/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/473/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/474 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/474/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/474/comments | https://api.github.com/repos/pandas-dev/pandas/issues/474/events | https://github.com/pandas-dev/pandas/issues/474 | 2,527,343 | MDU6SXNzdWUyNTI3MzQz | 474 | Add inplace option to DataFrame.consolidate | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-12T19:29:36Z" | "2011-12-12T20:17:24Z" | "2011-12-12T20:17:24Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/474/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/474/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/475 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/475/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/475/comments | https://api.github.com/repos/pandas-dev/pandas/issues/475/events | https://github.com/pandas-dev/pandas/issues/475 | 2,528,289 | MDU6SXNzdWUyNTI4Mjg5 | 475 | DataFrame constructor bug from single Series with different Index | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-12T20:45:34Z" | "2011-12-12T20:59:22Z" | "2011-12-12T20:59:22Z" | MEMBER | null | reported by a user
```
In [7]: DataFrame(Series(np.arange(10)), index=range(5))
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
/home/wesm/code/pandas/<ipython-input-7-0a85de6b44f0> in <module>()
----> 1 DataFrame(Series(np.arange(10)), index=range(5))
/home/wesm/code/pandas/pandas/core/frame.pyc in __init__(self, data, index, columns, dtype, copy)
206 else:
207 mgr = self._init_ndarray(data, index, columns, dtype=dtype,
--> 208 copy=copy)
209 elif isinstance(data, list):
210 mgr = self._init_ndarray(data, index, columns, dtype=dtype,
/home/wesm/code/pandas/pandas/core/frame.pyc in _init_ndarray(self, values, index, columns, dtype, copy)
287 columns = _ensure_index(columns)
288 block = make_block(values.T, columns, columns)
--> 289 return BlockManager([block], [columns, index])
290
291 def _wrap_array(self, arr, axes, copy=False):
/home/wesm/code/pandas/pandas/core/internals.pyc in __init__(self, blocks, axes, do_integrity_check)
274
275 if do_integrity_check:
--> 276 self._verify_integrity()
277
278 @property
/home/wesm/code/pandas/pandas/core/internals.pyc in _verify_integrity(self)
353 mgr_shape = self.shape
354 for block in self.blocks:
--> 355 assert(block.values.shape[1:] == mgr_shape[1:])
356 tot_items = sum(len(x.items) for x in self.blocks)
357 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/475/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/475/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/476 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/476/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/476/comments | https://api.github.com/repos/pandas-dev/pandas/issues/476/events | https://github.com/pandas-dev/pandas/issues/476 | 2,529,145 | MDU6SXNzdWUyNTI5MTQ1 | 476 | DataFrame.delevel improvements | {
"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": "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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 2 | "2011-12-12T21:56:47Z" | "2011-12-29T09:02:10Z" | "2011-12-29T03:21:12Z" | MEMBER | null | from @lodagro
```
Concerning the method name, DataFrame.delevel() is maybe too close to a MultiIndex.
DataFrame.deindex() is more general, both are fine for me. And i have no problem to change either.
One little remark, for a MultiIndex default column names are inserted when needed, whereas if no MultiIndex is used, and no name - an exception is raised. Would it not be cleaner to do the same for both, either raise an exception if no names are set or enter default column names?
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/476/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/476/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/477 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/477/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/477/comments | https://api.github.com/repos/pandas-dev/pandas/issues/477/events | https://github.com/pandas-dev/pandas/issues/477 | 2,529,890 | MDU6SXNzdWUyNTI5ODkw | 477 | Enable unstack to create Series (currently raises Exception) | {
"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": "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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 0 | "2011-12-12T22:56:57Z" | "2016-10-12T23:02:42Z" | "2012-01-09T22:40:39Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/477/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/477/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/478 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/478/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/478/comments | https://api.github.com/repos/pandas-dev/pandas/issues/478/events | https://github.com/pandas-dev/pandas/issues/478 | 2,530,279 | MDU6SXNzdWUyNTMwMjc5 | 478 | More helpful error message when DataFrame.plot fails on some column | {
"avatar_url": "https://avatars.githubusercontent.com/u/119405?v=4",
"events_url": "https://api.github.com/users/mattharrison/events{/privacy}",
"followers_url": "https://api.github.com/users/mattharrison/followers",
"following_url": "https://api.github.com/users/mattharrison/following{/other_user}",
"gists_url": "https://api.github.com/users/mattharrison/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mattharrison",
"id": 119405,
"login": "mattharrison",
"node_id": "MDQ6VXNlcjExOTQwNQ==",
"organizations_url": "https://api.github.com/users/mattharrison/orgs",
"received_events_url": "https://api.github.com/users/mattharrison/received_events",
"repos_url": "https://api.github.com/users/mattharrison/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mattharrison/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattharrison/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mattharrison"
} | [
{
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 3 | "2011-12-12T23:29:44Z" | "2011-12-13T22:28:15Z" | "2011-12-13T22:28:15Z" | NONE | null | I'm trying to plot a DataFrame and it wasn't working, so I tried loading the data set from the read_csv docs. It also failed. I think I'm missing something, but I've been successful with matplotlib before. :)
```
from pandas import read_csv
import matplotlib.pyplot as plt
junk = read_csv('bar.csv')
fig = plt.figure()
junk.plot()
fig.savefig('/tmp/foo3.png')
```
bar.csv
```
year,indiv,zit,xit
1977,"A",1.2,.6
1977,"B",1.5,.5
1977,"C",1.7,.8
1978,"A",.2,.06
1978,"B",.7,.2
1978,"C",.8,.3
1978,"D",.9,.5
1978,"E",1.4,.9
1979,"C",.2,.15
1979,"D",.14,.05
1979,"E",.5,.15
1979,"F",1.2,.5
1979,"G",3.4,1.9
1979,"H",5.4,2.7
1979,"I",6.4,1.2
```
I get the folowing error:
```
python /tmp/plot.py
Traceback (most recent call last):
File "/tmp/plot.py", line 6, in <module>
junk.plot()
File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/pandas/core/frame.py", line 3225, in plot
ax.plot(x, y, label=str(col), **kwds)
File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/matplotlib/axes.py", line 3783, in plot
for line in self._get_lines(*args, **kwargs):
File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/matplotlib/axes.py", line 317, in _grab_next_args
for seg in self._plot_args(remaining, kwargs):
File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/matplotlib/axes.py", line 275, in _plot_args
linestyle, marker, color = _process_plot_format(tup[-1])
File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/matplotlib/axes.py", line 93, in _process_plot_format
if fmt.find('--')>=0:
AttributeError: 'numpy.ndarray' object has no attribute 'find'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/478/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/478/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/479 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/479/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/479/comments | https://api.github.com/repos/pandas-dev/pandas/issues/479/events | https://github.com/pandas-dev/pandas/issues/479 | 2,531,747 | MDU6SXNzdWUyNTMxNzQ3 | 479 | Add method for concatenating / appending multiple DataFrames | {
"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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 0 | "2011-12-13T01:43:45Z" | "2012-01-06T05:53:54Z" | "2012-01-06T05:53:54Z" | MEMBER | null | like
```
append_many(cls, frames):
df = None
for f in frames:
df = f if df is None else df.append(f)
return df
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/479/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/479/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/480 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/480/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/480/comments | https://api.github.com/repos/pandas-dev/pandas/issues/480/events | https://github.com/pandas-dev/pandas/issues/480 | 2,531,808 | MDU6SXNzdWUyNTMxODA4 | 480 | Function for flattening MultiIndex | {
"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": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": "2014-05-30T12:17:57Z",
"closed_issues": 755,
"created_at": "2014-01-03T20:19:04Z",
"creator": null,
"description": "2014-02-3: previous version released",
"due_on": "2014-05-31T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/24",
"id": 526062,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24/labels",
"node_id": "MDk6TWlsZXN0b25lNTI2MDYy",
"number": 24,
"open_issues": 0,
"state": "closed",
"title": "0.14.0",
"updated_at": "2016-12-29T13:57:13Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/24"
} | 0 | "2011-12-13T01:53:11Z" | "2014-02-18T01:42:24Z" | "2014-02-18T01:42:24Z" | MEMBER | null | When a level is already unique, can drop other levels and return an object indexed just by that
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/480/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/480/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/481 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/481/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/481/comments | https://api.github.com/repos/pandas-dev/pandas/issues/481/events | https://github.com/pandas-dev/pandas/issues/481 | 2,531,946 | MDU6SXNzdWUyNTMxOTQ2 | 481 | Bug: handle MultiIndex names in concatenation step of GroupBy.apply | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 0 | "2011-12-13T02:11:04Z" | "2011-12-13T20:00:31Z" | "2011-12-13T20:00:31Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/481/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/481/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/482 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/482/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/482/comments | https://api.github.com/repos/pandas-dev/pandas/issues/482/events | https://github.com/pandas-dev/pandas/pull/482 | 2,532,590 | MDExOlB1bGxSZXF1ZXN0NTg2NzA4 | 482 | Add Series.from_csv with some tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/453086?v=4",
"events_url": "https://api.github.com/users/dieterv77/events{/privacy}",
"followers_url": "https://api.github.com/users/dieterv77/followers",
"following_url": "https://api.github.com/users/dieterv77/following{/other_user}",
"gists_url": "https://api.github.com/users/dieterv77/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dieterv77",
"id": 453086,
"login": "dieterv77",
"node_id": "MDQ6VXNlcjQ1MzA4Ng==",
"organizations_url": "https://api.github.com/users/dieterv77/orgs",
"received_events_url": "https://api.github.com/users/dieterv77/received_events",
"repos_url": "https://api.github.com/users/dieterv77/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dieterv77/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dieterv77/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dieterv77"
} | [] | closed | false | null | [] | null | 1 | "2011-12-13T03:53:34Z" | "2014-06-25T08:10:46Z" | "2011-12-13T18:51:27Z" | CONTRIBUTOR | null | Just a convenience method to mirror the one in 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/482/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/482/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/482.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/482",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/482.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/482"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/483 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/483/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/483/comments | https://api.github.com/repos/pandas-dev/pandas/issues/483/events | https://github.com/pandas-dev/pandas/issues/483 | 2,536,571 | MDU6SXNzdWUyNTM2NTcx | 483 | should asfreq return future dates as well? | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.com/users/CRP/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CRP",
"id": 807824,
"login": "CRP",
"node_id": "MDQ6VXNlcjgwNzgyNA==",
"organizations_url": "https://api.github.com/users/CRP/orgs",
"received_events_url": "https://api.github.com/users/CRP/received_events",
"repos_url": "https://api.github.com/users/CRP/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CRP/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CRP"
} | [
{
"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": "2012-11-27T16:09:26Z",
"closed_issues": 485,
"created_at": "2011-08-24T19:15:47Z",
"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-06-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/2",
"id": 30849,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2/labels",
"node_id": "MDk6TWlsZXN0b25lMzA4NDk=",
"number": 2,
"open_issues": 0,
"state": "closed",
"title": "0.8.0",
"updated_at": "2015-07-29T15:00:35Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/2"
} | 3 | "2011-12-13T13:41:10Z" | "2012-04-23T16:06:47Z" | "2012-04-23T16:06:47Z" | CONTRIBUTOR | null | Suppose I have a daily series ts ending on dec 12th, and that I want to make a monthly series out of it, with ts.asfreq(MonthEnd()).
The last date I will obtain is 2011-11-30, but if I want to use this data to calculate returns I do not want to lose data for December and get a MTD return as last datapoint.
So I was wondering if it makes sense that in this case, ts.asfreq(MonthEnd())[-1] returns NaN with date 2012-12-31, while ts.asfreq(MonthEnd())[-1] returns the value of 2011-12-12 with date 2012-12-31.
Any good reason why this should not be the case?
What do you think?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/483/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/483/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/484 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/484/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/484/comments | https://api.github.com/repos/pandas-dev/pandas/issues/484/events | https://github.com/pandas-dev/pandas/issues/484 | 2,540,806 | MDU6SXNzdWUyNTQwODA2 | 484 | Type inference with list of lists in DataFrame constructor | {
"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": "2011-12-13T22:28:15Z",
"closed_issues": 43,
"created_at": "2011-11-28T20:31:45Z",
"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": "2011-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/9",
"id": 60350,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9/labels",
"node_id": "MDk6TWlsZXN0b25lNjAzNTA=",
"number": 9,
"open_issues": 0,
"state": "closed",
"title": "0.6.1",
"updated_at": "2012-02-11T22:38:26Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/9"
} | 1 | "2011-12-13T18:08:37Z" | "2011-12-13T19:36:02Z" | "2011-12-13T19:36:02Z" | MEMBER | null | per @aristotle137
```
In [1216]: l = [[1, 'a'], [2, 'b']]
...: df = DataFrame(data = l, columns = ["num", "str"])
...:
In [1217]: df.dtypes
Out[1217]: num object
str object
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/484/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/484/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/485 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/485/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/485/comments | https://api.github.com/repos/pandas-dev/pandas/issues/485/events | https://github.com/pandas-dev/pandas/issues/485 | 2,541,338 | MDU6SXNzdWUyNTQxMzM4 | 485 | Cython required on install | {
"avatar_url": "https://avatars.githubusercontent.com/u/119405?v=4",
"events_url": "https://api.github.com/users/mattharrison/events{/privacy}",
"followers_url": "https://api.github.com/users/mattharrison/followers",
"following_url": "https://api.github.com/users/mattharrison/following{/other_user}",
"gists_url": "https://api.github.com/users/mattharrison/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mattharrison",
"id": 119405,
"login": "mattharrison",
"node_id": "MDQ6VXNlcjExOTQwNQ==",
"organizations_url": "https://api.github.com/users/mattharrison/orgs",
"received_events_url": "https://api.github.com/users/mattharrison/received_events",
"repos_url": "https://api.github.com/users/mattharrison/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mattharrison/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattharrison/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mattharrison"
} | [] | closed | false | null | [] | null | 3 | "2011-12-13T18:48:39Z" | "2011-12-13T21:55:43Z" | "2011-12-13T21:55:43Z" | NONE | null | I had a few issues during install. I first created a virtual env, then pip installed pandas. It appeared to work but I got the following error when trying to import pandas:
```
Traceback (most recent call last):
File "test.py", line 2, in <module>
from pandas import DataFrame, Series, read_csv
File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/pandas/__init__.py", line 10, in <module>
import pandas._tseries as lib
ImportError: /home/mharrison/work/pandas/env/lib/python2.6/site-packages/pandas/_tseries.so: undefined symbol: PyArray_IsIntegerScalar
```
I then went back and read the install docs (yeah, did that backwards) and noticed that my numpy on Ubuntu 10.10 was not at 1.6.1. So I upgraded that and then tried to install pandas from git.
Got the following error:
```
$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 292, in <module>
depends=tseries_depends + ['pandas/src/numpy_helper.h'],
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'
```
I changed tseries_depends to a `[]` instead of `None` and it progressed furhter but still bailed out:
```
opying pandas/io/tests/test.xls -> build/lib.linux-i686-2.6/pandas/io/tests
running build_ext
Traceback (most recent call last):
File "setup.py", line 355, in <module>
**setuptools_args)
File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/lib/python2.6/distutils/command/install.py", line 615, in run
self.run_command('build')
File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/lib/python2.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/lib/python2.6/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "setup.py", line 239, in build_extensions
self.check_cython_extensions(self.extensions)
File "setup.py", line 236, in check_cython_extensions
""" % src)
Exception: Cython-generated file 'pandas/src/tseries.c' not found.
Cython is required to compile pandas from a development branch.
Please install Cython or download a release package of pandas.
```
So I pip installed cython and I think I'm good now.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/485/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/485/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/486 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/486/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/486/comments | https://api.github.com/repos/pandas-dev/pandas/issues/486/events | https://github.com/pandas-dev/pandas/issues/486 | 2,549,380 | MDU6SXNzdWUyNTQ5Mzgw | 486 | exception joining dataframes with different datatypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/807824?v=4",
"events_url": "https://api.github.com/users/CRP/events{/privacy}",
"followers_url": "https://api.github.com/users/CRP/followers",
"following_url": "https://api.github.com/users/CRP/following{/other_user}",
"gists_url": "https://api.github.com/users/CRP/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CRP",
"id": 807824,
"login": "CRP",
"node_id": "MDQ6VXNlcjgwNzgyNA==",
"organizations_url": "https://api.github.com/users/CRP/orgs",
"received_events_url": "https://api.github.com/users/CRP/received_events",
"repos_url": "https://api.github.com/users/CRP/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CRP/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CRP/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CRP"
} | [
{
"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-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-14T09:48:57Z" | "2011-12-15T17:22:57Z" | "2011-12-15T17:22:57Z" | CONTRIBUTOR | null | In [71]: a=DataFrame(randn(10,2),columns=['a','b'])
In [72]: b=DataFrame(randn(10,1),columns=['c']).astype(np.float32)
## In [73]: a.join(b)
TypeError Traceback (most recent call last)
/Users/c.prinoth/<ipython-input-73-3163f462d6f9> in <module>()
----> 1 a.join(b)
/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/pandas/core/frame.pyc in join(self, other, on, how, lsuffix, rsuffix)
2614 return self._join_on(other, on, how, lsuffix, rsuffix)
2615 else:
-> 2616 return self._join_index(other, how, lsuffix, rsuffix)
2617
2618 def _join_on(self, other, on, how, lsuffix, rsuffix):
/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/pandas/core/frame.pyc in _join_index(self, other, how, lsuffix, rsuffix)
2649
2650 # this will always ensure copied data
-> 2651 merged_data = join_managers(thisdata, otherdata, axis=1, how=how)
2652 return self._constructor(merged_data)
2653
/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/pandas/core/internals.pyc in join_managers(left, right, axis, how, copy)
1032 def join_managers(left, right, axis=1, how='left', copy=True):
1033 op = _JoinOperation(left, right, axis=axis, how=how)
-> 1034 return op.get_result(copy=copy)
1035
1036 class _JoinOperation(object):
/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/pandas/core/internals.pyc in get_result(self, copy)
1090 if lblk and rblk:
1091 # true merge, do not produce intermediate copy
-> 1092 res_blk = self._merge_blocks(lblk, rblk)
1093 elif lblk:
1094 res_blk = self._reindex_block(lblk, side='left')
/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/pandas/core/internals.pyc in _merge_blocks(self, lblk, rblk)
1206 else:
1207 common.take_fast(rblk.values, ridx, None, False,
-> 1208 axis=self.axis, out=out[lk:])
1209
1210 # does not sort
/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/pandas/core/common.pyc in take_fast(arr, indexer, mask, needs_masking, axis, out)
247 return take_2d(arr, indexer, out=out, mask=mask,
248 needs_masking=needs_masking,
--> 249 axis=axis)
250
251 result = arr.take(indexer, axis=axis, out=out)
/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/pandas/core/common.pyc in take_2d(arr, indexer, out, mask, needs_masking, axis)
232 needs_masking = mask.any()
233
--> 234 result = arr.take(indexer, axis=axis, out=out)
235 result = _maybe_mask(result, mask, needs_masking, axis=axis,
236 out_passed=out is not None)
TypeError: array cannot be safely cast to required type
In [77]: a.dtypes
Out[77]:
a float64
b float64
In [78]: b.dtypes
Out[78]: c float32
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/486/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/486/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/487 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/487/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/487/comments | https://api.github.com/repos/pandas-dev/pandas/issues/487/events | https://github.com/pandas-dev/pandas/issues/487 | 2,554,685 | MDU6SXNzdWUyNTU0Njg1 | 487 | nanops on datetime objects failing | {
"avatar_url": "https://avatars.githubusercontent.com/u/1129233?v=4",
"events_url": "https://api.github.com/users/creeson/events{/privacy}",
"followers_url": "https://api.github.com/users/creeson/followers",
"following_url": "https://api.github.com/users/creeson/following{/other_user}",
"gists_url": "https://api.github.com/users/creeson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/creeson",
"id": 1129233,
"login": "creeson",
"node_id": "MDQ6VXNlcjExMjkyMzM=",
"organizations_url": "https://api.github.com/users/creeson/orgs",
"received_events_url": "https://api.github.com/users/creeson/received_events",
"repos_url": "https://api.github.com/users/creeson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/creeson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/creeson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/creeson"
} | [
{
"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-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-14T16:48:19Z" | "2011-12-15T04:23:28Z" | "2011-12-15T04:23:28Z" | NONE | null | Hi,
It looks like apply_along_axis does not play well with objects that have no length? If I go comment out the numpy 1.6.1 workaround in Python 3.x portion, this goes back to working fine.
Thanks!
For example:
> > > import pandas as ps
> > > x = ps.Series([ps.datetime(2011,4,3)])
> > > x.min()
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
x.min()
File "C:\Python27\lib\site-packages\pandas\core\series.py", line 722, in min
return nanops.nanmin(self.values, skipna=skipna, copy=True)
File "C:\Python27\lib\site-packages\pandas\core\nanops.py", line 118, in nanmin
result = np.apply_along_axis(**builtin**.min, apply_ax, values)
File "C:\Python27\lib\site-packages\numpy\lib\shape_base.py", line 104, in apply_along_axis
outshape[axis] = len(res)
TypeError: object of type 'datetime.datetime' has no len()
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/487/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/487/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/488 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/488/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/488/comments | https://api.github.com/repos/pandas-dev/pandas/issues/488/events | https://github.com/pandas-dev/pandas/issues/488 | 2,556,375 | MDU6SXNzdWUyNTU2Mzc1 | 488 | Exception calling to_string on 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"
}
] | closed | false | null | [] | {
"closed_at": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 3 | "2011-12-14T18:56:00Z" | "2013-12-04T00:43:45Z" | "2011-12-15T17:38:22Z" | NONE | null | from pandas import Series
s = Series({})
s.to_string()
pandas\core\series.pyc in to_string(self, buf,
na_rep, float_format, nanRep)
460 na_rep = nanRep
461
--> 462 the_repr = self._get_repr(float_format=float_format, na_rep=na_rep)
463 if buf is None:
464 return the_repr
pandas\core\series.pyc in _get_repr(self, name, print_header, length, na_rep, float_format)
481 string_index = index.format()
482
--> 483 maxlen = max(len(x) for x in string_index)
484 padSpace = min(maxlen, 60)
485
ValueError: max() arg is an empty sequence
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/488/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/488/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/489 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/489/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/489/comments | https://api.github.com/repos/pandas-dev/pandas/issues/489/events | https://github.com/pandas-dev/pandas/issues/489 | 2,556,418 | MDU6SXNzdWUyNTU2NDE4 | 489 | Series.to_string Always Prints Length | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 3 | "2011-12-14T18:59:52Z" | "2011-12-15T14:03:33Z" | "2011-12-15T04:40:17Z" | NONE | null | We like to use to_string to print the contents of a Series to a buffer. As of 0.6.1, this has started including "\nLength:..." at the end. Could this be an option? It leaves us with no option but to rewrite to_string if we don't want this included.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/489/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/489/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/490 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/490/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/490/comments | https://api.github.com/repos/pandas-dev/pandas/issues/490/events | https://github.com/pandas-dev/pandas/issues/490 | 2,557,160 | MDU6SXNzdWUyNTU3MTYw | 490 | can't print embedded ndarray | {
"avatar_url": "https://avatars.githubusercontent.com/u/117456?v=4",
"events_url": "https://api.github.com/users/nbecker/events{/privacy}",
"followers_url": "https://api.github.com/users/nbecker/followers",
"following_url": "https://api.github.com/users/nbecker/following{/other_user}",
"gists_url": "https://api.github.com/users/nbecker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nbecker",
"id": 117456,
"login": "nbecker",
"node_id": "MDQ6VXNlcjExNzQ1Ng==",
"organizations_url": "https://api.github.com/users/nbecker/orgs",
"received_events_url": "https://api.github.com/users/nbecker/received_events",
"repos_url": "https://api.github.com/users/nbecker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nbecker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nbecker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nbecker"
} | [
{
"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-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-14T19:49:16Z" | "2011-12-15T20:13:46Z" | "2011-12-15T20:13:46Z" | NONE | null | Just playing with pandas. I was using structured array. I tried converting my structured array to pandas. It was OK, until I tried with a field that was itself a (variable length) ndarray.
arr = np.empty ((len(results),), dtype=[(... various fields ommitted,
```
('err', object),
('bursts', int),
('per', float), ...
])
```
Next the array is filled with data.
The field 'err' is then filled in with a ndarray (vector) whose size is variable per instance.
Now convert to df:
from pandas import *
df = DataFrame (arr)
Any attempt to print anything with 'err' field gives an exception
/home/nbecker/hn-8psk/<ipython-input-81-68bace0c3dbe> in <module>()
----> 1 df['err']
/usr/lib/python2.7/site-packages/IPython/core/displayhook.pyc in **call**(self, result)
300 self.start_displayhook()
301 self.write_output_prompt()
--> 302 format_dict = self.compute_format_data(result)
303 self.write_format_data(format_dict)
304 self.update_user_ns(result)
/usr/lib/python2.7/site-packages/IPython/core/displayhook.pyc in compute_format_data(self, result)
213 MIME type representation of the object.
214 """
--> 215 return self.shell.display_formatter.format(result)
216
217 def write_format_data(self, format_dict):
/usr/lib/python2.7/site-packages/IPython/core/formatters.pyc in format(self, obj, include, exclude)
120 continue
121 try:
--> 122 data = formatter(obj)
123 except:
124 # FIXME: log the exception
/usr/lib/python2.7/site-packages/IPython/core/formatters.pyc in **call**(self, obj)
441 type_pprinters=self.type_printers,
442 deferred_pprinters=self.deferred_printers)
--> 443 printer.pretty(obj)
444 printer.flush()
445 return stream.getvalue()
/usr/lib/python2.7/site-packages/IPython/lib/pretty.pyc in pretty(self, obj)
349 if hasattr(obj_class, '_repr_pretty_'):
350 return obj_class._repr_pretty_(obj, self, cycle)
--> 351 return _default_pprint(obj, self, cycle)
352 finally:
353 self.end_group()
/usr/lib/python2.7/site-packages/IPython/lib/pretty.pyc in _default_pprint(obj, p, cycle)
467 if getattr(klass, '__repr__', None) not in _baseclass_reprs:
468 # A user-provided repr.
--> 469 p.text(repr(obj))
470 return
471 p.begin_group(1, '<')
/usr/lib64/python2.7/site-packages/pandas/core/series.pyc in **repr**(self)
435 result = self._get_repr(print_header=True,
436 length=len(self) > 50,
--> 437 name=True)
438 else:
439 result = '%s' % ndarray.__repr__(self)
/usr/lib64/python2.7/site-packages/pandas/core/series.pyc in _get_repr(self, name, print_header, length, na_rep, float_format)
494 return '%s %s' % (str(k).ljust(padSpace), v)
495
--> 496 it = [_format(idx, v) for idx, v in izip(string_index, vals)]
497
498 if print_header and have_header:
/usr/lib64/python2.7/site-packages/pandas/core/series.pyc in _format(k, v)
488
489 def _format(k, v):
--> 490 if isnull(v):
491 v = na_rep
492 if isinstance(v, (float, np.floating)):
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
In [82]:
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/490/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/490/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/491 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/491/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/491/comments | https://api.github.com/repos/pandas-dev/pandas/issues/491/events | https://github.com/pandas-dev/pandas/issues/491 | 2,560,859 | MDU6SXNzdWUyNTYwODU5 | 491 | Cannot instantiate DataFrame with | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-14T23:13:22Z" | "2013-12-04T00:43:45Z" | "2011-12-15T04:05:07Z" | NONE | null | from pandas import DataFrame
DataFrame([],[]) # DataFrame([]) does the same thing
pandas\core\frame.pyc in **init**(self, data, index, columns, dtype, copy)
208 copy=copy)
209 elif isinstance(data, list):
--> 210 if isinstance(data[0], (list, tuple)):
211 data, columns = _list_to_sdict(data, columns)
212 mgr = self._init_dict(data, index, columns, dtype=dtype)
IndexError: list index out of range
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/491/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/491/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/492 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/492/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/492/comments | https://api.github.com/repos/pandas-dev/pandas/issues/492/events | https://github.com/pandas-dev/pandas/issues/492 | 2,564,334 | MDU6SXNzdWUyNTY0MzM0 | 492 | Saving DataFrame with tuple index to HDFStore fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/358378?v=4",
"events_url": "https://api.github.com/users/andreas-h/events{/privacy}",
"followers_url": "https://api.github.com/users/andreas-h/followers",
"following_url": "https://api.github.com/users/andreas-h/following{/other_user}",
"gists_url": "https://api.github.com/users/andreas-h/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andreas-h",
"id": 358378,
"login": "andreas-h",
"node_id": "MDQ6VXNlcjM1ODM3OA==",
"organizations_url": "https://api.github.com/users/andreas-h/orgs",
"received_events_url": "https://api.github.com/users/andreas-h/received_events",
"repos_url": "https://api.github.com/users/andreas-h/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andreas-h/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andreas-h/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andreas-h"
} | [
{
"color": "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-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-15T08:52:27Z" | "2011-12-15T17:53:24Z" | "2011-12-15T17:53:24Z" | CONTRIBUTOR | null | The following code fails on pandas 0.6.1
```
import numpy as np
import pandas
col = np.arange(10)
idx = [(0.,1.), (2., 3.), (4., 5.)]
data = np.random.randn(30).reshape((3, 10))
DF = pandas.DataFrame(data, index=idx, columns=col)
H = pandas.HDFStore("test.h5", "w")
H['data'] = DF
H.close()
```
The traceback is as follows:
```
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/home2/hilboll/<ipython-input-15-a313de079f58> in <module>()
----> 1 H['data'] = DF
/home2/hilboll/.virtualenvs/pydoas/lib/python2.7/site-packages/pandas/io/pytables.pyc in __setitem__(self, key, value)
121
122 def __setitem__(self, key, value):
--> 123 self.put(key, value)
124
125 def __len__(self):
/home2/hilboll/.virtualenvs/pydoas/lib/python2.7/site-packages/pandas/io/pytables.pyc in put(self, key, value, table, append, compression)
259 """
260 self._write_to_group(key, value, table=table, append=append,
--> 261 comp=compression)
262
263 def _get_handler(self, op, kind):
/home2/hilboll/.virtualenvs/pydoas/lib/python2.7/site-packages/pandas/io/pytables.pyc in _write_to_group(self, key, value, table, append, comp)
327 wrapper = lambda value: handler(group, value)
328
--> 329 wrapper(value)
330 group._v_attrs.pandas_type = kind
331
/home2/hilboll/.virtualenvs/pydoas/lib/python2.7/site-packages/pandas/io/pytables.pyc in <lambda>(value)
325
326 handler = self._get_handler(op='write', kind=kind)
--> 327 wrapper = lambda value: handler(group, value)
328
329 wrapper(value)
/home2/hilboll/.virtualenvs/pydoas/lib/python2.7/site-packages/pandas/io/pytables.pyc in _write_frame(self, group, df)
336
337 def _write_frame(self, group, df):
--> 338 self._write_block_manager(group, df._data)
339
340 def _read_frame(self, group, where=None):
/home2/hilboll/.virtualenvs/pydoas/lib/python2.7/site-packages/pandas/io/pytables.pyc in _write_block_manager(self, group, data)
347 group._v_attrs.ndim = data.ndim
348 for i, ax in enumerate(data.axes):
--> 349 self._write_index(group, 'axis%d' % i, ax)
350
351 # Supporting mixed-type DataFrame objects...nontrivial
/home2/hilboll/.virtualenvs/pydoas/lib/python2.7/site-packages/pandas/io/pytables.pyc in _write_index(self, group, key, index)
439 else:
440 setattr(group._v_attrs, '%s_variety' % key, 'regular')
--> 441 converted, kind, _ = _convert_index(index)
442 self._write_array(group, key, converted)
443 node = getattr(group, key)
/home2/hilboll/.virtualenvs/pydoas/lib/python2.7/site-packages/pandas/io/pytables.pyc in _convert_index(index)
734 return np.asarray(values, dtype=np.float64), 'float', atom
735 else: # pragma: no cover
--> 736 raise ValueError('unrecognized index type %s' % type(values[0]))
737
738 def _read_array(group, key):
ValueError: unrecognized index type <type 'tuple'>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/492/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/492/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/493 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/493/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/493/comments | https://api.github.com/repos/pandas-dev/pandas/issues/493/events | https://github.com/pandas-dev/pandas/pull/493 | 2,566,849 | MDExOlB1bGxSZXF1ZXN0NTk4MTA1 | 493 | Series.to_string() no longer adds length, reflect this change also in unittest | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [] | closed | false | null | [] | null | 1 | "2011-12-15T14:05:50Z" | "2011-12-15T14:09:04Z" | "2011-12-15T14:09:04Z" | CONTRIBUTOR | null | Since Series.to_string no longer adds length field by default, unittest needs to reflect 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/493/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/493/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/493.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/493",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/493.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/493"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/494 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/494/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/494/comments | https://api.github.com/repos/pandas-dev/pandas/issues/494/events | https://github.com/pandas-dev/pandas/pull/494 | 2,566,916 | MDExOlB1bGxSZXF1ZXN0NTk4MTM0 | 494 | Series.to_string() unittest fix | {
"avatar_url": "https://avatars.githubusercontent.com/u/1094464?v=4",
"events_url": "https://api.github.com/users/lodagro/events{/privacy}",
"followers_url": "https://api.github.com/users/lodagro/followers",
"following_url": "https://api.github.com/users/lodagro/following{/other_user}",
"gists_url": "https://api.github.com/users/lodagro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lodagro",
"id": 1094464,
"login": "lodagro",
"node_id": "MDQ6VXNlcjEwOTQ0NjQ=",
"organizations_url": "https://api.github.com/users/lodagro/orgs",
"received_events_url": "https://api.github.com/users/lodagro/received_events",
"repos_url": "https://api.github.com/users/lodagro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lodagro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodagro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lodagro"
} | [] | closed | false | null | [] | {
"closed_at": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-15T14:14:14Z" | "2011-12-15T17:06:47Z" | "2011-12-15T17:06:47Z" | CONTRIBUTOR | null | Since Series.to_string no longer adds length field by default, unittest needs to reflect 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/494/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/494/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/494.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/494",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/494.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/494"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/495 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/495/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/495/comments | https://api.github.com/repos/pandas-dev/pandas/issues/495/events | https://github.com/pandas-dev/pandas/issues/495 | 2,568,345 | MDU6SXNzdWUyNTY4MzQ1 | 495 | invalid dtype access crashes interpreter (segfault) | {
"avatar_url": "https://avatars.githubusercontent.com/u/869232?v=4",
"events_url": "https://api.github.com/users/adamklein/events{/privacy}",
"followers_url": "https://api.github.com/users/adamklein/followers",
"following_url": "https://api.github.com/users/adamklein/following{/other_user}",
"gists_url": "https://api.github.com/users/adamklein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/adamklein",
"id": 869232,
"login": "adamklein",
"node_id": "MDQ6VXNlcjg2OTIzMg==",
"organizations_url": "https://api.github.com/users/adamklein/orgs",
"received_events_url": "https://api.github.com/users/adamklein/received_events",
"repos_url": "https://api.github.com/users/adamklein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/adamklein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adamklein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/adamklein"
} | [
{
"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-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 1 | "2011-12-15T15:46:25Z" | "2011-12-15T17:04:54Z" | "2011-12-15T17:04:54Z" | CONTRIBUTOR | null | In [1]: from pandas import *
In [2]: df = DataFrame([1,2,3,4], index=['a','b','c','d'])
In [3]: df
Out[3]:
0
a 1
b 2
c 3
d 4
In [4]: df.dtypes
Out[4]: 0 int64
In [5]: df.dtypes[0]
Out[5]: dtype('int64')
In [6]: df.dtypes[1]
**\* glibc detected **\* /home/adam/.virtualenvs/py27/bin/python: free(): corrupted unsorted chunks: 0x00000000025db8e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7f8751957a96]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f875195bd7c]
/home/adam/.virtualenvs/py27/bin/python[0x4354d8]
/home/adam/.virtualenvs/py27/bin/python[0x447a2c]
/home/adam/.virtualenvs/py27/bin/python[0x4e4fe3]
/home/adam/.virtualenvs/py27/bin/python[0x4e500d]
======= Memory map: ========
00400000-00633000 r-xp 00000000 08:05 5373988 /home/adam/.virtualenvs/py27/bin/python
00832000-00833000 r--p 00232000 08:05 5373988 /home/adam/.virtualenvs/py27/bin/python
00833000-0089c000 rw-p 00233000 08:05 5373988 /home/adam/.virtualenvs/py27/bin/python
0089c000-008ae000 rw-p 00000000 00:00 0
016f0000-0278e000 rw-p 00000000 00:00 0 [heap]
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/495/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/495/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/496 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/496/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/496/comments | https://api.github.com/repos/pandas-dev/pandas/issues/496/events | https://github.com/pandas-dev/pandas/issues/496 | 2,575,304 | MDU6SXNzdWUyNTc1MzA0 | 496 | Cython python function aggregation optimization | {
"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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 0 | "2011-12-16T01:33:24Z" | "2011-12-17T21:32:20Z" | "2011-12-17T21:32:20Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/496/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/496/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/497 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/497/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/497/comments | https://api.github.com/repos/pandas-dev/pandas/issues/497/events | https://github.com/pandas-dev/pandas/issues/497 | 2,582,825 | MDU6SXNzdWUyNTgyODI1 | 497 | Better error messages | {
"avatar_url": "https://avatars.githubusercontent.com/u/890156?v=4",
"events_url": "https://api.github.com/users/jankatins/events{/privacy}",
"followers_url": "https://api.github.com/users/jankatins/followers",
"following_url": "https://api.github.com/users/jankatins/following{/other_user}",
"gists_url": "https://api.github.com/users/jankatins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jankatins",
"id": 890156,
"login": "jankatins",
"node_id": "MDQ6VXNlcjg5MDE1Ng==",
"organizations_url": "https://api.github.com/users/jankatins/orgs",
"received_events_url": "https://api.github.com/users/jankatins/received_events",
"repos_url": "https://api.github.com/users/jankatins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jankatins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jankatins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jankatins"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] | closed | false | null | [] | {
"closed_at": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 3 | "2011-12-16T18:35:02Z" | "2011-12-19T13:36:59Z" | "2011-12-18T05:29:59Z" | CONTRIBUTOR | null | I'm trying to build a dataframe from a list of list and I get an "AssertionError" and I have no idea what I did wrong or what I should do differently. A shorted version of the data and code:
pprint(_fields)
[ 'name',
'timescited',
'weight',
'closeness',
'betweenness',
'degree',
'numberofworks',
'pagerank',
'pages',
'constraint',
'citationaverage',
'eigenvector']
pprint(_data2)
[ ['Huselid, Ma', 'Gulati, R', 'Damanpour, F', 'Mcallister, Dj', 'Tsai, Wp'],
[2721, 5251, 1269, 1287, 2834],
[6, 17, 6, 3, 6],
[ 0.0002510562854116362,
0.00025108339541739277,
0.00025105435150127433,
0.00025106898828104144,
0.0002510723039607744],
[ 23311.0,
173596.65383408728,
79279.82282582425,
18701.108026093425,
57261.74716265692],
[4, 11, 9, 3, 7],
[6, 17, 6, 3, 6],
[ 0.0001438440250079284,
0.0003063098736173118,
0.00027071793856870986,
7.839463995668608e-05,
0.00020047003509480145],
[130, 387, 148, 68, 88],
[ 0.28573421556122447,
0.12411566040831735,
0.19959178902739988,
0.3703749360800643,
0.200788126303937],
[453, 308, 211, 429, 472],
[ 5.889013732612275e-08,
0.0005066654664776551,
4.567816673280219e-07,
2.4226314239685797e-06,
4.069482619394397e-07]]
df = DataFrame(_data2, columns=_fields )
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\portabel\Python27\lib\site-packages\pandas\core\frame.py", line 208, in __init__
copy=copy)
File "C:\portabel\Python27\lib\site-packages\pandas\core\frame.py", line 273, in _init_ndarray
block = make_block(values.T, columns, columns)
File "C:\portabel\Python27\lib\site-packages\pandas\core\internals.py", line 211, in make_block
do_integrity_check=do_integrity_check)
File "C:\portabel\Python27\lib\site-packages\pandas\core\internals.py", line 26, in __init__
assert(len(items) == len(values))
AssertionError
It would be nice if pandas could output a more descriptive error message in case some inputs are not what pandas expects.
Thanks a lot for the lib!
Jan
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/497/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/497/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/498 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/498/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/498/comments | https://api.github.com/repos/pandas-dev/pandas/issues/498/events | https://github.com/pandas-dev/pandas/issues/498 | 2,584,865 | MDU6SXNzdWUyNTg0ODY1 | 498 | Handle differently-indexed output in DataFrame.apply | {
"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": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 0 | "2011-12-16T21:56:17Z" | "2011-12-18T07:35:51Z" | "2011-12-18T07:35:51Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/498/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/498/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/499 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/499/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/499/comments | https://api.github.com/repos/pandas-dev/pandas/issues/499/events | https://github.com/pandas-dev/pandas/issues/499 | 2,584,904 | MDU6SXNzdWUyNTg0OTA0 | 499 | Clean up legacy issues in MultiIndex, have to break pickles | {
"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": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": 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 | "2011-12-16T22:00:11Z" | "2016-09-29T22:44:19Z" | "2016-09-29T22:09:57Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/499/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/499/timeline | null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/500 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/500/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/500/comments | https://api.github.com/repos/pandas-dev/pandas/issues/500/events | https://github.com/pandas-dev/pandas/issues/500 | 2,585,098 | MDU6SXNzdWUyNTg1MDk4 | 500 | Adding DataFrames with offsets yields naive index | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2012-05-02T21:30:45Z",
"closed_issues": 211,
"created_at": "2011-12-15T04:00:47Z",
"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": "2011-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/10",
"id": 65440,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10/labels",
"node_id": "MDk6TWlsZXN0b25lNjU0NDA=",
"number": 10,
"open_issues": 0,
"state": "closed",
"title": "0.7.0",
"updated_at": "2012-05-02T21:30:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/10"
} | 2 | "2011-12-16T22:20:41Z" | "2011-12-17T18:03:57Z" | "2011-12-17T18:03:57Z" | NONE | null | Adding two DataFrames with a DateRange index (with BusinessMonthEnd offset) yields a DataFrame with a simple '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/500/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/500/timeline | null | null | null |